urgent , pls help ssl and apache and tomcat

2002-10-21 Thread Maninder S Batth
If apache is intercepting ssl requests, and forwards requests to tomcat, 
does  tomcat needs to be ssl enabled??? and should i use ajp or https 
connector between apache
and tomcat  for the request to work successfuly over ssl?? any help 
would be appreciated.

[EMAIL PROTECTED] wrote:

Jake

In response to your following suggestion:

Are you sure that Tomcat isn't already running as a service?  If
Tomcat is already listening to the ports that a new instance would
try to listen to, then you would get that behavior.  The window would
just close.  For easier debugging, you might want to open a command
prompt and cd to where the tomcat startup batch files are and run them
via the command line rather than double clicking the batch files.
That way, you should see some error messages in the console.

I ran the startup.bat file and got the same behavior.  I see results on the 
screen for a second, then the screen disappears.  The shutdown results do 
stay in the original window.  However, I'm getting error message connected 
with the sshutdown.  Here they are:

C:\Tomcat\Tomcat 4.1\bin>shutdown
Using CATALINA_BASE:   c:\Tomcat\Tomcat 4.1
Using CATALINA_HOME:   c:\Tomcat\Tomcat 4.1
Using CATALINA_TMPDIR: c:\Tomcat\Tomcat 4.1\temp
Using JAVA_HOME:   c:\j2sdk1.4.1
Catalina.stop: java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
   at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
   at java.net.Socket.connect(Socket.java:426)
   at java.net.Socket.connect(Socket.java:376)
   at java.net.Socket.(Socket.java:291)
   at java.net.Socket.(Socket.java:119)
   at org.apache.catalina.startup.Catalina.stop(Catalina.java:579)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j

ava:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

What is the cause of this exception?  What do I need to do to fix it?

Thanks for your help 

Ann

 


--
Your favorite stores, helpful shopping tools and great gift ideas. 
Experience the convenience of buying online with Shop@Netscape! 
http://shopnow.netscape.com/



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



Re: AW: urgent , pls help ssl and apache and tomcat

2002-10-21 Thread Maninder S Batth
Thanks Ralph, the pointer was much appreciated, helped me from not 
getting a nervous breakdown in the morning ;-)


Ralph Einfeldt wrote:

In this case you don't need ssl on the tomcat side.

The ssl is completly decrypted by apache and you
can just use ajp to connect apache with tomcat.

 

-Ursprüngliche Nachricht-
Von: Maninder S Batth [mailto:anywhereinfo@;netscape.net]
Gesendet: Montag, 21. Oktober 2002 19:10
An: [EMAIL PROTECTED]
Betreff: urgent , pls help ssl and apache and tomcat

If apache is intercepting ssl requests, and forwards requests 
to tomcat, does  tomcat needs to be ssl enabled??? and should 
i use ajp or https connector between apache and tomcat for 
the request to work successfuly over ssl?? 
   


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

 


--
Your favorite stores, helpful shopping tools and great gift ideas. 
Experience the convenience of buying online with Shop@Netscape! 
http://shopnow.netscape.com/