[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Spacewalk-list] Tomcat Hosed



jdb is found in a different directory for me.

[jesusr bugatti ~]$ ls /usr/lib/jvm/java/bin/jdb
/usr/lib/jvm/java/bin/jdb*

Which is provided by java-1.6.0-openjdk-devel-1.6.0.0-1.0.b12.el5.2.i386

Make sure you have the above package installed.

With respect to the Digester error, please post a pastebin of your
/var/lib/tomcat5/common/lib

   http://pastie.org/631134

and /var/lib/tomcat5/server/lib

   http://pastie.org/631135

The usual culprit for the digester error you see below is a missing
jar in one of the above directories, which
can usually be fixed by reinstalling tomcat5, but I find it odd that
tomcat5 would be affected when it removed
the cups package.

jesus

On Fri, Sep 25, 2009 at 2:32 PM, Daniel Durgin <dand informe org> wrote:
> I checked there earlier.  I actually didn't see anything removed.  I assumed
> spacewalk may have logged it else where.
>
> Now it looks like my class path is off:
> Using CATALINA_BASE:   /usr/share/tomcat5
> Using CATALINA_HOME:   /usr/share/tomcat5
> Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
> Using JRE_HOME:
> Sep 25, 2009 2:24:53 PM org.apache.tomcat.util.digester.Digester
> startElement
> SEVERE: Begin event threw error
> java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef
>        at
> org.apache.catalina.core.StandardServer.<init>(StandardServer.java:83)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>        at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>        at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
>        at java.lang.Class.newInstance0(Class.java:372)
>        at java.lang.Class.newInstance(Class.java:325)
>        at
> org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:206)
>        at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
>        at
> org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
>        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> Source)
>        at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
>        at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
>        at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
>        at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:616)
>        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.naming.TransactionRef
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
>        ... 30 more
> java.lang.reflect.InvocationTargetException
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:616)
>        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: java.lang.NoClassDefFoundError: org/apache/naming/TransactionRef
>        at
> org.apache.catalina.core.StandardServer.<init>(StandardServer.java:83)
>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>        at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>        at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
>        at java.lang.Class.newInstance0(Class.java:372)
>        at java.lang.Class.newInstance(Class.java:325)
>        at
> org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:206)
>        at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
>        at
> org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
>        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> Source)
>        at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
> Source)
>        at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
>        at org.apache.catalina.startup.Catalina.load(Catalina.java:490)
>        at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
>        ... 6 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.naming.TransactionRef
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
>        ... 30 more
>
>
>
>
>
> On 09/25/2009 02:00 PM, Jan Pazdziora wrote:
>>
>> On Fri, Sep 25, 2009 at 01:36:45PM -0400, Daniel Durgin wrote:
>>>
>>> Hello,
>>>
>>> I schedualed the removal of some rpms (cups) through spacewalk for my
>>> spacewalk server.  It looks liked grabbed more than I wanted.
>>>
>>> Now, tomcat complains:
>>> # tomcat5 debug
>>> Found JAVA_HOME: /usr/lib/java
>>> Please complete your /etc/tomcat5/tomcat5.conf so we won't have to look
>>> for it next time
>>> Using CATALINA_BASE:   /usr
>>> Using CATALINA_HOME:   /usr
>>> Using CATALINA_TMPDIR: /usr/temp
>>> Using JAVA_HOME:       /usr/lib/java
>>> /usr/bin/dtomcat5: line 271: /usr/lib/java/bin/jdb: No such file or
>>> directory
>>> /usr/bin/dtomcat5: line 271: exec: /usr/lib/java/bin/jdb: cannot
>>> execute: No such file or directory
>>>
>>> Any idea what I need to do?
>>
>> Your /var/log/yum.log log file should have a record of what was removed
>> from the machine. That should help you restore the proper order.
>>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list redhat com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]