RE: ( URGENT Please ) tomcat connection refused

2005-07-27 Thread David Shapiro
Did you generate the RSA key with the changeit password?  Did you uncomment
the section with 8443 port configuration?  Did you wait long enough for the
server to start (tail -f the catalina.out log and wait for it to see 8443
has started).  What is in the catalina.out log?  Any errors?  On IBM AIX I
had to change the protocol to IbmX503 and use SSL instead of TLS.  Try
changing TLS to SSL (see the section for configuring 8443 to do this).  

David 

-Original Message-
From: Abdullah Abdullah [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 27, 2005 1:10 PM
To: tomcat-user@jakarta.apache.org; tomcat-dev@jakarta.apache.org
Subject: ( URGENT Please ) tomcat connection refused

Dear all

I am trying to create a secure connection between tomcat server and a
browser. I have done exactly the same as the instructions on

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html

but when I tried to connect on the port   https://localhost:8443  , an alert

popped up saying (( The connection was refused when attepting to contact
localhost:8443 .

So, I would be very grateful if anyone can let me know what is the problem
??

Thanks in advance

Abdullah

_
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! 
http://messenger.msn.co.uk


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




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



( URGENT Please ) tomcat connection refused

2005-07-27 Thread Abdullah Abdullah

Dear all

I am trying to create a secure connection between tomcat server and a 
browser. I have done exactly the same as the instructions on


http://jakarta.apache.org/tomcat/tomcat-5.5-doc/ssl-howto.html

but when I tried to connect on the port   https://localhost:8443  , an alert 
popped up saying (( The connection was refused when attepting to contact 
localhost:8443 .


So, I would be very grateful if anyone can let me know what is the problem 
??


Thanks in advance

Abdullah

_
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! 
http://messenger.msn.co.uk



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



Re: Tomcat Connection refused :-(

2005-04-04 Thread Hari Mailvaganam
Did installing Oracle or jBoss change your JVM path?

On Apr 4, 2005 5:49 AM, gaurav <[EMAIL PROTECTED]> wrote:
> Peter Crowther wrote:
> 
> >>From: gaurav [mailto:[EMAIL PROTECTED]
> >>I am using tomcat 5.5.7 on Fedora 3 with jdk1.5.0_02
> >>
> >>
> >
> >
> >
> >
> >>my i have disable firewal and stopped Iptables !!
> >>
> >>
> >
> >OK.
> >
> >
> >
> >>netstat -a | grep tomcat or 8080-> nothing , zero , blank
> >>
> >>
> >
> >You already said that you had moved the Tomcat port from 8080, though?
> >If so, I wouldn't expect anything on 8080.  And I would expect something
> >on Tomcat's shutdown port as well (check your server.xml for its port
> >number) - is that not starting either?
> >
> >   - Peter
> >
> >
> >
> I dont whats the wrong here... I have just installed Jboss .its
> tunning fine ...what the problem tomcat ??
> Why o Why tomcat says connection refused is there any hidden lock or
> temp files thats is causing proble ??
> 
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: Tomcat Connection refused :-(

2005-04-04 Thread gaurav
Peter Crowther wrote:
From: gaurav [mailto:[EMAIL PROTECTED] 
I am using tomcat 5.5.7 on Fedora 3 with jdk1.5.0_02
   


 

my i have disable firewal and stopped Iptables !!
   

OK.
 

netstat -a | grep tomcat or 8080-> nothing , zero , blank
   

You already said that you had moved the Tomcat port from 8080, though?
If so, I wouldn't expect anything on 8080.  And I would expect something
on Tomcat's shutdown port as well (check your server.xml for its port
number) - is that not starting either?
- Peter
 

I dont whats the wrong here... I have just installed Jboss .its 
tunning fine ...what the problem tomcat ??
Why o Why tomcat says connection refused is there any hidden lock or 
temp files thats is causing proble ??

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


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


RE: Tomcat Connection refused :-(

2005-04-01 Thread Peter Crowther
> From: gaurav [mailto:[EMAIL PROTECTED] 
> I am using tomcat 5.5.7 on Fedora 3 with jdk1.5.0_02

Thanks.

> my i have disable firewal and stopped Iptables !!

OK.

> netstat -a | grep tomcat or 8080-> nothing , zero , blank

You already said that you had moved the Tomcat port from 8080, though?
If so, I wouldn't expect anything on 8080.  And I would expect something
on Tomcat's shutdown port as well (check your server.xml for its port
number) - is that not starting either?

- Peter

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



Re: Tomcat Connection refused :-(

2005-04-01 Thread Hassan Schroeder
gaurav wrote:
what to do !!
Basic troubleshooting.
1) look in your logs (and if this problem seems associated with the
   Oracle install, look in its log(s) and the syslogs, too).
2)
prompt> export JAVA_OPTS=-verbose
prompt> $CATALINA_HOME/bin/catalina.sh run
   watch the console and see where and why Tomcat stops initializing
HTH!
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

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


Re: Tomcat Connection refused :-(

2005-04-01 Thread gaurav
Hi Peter ,
Peter Crowther wrote:
From: gaurav [mailto:[EMAIL PROTECTED] 
 My tomcat server is not working !! no matter what I do 
every thing I going till I day installed oracle 9i :-(
   

What Tomcat version?
What operating system?  I assume some UNIX variant given the trace.
 

I am using tomcat 5.5.7 on Fedora 3 with jdk1.5.0_02
Did you install anything else on the machine at the same time as Oracle
9i?  Any operating system changes?  Any firewall changes?  Any reboot
 

my i have disable firewal and stopped Iptables !!
that could have brought into operation a pending change that someone had
made at some earlier time?
What does 'netstat -a' show?  With Tomcat shut down, it should show
 

netstat -a | grep tomcat or 8080-> nothing , zero , blank
nothing on Tomcat's ports; with Tomcat running, it should show Tomcat's
ports as LISTENING.
 

what to do !!
Regards,
Gaurav
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat Connection refused :-(

2005-04-01 Thread Peter Crowther
> From: gaurav [mailto:[EMAIL PROTECTED] 
>   My tomcat server is not working !! no matter what I do 
> every thing I going till I day installed oracle 9i :-(

What Tomcat version?

What operating system?  I assume some UNIX variant given the trace.

Did you install anything else on the machine at the same time as Oracle
9i?  Any operating system changes?  Any firewall changes?  Any reboot
that could have brought into operation a pending change that someone had
made at some earlier time?

What does 'netstat -a' show?  With Tomcat shut down, it should show
nothing on Tomcat's ports; with Tomcat running, it should show Tomcat's
ports as LISTENING.

- Peter

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



Tomcat Connection refused :-(

2005-04-01 Thread gaurav
Hi list,
My tomcat server is not working !! no matter what I do 
every thing I going till I day installed oracle 9i :-(
Now Tomcat just does responds to its port .i have changed the 8090 
but no effect !!
when I run ./startup.sh   it shows no problem but nothing comes at at 
port (connection) refused during ./shutdown.sh I always get
org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused

I tried following
  * Rebooted the server
  * ps axf | grep [j]ava.endorsed.dir -> no output|
  * rm /var/lock/subsys/tomcat -> no lock file|
  * tried other port no that 8080 like 8900 -> still doesnt work :-(
pl help me !!
I am using tomcat 5.7 on Fedora Core 3
[EMAIL PROTECTED] ~]# service tomcat stop
Tomcat Shutdown: Using CATALINA_BASE:   /home/tomcat/tomcat
Using CATALINA_HOME:   /home/tomcat/tomcat
Using CATALINA_TMPDIR: /home/tomcat/tomcat/temp
Using JRE_HOME:   /usr/java/jdk1.5.0_02
Apr 1, 2005 5:41:50 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
  at java.net.PlainSocketImpl.socketConnect(Native Method)
  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
  at java.net.Socket.connect(Socket.java:507)
  at java.net.Socket.connect(Socket.java:457)
  at java.net.Socket.(Socket.java:365)
  at java.net.Socket.(Socket.java:178)
  at 
org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:585)
  at 
org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:320)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:411)
OK


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


Tomcat Connection refused :-(

2005-04-01 Thread gaurav
Hi list,
 My tomcat server is not working !! no matter what I do 
every thing I going till I day installed oracle 9i :-(
Now Tomcat just does responds to its port .i have changed the 8090 
but no effect !!
when I run ./startup.sh   it shows no problem but nothing comes at at 
port (connection) refused during ./shutdown.sh I always get
org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused

I tried following
   * Rebooted the server
   * |ps axf | grep [j]ava.endorsed.dir -> no output|
   * |rm /var/lock/subsys/tomcat -> no lock file|
   * tried other port no that 8080 like 8900 -> still doesnt work :-(
pl help me !!
|
|
[EMAIL PROTECTED] ~]# service tomcat stop
Tomcat Shutdown: Using CATALINA_BASE:   /home/tomcat/tomcat
Using CATALINA_HOME:   /home/tomcat/tomcat
Using CATALINA_TMPDIR: /home/tomcat/tomcat/temp
Using JRE_HOME:   /usr/java/jdk1.5.0_02
Apr 1, 2005 5:41:50 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
   at java.net.Socket.connect(Socket.java:507)
   at java.net.Socket.connect(Socket.java:457)
   at java.net.Socket.(Socket.java:365)
   at java.net.Socket.(Socket.java:178)
   at 
org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at 
org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:320)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:411)
OK

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