Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Deepak Agarwal
startup.bat errors out
February 10, 2012 11:43 PM
Answer

Deepak Agarwal

Rank: New Member

Posts: 3

Join Date: February 10, 2012

Recent Posts

First time user here.....

My environment...
liferay-portal-6.0.6
tomcat-6.0.29
JAVA_HOME => C:\Program Files\Java\jdk1.7.0_02
Windows 7 64 bit (ouch)

startup.bat starts TOMCAT window for a minute followed by Browser pop-up which shows error 404 (and sometimes 503) and after few seconds TOMCAT crashes.

Please let me know if any logs are needed (and how to collect them). Also if I am missing any tool.

Again... First time user....
Deepak Agarwal
RE: startup.bat errors out
February 11, 2012 6:39 AM
Answer

Deepak Agarwal

Rank: New Member

Posts: 3

Join Date: February 10, 2012

Recent Posts

The same installer <tomcat+Liferay> worked fine on opensuse machine...
Attaching error message...
Attachments: log.txt (306.6k)
Alan Wamser
RE: startup.bat errors out
February 11, 2012 11:04 AM
Answer

Alan Wamser

Rank: Junior Member

Posts: 26

Join Date: April 15, 2010

Recent Posts

Use netstat and make sure nothing is running on those ports.



Feb 11, 2012 4:39:34 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 11, 2012 4:39:34 AM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use: JVM_Bind
Feb 11, 2012 4:39:34 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
Feb 11, 2012 4:39:34 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=1 time=0/75 config=null
Feb 11, 2012 4:39:34 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 120446 ms
Feb 11, 2012 4:39:34 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:662)
at org.apache.catalina.startup.Catalina.start(Catalina.java:614)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Feb 11, 2012 4:39:34 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Feb 11, 2012 4:39:35 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina

Deepak Agarwal
RE: startup.bat errors out
February 13, 2012 2:47 AM
Answer

Deepak Agarwal

Rank: New Member

Posts: 3

Join Date: February 10, 2012

Recent Posts

Found the solution:

Inserted <JRE_HOME="C:\Program Files\Java\jdk1.7.0_02\jre"> in CATALINA.BAT
In Windows environment add <JAVA_HOME="C:\Program Files\Java\jdk1.7.0_02\bin">

Regards,
-Deepak