Re: Problems after upgrading to Tomcat6

2010-06-02 Thread David Karlsen

Caldarale, Charles R Wrote:

You need to use a real JVM (HotSpot, JRockit, IBM), not a toy one.
Remove gcj from your system as quickly as possible.

It seems like packages is having dependency towards gcj. Do
you know perhaps about another repertory that contains prebuilt packages
for Centos 5?

It seems strange dough, that should build packages that is
designed not to work on the system the packages is build for. Are you
certain that it isn't any more convenience way to do this than changing
the JVM?

Pid Wrote:

Download a Tomcat binary from and use that instead?

Do you mean the deployer? Or just replacing some of the files? If you
mean the deployer, could this overwrite other essential system files and
mess up the system? Do have rpm-packages?

Sincerely David Karlsen

To unsubscribe, e-mail:
For additional commands, e-mail:

Re: Problems after upgrading to Tomcat6

2010-06-02 Thread David Karlsen

Problems fixed. It was a mismatch between JVM-versions. Upgrading
Tomcat, did not automaticly upgrade JVM. Seems like when building the
Tomcat packages, it did not take into account checking the JVM for wrong
version. Upgrading the JVM to the latest GCJ version solved the problem.


Mvh David Karlsen
Delonic Technology Group AS

To unsubscribe, e-mail:
For additional commands, e-mail:

Problems after upgrading to Tomcat6

2010-06-01 Thread David Karlsen
Dear list


I have recently been running Tomcat 5 on my server, without problems.
After an upgrade to Tomcat 6, however I get errors. During the upgrade I
manually removed all the Tomcat 5 packages, and dependent packages
before I installed new Tomcat 6 packages from the repo. The
system is a Centos 5 system. This is the error messages:


From /var/log/tomcat6/catalina.out when running service tomcat6 start:


WARNING: error instantiating 'org.apache.juli.ClassLoaderLogManager'
referenced by java.util.logging.manager, class not found

java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
not found

   No stacktrace available

WARNING: error instantiating ','
referenced by handlers, class not found


   No stacktrace available

Exception during runtime initialization


   No stacktrace available

Caused by: java.lang.NullPointerException

   No stacktrace available


Then Tomcat dies. 


Running tomcat6-digest with root user gives:


SEVERE: Exception creating instance of

java.lang.ClassNotFoundException: org.apache.catalina.realm.RealmBase
not found in org.apache.catalina.loader.StandardClassLoader{urls=[],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}


   at java.lang.ClassLoader.loadClass(

   at java.lang.ClassLoader.loadClass(

   at org.apache.catalina.startup.Tool.main(


Can someone give me a hint about how to proceed here?



Mvh David Karlsen