tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wade Chandler <hwadechandler-apa...@yahoo.com>
Subject Re: Tomcat5 on FC4 problems
Date Mon, 02 Jan 2006 20:23:03 GMT
--- Bob Hartung <rwhart@mchsi.com> wrote:

> Hi all and Happy New Year
>    I have FC4 updated on a test server and I am new
> to java, Tomcat, 
> etc.  I was trying to install a MIRC Servr (freeware
> teaching and 
> research case file manager from the Radiological
> Society of North 
> America) that called for java-1.4.2 and tomcat4.
>    So like a newbie I tried to remove tomcat5.  I
> did get Tomcat4 
> running but suspect portions of Tomcat5 were
> lingering.  Eventually, 
> after about 10 days of frustration, I gave up and am
> trying to get my 
> FC4 system back to base line with Tomcat5.
> 
>    Using yum i tried to re-install and update all
> packages.  I get the 
> following error on trying to start Tomcat5 (note
> (...) is where I 
> snipped some.  Also this is not the entire output of
> catalina.out but is 
> a representative sample of 5 similar areas.  Can
> someone help me figure 
> out what is missing or where/how to begin finding
> the missing files?
> 
> I can confirm that libgcj.so.6.0.0 is installed.
> 
> Thanks
> 
> Bob
> 
> 
> catalina.out - truncated.
> 
> Exception in thread "main"
> java.lang.NoClassDefFoundError: while 
> resolving class:
> org.apache.catalina.startup.Bootstrap
>   (...)
> Caused by: java.lang.ClassNotFoundException: 
> javax.management.MBeanServer not found in 
>
gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/lib/jvm/java/lib/tools.jar,file:/usr/share/tomcat5/bin/bootstrap.jar,file:./],
> 
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[],
> parent=null}}
>     at
> java.net.URLClassLoader.findClass(java.lang.String) 
> (/usr/lib/libgcj.so.6.0.0)
>     at
> java.lang.ClassLoader.loadClass(java.lang.String,
> boolean) 
> (/usr/lib/libgcj.so.6.0.0)
>     at
> java.lang.ClassLoader.loadClass(java.lang.String) 
> (/usr/lib/libgcj.so.6.0.0)
>     ...4 more
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail:
> users-help@tomcat.apache.org
> 
> 

The issue is you are using GCJ and a gcj compiled
version of Tomcat.  I doubt the Tomcat list will
really answer too many questions.  If you want to be
able to install java and other versions of Tomcat
you'll have to remove the gcj java wrappers from your
bin (javac, java, maybe others).  Install java, add
it's bin to your path and set your JAVA_HOME
environment variable.  Then download tomcat and setup
your CATALINA_HOME and what ever else.  I realize
that's a little vague, but you probably could have
gotten going with the downloaded Tomcat had you had
java (not gcj wrappers) installed and linked to
correctly.  I never had much luck out of Tomcat on
gcj....that's just my experience.

Wade

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message