Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Tomcat server failing to start in ECLIPSE(Tomcat server failing to start in ECLIPSE)
Tomcat server failing to start in ECLIPSE [message #518415] Thu, 04 March 2010 03:03 Go to next message
vrivon  is currently offline vrivon
Messages: 4
Registered: March 2010
Junior Member
Hi:

SO: windows 7 professional

- I had Apache and php installed and running

1) I installed Tomcat v6.0.24 and Java SE JDK 6 Update 18. If I try http://localhost:8080 I can run the jsp samples with no problems after running tomcat with startup.bat.

2) I installed all the packages for ECLIPSE from Galileo related to WEB, XML and Java E Development.

3) Created a "new dinamic web project" and a new server Apache Tomcat v6.0.

4) I try to execute the sample.jsp file and I get a popu window:


"Starting Tomcat v6.0 Server at localhost has encountered a problem"

"Server Tomcat v6.0 Server at localhost failed to start."

Console shows:
04-mar-2010 4:00:22 org.apache.tomcat.util.digester.Digester startElement
GRAVE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.core.JreMemoryLeakPreventionListener
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.tomcat.util.digester.ObjectCreateRule.begin(Objec tCreateRule.java:205)
at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
at org.apache.tomcat.util.digester.Digester.startElement(Digest er.java:1276)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocume ntParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA XParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java :1562)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:26 0)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 2)
04-mar-2010 4:00:22 org.apache.catalina.startup.Catalina load
ADVERTENCIA: Catalina.start using conf/server.xml:
java.lang.ClassNotFoundException: org.apache.catalina.core.JreMemoryLeakPreventionListener
at org.apache.tomcat.util.digester.Digester.createSAXException( Digester.java:2726)
at org.apache.tomcat.util.digester.Digester.createSAXException( Digester.java:2752)
at org.apache.tomcat.util.digester.Digester.startElement(Digest er.java:1279)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocume ntParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA XParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java :1562)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:26 0)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 2)
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.core.JreMemoryLeakPreventionListener
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.tomcat.util.digester.ObjectCreateRule.begin(Objec tCreateRule.java:205)
at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
at org.apache.tomcat.util.digester.Digester.startElement(Digest er.java:1276)
... 20 more
04-mar-2010 4:00:22 org.apache.tomcat.util.digester.Digester startElement
GRAVE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.core.JreMemoryLeakPreventionListener
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.tomcat.util.digester.ObjectCreateRule.begin(Objec tCreateRule.java:205)
at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
at org.apache.tomcat.util.digester.Digester.startElement(Digest er.java:1276)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocume ntParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA XParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java :1562)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.start(Catalina.java:558 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
04-mar-2010 4:00:22 org.apache.catalina.startup.Catalina load
ADVERTENCIA: Catalina.start using conf/server.xml:
java.lang.ClassNotFoundException: org.apache.catalina.core.JreMemoryLeakPreventionListener
at org.apache.tomcat.util.digester.Digester.createSAXException( Digester.java:2726)
at org.apache.tomcat.util.digester.Digester.createSAXException( Digester.java:2752)
at org.apache.tomcat.util.digester.Digester.startElement(Digest er.java:1279)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocume ntParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA XParser.parse(Unknown Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java :1562)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.start(Catalina.java:558 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.core.JreMemoryLeakPreventionListener
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.tomcat.util.digester.ObjectCreateRule.begin(Objec tCreateRule.java:205)
at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
at org.apache.tomcat.util.digester.Digester.startElement(Digest er.java:1276)
... 20 more
04-mar-2010 4:00:22 org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:630 )
at org.apache.catalina.startup.Catalina.start(Catalina.java:590 )
... 6 more



Any class of help would be apreciated. I dont know how to manage this.

Thanks in advance
Re: Tomcat server failing to start in ECLIPSE [message #518554 is a reply to message #518415] Thu, 04 March 2010 08:24 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1310
Registered: July 2009
Senior Member
It Tomcat 6.0.24 works fine for me on XP. Your exceptions suggest that
catalina.jar isn't on the classpath of the server, or isn't readable.
It might help to switch to the Debug perspective and in the Debug view,
right-click on the terminated launch for the failed Tomcat startup and
select Properties. The dialog that opens will include the command line
that was used to try to start Tomcat. Post that command line here so we
can see if there anything looks amiss.

Cheers,
Larry

vrivon wrote:
> Hi:
>
> SO: windows 7 professional
>
> - I had Apache and php installed and running
>
> 1) I installed Tomcat v6.0.24 and Java SE JDK 6 Update 18. If I try
> http://localhost:8080 I can run the jsp samples with no problems after
> running tomcat with startup.bat.
>
> 2) I installed all the packages for ECLIPSE from Galileo related to WEB,
> XML and Java E Development.
> 3) Created a "new dinamic web project" and a new server Apache Tomcat
> v6.0.
>
> 4) I try to execute the sample.jsp file and I get a popu window:
>
>
> "Starting Tomcat v6.0 Server at localhost has encountered a problem"
>
> "Server Tomcat v6.0 Server at localhost failed to start."
>
> Console shows:
> 04-mar-2010 4:00:22 org.apache.tomcat.util.digester.Digester startElement
> GRAVE: Begin event threw exception
> java.lang.ClassNotFoundException:
> org.apache.catalina.core.JreMemoryLeakPreventionListener
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.apache.tomcat.util.digester.ObjectCreateRule.begin(Objec
> tCreateRule.java:205)
> at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
> at org.apache.tomcat.util.digester.Digester.startElement(Digest
> er.java:1276)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .startElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocume
> ntParser.emptyElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanStartElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl$FragmentContentDriver.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm
> pl.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanDocument(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U
> nknown Source)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA
> XParser.parse(Unknown Source)
> at org.apache.tomcat.util.digester.Digester.parse(Digester.java :1562)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:26 0)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 2)
> 04-mar-2010 4:00:22 org.apache.catalina.startup.Catalina load
> ADVERTENCIA: Catalina.start using conf/server.xml:
> java.lang.ClassNotFoundException:
> org.apache.catalina.core.JreMemoryLeakPreventionListener
> at org.apache.tomcat.util.digester.Digester.createSAXException(
> Digester.java:2726)
> at org.apache.tomcat.util.digester.Digester.createSAXException(
> Digester.java:2752)
> at org.apache.tomcat.util.digester.Digester.startElement(Digest
> er.java:1279)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .startElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocume
> ntParser.emptyElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanStartElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl$FragmentContentDriver.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm
> pl.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanDocument(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U
> nknown Source)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA
> XParser.parse(Unknown Source)
> at org.apache.tomcat.util.digester.Digester.parse(Digester.java :1562)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:26 0)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 2)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.catalina.core.JreMemoryLeakPreventionListener
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.apache.tomcat.util.digester.ObjectCreateRule.begin(Objec
> tCreateRule.java:205)
> at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
> at org.apache.tomcat.util.digester.Digester.startElement(Digest
> er.java:1276)
> ... 20 more
> 04-mar-2010 4:00:22 org.apache.tomcat.util.digester.Digester startElement
> GRAVE: Begin event threw exception
> java.lang.ClassNotFoundException:
> org.apache.catalina.core.JreMemoryLeakPreventionListener
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.apache.tomcat.util.digester.ObjectCreateRule.begin(Objec
> tCreateRule.java:205)
> at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
> at org.apache.tomcat.util.digester.Digester.startElement(Digest
> er.java:1276)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .startElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocume
> ntParser.emptyElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanStartElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl$FragmentContentDriver.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm
> pl.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanDocument(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U
> nknown Source)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA
> XParser.parse(Unknown Source)
> at org.apache.tomcat.util.digester.Digester.parse(Digester.java :1562)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:558 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
> 04-mar-2010 4:00:22 org.apache.catalina.startup.Catalina load
> ADVERTENCIA: Catalina.start using conf/server.xml:
> java.lang.ClassNotFoundException:
> org.apache.catalina.core.JreMemoryLeakPreventionListener
> at org.apache.tomcat.util.digester.Digester.createSAXException(
> Digester.java:2726)
> at org.apache.tomcat.util.digester.Digester.createSAXException(
> Digester.java:2752)
> at org.apache.tomcat.util.digester.Digester.startElement(Digest
> er.java:1279)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .startElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocume
> ntParser.emptyElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanStartElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl$FragmentContentDriver.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm
> pl.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanDocument(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U
> nknown Source)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA
> XParser.parse(Unknown Source)
> at org.apache.tomcat.util.digester.Digester.parse(Digester.java :1562)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:558 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.catalina.core.JreMemoryLeakPreventionListener
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.apache.tomcat.util.digester.ObjectCreateRule.begin(Objec
> tCreateRule.java:205)
> at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
> at org.apache.tomcat.util.digester.Digester.startElement(Digest
> er.java:1276)
> ... 20 more
> 04-mar-2010 4:00:22 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 0 ms
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 88)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 3)
> Caused by: java.lang.NullPointerException
> at org.apache.catalina.startup.Catalina.await(Catalina.java:630 )
> at org.apache.catalina.startup.Catalina.start(Catalina.java:590 )
> ... 6 more
>
>
>
> Any class of help would be apreciated. I dont know how to manage this.
>
> Thanks in advance
>
Re: Tomcat server failing to start in ECLIPSE [message #518557 is a reply to message #518415] Thu, 04 March 2010 13:30 Go to previous messageGo to next message
vrivon  is currently offline vrivon
Messages: 4
Registered: March 2010
Junior Member
Run-at-time:
(x86)\Java\jre6\bin\javaw.exe (04/03/2010 14:24:36)

Path:
C:\Program Files (x86)\Java\jre6\bin\javaw.exe

Command Line:
"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Dcatalina.base=C:\workspace\.metadata\.plugins\org.eclipse. wst.server.core\tmp0 -Dcatalina.home=C:\tomcat -Dwtp.deploy=C:\workspace\.metadata\.plugins\org.eclipse.wst .server.core\tmp0\wtpwebapps -Djava.endorsed.dirs=C:\tomcat\endorsed -Dfile.encoding=UTF-8 -Xbootclasspath/a:C:\tomcat\bin\tomcat-juli.jar -classpath C:\tomcat\bin\bootstrap.jar org.apache.catalina.startup.Bootstrap start
Re: Tomcat server failing to start in ECLIPSE [message #518563 is a reply to message #518557] Thu, 04 March 2010 13:48 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1310
Registered: July 2009
Senior Member
vrivon wrote:
> Run-at-time:
> (x86)\Java\jre6\bin\javaw.exe (04/03/2010 14:24:36)
>
> Path:
> C:\Program Files (x86)\Java\jre6\bin\javaw.exe
>
> Command Line:
> "C:\Program Files (x86)\Java\jre6\bin\javaw.exe"
> -Dcatalina.base=C:\workspace\.metadata\.plugins\org.eclipse.
> wst.server.core\tmp0 -Dcatalina.home=C:\tomcat
> -Dwtp.deploy=C:\workspace\.metadata\.plugins\org.eclipse.wst
> .server.core\tmp0\wtpwebapps -Djava.endorsed.dirs=C:\tomcat\endorsed
> -Dfile.encoding=UTF-8 -Xbootclasspath/a:C:\tomcat\bin\tomcat-juli.jar
> -classpath C:\tomcat\bin\bootstrap.jar
> org.apache.catalina.startup.Bootstrap start

I would not expect the "-Xbootclasspath..." to be there. It's not part
of the default configuration. Is this something you added?

Cheers,
Larry
Re: Tomcat server failing to start in ECLIPSE [message #518570 is a reply to message #518415] Thu, 04 March 2010 14:08 Go to previous messageGo to next message
vrivon  is currently offline vrivon
Messages: 4
Registered: March 2010
Junior Member
I think I didnt add anything, I just tried to set up the default configuration. How can I remove that from command line?
Re: Tomcat server failing to start in ECLIPSE [message #518582 is a reply to message #518570] Thu, 04 March 2010 14:40 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1310
Registered: July 2009
Senior Member
vrivon wrote:
> I think I didnt add anything, I just tried to set up the default
> configuration. How can I remove that from command line?

See:
http://wiki.eclipse.org/WTP_Tomcat_FAQ#How_can_I_view_or_mod ify_the_launch_configuration_properties_for_a_Tomcat_server. 3F

It may be in the VM arguments field of the Arguments tab or perhaps on
the Classpath tab.

Cheers,
Larry
Re: Tomcat server failing to start in ECLIPSE [message #518625 is a reply to message #518415] Thu, 04 March 2010 16:23 Go to previous message
vrivon  is currently offline vrivon
Messages: 4
Registered: March 2010
Junior Member
http://img718.imageshack.us/img718/2468/screen1jo.jpg
http://img34.imageshack.us/img34/1697/screenml.jpg

I tried to delete the entries in classpath tab but they reappear when I close the dialog. VM Arguments dont seem oto have something "removable" Very Happy.
Re: Tomcat server failing to start in ECLIPSE [message #518671 is a reply to message #518625] Thu, 04 March 2010 12:48 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1310
Registered: July 2009
Senior Member
vrivon wrote:
>
>
>
> I tried to delete the entries in classpath tab but they reappear when I
> close the dialog. VM Arguments dont seem oto have something "removable" :d.
>

If you copy and paste the command into a DOS command window, change the
"javaw.exe" to "java.exe", and try to run the command, does the Tomcat
start? If not, will it start after removing the "-Xbootclasspath"
argument?

The arguments in the VM arguments field present by default are "owned"
by the WTP Tomcat support. They will be regenerated each time you
launch the Tomcat. You can add additional arguments when needed and
they should remain untouched.

Cheers,
Larry
Previous Topic:need WTP plugin for eclpse 3.4.1
Next Topic:[JSP parsing] Internal/Provisional Classes
Goto Forum:
  


Current Time: Sat Oct 25 01:40:50 GMT 2014

Powered by FUDForum. Page generated in 0.02366 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software