hi, there: the same question again. it really bother me a few days. I use poolman as connection pool in my servlet. it works fine when I group related classes in a separate project. but once i put in our team project it always throw exception. I double check the WEB-INF\classes, poolman suppose go there, actually it is, but I also notice there is another properties file (XML file) in that directory. I just wondering maybe something mix up?
can somebody please help me? thank you very much!!! julia Exception: ** 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) --- Rama <[EMAIL PROTECTED]> wrote: > Try to put a copy of poolman.xml at /WEB-INF or > /WEB-INF/classes > And restart the server. > > Good luck! > > > Rama > > > -----Original Message----- > > From: A mailing list for discussion about Sun > Microsystem's Java > Servlet > > API Technology. > [mailto:[EMAIL PROTECTED]] On Behalf Of > Julia > > Zheng > > Sent: Sunday, December 16, 2001 8:53 PM > > To: [EMAIL PROTECTED] > > Subject: Re: use pool man in servlet > > > > thank you! > > I am using JBuilder. so I do include all necessary > jar > > in library. > > this afternoon I just try to set up a separate > project > > and run my servlet, it works. but when I use > servlet > > package in my project to run, it still have same > > exception. I can't figure out why. I guess maybe > my > > default webapp and my new webapp have some > conflict. > > but I think it shouldn't because they have their > own > > servlet context.do you know why? > > > > thank you very much! > > > > julia > > --- Rama <[EMAIL PROTECTED]> wrote: > > > What is in your CLASSPATH variables? > > > You should include poolman.xml path into the > > > CLASSPATH > > > > > > Also, try to check your poolman.xml syntax. > > > > > > > > > Rama > > > > > > > > > > -----Original Message----- > > > > From: A mailing list for discussion about Sun > > > Microsystem's Java > > > Servlet > > > > API Technology. > > > [mailto:[EMAIL PROTECTED]] On Behalf > Of > > > Julia > > > > Zheng > > > > Sent: Sunday, December 16, 2001 12:08 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: use pool man in servlet > > > > > > > > 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 > > > > > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at > http://mail.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 > __________________________________________________ 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
