RE: Tomcat 5 + Red Hat Linux. Exception trying to load keystore

2007-08-22 Thread Caldarale, Charles R
 From: bajistaman [mailto:[EMAIL PROTECTED] 
 Subject: Tomcat 5 + Red Hat Linux. Exception trying to load keystore
 
 But when I start tomcat I get the following Exception
 
 [ERROR] 22/08/2007 08:29:35,704]
 [org.apache.tomcat.util.net.jsse.JSSESocketFactory] Exception 
 trying to load
 keystore /usr/share/tomcat5/.keystore
 java.security.KeyStoreException: JKS
at java.security.KeyStore.getInstance(libgcj.so.7rh)

You need to use a real JVM; the GNU one won't hack it.  Get a proper one
from the java.sun.com download area.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5 + Red Hat Linux. Exception trying to load keystore

2007-08-22 Thread bajistaman

Thanks, but we are already using the one that we got from sun's web site, any
other clue?

Johann
-- 
View this message in context: 
http://www.nabble.com/Tomcat-5-%2B-Red-Hat-Linux.-Exception-trying-to-load-keystore-tf4312574.html#a12279431
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5 + Red Hat Linux. Exception trying to load keystore

2007-08-22 Thread Caldarale, Charles R
 From: bajistaman [mailto:[EMAIL PROTECTED] 
 Subject: RE: Tomcat 5 + Red Hat Linux. Exception trying to 
 load keystore
 
 Thanks, but we are already using the one that we got from 
 sun's web site

You might think you are, but the stack trace shows you definitely are
not:

at java.security.KeyStore.getInstance(libgcj.so.7rh)

You need to sort out your PATH, insuring that it leads to the Sun JRE,
not the GNU one.

Also, it looks like the Tomcat you're using is some 3rd-party repackaged
version, rather than a real one from the tomcat.apache.org download
area; these have been know to cause unresolvable problems on many
platforms.  You probably want to replace that as well.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5 + Red Hat Linux. Exception trying to load keystore

2007-08-22 Thread bajistaman

You are right, when I look up the services I can see that Tomcat is running
using the JVM that you have told me:
/usr/lib/jvm/java/bin/java -Djava.awt.headless=true
-Dcatalina.ext.dirs=/usr/...

I changed that from the tomcat5.conf file:

# tomcat5 service configuration file

# you could also override JAVA_HOME here
# Where your java installation lives
###JAVA_HOME=/usr/lib/jvm/java
JAVA_HOME=/usr/java/latest

But probably as I'm executing Tomcat as a service the service def should be
the one that is pointing to the wrong JVM. 

Any idea how the change the service def?

Thanks,

Johann


-- 
View this message in context: 
http://www.nabble.com/Tomcat-5-%2B-Red-Hat-Linux.-Exception-trying-to-load-keystore-tf4312574.html#a12279805
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5 + Red Hat Linux. Exception trying to load keystore

2007-08-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Johann,

bajistaman wrote:
 But probably as I'm executing Tomcat as a service the service def should be
 the one that is pointing to the wrong JVM. 
 
 Any idea how the change the service def?

To somewhat reiterate Chuck's comment: you are working with a
nonstandard packaged installation of Tomcat. Tomcat doesn't come with
any service definitions or anything like that. If you have questions
about how to make changes such as that, consult the documentation for
your package manager, or for this specific package as regards your
package manager.

Not many people on the list use packaged versions of Tomcat: we only use
the real thing and will resist answering questions that are
package-manager specific.

If it turns out that you have to do too much fighting with the package
manager to get your work done, you have two choices:

1. Get the real version of Tomcat from tomcat.apache.org and discard
   the package-managed version. (Recommended if you want to get it
   working as fast as possible).

2. Tell your OS vendor nd/or package manager team that their packaging
   of Tomcat sucks, and they need to make it suck less.
   (Recommended if you want to make the world a better place).

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

iD8DBQFGzHpa9CaO5/Lv0PARAuXrAKCsa+MKYernvgdeERw5iXL4vA8HiwCdFYXI
6MNfuiwhNtWvJsmbQ6LMmaw=
=R4dT
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5 + Red Hat Linux. Exception trying to load keystore

2007-08-22 Thread bajistaman

Ok, I'll keep away from this forum the packaged tomcat questions. When I get
the real one I'll be back.

Thanks,

Johann
-- 
View this message in context: 
http://www.nabble.com/Tomcat-5-%2B-Red-Hat-Linux.-Exception-trying-to-load-keystore-tf4312574.html#a12280051
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]