Restart a single Tomcat service out of several running services?

2002-06-13 Thread Sven Woltmann

Hi,

Our server runs several Tomcat services for different websites.  Every time
I change a Java class for my my applications, I must restart Tomcat.  All my
websites are then down for up to 30 seconds, even the ones that don't use
the changed classes.

Is it possible to only restart one of the services?

Thanks,
Sven

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




AW: Multiple IP addresses

2002-06-13 Thread Sven Woltmann

Yes, that's exactly what to do.  You can also configure different Tomcat
services on different IP addresses if you want.

Sven


> -Ursprüngliche Nachricht-
> Von: Matthew Oatham [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 13. Juni 2002 09:13
> An: '[EMAIL PROTECTED]'
> Betreff: Multiple IP addresses
> 
> 
> Hi,
> 
> I am running Tomcat on a machine with multiple IP addresses, 
> how do I tell
> Tomcat which of these addresses it should be running on? Do I 
> add the IP
> address to the connector tag in server.xml? i.e.:
> 
>  className="org.apache.catalina.connector.http.HttpConnector"
>port="8080" minProcessors="5" maxProcessors="75"
>enableLookups="true" redirectPort="8443"
>acceptCount="10" debug="0" connectionTimeout="6"
> address="ip address"/> 
> 
> Many thanks.
> 
> --
> To unsubscribe, e-mail:   

For additional commands, e-mail:


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




AW: SSL Certificates from a CA...

2002-06-11 Thread Sven Woltmann

If you use Apache's SSL functionality, you don't need Tomcat's, since Apache
does all the SSL encrypting/decrypting for you.

If you use Tomcat standalone, you can use JDK's "keytool" to generate an SSL
certificate request with the "-certreq" option.

Sven


> -Ursprüngliche Nachricht-
> Von: Sean M Alderman [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 11. Juni 2002 15:43
> An: Tomcat Users List
> Betreff: SSL Certificates from a CA...
> 
> 
> Greetings,
>   I just read through the SSL-HowTo for Tomcat and followed it to get
> things going with a test certificate.  Is there any 
> documentation on how
> to generate a server certificate request for a CA?  I've done 
> this with
> apache and mod_ssl using openSSL with out issue.  Are the 
> openSSL tools
> interoperable with Tomcat?
> 
> Thanks.
> -- 
> Sean M. Alderman
> ITRACK Systems Analyst
> PACE/NCI - NASA Glenn Research Center
> (216) 433-2795
> 
> Calling a windowed operating system "Windows" is like naming an
> automobile "Wheels."
> 
> --
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
> 

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




AW: ssl configuration on tomacat 4.0

2002-06-11 Thread Sven Woltmann

1.) You've set the "keystorePass" parameter in the "Connector" element, it
does belong into the "Factory" element.  Try to also set your keystore file
there:



It works in my configuration.

2.) Check your log files, they usually give you a hint about what went wrong
when you can't load a page.


Sven



