You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Woon <mo...@SMI.Stanford.EDU> on 2002/02/07 03:29:49 UTC

OT: Poolman Help?

Hi all...

I'm hoping someone can help me out with a problem I'm having with
Poolman 2.1b1.  I have it set up, and everything seems to work fine the
first time I access the database, but on subsequent connections, I get
an NPE:

java.lang.NullPointerException
 at
oracle.jdbc.dbaccess.DBDataSetImpl._createOrGetDBItem(DBDataSetImpl.java:578)

 at
oracle.jdbc.dbaccess.DBDataSetImpl.setBytesBindItem(DBDataSetImpl.java:1773)

 at
oracle.jdbc.driver.OraclePreparedStatement.setItem(OraclePreparedStatement.java:874)

 at
oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatement.java:1256)

 at com.codestudio.sql.PoolManPreparedStatement.setString(Unknown
Source)
 at org.pharmgen.security.User.authenticateUser(User.java:232)
 at org.pharmgen.webapp.LoginForm.validate(LoginForm.java:95)
 at
org.apache.struts.action.ActionServlet.processValidate(ActionServlet.java:2106)

 at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1565)
 at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
[snip]

If I try again immediately, I get an NPE.  If I back off and wait a
while, it'll work again, but then the problem repeats itself.  There's
nothing in the PoolMan log related to this exception.

I've tried mucking with all the configuration variables, but nothing
seems to help.  Has anyone seen this problem before?  Is there a
solution?

Thanks,
-Mark



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>