- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with HP UX 11.00 and jakarta tomcat
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 11:17 PM
05-29-2001 11:17 PM
Problem with HP UX 11.00 and jakarta tomcat
I have a problem using jakarta-tomcat 3.2.1 / 3.2.2 standalone on HP UX 11.00.
I can start tomcat normally without getting any errors. The error occurs when I try to access tomcat.
In the tomcat source the position is the call of a Java method: ServerSocket.accept() this method starts
the listening on the specified port (8080).
I wrote a little program (Java), to be sure there are no other tomcat component making problems,
that uses the same method (accept) to listen on port 8080. When trying to access this application a Socketexception
is thrown.
I also tried that as root.
We have other machines running the same operating system and tomcat works well.
What could this be?
The tomcat error message:
2001-03-06 05:28:49 - PoolTcpEndpoint: Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8090] 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:418)
at java.net.ServerSocket.implAccept(ServerSocket.java:240)
at java.net.ServerSocket.accept(ServerSocket.java:224)
at org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:286)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:402)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:479)
Many thanks
Noel Kienzle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2001 12:34 PM
06-04-2001 12:34 PM
Re: Problem with HP UX 11.00 and jakarta tomcat
do you find a solution in the meantime?
I have exactly the same problem and i can't
find a workaround.
Can you advise?
Thank you in advance for any help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2001 11:40 AM
06-05-2001 11:40 AM
Re: Problem with HP UX 11.00 and jakarta tomcat
We were seeing the same problems with Tomcat running on an HP-UX 11.00 during system load testing.
Endpoint ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8300] shutdown due to exception: java.net.SocketException: No buffer space available
What we found was that using a telnet window, which was displaying stout from Tomcat, couldn't keep up with the application load. Once Tomcat was started with a Xterm window we received no more errors.
There is also some information on how to set buffer space within the kernel...
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xe0f8a12d6d27d5118fef0090279cd0f9,00.html
Hope this helps...
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2001 10:39 PM
06-05-2001 10:39 PM
Re: Problem with HP UX 11.00 and jakarta tomcat
A new Network Card was installed 100Mbit,
The IP-Adress changed,
and last some patches were installed
Problem: at the moment I don't know which patches, cause Ididn't install them.
We are running Oracle Database, Apache and so on and they are all running correctly. It's only tomcat or other Java Programs that try to listen and open sockets.
They listen, but when recieving a request the above error occurs.
In other newsgroup I found some messages saying that this problem is caused by "some patches", but nobody defines which?
For better understanding I'll add the little java program causing the same error, as you can see, it is really small and does nothing, so I don't think it can produce load or buffer overflows.
Many thanks to you all, hope we find a solution soon
Noel Kienzle
Java:
import java.io.*;
import java.net.*;
public class socketeer{
public static void main(String args[]){
try{
ServerSocket ss= new ServerSocket(2000);
System.out.println("Listening");
Socket s = ss.accept();
InputStream is = s.getInputStream();
DataInputStream dis = new DataInputStream(is);
String test = dis.readLine();
System.out.println(test);
OutputStream os = s.getOutputStream();
DataOutputStream dos= new DataOutputStream(os);
dos.writeChars("Hallo Test");
dos.flush();
dos.close();
s.close();
ss.close();
}catch(Exception e){
System.out.println(e.getClass().getName());
e.printStackTrace();
}
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2001 10:02 PM
07-18-2001 10:02 PM
Re: Problem with HP UX 11.00 and jakarta tomcat
something to thought about:
A500:
- PHNE_21767 is installed (active)
- socketeer (as mention by Noel) is running
- install PHNE_23456: socketeer fails
- swremove PHNE_23456: socketeer is running (PHNE_21767 is active)
D390/2:
- PHNE_23456 is installed and socketeer is running
???
I will recheck ....
bye,
Christian