hi, there:

in my project I use poolman as database connection
pool in my servlet, but each time when I run it,
always get exception: unable to open
connection.connection reset by peer.socket write
error.

I do put polman.xml in WEB-INF\classes. I can't find
any solution right now.
can somebody please help me? thanks in advance.

julia

the error message is:
** ERROR: Unable to find XML file poolman.xml:
java.lang.NullPointerException

** ERROR: Unable to find XML file poolman.xml:
java.lang.NullPointerException
java.sql.SQLException: No such datasource: pool1.
Check your poolman.xml config, and be sure you are
using a valid dbname parameter (use dbname, not
jndiName)
        at com.codestudio.sql.PoolMan.findDataSource(Unknown
Source)
        at
gov.enr.obs.servlets.Pool.newConnection(Pool.java:69)
        at
gov.enr.obs.servlets.Poolmanager.newConnection(Poolmanager.java:97)
        at gov.enr.obs.servlets.User.isValid(User.java:54)
        at
gov.enr.obs.servlets.LogServlet.doPost(LogServlet.java:38)
        at
gov.enr.obs.servlets.LogServlet.doGet(LogServlet.java:62)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at
org.apache.tomcat.core.Handler.service(Handler.java:286)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
can't get conn
        at java.lang.Thread.run(Thread.java:484)


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to