Foros de discusión

Error on Tomcat 6 startup - SEVERE: Error listenerStart

Carlos Javier Laurel, modificado hace 15 años.

Error on Tomcat 6 startup - SEVERE: Error listenerStart

New Member Mensajes: 4 Fecha de incorporación: 10/03/09 Mensajes recientes
I am trying to get a virgin copy of Liferay 5.2.1/Tomcat 6 running on a Solaris 10 x86 box (Java 5), but when I try starting Tomcat i receive several errors related to listeners being unable to start. I can take this same bundle, copy it to my local machine (Mac OSX, Java 5) and it runs just fine. Any thoughts as to what the problem might be? I greatly appreciate it!

I should also note that I can run a generic version of Tomcat 6.0 just fine. I only get this error when trying to launch the Liferay/Tomcat bundle. i also tried deploying a Liferay 5.1/Tomcat 5.5 bundle just to see what would happen and I don't get the same error.

The error looks like the following:

Mar 19, 2009 8:07:02 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 19, 2009 8:07:02 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
Mar 19, 2009 8:07:02 PM org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
etc, etc, etc...
...

Any help please why this might be happening please?
Michael W Mitchell, modificado hace 14 años.

RE: Error on Tomcat 6 startup - SEVERE: Error listenerStart

New Member Mensajes: 3 Fecha de incorporación: 14/05/09 Mensajes recientes
I am experiencing the same situation... I'm installing Liferay 5.2/Tomcat 6.0 on a ....
MacOSX Server10.5
MySQL5.0
Java 5.0

And i get a similar (if not as lengthy) error message about my Apache Listener not starting. I'm not as savy with Apache, but i read somewhere that there's a file that we don't have (a properties file). I have a Portal-ext.properties file in my root app's WEB-INF/Classes file. Should this be portal.properties???

anyway.... this is the Error log i've received....

May 19, 2009 6:21:06 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
May 19, 2009 6:24:37 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 19, 2009 6:24:37 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors

May 19, 2009 6:24:38 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Michael W Mitchell, modificado hace 14 años.

RE: Error on Tomcat 6 startup - SEVERE: Error listenerStart

New Member Mensajes: 3 Fecha de incorporación: 14/05/09 Mensajes recientes
I've solved my situation, maybe this will help you....

Make sure you rename your properties file to "portal.properties" (not portal-ext.properties).

After doing this my setup (using MySQL database) is working....

javascript:%20;