Hi all,

Having a bit of a nightmare here.

On a clean installation of CentOS 5.4 I installed Tomcat 5.5, Java 1.4.2
etc via yum. When I start up Tomcat (sites and code ported over from
another server running Tomcat 5.5 and Java 1.4.2), it gives me:

  java.lang.IllegalArgumentException: The currency code, £, is not supported.
   at java.util.Currency.getInstance(libgcj.so.7rh)

I've found a little bit of information on this (but not a lot), one
suggestion being that it's an issue in gcc 4.1 (sounds plausible, as the
server which this code was moved from used gcc 3.4).

I tried removing the Tomcat rpms and using a binary distribution (5.5
again) from the Tomcat website. This fails to start up:

Exception in thread "main" java.lang.NoClassDefFoundError:
   at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Caused by: java.lang.ClassNotFoundException:  not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/local/tomcat/bin/bootstrap.jar,file:/usr/share/java/libgcj-4.1.2.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.7rh)
   at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
   at gnu.java.lang.MainThread.run(libgcj.so.7rh)

Having not got anywhere with trying to solve either of these, all I can
think of is to compile Tomcat from source using gcc 3.4, which I have now
installed alongside 4.1. I'm not convinced this will solve my problems
though.

Does anyone have any pointers as to either of these errors please? I
notice in the second that it's "*blank space* not found" rather than
"*something* not found"

Thanks,
Peter Smith






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

Reply via email to