Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
SEVERE: Error listenerStart when starting on Tomcat 6
I tried to build/deploy 6.0.5 sources:
Created file app.server.<user>.properties (as described here), and then run:
# ant start
# ant deploy
The build was successful. Here is a content of tomcat webapp dir after that:
09.03.2011 12:32 <DIR> docs
09.03.2011 12:32 <DIR> examples
09.03.2011 12:32 <DIR> host-manager
09.03.2011 12:32 <DIR> manager
09.03.2011 12:38 <DIR> ROOT
09.03.2011 12:38 <DIR> tunnel-web
But when I run tryed to run tomcat's startup.bat SEVERE: Error listenerStart appears and portal not started.
Here is tomcat log:
So what should I do to resolve this problem?
Created file app.server.<user>.properties (as described here), and then run:
# ant start
# ant deploy
The build was successful. Here is a content of tomcat webapp dir after that:
09.03.2011 12:32 <DIR> docs
09.03.2011 12:32 <DIR> examples
09.03.2011 12:32 <DIR> host-manager
09.03.2011 12:32 <DIR> manager
09.03.2011 12:38 <DIR> ROOT
09.03.2011 12:38 <DIR> tunnel-web
But when I run tryed to run tomcat's startup.bat SEVERE: Error listenerStart appears and portal not started.
Here is tomcat log:
09.03.2011 10:44:35 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performanc
e in production environments was not found on the java.library.path: C:\Program
Files\Java\jdk1.6.0_14\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WIND
OWS;D:\oracle\product\10.2.0\db_2\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDO
WS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Mercurial;D:\de
vTools\apache-maven-2.0.9\bin;D:\devTools\apache-ant-1.7.1\bin;c:\Program Files\
Java\jdk1.6.0_14\bin\;C:\Program Files\TortoiseHg\gtk;C:\Program Files\TortoiseH
g\;d:\devtools\Git\cmd
09.03.2011 10:44:36 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
09.03.2011 10:44:36 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4930 ms
09.03.2011 10:44:37 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
09.03.2011 10:44:37 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
09.03.2011 10:44:41 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
09.03.2011 10:44:41 org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
09.03.2011 10:44:44 org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
09.03.2011 10:44:44 org.apache.catalina.core.StandardContext start
SEVERE: Context [/tunnel-web] startup failed due to previous errors
09.03.2011 10:44:44 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
09.03.2011 10:44:44 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
09.03.2011 10:44:44 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/141 config=null
09.03.2011 10:44:44 org.apache.catalina.startup.Catalina start
INFO: Server startup in 8148 msSo what should I do to resolve this problem?
From you log, I think you're trying to install on a Windows instead of on Unix.
Also, are you trying to connect to an Oracle database? Is it up and configured correctly?
Can you startup using the default internal hsql?
BTW, you probably don't need the examples and doc folders.
Also, are you trying to connect to an Oracle database? Is it up and configured correctly?
Can you startup using the default internal hsql?
BTW, you probably don't need the examples and doc folders.
Yes, I try to install Liferay on Windows. Is it impossible?
I didn't set any database connection properties... I guess it is used hsql as default?
I didn't set any database connection properties... I guess it is used hsql as default?
I'm using Liferay 6.x on Windows XP/7 too. 
Which version of Windows are you using?
I just saw some Oracle in your classpath and just wondered if you were trying to use it. If you haven't specified any jdbc settings, it should just default to using hsql.
Which version of Windows are you using?
I just saw some Oracle in your classpath and just wondered if you were trying to use it. If you haven't specified any jdbc settings, it should just default to using hsql.
I'm using Liferay 6.x on Windows XP/7 too. 
Which version of Windows are you using?
I just saw some Oracle in your classpath and just wondered if you were trying to use it. If you haven't specified any jdbc settings, it should just default to using hsql.
Just to make sure, you don't have anything else running on port 8080?
Which version of Windows are you using?
I just saw some Oracle in your classpath and just wondered if you were trying to use it. If you haven't specified any jdbc settings, it should just default to using hsql.
Just to make sure, you don't have anything else running on port 8080?