Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Chirag
I have Internet Connection 

Initially I start the server and there are no
Exception Afterwards I try to surf the Site By typing
http://203.197.197.197:8080/ and The Server throws the
following Exception

There are no other servers running



Dec 9, 2004 11:37:44 AM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket¤
SEVERE: Endpoint
ServerSocket[addr=/203.192.197.197,port=0,localport=8080]
ignored exception: java.net.SocketException: socket
closed
java.net.SocketException: socket closed
at
java.net.PlainSocketImpl.socketAccept(Native Method)
at
java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at
java.net.ServerSocket.implAccept(ServerSocket.java:450)
at
java.net.ServerSocket.accept(ServerSocket.java:421)
at
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:368)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 9, 2004 11:37:45 AM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
WARNING: Reinitializing ServerSocket
Dec 9, 2004 11:37:45 AM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
SEVERE: Endpoint null ignored exception:
java.net.BindException: Address already in use:
JVM_Bind:8080
java.net.BindException: Address already in use:
JVM_Bind:8080
at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:429)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 9, 2004 11:37:45 AM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
WARNING: Restarting endpoint
Dec 9, 2004 11:37:45 AM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
SEVERE: Endpoint null shutdown due to exception:
java.net.BindException: Address already in use:
JVM_Bind:8080
java.net.BindException: Address already in use:
JVM_Bind:8080
at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:441)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 9, 2004 11:37:45 AM
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable
run
SEVERE: Caught exception (java.lang.ThreadDeath)
executing
[EMAIL PROTECTED],
terminating thread




Thanks in advance

CSJakharia

=
 Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com 





__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


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



RE: Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Arnab Chakravarty
Hey,

Your previous instance of tomcat did not shutdown as the error clearly says:

java.net.BindException: Address already in use:
JVM_Bind:8080

You can check that using netstat command whether the port is already used by 
any instance of tomcat before starting a new instance.

Hope this helps.

Arnab

-Original Message-
From: Chirag [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 09, 2004 1:47 PM
To: [EMAIL PROTECTED]
Subject: Chirag : SEVERE: Endpoint 
ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: 
java.net.SocketException: socket closed

I have Internet Connection 

Initially I start the server and there are no
Exception Afterwards I try to surf the Site By typing
http://203.197.197.197:8080/ and The Server throws the
following Exception

There are no other servers running



Dec 9, 2004 11:37:44 AM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket¤
SEVERE: Endpoint
ServerSocket[addr=/203.192.197.197,port=0,localport=8080]
ignored exception: java.net.SocketException: socket
closed
java.net.SocketException: socket closed
at
java.net.PlainSocketImpl.socketAccept(Native Method)
at
java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at
java.net.ServerSocket.implAccept(ServerSocket.java:450)
at
java.net.ServerSocket.accept(ServerSocket.java:421)
at
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:368)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 9, 2004 11:37:45 AM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
WARNING: Reinitializing ServerSocket
Dec 9, 2004 11:37:45 AM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
SEVERE: Endpoint null ignored exception:
java.net.BindException: Address already in use:
JVM_Bind:8080
java.net.BindException: Address already in use:
JVM_Bind:8080
at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:429)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 9, 2004 11:37:45 AM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
WARNING: Restarting endpoint
Dec 9, 2004 11:37:45 AM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
SEVERE: Endpoint null shutdown due to exception:
java.net.BindException: Address already in use:
JVM_Bind:8080
java.net.BindException: Address already in use:
JVM_Bind:8080
at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:441)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 9, 2004 11:37:45 AM
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable
run
SEVERE: Caught exception (java.lang.ThreadDeath)
executing
[EMAIL PROTECTED],
terminating thread




Thanks in advance

CSJakharia

=
 Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com 





__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


-
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: Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Chirag
Thanks


Software Installed
--
jakarta-tomcat-5.5.2
Windows 98SE
IE6.0SP1

But I have checked using netstat and no such port is
in use

Besides this This Exception is not thrown in startup
I mean this Exception is thrown When the Tomcat Server
is properly Ready with Server Startup Message and then
When I try to access the site It throws this Exception


There are total 3 Exceptions coming up and somehow
Some Exception is not able to release the port and
therefore such a Problem.Just a Guess


Thanks in advance

CSJakharia

--- Arnab Chakravarty [EMAIL PROTECTED]
wrote:

 Hey,
 
 Your previous instance of tomcat did not shutdown as
 the error clearly says:
 
 java.net.BindException: Address already in use:
 JVM_Bind:8080
 
 You can check that using netstat command whether the
 port is already used by any instance of tomcat
 before starting a new instance.
 
 Hope this helps.
 
 Arnab
 
 -Original Message-
 From: Chirag [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, December 09, 2004 1:47 PM
 To: [EMAIL PROTECTED]
 Subject: Chirag : SEVERE: Endpoint

ServerSocket[addr=/203.192.197.197,port=0,localport=8080]
 ignored exception: java.net.SocketException: socket
 closed
 
 I have Internet Connection 
 
 Initially I start the server and there are no
 Exception Afterwards I try to surf the Site By
 typing
 http://203.197.197.197:8080/ and The Server throws
 the
 following Exception
 
 There are no other servers running
 
 
 
 Dec 9, 2004 11:37:44 AM
 org.apache.tomcat.util.net.PoolTcpEndpoint
 acceptSocket¤
 SEVERE: Endpoint

ServerSocket[addr=/203.192.197.197,port=0,localport=8080]
 ignored exception: java.net.SocketException: socket
 closed
 java.net.SocketException: socket closed
 at
 java.net.PlainSocketImpl.socketAccept(Native Method)
 at

java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
 at

java.net.ServerSocket.implAccept(ServerSocket.java:450)
 at
 java.net.ServerSocket.accept(ServerSocket.java:421)
 at

org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
 at

org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:368)
 at

org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
 at

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)
 Dec 9, 2004 11:37:45 AM
 org.apache.tomcat.util.net.PoolTcpEndpoint
 acceptSocket
 WARNING: Reinitializing ServerSocket
 Dec 9, 2004 11:37:45 AM
 org.apache.tomcat.util.net.PoolTcpEndpoint
 acceptSocket
 SEVERE: Endpoint null ignored exception:
 java.net.BindException: Address already in use:
 JVM_Bind:8080
 java.net.BindException: Address already in use:
 JVM_Bind:8080
 at

org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
 at

org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:429)
 at

org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
 at

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)
 Dec 9, 2004 11:37:45 AM
 org.apache.tomcat.util.net.PoolTcpEndpoint
 acceptSocket
 WARNING: Restarting endpoint
 Dec 9, 2004 11:37:45 AM
 org.apache.tomcat.util.net.PoolTcpEndpoint
 acceptSocket
 SEVERE: Endpoint null shutdown due to exception:
 java.net.BindException: Address already in use:
 JVM_Bind:8080
 java.net.BindException: Address already in use:
 JVM_Bind:8080
 at

org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
 at

org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:441)
 at

org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
 at

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)
 Dec 9, 2004 11:37:45 AM

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable
 run
 SEVERE: Caught exception (java.lang.ThreadDeath)
 executing
 [EMAIL PROTECTED],
 terminating thread
 
 
 
 
 Thanks in advance
 
 CSJakharia
 
 =
  Subscribe to bermudaEmail:  [input]  [input] 
 Browse Archives at groups-beta.google.com 
 
 
 
 
   
 __ 
 Do you Yahoo!? 
 Meet the all-new My Yahoo! - Try it today! 
 http://my.yahoo.com 
  
 
 

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


