Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error accepting requests - Tomcat 4.0.3/Struts/J2SDK1.4

 
Ron Rea
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to run a webapp which utilizes the Struts framework. This app is deployed using Ant 1.4, and was working while using jdk1.3, Struts 1.0, and Tomcat 4.0. However, after installing j2sdk1.4, Tomcat 4.0.3, and Struts 1.1-b1, I get the following errors:
localhost log:
==============
2002-06-13 21:08:47 ApplicationDispatcher[/lawson-ap] Servlet.service() for servlet action threw exception
java.lang.NullPointerException
at org.apache.commons.logging.impl.Jdk14Logger.warn(Jdk14Logger.java:290)...
apache log:
===========
2002-06-13 22:17:06 [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:343)
at java.net.ServerSocket.implAccept(ServerSocket.java:438)
at java.net.ServerSocket.accept(ServerSocket.java:409)
at org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java:590)
at java.lang.Thread.run(Thread.java:536)
 
Ron Rea
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a little more information on this: When I first bring up Tomcat I am able to instantiate a DataSource no problem, but this error occurs later on, via an action class, when I do a "pool.getConnection()". Hopefully, that might help narrow down the problem...
[ June 14, 2002: Message edited by: Ron Rea ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic