Bug 186775
Summary: | java.lang.NoClassDefFoundError when starting tomcat5 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stef <clustef33> |
Component: | tomcat5 | Assignee: | Vivek Lakshmanan <viveklak> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | CC: | marco.nahrgang |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-01-05 13:14:20 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
Stef
2006-03-26 11:25:54 UTC
I was unable to reproduce this problem. Is this a clean fc5 install or are there any third party packages invloved? Created attachment 127113 [details]
"rpm -qa" on FC5 machine
This contains the output of the command rpm -qa:
# rpm -qa > rpm-qa.txt
No, it's a pure FC5 installation from DVD. No extra packages etc. involved. Please find in the attachment id=127113 the list of the rpm packages that have been installed. I could repeat the error with a fresh installation from FC5 DVD. Don't know how to get tomcat5 running. Can you dump your environment? Also, try /sbin/service tomcat5 start instead of directly invoking the init.d script, this should run the script in a clean environment. Enviroment was dumped and attached to this bug. I tried # sbin/service tomcat5 start but it didn't help in any way: # cat /var/log/tomcat5/catalina.out Exception in thread "main" java.lang.NoClassDefFoundError: java.util.jar.JarEntry *** Got java.lang.NoClassDefFoundError: java.util.LinkedList while trying to print stack trace. Created attachment 127544 [details]
Environment of root user
I have the same problem here. I also get a warning when I try to start tomcat: (either with service tomcat5 start or with /etc/init.d/tomcat5 start) # service tomcat5 start Starting tomcat5: find: warning: you have specified the -mindepth option after a non-option argument -type, but options are not positional (-mindepth affects te sts specified before it as well as those specified after it). Please specify op tions before other arguments. find: warning: you have specified the -maxdepth option after a non-option argume nt -type, but options are not positional (-maxdepth affects tests specified befo re it as well as those specified after it). Please specify options before other arguments. Using CATALINA_BASE: /usr/share/tomcat5 Using CATALINA_HOME: /usr/share/tomcat5 Using CATALINA_TMPDIR: /usr/share/tomcat5/temp Using JRE_HOME: [ OK ] I have the exception-message Stef described in his posting and I also get it when I stop the service tomcat5. The system is a new installation of FC5 from DVD (iso-file) with the last yum update done today... Created attachment 128794 [details]
with the default java installation
Created attachment 128795 [details]
with the java, installed by the rpm from sun
Created attachment 128796 [details]
with the java, installed with rpm-rebuild, the rpm from jpackage and the binary from sun
I did several tests today. I tried to start tomcat - with the default java installed with fedora core - with the java provided by the rpm from sun - with a java created by using rpm-rebuld, the rpm from jpackage and the binary from sun In all three cases, I couldn't start tomcat. There was no process with the PID shown in /var/run/tomcat5.pid. Output and log-files are in the attachments. Greetings Marco Cannot reproduce this error with the latest release. Closing. |