=
 Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com 





__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250

RE: Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Caldarale, Charles R
 From: Chirag [mailto:[EMAIL PROTECTED]
 Subject: RE: Chirag : SEVERE: Endpoint
 ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored
 exception: java.net.SocketException: socket closed
 
 Software Installed
 --
 jakarta-tomcat-5.5.2
 Windows 98SE
 IE6.0SP1
 
 But I have checked using netstat and no such port is in use

We've had problems with Win2K sometimes not really releasing ports after 
abnormal termination of the program listening on them, and netstat doesn't show 
them as in use.  Required a reboot to clear it up, at least temporarily.  The 
same issue may exist on Win98.

 - 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 unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Chirag
If there was a port Problem then that Problem should
had occured in startup but instead of that it is
starting normally and it throws Exception After the
Server is Accessed

According to me there is SocketException due to some
reason and after that it again tries to gain the
socket but cannot do so and so such Exception is
raised as it has not been properly released

Thanks in advance

Chirag

--- Caldarale, Charles R
[EMAIL PROTECTED] wrote:

  From: Chirag [mailto:[EMAIL PROTECTED]
  Subject: RE: Chirag : SEVERE: Endpoint
 

ServerSocket[addr=/203.192.197.197,port=0,localport=8080]
 ignored
  exception: java.net.SocketException: socket closed
  
  Software Installed
  --
  jakarta-tomcat-5.5.2
  Windows 98SE
  IE6.0SP1
  
  But I have checked using netstat and no such port
 is in use
 
 We've had problems with Win2K sometimes not really
 releasing ports after abnormal termination of the
 program listening on them, and netstat doesn't show
 them as in use.  Required a reboot to clear it up,
 at least temporarily.  The same issue may exist on
 Win98.
 
  - 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.
 


=
 Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com 





__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 

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



RE: Chirag : SEVERE: Endpoint ServerSocket[addr=/203.192.197.197,port=0,localport=8080] ignored exception: java.net.SocketException: socket closed

2004-12-09 Thread Chirag
Now I got the Exact Problem

I asked one of my friend to surf the site from his
place and found out that the site is working well
enough the only problem is that it can't be surfed
from the Server.I mean the Machine where the Server is
running

So how to do that

I mean I should be able to host the site as well as
surf the site from the server


Thanks in advance

CSJakharia


--- Caldarale, Charles R
[EMAIL PROTECTED] wrote:

  From: Chirag [mailto:[EMAIL PROTECTED]
  Subject: RE: Chirag : SEVERE: Endpoint
 

ServerSocket[addr=/203.192.197.197,port=0,localport=8080]
 ignored
  exception: java.net.SocketException: socket closed
  
  Software Installed
  --
  jakarta-tomcat-5.5.2
  Windows 98SE
  IE6.0SP1
  
  But I have checked using netstat and no such port
 is in use
 
 We've had problems with Win2K sometimes not really
 releasing ports after abnormal termination of the
 program listening on them, and netstat doesn't show
 them as in use.  Required a reboot to clear it up,
 at least temporarily.  The same issue may exist on
 Win98.
 
  - 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.
 


=
 Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com 





__ 
Do you Yahoo!? 
Send holiday email and support a worthy cause. Do good. 
http://celebrity.mail.yahoo.com

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



java.net.SocketException: socket closed

2004-12-08 Thread Chirag
 
There are no servers running on the port 8080.I checked myself with netstat -a 
and there is no PWS or IIS installed

There is no property Screen Buffer Size over the Properties Window of DOS on 
Windows98 Machine. Yes I changed the Initial Size to 50 lines and not more than 
that can be done as it is a COmbo Box

Anyway The increased Exceptions are


ed exception: java.net.SocketException: socket closedjava.net.SocketException: 
socket closedat java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)at 
java.net.ServerSocket.implAccept(ServerSocket.java:450)at 
java.net.ServerSocket.accept(ServerSocket.java:421)at 
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:368)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)  
  at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)Dec 8, 2004 8:47:20 PM 
org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocketWARNING: Reinitializing 
ServerSocketDec 8, 2004 8:47:20 PM org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocketSEVERE: Endpoint null
 ignored exception: java.net.BindException: Address already in use: 
JVM_Bind:8080java.net.BindException: Address already in use: JVM_Bind:8080  
  at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:429)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)  
  at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)Dec 8, 2004 8:47:20 PM 
org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocketWARNING: Restarting 
endpointDec 8, 2004 8:47:20 PM org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocketSEVERE: Endpoint null shutdown due to exception: 
java.net.BindException: Address already in use: 
JVM_Bind:8080java.net.BindException: Address already in use: JVM_Bind:8080  
  at
 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:441)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)  
  at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)Dec 8, 2004 8:47:20 PM 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable runSEVERE: Caught 
exception (java.lang.ThreadDeath) executing [EMAIL PROTECTED], terminating 
thread



The starting Exception still is not Visible
Do you know any Software that can act as MS DOS Window and has scrolling ability

There are no servers running on port 8080

I think that the Tomcat itself starts the server and after anyone accesses the 
server it throws the Exception and somehow is not able to release the 
ServerSocket as it automatically tries to get the ServerSocket it throws the 
Exception that the port is in use

Thanks in advance

CSJakharia


 Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com 



-
Do you Yahoo!?
 Yahoo! Mail - Find what you need with new enhanced search. Learn more.

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-07 Thread Parsons Technical Services
So far it is making sense. Now check all your other apps and see what may 
already be using port 80. One way to do this is to do ctrl + alt +del and 
end task until only explorer is left. Then try Tomcat. If It works you then 
need to sort thru the apps and determine which one is on port 80.

Or change Tomcat back to using port 8080.
Doug

- Original Message - 
From: Chirag [EMAIL PROTECTED]
To: Parsons Technical Services [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 1:58 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket


Thanks for your Help
this works a little but there is one more problem
It throws another Exception
   at 
org.apache.tomcat.util.net.TcpWorkerThread.runItPoolTcpEndpoint.java:548)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.runThreadPool.java:684) 
at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocket
WARNING: Restarting endpoint
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocket
SEVERE: Endpoint null shutdown due to exception: java.net.BindException: 
Address already in use: JVM_Bind:80
java.net.BindException: Address already in use: JVM_Bind:80
   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
   at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:441)
   at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception (java.lang.ThreadDeath) executing 
[EMAIL PROTECTED], terminating thread

And then Server Hangs I even tried changing the the port number from 80 to 
8080 but the same Exception

Can u give me info as to how can i read the whole log file as I get only 
part of the thing in Windows 98

Thanks in advance
Chirag



Parsons Technical Services [EMAIL PROTECTED] wrote:I think 
I see your problem.

You have two network cards in your machine.
Either:
1. Disable the unused card. (If it is on the motherboard, do it in bios)
OR
2. Add address= to the connector and put in your IP.
See:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html
 maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false redirectPort=8443 acceptCount=100
debug=0 connectionTimeout=2
address=203.192.192.192
disableUploadTimeout=true /
Doug
- Original Message - 
From: Chirag
To:
Sent: Tuesday, December 07, 2004 1:22 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint
ServerSocket


Yes that's true many a times people forget the basic things
Q What OS version and service pack are you running?
Ans I have running Windows 98SE 4.10. A
Q How are you getting your IP?Are there more than one IPs on the
machine?
Ans When I type IPConfig in the MS DOS Prompt. I get the following output
Windows 98 IP Configuration
0 Ethernet adapter :
IP Address. . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . :
1 Ethernet adapter :
IP Address. . . . . . . . . : 203.192.192.192
Subnet Mask . . . . . . . . : 255.255.255.128
Default Gateway . . . . . . : 203.197.197.197
(IPAddresses are changed)
Q Did you define an IP for Tomcat or is it default?
Ans Initially it was default but even after modifying I mean as the
current server.xml looks like

 parent-child relationships with each other --
 which may contain one or more Service instances.  The Server
listens for a shutdown command on the indicated port.
Note:  A Server is not itself a Container, so you may not
define subcomponents such as Valves or Loggers at this level.
--

   including your own mbean-descriptor file(s), and setting the
  descriptors attribute to point to a ';' seperated list of paths
  (in the ClassLoader sense) of files to add to the default list.
  e.g. descriptors=/com/myfirm/mypackage/mbean-descriptor.xml
 --
debug=0/
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
debug=0/

 UserDatabaseRealm to authenticate users --
 type=org.apache.catalina.UserDatabase
description=User database that can be updated and saved
factory=org.apache.catalina.users.MemoryUserDatabaseFactory
pathname=conf/tomcat-users.xml /
   a single Container (and therefore the web applications visible
  within that Container).  Normally, that Container is an Engine,
  but this is not required.
  Note:  A Service is not itself a Container, so you may not
  define subcomponents such as Valves or Loggers at this level.
  --
 received
and responses are returned.  Each Connector passes requests on to
the
associated Container (normally an Engine) for processing

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-07 Thread Chirag
No I have checked that and no application is running at port 80
 
According to me the problem is that some exception is raised due to which the 
tomcat server attempts to restart itself but as the server must not have 
released its ServerSocket it is not able to bind the port with the ServerSocket
 
I don't know whether I am correct
 
The problem is that I am not able to see the whole Tomcat Server Exception as 
no log files are created in %CATLINA_HOME%\log folder 
 
Can you give me the way by which I can read the whole exception as the real 
error is scrolled out in Windows 98 DOS Window
 
I can read the whole log and provide you with all the details
 
Thanks in advance
 
CSJakharia
 
 
 
 
 
--
So far it is making sense. Now check all your other apps and see what may 
already be using port 80. One way to do this is to do ctrl + alt +del and end 
task until only explorer is left. Then try Tomcat. If It works you then need to 
sort thru the apps and determine which one is on port 80.



Or change Tomcat back to using port 8080.




Doug






- Original Message - From: Chirag [EMAIL PROTECTED]
To: Parsons Technical Services [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 1:58 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket




Thanks for your Help


this works a little but there is one more problem


It throws another Exception

at org.apache.tomcat.util.net.TcpWorkerThread.runItPoolTcpEndpoint.java:548)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.runThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
WARNING: Restarting endpoint
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
SEVERE: Endpoint null shutdown due to exception: java.net.BindException: 
Address already in use: JVM_Bind:80
java.net.BindException: Address already in use: JVM_Bind:80
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:441)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception (java.lang.ThreadDeath) executing [EMAIL PROTECTED], 
terminating thread

And then Server Hangs I even tried changing the the port number from 80 to 8080 
but the same Exception

Can u give me info as to how can i read the whole log file as I get only part 
of the thing in Windows 98


Thanks in advance


Chirag













Parsons Technical Services [EMAIL PROTECTED] wrote:I think I see your problem.


You have two network cards in your machine.


Either:1. Disable the unused card. (If it is on the motherboard, do it in bios)


OR


2. Add address= to the connector and put in your 
IP.See:http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html


 maxThreads=150 minSpareThreads=25 
 maxSpareThreads=75enableLookups=false redirectPort=8443 
 acceptCount=100debug=0 
 connectionTimeout=2address=203.192.192.192disableUploadTimeout=true 
 /


Doug

- Original Message - From: Chirag
To:
Sent: Tuesday, December 07, 2004 1:22 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint
ServerSocket



Yes that's true many a times people forget the basic things


Q What OS version and service pack are you running?Ans I have running Windows 
98SE 4.10. A



Q How are you getting your IP?Are there more than one IPs on themachine?Ans 
When I type IPConfig in the MS DOS Prompt. I get the following output


Windows 98 IP Configuration0 Ethernet adapter :IP Address. . . . . . . . . : 
0.0.0.0Subnet Mask . . . . . . . . : 0.0.0.0Default Gateway . . . . . . :1 
Ethernet adapter :IP Address. . . . . . . . . : 203.192.192.192Subnet Mask . . 
. . . . . . : 255.255.255.128Default Gateway . . . . . . : 203.197.197.197


(IPAddresses are changed)



Q Did you define an IP for Tomcat or is it default?Ans Initially it was default 
but even after modifying I mean as thecurrent server.xml looks like






 parent-child relationships with each other -- which may contain one 
 or more Service instances.  The Serverlistens for a shutdown command on 
 the indicated port.Note:  A Server is not itself a Container, so you 
 may notdefine subcomponents such as Valves or Loggers at this 
 level.--






   including your own mbean-descriptor file(s), and setting the  
 descriptors attribute to point to a ';' seperated list of paths  (in 
 the ClassLoader sense) of files to add to the default list.  e.g. 
 descriptors=/com/myfirm/mypackage/mbean-descriptor.xml --


debug=0/


className

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-07 Thread Parsons Technical Services
At the dos prompt:
startup  c:\capout.txt
This will send all output to the file capout.txt  No output will show on the 
screen. Use any name for the file and you can direct it anywhere you like.

- Original Message - 
From: Chirag [EMAIL PROTECTED]
To: Parsons Technical Services [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 8:16 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket


No I have checked that and no application is running at port 80
According to me the problem is that some exception is raised due to which 
the tomcat server attempts to restart itself but as the server must not 
have released its ServerSocket it is not able to bind the port with the 
ServerSocket

I don't know whether I am correct
The problem is that I am not able to see the whole Tomcat Server Exception 
as no log files are created in %CATLINA_HOME%\log folder

Can you give me the way by which I can read the whole exception as the 
real error is scrolled out in Windows 98 DOS Window

I can read the whole log and provide you with all the details
Thanks in advance
CSJakharia


--
So far it is making sense. Now check all your other apps and see what may 
already be using port 80. One way to do this is to do ctrl + alt +del and 
end task until only explorer is left. Then try Tomcat. If It works you 
then need to sort thru the apps and determine which one is on port 80.


Or change Tomcat back to using port 8080.

Doug


- Original Message - From: Chirag [EMAIL PROTECTED]
To: Parsons Technical Services [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 1:58 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket


Thanks for your Help
this works a little but there is one more problem
It throws another Exception
at 
org.apache.tomcat.util.net.TcpWorkerThread.runItPoolTcpEndpoint.java:548)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.runThreadPool.java:684) 
at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocket
WARNING: Restarting endpoint
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocket
SEVERE: Endpoint null shutdown due to exception: java.net.BindException: 
Address already in use: JVM_Bind:80
java.net.BindException: Address already in use: JVM_Bind:80
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:441)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception (java.lang.ThreadDeath) executing [EMAIL 
PROTECTED], terminating thread

