Re: Problems after upgrading to Tomcat6

2010-06-02 Thread David Karlsen
Hi

Caldarale, Charles R Wrote:

 parent=gnu.gcj.runtime.SystemClassLoader
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 jpackage.org 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 jpackage.org 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 tomcat.apache.org 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 tomcat.apache.org have rpm-packages?

---
Sincerely David Karlsen

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



Re: Problems after upgrading to Tomcat6

2010-06-02 Thread David Karlsen
Hi

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.

Thanks.

---
Mvh David Karlsen
Delonic Technology Group AS



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



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 jpackage.org 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 '1catalina.org.apache.juli.FileHandler,'
referenced by handlers, class not found

java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler,

   No stacktrace available

Exception during runtime initialization

java.lang.ExceptionInInitializerError

   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
org.apache.catalina.realm.RealmBase

java.lang.ClassNotFoundException: org.apache.catalina.realm.RealmBase
not found in org.apache.catalina.loader.StandardClassLoader{urls=[],
parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/share/java/comm
ons-daemon.jar,file:/usr/share/java/tomcat6/catalina.jar,file:/usr/share
/java/servlet.jar,file:./,file:/usr/share/tomcat6/bin/bootstrap.jar,file
:/usr/share/tomcat6/bin/tomcat-juli.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}}

   at java.net.URLClassLoader.findClass(libgcj.so.7rh)

   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)

   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)

   at org.apache.catalina.startup.Tool.main(Tool.java:197)

 

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

 

---

Mvh David Karlsen