Re: tomcat6.0.29 on debian lenny

2010-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christoph,

On 10/29/2010 4:51 AM, Christoph Kukulies wrote:
 I ran a tomcat 5.5 on an older debian formerly and after an upgrade to
 5.0.6 (debian lenny)

Wait, what? You upgraded from 5.5 to 5.0? That sounds like a downgrade
to me.

 Anyway, to come to the point, I downloaded the tomcat 6.0.29 tar ball
 and installed it under /opt/tomcat,

This is a much better idea than using either 5.0 or 5.5.


- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzO10UACgkQ9CaO5/Lv0PCAgACfUSHxKbS43n9jffseLSRmD/Nc
NUkAnRDerr9AZH6gMG+GIu4VChXZtBsO
=uzts
-END PGP SIGNATURE-

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



Re: tomcat6.0.29 on debian lenny

2010-11-01 Thread David kerber

On 11/1/2010 11:05 AM, Christopher Schultz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christoph,

On 10/29/2010 4:51 AM, Christoph Kukulies wrote:

I ran a tomcat 5.5 on an older debian formerly and after an upgrade to
5.0.6 (debian lenny)


Wait, what? You upgraded from 5.5 to 5.0? That sounds like a downgrade
to me.


I imagine he means Debian 5.0.6, which is the latest release of Lenny.





Anyway, to come to the point, I downloaded the tomcat 6.0.29 tar ball
and installed it under /opt/tomcat,


This is a much better idea than using either 5.0 or 5.5.


- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzO10UACgkQ9CaO5/Lv0PCAgACfUSHxKbS43n9jffseLSRmD/Nc
NUkAnRDerr9AZH6gMG+GIu4VChXZtBsO
=uzts
-END PGP SIGNATURE-

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





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



Re: tomcat6.0.29 on debian lenny

2010-11-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David,

On 11/1/2010 11:16 AM, David kerber wrote:
 On 11/1/2010 11:05 AM, Christopher Schultz wrote:
 Christoph,
 
 On 10/29/2010 4:51 AM, Christoph Kukulies wrote:
 I ran a tomcat 5.5 on an older debian formerly and after an upgrade to
 5.0.6 (debian lenny)
 
 Wait, what? You upgraded from 5.5 to 5.0? That sounds like a downgrade
 to me.
 
 I imagine he means Debian 5.0.6, which is the latest release of Lenny.

D'oh. Thanks for reading more clearly than I.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzPIroACgkQ9CaO5/Lv0PAVagCfcS7OElLKQShJz315/forLFK9
ClQAoJPhPAbrIDNuS8UQWezP39aR/25N
=PVwE
-END PGP SIGNATURE-

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



tomcat6.0.29 on debian lenny

2010-10-29 Thread Christoph Kukulies
I ran a tomcat 5.5 on an older debian formerly and after an upgrade to 
5.0.6 (debian lenny), my tomcat installation is messed up.
I'm running the tomcat behind an apache2 with some connectors. The mess 
must have to do something with the
(braindead imho) split up between /usr/share/tomcat5.5 and 
/usr/share/tomcat5.5-webapps.


Anyway, to come to the point, I downloaded the tomcat 6.0.29 tar ball 
and installed it under /opt/tomcat,
wrote a little startup script that simply invoked bin/startup.sh resp. 
shutdown.


Didn't set any special environment variables like JAVA_HOME or CLASSPATH 
and I'm getting the following

in catalina.out (tomcat then dies after start):

WARNING: error instantiating '1catalina.org.apache.juli.FileHandler,' 
referenced by handlers, class not found

java.lang.ClassNotFoundException: 1catalina/org/apache/juli/FileHandler,
   at java.lang.VMClass.forName(VMClass.java)
   at java.lang.Class.forName(Class.java:235)
   at java.util.logging.LogManager.locateClass(LogManager.java:917)
   at java.util.logging.LogManager.createInstance(LogManager.java:846)
   at java.util.logging.LogManager.readConfiguration(LogManager.java:569)
   at java.util.logging.LogManager.readConfiguration(LogManager.java:529)
   at java.util.logging.LogManager.initLogManager(LogManager.java:203)
   at java.util.logging.LogManager.getLogManager(LogManager.java:168)
   at java.util.logging.Logger.getLogger(Logger.java:276)
   at java.util.logging.Logger.getLogger(Logger.java:224)
   at java.util.logging.Logger$1.run(Logger.java:91)
   at java.security.AccessController.doPrivileged(AccessController.java:96)
   at java.util.logging.Logger.clinit(Logger.java:86)
   at 
gnu.java.security.jce.sig.SignatureAdapter.clinit(SignatureAdapter.java:78)

   at java.lang.VMClass.forName(VMClass.java)
   at java.lang.Class.forName(Class.java:189)
   at gnu.java.security.provider.Gnu$1.run(Gnu.java:65)
   at java.security.AccessController.doPrivileged(AccessController.java:96)
   at gnu.java.security.provider.Gnu.init(Gnu.java:55)
   at java.util.jar.JarFile.clinit(JarFile.java:117)
   at 