And then Server Hangs I even tried changing the the port number from 80 to 
8080 but the same Exception

Can u give me info as to how can i read the whole log file as I get only 
part of the thing in Windows 98

Thanks in advance
Chirag






Parsons Technical Services [EMAIL PROTECTED] wrote:I think I see your 
problem.

You have two network cards in your machine.
Either:1. Disable the unused card. (If it is on the motherboard, do it in 
bios)

OR
2. Add address= to the connector and put in your 
IP.See:http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html


maxThreads=150 minSpareThreads=25 
maxSpareThreads=75enableLookups=false redirectPort=8443 
acceptCount=100debug=0 
connectionTimeout=2address=203.192.192.192disableUploadTimeout=true 
/

Doug
- Original Message - From: Chirag
To:
Sent: Tuesday, December 07, 2004 1:22 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint
ServerSocket

Yes that's true many a times people forget the basic things
Q What OS version and service pack are you running?Ans I have running 
Windows 98SE 4.10. A


Q How are you getting your IP?Are there more than one IPs on 
themachine?Ans When I type IPConfig in the MS DOS Prompt. I get the 
following output

Windows 98 IP Configuration0 Ethernet adapter :IP Address. . . . . . . . . 
: 0.0.0.0Subnet Mask . . . . . . . . : 0.0.0.0Default Gateway . . . . . . 
:1 Ethernet adapter :IP Address. . . . . . . . . : 203.192.192.192Subnet 
Mask . . . . . . . . : 255.255.255.128Default Gateway . . . . . . : 
203.197.197.197

(IPAddresses are changed)

Q Did you define an IP for Tomcat or is it default?Ans Initially it was 
default but even after modifying I mean as thecurrent server.xml looks 
like




parent-child relationships with each other -- which may contain 
one or more Service instances.  The Serverlistens for a shutdown 
command on the indicated port.Note:  A Server is not itself a 
Container, so you

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-07 Thread Chirag

 

 

This redirectional symbol does not works

 

I even tried  instead of  but of no use

 

Is there any change in configuration which will help me to solve this problem

I mean some change will automcatically log everything happening on the server

 

 

Thanks in advance

 

Chirag

 

 

 

---

At the dos prompt:


startup  c:\capout.txt

This will send all output to the file capout.txt No output will show on the 
screen. Use any name for the file and you can direct it anywhere you like.

- Original Message - From: Chirag [EMAIL PROTECTED]
To: Parsons Technical Services [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 8:16 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket



No I have checked that and no application is running at port 80

According to me the problem is that some exception is raised due to which the 
tomcat server attempts to restart itself but as the server must not have 
released its ServerSocket it is not able to bind the port with the ServerSocket


I don't know whether I am correct

The problem is that I am not able to see the whole Tomcat Server Exception as 
no log files are created in %CATLINA_HOME%\log folder

Can you give me the way by which I can read the whole exception as the real 
error is scrolled out in Windows 98 DOS Window


I can read the whole log and provide you with all the details


Thanks in advance


CSJakharia









--
So far it is making sense. Now check all your other apps and see what may 
already be using port 80. One way to do this is to do ctrl + alt +del and end 
task until only explorer is left. Then try Tomcat. If It works you then need to 
sort thru the apps and determine which one is on port 80.






Or change Tomcat back to using port 8080.







Doug










- Original Message - From: Chirag [EMAIL PROTECTED]
To: Parsons Technical Services [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 1:58 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket







Thanks for your Help



this works a little but there is one more problem



It throws another Exception

at org.apache.tomcat.util.net.TcpWorkerThread.runItPoolTcpEndpoint.java:548)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.runThreadPool.java:684)
 at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
WARNING: Restarting endpoint
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
SEVERE: Endpoint null shutdown due to exception: java.net.BindException: 
Address already in use: JVM_Bind:80
java.net.BindException: Address already in use: JVM_Bind:80
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:441)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception (java.lang.ThreadDeath) executing [EMAIL PROTECTED], 
terminating thread

And then Server Hangs I even tried changing the the port number from 80 to 8080 
but the same Exception

Can u give me info as to how can i read the whole log file as I get only part 
of the thing in Windows 98



Thanks in advance



Chirag

























Parsons Technical Services [EMAIL PROTECTED] wrote:I think I see your problem.



You have two network cards in your machine.


Either:1. Disable the unused card. (If it is on the motherboard, do it in bios)



OR


2. Add address= to the connector and put in your 
IP.See:http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html


maxThreads=150 minSpareThreads=25 maxSpareThreads=75enableLookups=false 
redirectPort=8443 acceptCount=100debug=0 
connectionTimeout=2address=203.192.192.192disableUploadTimeout=true 
/ 




Doug


- Original Message - From: ChiragTo:Sent: Tuesday, December 07, 2004 
1:22 AMSubject: Re: Chirag: java.net.SocketException: socket closed 
EndpointServerSocket






Yes that's true many a times people forget the basic things


Q What OS version and service pack are you running?Ans I have running Windows 
98SE 4.10. A





Q How are you getting your IP?Are there more than one IPs on themachine?Ans 
When I type IPConfig in the MS DOS Prompt. I get the following output


Windows 98 IP Configuration0 Ethernet adapter :IP Address. . . . . . . . . : 
0.0.0.0Subnet Mask . . . . . . . . : 0.0.0.0Default Gateway . . . . . . :1 
Ethernet adapter :IP Address. . . . . . . . . : 203.192.192.192Subnet Mask . . 
. . . . . . : 255.255.255.128Default Gateway

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-07 Thread Parsons Technical Services
Try some google searches. I am sure there are some applications that will do 
it.

Doug
- Original Message - 
From: Chirag [EMAIL PROTECTED]
To: Parsons Technical Services [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 10:40 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket




This redirectional symbol does not works

I even tried  instead of  but of no use

Is there any change in configuration which will help me to solve this 
problem

I mean some change will automcatically log everything happening on the 
server



Thanks in advance

Chirag



---
At the dos prompt:
startup  c:\capout.txt
This will send all output to the file capout.txt No output will show on 
the screen. Use any name for the file and you can direct it anywhere you 
like.

- Original Message - From: Chirag [EMAIL PROTECTED]
To: Parsons Technical Services [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 8:16 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket


No I have checked that and no application is running at port 80
According to me the problem is that some exception is raised due to which 
the tomcat server attempts to restart itself but as the server must not 
have released its ServerSocket it is not able to bind the port with the 
ServerSocket

I don't know whether I am correct
The problem is that I am not able to see the whole Tomcat Server Exception 
as no log files are created in %CATLINA_HOME%\log folder

Can you give me the way by which I can read the whole exception as the 
real error is scrolled out in Windows 98 DOS Window

I can read the whole log and provide you with all the details
Thanks in advance
CSJakharia




--
So far it is making sense. Now check all your other apps and see what may 
already be using port 80. One way to do this is to do ctrl + alt +del and 
end task until only explorer is left. Then try Tomcat. If It works you 
then need to sort thru the apps and determine which one is on port 80.



Or change Tomcat back to using port 8080.



Doug




- Original Message - From: Chirag [EMAIL PROTECTED]
To: Parsons Technical Services [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 1:58 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket




Thanks for your Help

this works a little but there is one more problem

It throws another Exception
at 
org.apache.tomcat.util.net.TcpWorkerThread.runItPoolTcpEndpoint.java:548)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.runThreadPool.java:684) 
at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocket
WARNING: Restarting endpoint
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint 
acceptSocket
SEVERE: Endpoint null shutdown due to exception: java.net.BindException: 
Address already in use: JVM_Bind:80
java.net.BindException: Address already in use: JVM_Bind:80
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:441)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception (java.lang.ThreadDeath) executing [EMAIL 
PROTECTED], terminating thread

