This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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)
Joined: Jul 03, 2001
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 ]