> -Ursprüngliche Nachricht-
> Von: sunmeet [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 11. Juni 2002 01:38
> An: [EMAIL PROTECTED]
> Betreff: ssl configuration on tomacat 4.0
> 
> 
> hi,
> i am tryingto configure Tomcat as a secure web server using 
> SSL on windows 2000
> i have installed the tomcat 4.0
> and j2sdk1.4.0
> my tomact is working alright that is the unsecure tomcat
> so far to make secure web server i have done this
> 
> 1. i have created the certificate by
> %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
> 
> 2. I have made changes in the server.xml
> 
> 
>  className="org.apache.catalina.connector.http.HttpConnector"
>port="80" minProcessors="5" maxProcessors="75"
>enableLookups="true" redirectPort="8443"
>acceptCount="10" debug="0" connectionTimeout="6"/>
> 
> 
> 
> 
>  className="org.apache.catalina.connector.http.HttpConnector"
>port="8443" minProcessors="5" maxProcessors="75"
>enableLookups="true" keystorePass="changeit"
> acceptCount="10" debug="0" scheme="https" secure="true">
>className="org.apache.catalina.net.SSLServerSocketFactory"
>clientAuth="false" protocol="TLS"/>
> 
> 
> 
> 3. now when i do https://localhost:8443/
> it gives me oage not found but
> http://localhost works
> 
> can give me some what should i do
> 
> 
>  
> 

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




AW: Can't Stop Tomcat 4.03

2002-06-10 Thread Sven Woltmann

Hi,

you've probably installed Tomcat with the "NT Service (NT/2k/XP only)"
option selected (which is unselected by default).  I don't know if you can
deinstall this option with the Tomcat install program.  If you can't, then
disable the Tomcat service in System Control / Services and set the startup
type to "deactivated". 

Or... deinstall Tomcat and reinstall it without the "NT Service" option.
That's what I did to get it clean.

Sven



> -Ursprüngliche Nachricht-
> Von: Marek, Tomas [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 10. Juni 2002 11:13
> An: 'Tomcat Users List'
> Betreff: RE: Can't Stop Tomcat 4.03
> 
> 
> Thanks, but the window is out already. When looking into 
> process manager
> (W2k), the tomcat.exe resides still there even after machine 
> rebooting. How
> can I kill it? Process manager disallow me to do it by hand. Any
> suggestions?
> 
> tom
> 
> -Original Message-
> From: Aline [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, June 10, 2002 11:12 AM
> To: Tomcat Users List
> Subject: RE: Can't Stop Tomcat 4.03
> 
> You can try to press keys Ctrl+c in the Tomcat Window
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
> 
> --
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
> 

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




AW: Installation of a signed SSL certificate

2002-06-07 Thread Sven Woltmann

Hi all,

I finally managed to install the certificate.  In case someone else gets
into the same situation, here's the solution:

1. 
I installed a test root certificate from Thawte into
$JAVA_HOME/jre/lib/security/cacerts.

2. 
When importing the certificate for my website, I had to use the same alias
as the key and use the option "-trustcacerts".

When I tried this before I always got the error message "Keytool-Fehler:
java.lang.Exception: Kette konnte nicht aus Antwort entnommen werden."
(Sorry, I have a German Java installation, this means something like
"Couldn't find chain in response").


Sven


> -----Ursprüngliche Nachricht-
> Von: Sven Woltmann 
> Gesendet: Freitag, 7. Juni 2002 17:49
> An: '[EMAIL PROTECTED]'
> Betreff: Installation of a signed SSL certificate
> 
> 
> Hi,
> 
> I have a problem installing an SSL certificate.  
> I am using Tomcat 4.0.4-b3 standalone on Linux.
> 
> First, I created a key pair with "keytool -genkey..." and 
> configured the "server.xml".  I am now able to view my 
> webpages with https://myserver
> 
> Of course, my browser tells me that the certificate is not 
> trusted, so I created a "certificate signing request" and 
> created a test certificate on www.thawte.com.
> 
> I installed the certificate signing request using "keytool 
> -import..." into the same keystore where I created the key.  
> The keystore has 2 entries now, a "keyEntry" and a "trustedCertEntry".
> 
> I restarted Tomcat and tried https://myserver again.  But it 
> still displays the untrusted self-signed certificate, not the 
> one I got from Thawte.
> 
> Can anyone tell me how to configure Tomcat to use the signed 
> certificate instead?
> 
> Thanks,
> Sven
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Installation of a signed SSL certificate

2002-06-07 Thread Sven Woltmann

Hi,

I have a problem installing an SSL certificate.  
I am using Tomcat 4.0.4-b3 standalone on Linux.

First, I created a key pair with "keytool -genkey..." and configured the
"server.xml".  I am now able to view my webpages with https://myserver

Of course, my browser tells me that the certificate is not trusted, so I
created a "certificate signing request" and created a test certificate on
www.thawte.com.

I installed the certificate signing request using "keytool -import..." into
the same keystore where I created the key.  The keystore has 2 entries now,
a "keyEntry" and a "trustedCertEntry".

I restarted Tomcat and tried https://myserver again.  But it still displays
the untrusted self-signed certificate, not the one I got from Thawte.

Can anyone tell me how to configure Tomcat to use the signed certificate
instead?

Thanks,
Sven

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