And then Server Hangs I even tried changing the the port number from 80 to 
8080 but the same Exception

Can u give me info as to how can i read the whole log file as I get only 
part of the thing in Windows 98


Thanks in advance

Chirag












Parsons Technical Services [EMAIL PROTECTED] wrote:I think I see your 
problem.


You have two network cards in your machine.
Either:1. Disable the unused card. (If it is on the motherboard, do it in 
bios)


OR
2. Add address= to the connector and put in your 
IP.See:http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html

maxThreads=150 minSpareThreads=25 
maxSpareThreads=75enableLookups=false redirectPort=8443 
acceptCount=100debug=0 
connectionTimeout=2address=203.192.192.192disableUploadTimeout=true 
/


Doug
- Original Message - From: ChiragTo:Sent: Tuesday, December 07, 
2004 1:22 AMSubject: Re: Chirag: java.net.SocketException: socket closed 
EndpointServerSocket



Yes that's true many a times people forget the basic things
Q What OS version and service pack are you running?Ans I have running 
Windows 98SE 4.10. A



Q How are you getting your IP?Are there more than one IPs on 
themachine?Ans When I type IPConfig in the MS DOS Prompt. I get the 
following output

Windows 98 IP

Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-06 Thread Chirag
Software Installed
--

jakarta-tomcat-5.5.2
JDK 1.5
IE 6.0SP1

Requirement


The PC has Internet Connection. and we start the Tomcat Server.

After that we try to see the site 
http://localhost:8080/

We get normal Tomcat Home Page ready

Afterwards I try to surf the same site by typing

http://160.160.160.160:8080/

where

160.160.160.160 is the IP address

After that the Tomcat Server throws the error and the IE also is trying to 
display the page

The problem is that I want that other people should be able to access my site 
through IP Address and I don't want to get into the domain thing

How to do that

Exception Raised in Tomcot Server



INFO: Server startup in 20650 msNov 18, 2004 8:03:23 PM 
org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocketSEVERE: Endpoint 
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] ignored exception: 
java.net.SocketException: socket closedjava.net.SocketException: socket closed  
  at java.net.PlainSocketImpl.socketAccept(Native Method)at 
java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)at 
java.net.ServerSocket.implAccept(ServerSocket.java:450)at 
java.net.ServerSocket.accept(ServerSocket.java:421)at 
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:368)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)  
  at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)Nov 18, 2004 8:03:23 PM
 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocketWARNING: Reinitializing 
ServerSocket






Thanks in advance

CSJakharia



 Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com 



-
Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses.

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-06 Thread Parsons Technical Services
Are you running any kind of firewall?
Doug
- Original Message - 
From: Chirag [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 06, 2004 11:53 AM
Subject: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket


Software Installed
--
jakarta-tomcat-5.5.2
JDK 1.5
IE 6.0SP1
Requirement

The PC has Internet Connection. and we start the Tomcat Server.
After that we try to see the site
http://localhost:8080/
We get normal Tomcat Home Page ready
Afterwards I try to surf the same site by typing
http://160.160.160.160:8080/
where
160.160.160.160 is the IP address
After that the Tomcat Server throws the error and the IE also is trying to 
display the page

The problem is that I want that other people should be able to access my 
site through IP Address and I don't want to get into the domain thing

How to do that
Exception Raised in Tomcot Server

INFO: Server startup in 20650 msNov 18, 2004 8:03:23 PM 
org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocketSEVERE: Endpoint 
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] ignored 
exception: java.net.SocketException: socket 
closedjava.net.SocketException: socket closedat 
java.net.PlainSocketImpl.socketAccept(Native Method)at 
java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)at 
java.net.ServerSocket.implAccept(ServerSocket.java:450)at 
java.net.ServerSocket.accept(ServerSocket.java:421)at 
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60) 
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:368) 
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548) 
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) 
at java.lang.Thread.run(Thread.java:595)Nov 18, 2004 8:03:23 PM
org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocketWARNING: 
Reinitializing ServerSocket



Thanks in advance
CSJakharia

Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com


-
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses. 

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


Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-06 Thread Chirag
No I m not running any kind of firewall
 
I have a cable internet connection
and there is no kind of firewall
 
Thanks in advance
 
CSJakharia
 


Parsons Technical Services [EMAIL PROTECTED] wrote:
Are you running any kind of firewall?

Doug

- Original Message - 
From: Chirag 
To: 
Sent: Monday, December 06, 2004 11:53 AM
Subject: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket


 Software Installed
 --

 jakarta-tomcat-5.5.2
 JDK 1.5
 IE 6.0SP1

 Requirement
 

 The PC has Internet Connection. and we start the Tomcat Server.

 After that we try to see the site
 http://localhost:8080/

 We get normal Tomcat Home Page ready

 Afterwards I try to surf the same site by typing

 http://160.160.160.160:8080/

 where

 160.160.160.160 is the IP address

 After that the Tomcat Server throws the error and the IE also is trying to 
 display the page

 The problem is that I want that other people should be able to access my 
 site through IP Address and I don't want to get into the domain thing

 How to do that

 Exception Raised in Tomcot Server



 INFO: Server startup in 20650 msNov 18, 2004 8:03:23 PM 
 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocketSEVERE: Endpoint 
 ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] ignored 
 exception: java.net.SocketException: socket 
 closedjava.net.SocketException: socket closed at 
 java.net.PlainSocketImpl.socketAccept(Native Method) at 
 java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) at 
 java.net.ServerSocket.implAccept(ServerSocket.java:450) at 
 java.net.ServerSocket.accept(ServerSocket.java:421) at 
 org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
  
 at 
 org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:368)
  
 at 
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548) 
 at 
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  
 at java.lang.Thread.run(Thread.java:595)Nov 18, 2004 8:03:23 PM
 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocketWARNING: 
 Reinitializing ServerSocket






 Thanks in advance

 CSJakharia



 Subscribe to bermudaEmail: [input] [input] Browse Archives at 
 groups-beta.google.com



 -
 Do you Yahoo!?
 Yahoo! Mail - Helps protect you from nasty viruses. 





 Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com 



-
Do you Yahoo!?
 Read only the mail you want - Yahoo! Mail SpamGuard.

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-06 Thread Parsons Technical Services
Some of these questions are basic, but I have been bit many times by the 
simple things.

