フォーラム

ホーム » Liferay IDE » English

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
George Stafford
404 on localhost:8080
2012/10/16 7:26
答え

George Stafford

ランク: Junior Member

投稿: 62

参加年月日: 2012/10/01

最近の投稿

I'm having some growing pains when trying to get my environment setup to test drive Liferay. I've got the Liferay Developer Studio installed along with IIS7 on my Windows 7 workstation. When I start the included Tomcat server I get a startup in 16k ms and it seems fine. However when I try to browse to the liferay home I get a 404 error.

I tried to install the IIS/Tomcat Jakarta connectors but I'm sure I've messed something up in there and I'm not sure how to go about debugging the connection. I'm also not sure of how to ensure which web server is serving the pages. If I remove IIS will the self contained Tomcat display the pages on 8080?

Thanks
George
George Stafford
RE: 404 on localhost:8080
2012/10/16 12:02
答え

George Stafford

ランク: Junior Member

投稿: 62

参加年月日: 2012/10/01

最近の投稿

So I answered my own quesiton, and it was a two part problem.

Part one, when I looked at the server.xml I had, the port for the server was set to 8005. Changing this to 8080 moved my server to there, now showing a 500 error instead.

Part two was that I had neglected to copy the jdbc driver over so the database was failing on startup. I had it on my linux text box, but not my windows box.

So now I have a functional site, and hopefully this can help someone else in the future.
Dave Weitzel
RE: 404 on localhost:8080
2012/10/16 12:45
答え

Dave Weitzel

ランク: Regular Member

投稿: 169

参加年月日: 2009/11/18

最近の投稿

I think you are confused about tomcat servers. the port 8005 is used (by default) to control tomcat it will say something like <Server port="8005" shutdown="SHUTDOWN">.
what you really need to check is the Connector in the service name=Catalina. tylipcally there are many types defined here but only one will be not commented out.
look for :
<Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>

both ports have to be unique on your system, so if running more than one tomcat you need a server on port 8007 say and if running more than one Service inside tomat (say two different liferay installs) you need one to be on say port 8088.

check the <tomcat directory>/logs/Catalina.out for real time error messages regarding startup and connectivity (eg to jdbc)
George Stafford
RE: 404 on localhost:8080
2012/10/16 14:51
答え

George Stafford

ランク: Junior Member

投稿: 62

参加年月日: 2012/10/01

最近の投稿

Hrm - yes, most likely. The fix then must been entirely the presence of the jdbc driver for Oracle. With that everything is working great.