Have you tried connecting to the datasource outside of iPlanet (that is through the db vendor's app and/or a stand alone JDBC program) ? You may not have connectivity to the dbms. --- Mike De Bruyn <[EMAIL PROTECTED]> wrote: > Hi all! > > Maybe someone can help me with this annoying problem. > When I try to load a datasource, my application server gives back a > null-value. of course, the next this is a very nice > nullpointerException... > > I know the code is good, and on another servers, (that's running thesame > version of Iplanet, 6.0sp4) it works fine. > Just this one is doing nasty! I 've reinstalled it already a few > times, without any luck. Sun knowledgebase doesn't give me much either. > anyone had thesame problem ? > > thanks in advance. > > > java.lang.NullPointerException > at com.netscape.server.jdbc.Driver.isThreadInLocalTxn(Unknown > Source) > at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown > Source) > at com.netscape.server.jdbc.DataSourceImpl.getConnection(Unknown > Source) > at > be.vlaanderen.sbs.s6.datamanager.DataManager.getConnection(DataManager.java:119) > at > be.vlaanderen.sbs.s6.alternerendleren.model.Project.findAll(Compiled > Code) > at > be.vlaanderen.sbs.s6.alternerendleren.actions.ChooseProjectAction.myPerform(ChooseProjectAction.java:39) > at > >be.vlaanderen.sbs.s6.alternerendleren.actions.GeneralAction.perform(GeneralAction.java:89) > at > org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786) > at > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585) > at > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) > at > com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown > Source) > at > com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown > Source) > at com.kivasoft.applogic.AppLogic.execute(Compiled Code) > at com.kivasoft.applogic.AppLogic.execute(Compiled Code) > at com.kivasoft.thread.ThreadBasic.run(Native Method) > at com.kivasoft.thread.ThreadBasic.run(Native Method) > at com.kivasoft.thread.ThreadBasic.run(Native Method) > at com.kivasoft.thread.ThreadBasic.run(Native Method) > at com.kivasoft.thread.ThreadBasic.run(Compiled Code) > at java.lang.Thread.run(Compiled Code) > > ___________________________________________________________________________ > 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 >
===== Mark Zawadzki Performance Engineer/DBA/Programmer extraordinaire’ [EMAIL PROTECTED] [EMAIL PROTECTED] "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning" Robert Cringle (columnist, author, host of "Triumph of the Nerds") __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.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