What OS version and service pack are you running?
How are you getting your IP?
Are there more than one IPs on the machine?
Did you define an IP for Tomcat or is it default?
Doug
- Original Message - 
From: Chirag [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 12:35 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket


No I m not running any kind of firewall
I have a cable internet connection
and there is no kind of firewall
Thanks in advance
CSJakharia

Parsons Technical Services [EMAIL PROTECTED] wrote:
Are you running any kind of firewall?
Doug
- Original Message - 
From: Chirag
To:
Sent: Monday, December 06, 2004 11:53 AM
Subject: Chirag: java.net.SocketException: socket closed Endpoint
ServerSocket


Software Installed
--
jakarta-tomcat-5.5.2
JDK 1.5
IE 6.0SP1
Requirement

The PC has Internet Connection. and we start the Tomcat Server.
After that we try to see the site
http://localhost:8080/
We get normal Tomcat Home Page ready
Afterwards I try to surf the same site by typing
http://160.160.160.160:8080/
where
160.160.160.160 is the IP address
After that the Tomcat Server throws the error and the IE also is trying 
to
display the page

The problem is that I want that other people should be able to access my
site through IP Address and I don't want to get into the domain thing
How to do that
Exception Raised in Tomcot Server

INFO: Server startup in 20650 msNov 18, 2004 8:03:23 PM
org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocketSEVERE: Endpoint
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] ignored
exception: java.net.SocketException: socket
closedjava.net.SocketException: socket closed at
java.net.PlainSocketImpl.socketAccept(Native Method) at
java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) at
java.net.ServerSocket.implAccept(ServerSocket.java:450) at
java.net.ServerSocket.accept(ServerSocket.java:421) at
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:368)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)Nov 18, 2004 8:03:23 PM
org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocketWARNING:
Reinitializing ServerSocket


Thanks in advance
CSJakharia

Subscribe to bermudaEmail: [input] [input] Browse Archives at
groups-beta.google.com

-
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.


Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com


-
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard. 

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


Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-06 Thread Chirag
 deploys/undeploys to working members 
in the cluster
so no WARs are copied upons startup of a broken node.
The deployer watches a directory (watchDir) for WAR files when 
watchEnabled=true
When a new war file is added the war gets deployed to the local 
instance,
and then deployed to the other instances in the cluster.
When a war file is deleted from the watchDir the war is undeployed 
locally 
and cluster wide
--

!--
Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
 
managerClassName=org.apache.catalina.cluster.session.DeltaManager
 expireSessionsOnShutdown=false
 useDirtyFlag=true
Membership 
className=org.apache.catalina.cluster.mcast.McastService
mcastAddr=228.0.0.4
mcastPort=45564
mcastFrequency=500
mcastDropTime=3000/
Receiver 
className=org.apache.catalina.cluster.tcp.ReplicationListener
tcpListenAddress=auto
tcpListenPort=4001
tcpSelectorTimeout=100
tcpThreadCount=6/
Sender

className=org.apache.catalina.cluster.tcp.ReplicationTransmitter
replicationMode=pooled/
Valve className=org.apache.catalina.cluster.tcp.ReplicationValve
   filter=.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;/
   
Deployer 
className=org.apache.catalina.cluster.deploy.FarmWarDeployer
  tempDir=/tmp/war-temp/
  deployDir=/tmp/war-deploy/
  watchDir=/tmp/war-listen/
  watchEnabled=false/
/Cluster
--
 
!-- Normally, users must authenticate themselves to each web app
 individually.  Uncomment the following entry if you would like
 a user to be authenticated the first time they encounter a
 resource protected by a security constraint, and then have that
 user identity maintained across *all* web applications contained
 in this virtual host. --
!--
Valve className=org.apache.catalina.authenticator.SingleSignOn
   debug=0/
--
!-- Access log processes all requests for this virtual host.  By
 default, log files are created in the logs directory relative to
 $CATALINA_HOME.  If you wish, you can specify a different
 directory with the directory attribute.  Specify either a 
relative
 (to $CATALINA_HOME) or absolute path to the desired directory.
--
!--
Valve className=org.apache.catalina.valves.AccessLogValve
 directory=logs  prefix=localhost_access_log. suffix=.txt
 pattern=common resolveHosts=false/
--
  /Host
/Engine
  /Service
/Server

 
Even when it was default it did not worked and so I added Alias word and then 
tried but then also it did not worked
 
Thanks in advance
 
CSJakharia
 
 


Parsons Technical Services [EMAIL PROTECTED] wrote:
Some of these questions are basic, but I have been bit many times by the 
simple things.

What OS version and service pack are you running?
How are you getting your IP?
Are there more than one IPs on the machine?
Did you define an IP for Tomcat or is it default?

Doug

- Original Message - 
From: Chirag 
To: 
Sent: Tuesday, December 07, 2004 12:35 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket


 No I m not running any kind of firewall

 I have a cable internet connection
 and there is no kind of firewall

 Thanks in advance

 CSJakharia



 Parsons Technical Services 