gnu.java.net.protocol.jar.Connection$JarFileCache.get(Connection.java:98)

   at gnu.java.net.protocol.jar.Connection.connect(Connection.java:140)
   at gnu.java.net.protocol.jar.Connection.getJarFile(Connection.java:169)
   at gnu.java.net.loader.JarURLLoader.initialize(JarURLLoader.java:85)
   at gnu.java.net.loader.JarURLLoader.init(JarURLLoader.java:76)
   at java.net.URLClassLoader.addURLImpl(URLClassLoader.java:387)
   at java.net.URLClassLoader.addURLs(URLClassLoader.java:418)
   at java.net.URLClassLoader.init(URLClassLoader.java:215)
   at java.lang.ClassLoader$1.init(ClassLoader.java:1099)
   at java.lang.ClassLoader.createSystemClassLoader(ClassLoader.java:1099)
   at 
java.lang.ClassLoader.defaultGetSystemClassLoader(ClassLoader.java:1084)

   at java.lang.VMClassLoader.getSystemClassLoader(VMClassLoader.java:404)
   at java.lang.ClassLoader$StaticData.clinit(ClassLoader.java:155)
   at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:799)
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/ExceptionInInitializerError
   at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:799)
caused by java/lang/NullPointerException:
   at java.util.logging.Logger.addHandler (Logger.java:1017)
   at java.util.logging.LogManager.readConfiguration (LogManager.java:570)
   at java.util.logging.LogManager.readConfiguration (LogManager.java:529)
   at java.util.logging.LogManager.initLogManager (LogManager.java:203)
   at java.util.logging.LogManager.getLogManager (LogManager.java:168)
   at java.util.logging.Logger.getLogger (Logger.java:276)
   at java.util.logging.Logger.getLogger (Logger.java:224)
   at java.util.logging.Logger$1.run (Logger.java:91)
   at java.security.AccessController.doPrivileged 
(AccessController.java:96)

   at java.util.logging.Logger.clinit (Logger.java:86)
   at gnu.java.security.jce.sig.SignatureAdapter.clinit 
(SignatureAdapter.java:78)

   at java.lang.VMClass.forName (VMClass.java:native)
   at java.lang.Class.forName (Class.java:189)
   at gnu.java.security.provider.Gnu$1.run (Gnu.java:65)
   at java.security.AccessController.doPrivileged 
(AccessController.java:96)

   at gnu.java.security.provider.Gnu.init (Gnu.java:55)
   at java.util.jar.JarFile.clinit (JarFile.java:117)
   at gnu.java.net.protocol.jar.Connection$JarFileCache.get 
(Connection.java:98)

   at gnu.java.net.protocol.jar.Connection.connect (Connection.java:140)
   at gnu.java.net.protocol.jar.Connection.getJarFile (Connection.java:169)
   at gnu.java.net.loader.JarURLLoader.initialize (JarURLLoader.java:85)
   at gnu.java.net.loader.JarURLLoader.init (JarURLLoader.java:76)
   at java.net.URLClassLoader.addURLImpl (URLClassLoader.java:387)
   at java.net.URLClassLoader.addURLs (URLClassLoader.java:418)
   at java.net.URLClassLoader.init (URLClassLoader.java:215)
   at 

Re: tomcat6.0.29 on debian lenny

2010-10-29 Thread Mark Thomas
On 29/10/2010 09:51, Christoph Kukulies wrote:
 Anyway, to come to the point, I downloaded the tomcat 6.0.29 tar ball
 and installed it under /opt/tomcat,
 wrote a little startup script that simply invoked bin/startup.sh resp.
 shutdown.
 
 Didn't set any special environment variables like JAVA_HOME or CLASSPATH
 and I'm getting the following
 in catalina.out (tomcat then dies after start):
 
 WARNING: error instantiating '1catalina.org.apache.juli.FileHandler,'
 referenced by handlers, class not found

snip/

 Could it be, that sun-java6-jre and jdk are not being recognized or found?
 It seems there is still kaffee java active, although I installed (sun
 java6).

Looks like the LogManager is not being set correctly. You need to be
using -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
which the Tomcat scripts should be doing by default.

Mark

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



Re: tomcat6.0.29 on debian lenny

2010-10-29 Thread Christoph Kukulies

Am 29.10.2010 11:12, schrieb Mark Thomas:

On 29/10/2010 09:51, Christoph Kukulies wrote:

Anyway, to come to the point, I downloaded the tomcat 6.0.29 tar ball
and installed it under /opt/tomcat,
wrote a little startup script that simply invoked bin/startup.sh resp.
shutdown.

Didn't set any special environment variables like JAVA_HOME or CLASSPATH
and I'm getting the following
in catalina.out (tomcat then dies after start):

WARNING: error instantiating '1catalina.org.apache.juli.FileHandler,'
referenced by handlers, class not found

snip/


Could it be, that sun-java6-jre and jdk are not being recognized or found?
It seems there is still kaffee java active, although I installed (sun
java6).

Looks like the LogManager is not being set correctly. You need to be
using -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
which the Tomcat scripts should be doing by default.

Mark
Ooops. Sorry, I noticed that I had already copied over my 5.5 system.xml 
into the conf directory.

Using the original server.xml now works.

--
Christoph P.U. Kukulies


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



Re: tomcat6.0.29 on debian lenny

2010-10-29 Thread David kerber

On 10/29/2010 5:40 AM, Christoph Kukulies wrote:

...


Ooops. Sorry, I noticed that I had already copied over my 5.5 system.xml
into the conf directory.
Using the original server.xml now works.


Yeah, that bit me too, when I migrated from 5.5.x to 6.0.x.

D



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