Fóruns

Início » Liferay IDE » English

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
George Stafford
404 on localhost:8080
16 de Outubro de 2012 07:26
Resposta

George Stafford

Ranking: Junior Member

Mensagens: 62

Data de entrada: 1 de Outubro de 2012

Mensagens recentes

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
16 de Outubro de 2012 12:02
Resposta

George Stafford

Ranking: Junior Member

Mensagens: 62

Data de entrada: 1 de Outubro de 2012

Mensagens recentes

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
16 de Outubro de 2012 12:45
Resposta

Dave Weitzel

Ranking: Regular Member

Mensagens: 194

Data de entrada: 18 de Novembro de 2009

Mensagens recentes

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
16 de Outubro de 2012 14:51
Resposta

George Stafford

Ranking: Junior Member

Mensagens: 62

Data de entrada: 1 de Outubro de 2012

Mensagens recentes

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