wrote:
 Are you running any kind of firewall?

 Doug

 - Original Message - 
 From: Chirag
 To:
 Sent: Monday, December 06, 2004 11:53 AM
 Subject: Chirag: java.net.SocketException: socket closed Endpoint
 ServerSocket


 Software Installed
 --

 jakarta-tomcat-5.5.2
 JDK 1.5
 IE 6.0SP1

 Requirement
 

 The PC has Internet Connection. and we start the Tomcat Server.

 After that we try to see the site
 http://localhost:8080/

 We get normal Tomcat Home Page ready

 Afterwards I try to surf the same site by typing

 http://160.160.160.160:8080/

 where

 160.160.160.160 is the IP address

 After that the Tomcat Server throws the error and the IE also is trying 
 to
 display the page

 The problem is that I want that other people should be able to access my
 site through IP Address and I don't want to get into the domain thing

 How to do that

 Exception Raised in Tomcot Server



 INFO: Server startup in 20650 msNov 18, 2004 8:03:23 PM
 org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocketSEVERE: Endpoint
 ServerSocket[addr=0.0.0.0/0.0.0.0,port=0

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-06 Thread Parsons Technical Services
I think I see your problem.
You have two network cards in your machine.
Either:
1. Disable the unused card. (If it is on the motherboard, do it in bios)
OR
2. Add  address=  to the connector and put in your IP.
See:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html
   Connector port=80
  maxThreads=150 minSpareThreads=25 maxSpareThreads=75
  enableLookups=false redirectPort=8443 acceptCount=100
  debug=0 connectionTimeout=2 
address=203.192.192.192
  disableUploadTimeout=true /
Doug
- Original Message - 
From: Chirag [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 1:22 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket


Yes that's true many a times people forget the basic things
QWhat OS version and service pack are you running?
Ans I have running Windows 98SE 4.10. A
QHow are you getting your IP?Are there more than one IPs on the 
machine?
Ans When I type IPConfig in the MS DOS Prompt. I get the following output

Windows 98 IP Configuration
0 Ethernet adapter :
   IP Address. . . . . . . . . : 0.0.0.0
   Subnet Mask . . . . . . . . : 0.0.0.0
   Default Gateway . . . . . . :
1 Ethernet adapter :
   IP Address. . . . . . . . . : 203.192.192.192
   Subnet Mask . . . . . . . . : 255.255.255.128
   Default Gateway . . . . . . : 203.197.197.197
(IPAddresses are changed)
Q   Did you define an IP for Tomcat or is it default?
Ans Initially it was default but even after modifying I mean as the 
current server.xml looks like

!-- Example Server Configuration File --
!-- Note that component elements are nested corresponding to their
parent-child relationships with each other --
!-- A Server is a singleton element that represents the entire JVM,
which may contain one or more Service instances.  The Server
listens for a shutdown command on the indicated port.
Note:  A Server is not itself a Container, so you may not
define subcomponents such as Valves or Loggers at this level.
--
Server port=8005 shutdown=SHUTDOWN debug=0
 !-- Comment these entries out to disable JMX MBeans support --
 !-- You may also configure custom components (e.g. Valves/Realms) by
  including your own mbean-descriptor file(s), and setting the
  descriptors attribute to point to a ';' seperated list of paths
  (in the ClassLoader sense) of files to add to the default list.
  e.g. descriptors=/com/myfirm/mypackage/mbean-descriptor.xml
 --
 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
   debug=0/
 Listener 
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
   debug=0/
 !-- Global JNDI resources --
 GlobalNamingResources
   !-- Test entry for demonstration purposes --
   Environment name=simpleValue type=java.lang.Integer value=30/
   !-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users --
   Resource name=UserDatabase auth=Container
 type=org.apache.catalina.UserDatabase
  description=User database that can be updated and saved
  factory=org.apache.catalina.users.MemoryUserDatabaseFactory
 pathname=conf/tomcat-users.xml /
 /GlobalNamingResources
 !-- A Service is a collection of one or more Connectors that share
  a single Container (and therefore the web applications visible
  within that Container).  Normally, that Container is an Engine,
  but this is not required.
  Note:  A Service is not itself a Container, so you may not
  define subcomponents such as Valves or Loggers at this level.
  --
 !-- Define the Tomcat Stand-Alone Service --
 Service name=Catalina
   !-- A Connector represents an endpoint by which requests are 
received
and responses are returned.  Each Connector passes requests on to 
the
associated Container (normally an Engine) for processing.
By default, a non-SSL HTTP/1.1 Connector is established on port 
8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second 
Connector
entry.  SSL support requires the following steps (see the SSL 
Config
HOWTO in the Tomcat 5 documentation bundle for more detailed
instructions):
* If your JDK version 1.3 or prior, download and install JSSE 
1.0.2 or
  later, and put the JAR files into $JAVA_HOME/jre/lib/ext.
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA 
(Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA 
(Unix)
  with a password value of changeit for both the certificate and
  the keystore itself.
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost().  This can have an adverse impact on
performance, so you can disable it by setting

Re: Chirag: java.net.SocketException: socket closed Endpoint ServerSocket

2004-12-06 Thread Chirag
Thanks for your Help
 
this works a little but there is one more problem
 
It throws another Exception
 
at 
org.apache.tomcat.util.net.TcpWorkerThread.runItPoolTcpEndpoint.java:548)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.runThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket 
WARNING: Restarting endpoint
Dec 7, 2004 12:15:07 PM org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
SEVERE: Endpoint null shutdown due to exception: java.net.BindException: 
Address already in use: JVM_Bind:80
java.net.BindException: Address already in use: JVM_Bind:80
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:441)
at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Dec 7, 2004 12:15:07 PM 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception (java.lang.ThreadDeath) executing [EMAIL PROTECTED], 
terminating thread
 
And then Server Hangs I even tried changing the the port number from 80 to 8080 
but the same Exception
 
Can u give me info as to how can i read the whole log file as I get only part 
of the thing in Windows 98
 
Thanks in advance
 
Chirag
 
 
 
 
 


Parsons Technical Services [EMAIL PROTECTED] wrote:I think I see your problem.

You have two network cards in your machine.

Either:
1. Disable the unused card. (If it is on the motherboard, do it in bios)

OR

2. Add address= to the connector and put in your IP.
See:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html

  maxThreads=150 minSpareThreads=25 maxSpareThreads=75
 enableLookups=false redirectPort=8443 acceptCount=100
 debug=0 connectionTimeout=2 
 address=203.192.192.192
 disableUploadTimeout=true /

Doug

- Original Message - 
From: Chirag 
To: 
Sent: Tuesday, December 07, 2004 1:22 AM
Subject: Re: Chirag: java.net.SocketException: socket closed Endpoint 
ServerSocket


 Yes that's true many a times people forget the basic things

 Q What OS version and service pack are you running?
 Ans I have running Windows 98SE 4.10. A


 Q How are you getting your IP?Are there more than one IPs on the 
 machine?
 Ans When I type IPConfig in the MS DOS Prompt. I get the following output

 Windows 98 IP Configuration
 0 Ethernet adapter :
 IP Address. . . . . . . . . : 0.0.0.0
 Subnet Mask . . . . . . . . : 0.0.0.0
 Default Gateway . . . . . . :
 1 Ethernet adapter :
 IP Address. . . . . . . . . : 203.192.192.192
 Subnet Mask . . . . . . . . : 255.255.255.128
 Default Gateway . . . . . . : 203.197.197.197

 (IPAddresses are changed)


 Q Did you define an IP for Tomcat or is it default?
 Ans Initially it was default but even after modifying I mean as the 
 current server.xml looks like


 
  parent-child relationships with each other --
  which may contain one or more Service instances.  The Server
 listens for a shutdown command on the indicated port.
 Note:  A Server is not itself a Container, so you may not
 define subcomponents such as Valves or Loggers at this level.
 --
 

 
including your own mbean-descriptor file(s), and setting the
   descriptors attribute to point to a ';' seperated list of paths
   (in the ClassLoader sense) of files to add to the default list.
   e.g. descriptors=/com/myfirm/mypackage/mbean-descriptor.xml
  --
 
 debug=0/
 
 className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
 debug=0/
 
 
 
 
  UserDatabaseRealm to authenticate users --
  type=org.apache.catalina.UserDatabase
 description=User database that can be updated and saved
 factory=org.apache.catalina.users.MemoryUserDatabaseFactory
 pathname=conf/tomcat-users.xml /
 
a single Container (and therefore the web applications visible
   within that Container).  Normally, that Container is an Engine,
   but this is not required.
   Note:  A Service is not itself a Container, so you may not
   define subcomponents such as Valves or Loggers at this level.
   --
 
 
  received
 and responses are returned.  Each Connector passes requests on to 
 the
 associated Container (normally an Engine) for processing.
 By default, a non-SSL HTTP/1.1 Connector is established on port 
 8080.
 You can also enable an SSL HTTP/1.1 Connector on port 8443 by
 following the instructions below and uncommenting the second 
 Connector
 entry.  SSL support requires the following steps (see the SSL 
 Config
 HOWTO in the Tomcat 5 documentation bundle for more detailed
 instructions):
 * If your JDK version 1.3 or prior, download and install

Re: java.net.SocketException: socket closed Endpoint ServerSocket

2004-11-26 Thread Remy Maucherat
On Thu, 25 Nov 2004 06:21:52 -0800 (PST), Chirag [EMAIL PROTECTED] wrote:
 Software Installed
 --
 
 jakarta-tomcat-5.5.2
 JDK 1.5
 IE 6.0SP1
 
 Requirement
 
 
 The PC has Internet Connection. and we start the
 Tomcat Server.
 
 After that we try to see the site
 http://localhost:8080/
 
 We get normal Tomcat Home Page ready
 
 Afterwards I try to surf the same site by typing
 
 http://160.160.160.160:8080/
 
 where
 
 160.160.160.160 is the IP address
 
 After that the Tomcat Server throws the error and the
 IE also is trying to display the page
 
 The problem is that I want that other people should be
 able to access my site through IP Address and I don't
 want to get into the domain thing
 
 How to do that
 
 Exception Raised in Tomcot Server
 
 INFO: Server startup in 20650 ms
 Nov 18, 2004 8:03:23 PM
 org.apache.tomcat.util.net.PoolTcpEndpoint
 acceptSocket
 SEVERE: Endpoint
 ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
 ignored exception: java.net.SocketException: socket
 closed
 java.net.SocketException: socket closed
 at
 java.net.PlainSocketImpl.socketAccept(Native Method)

I don't understand everything in wour email. If you get an exception
during a socket accept, then it means trouble.

-- 
x
Rémy Maucherat
Developer  Consultant
JBoss Group (Europe) SàRL
x

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



java.net.SocketException: socket closed Endpoint ServerSocket

2004-11-25 Thread Chirag
Software Installed
--

jakarta-tomcat-5.5.2
JDK 1.5
IE 6.0SP1

Requirement


The PC has Internet Connection. and we start the
Tomcat Server.

After that we try to see the site 
http://localhost:8080/

We get normal Tomcat Home Page ready

Afterwards I try to surf the same site by typing

http://160.160.160.160:8080/

where

160.160.160.160 is the IP address

After that the Tomcat Server throws the error and the
IE also is trying to display the page

The problem is that I want that other people should be
able to access my site through IP Address and I don't
want to get into the domain thing

How to do that

Exception Raised in Tomcot Server



INFO: Server startup in 20650 ms
Nov 18, 2004 8:03:23 PM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
SEVERE: Endpoint
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080]
ignored exception: java.net.SocketException: socket
closed
java.net.SocketException: socket closed
at
java.net.PlainSocketImpl.socketAccept(Native Method)
at
java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at
java.net.ServerSocket.implAccept(ServerSocket.java:450)
at
java.net.ServerSocket.accept(ServerSocket.java:421)
at
org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:368)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:548)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Nov 18, 2004 8:03:23 PM
org.apache.tomcat.util.net.PoolTcpEndpoint
acceptSocket
WARNING: Reinitializing ServerSocket





Thanks in advance

CSJakharia


=
 Subscribe to bermudaEmail:  [input]  [input]  Browse Archives at 
groups-beta.google.com 





__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


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



java.net.SocketException: Socket closed

2003-12-04 Thread Simha, Kailas
Hi,

Can anyone tell me what causes this and how to avoid it?

Ajp13Processor[8051][8] process: invoke
java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite0(Native Method)
at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java(Compiled
Code))
at
java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
at org.apache.ajp.Ajp13.send(Ajp13.java(Compiled Code))
at
org.apache.ajp.tomcat4.Ajp13Response.finishResponse(Ajp13Response.java(Compi
led Code))
at
org.apache.ajp.tomcat4.Ajp13Response.finishResponse(Ajp13Response.java(Compi
led Code))
at
org.apache.ajp.tomcat4.Ajp13Response.finishResponse(Ajp13Response.java(Compi
led Code))
at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:464)
at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
at java.lang.Thread.run(Thread.java:566)

Thanks in advance,

Kailas



-Original Message-
From: Howard Watson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 04, 2003 2:12 PM
To: [EMAIL PROTECTED]
Subject: Apache, Tomcat and authentication appear to be working
correctly%String uName = request.getRemoteUs


Apache, Tomcat and authentication appear to be working correctly%String
uName = request.getRemoteUser();% //returns nullNetware 6 sp3Apache
2.0.48Tomcat 4.1.29mod_jk 1.2.5more info:
http://developer-forums.novell.com/group/novell.devsup.webserver.apache2/rea
derNoFrame.tpt/@[EMAIL PROTECTED]@[EMAIL PROTECTED]@D-,[EMAIL PROTECTED]/@[EMAIL 
PROTECTED] 


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



tomcat 4 : java.net.SocketException: Socket closed

2002-10-21 Thread Hoo Wei Chet
Hi,
I've write a jsp page and able to move files between server map directories
upon user request. My code run ok on tomcat 3.2, to move a selected file
from a list of files, but tomcat 4.0 only allow me to move the first file
from the list order by file name. It will throw me error(from the
apache_log) if other than the first file been selected to be move.
 
the error:
==
2002-10-22 08:48:52 [org.apache.catalina.connector.warp.WarpConnector] Error
accepting requests
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:463)
at java.net.ServerSocket.implAccept(ServerSocket.java:238)
at java.net.ServerSocket.accept(ServerSocket.java:217)
at
org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java:590)
at java.lang.Thread.run(Thread.java:479)
 
thanks  regards,
Chet

::  Visit our website at http://www.keppellog.com. For email disclaimer,
please refer to http://www.keppellog.com/disclaimer ::



Tomcat 3.3: java.net.SocketException: Socket closed

2002-04-12 Thread Ludovico Basili

Hello,
I hope someone can help me. I have built tomcat ver. 3.3a on a Linux PPC running 
Blackdown jdk118 with Metrowerks JIT.
These are my environment settings:
JAKARTA_HOME=/usr/java/jakarta
JAVA_COMPILER=mwjit-991122
JAVA_HOME=/usr/java/BlackdownJava2/jdk118_v3
and I let tomcat guess its home directory.

When I start tomcat, in this way:

[root@piko]# cd /usr/java/jakarta/tomcat/bin
[root@piko]# ./tomcat.sh start
I can see the examples pages, but I obtain an ignored exception. This is thrown every 
two-three seconds. Here is the stack trace:
PoolTcpEndpoint: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8007] 
ignored exception: java.net.SocketException: Socket closed
java.net.SocketException: Socket closed
at java.net.PlainSocketImpl.close(Compiled Code)
at java.net.Socket.close(Compiled Code)
at java.net.ServerSocket.implAccept(Compiled Code)
at java.net.ServerSocket.accept(Compiled Code)
at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(Compiled Code

)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Compiled Code)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Compile

d Code)
at java.lang.Thread.run(Compiled Code)

Is there a misconfiguration ? A problem with the 1.1.8 jdk ?  I tried to switch from 
native to green threads but there is no difference.

P.S.
I tried to upgrade to tomcat 3.3.1, but the script tomcat.sh fails with the following
reason (maybe a misconfigured classpath in the script)

Exception: java.lang.ClassNotFoundException: org.apache.tomcat.startup.EmbededTomcat
java.lang.ClassNotFoundException: org.apache.tomcat.startup.EmbededTomcat
at org.apache.tomcat.util.compat.SimpleClassLoader.loadClass(Compiled Co
de)
at java.lang.ClassLoader.loadClass(Compiled Code)
at org.apache.tomcat.startup.Main.execute(Compiled Code)
at org.apache.tomcat.startup.Main.main(Compiled Code)

Thanks in advance,
Ludovico Basili



Re: Java.net.SocketException : Socket Closed -Ok with PoolTCP connector but not with SimpleTCPConnector Class

2000-10-26 Thread LEBRETON Philippe

That work with PoolTcpConnector class but not with SimpleTcpConnector
Class


LEBRETON Philippe a écrit :

 I have upgadre my Debian (2.1 --2.), and my jdk is upgrade
 (1.1.7-1.1.8) and tomcat does not start.
 I have a exception :
 Java.net.SocketException : Socket CLosed
 ..
 Endpoint Server socket  [addr=0.0.0.0/0.0.0.0,port=0, localport=8080]
 shutdown due to exception : Java.net.SocketException : Socket Closed

 what is the problem? Before the upgrade Tomcat work.

 Help me My server is out and the user cry

 Thanks


begin:vcard 
n:LEBRETON;Philippe
tel;fax:02 41 68 09 60
tel;work:02 41 47 77 29
x-mozilla-html:FALSE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:LEBRETON Philippe
end:vcard