Some common errors which i was doing for the same problem as ur facing, but
am using weblogic, i dont think that should matter:
1. In config.xml the connection pool name was diff. from the ejb-jar.xml
file. Check if you are doing the same.
2. JDBCDataSource JNDIName is the correct one.

The problem mainly lies in the .xml files. Go through them.
Check in the server console whether you are getting the connection from the
connection pool.

Regards,
Vikramjit Singh,
GTL Ltd.
Ph. 7612929-1059



> -----Original Message-----
> From: Mike De Bruyn [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 21, 2002 6:43 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Iplanet/ DataSource problem
>
>
> yes, I can connect without any problems to it.
> when we tested on other servers, running thesame application,
> connecting
> to thesame dbms, all worked fine.
>
>
> On Wed, 2002-08-21 at 14:04, Mark E. Zawadzki wrote:
> > 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(Dat
> aManager.java:119)
> > >         at
> > >
> be.vlaanderen.sbs.s6.alternerendleren.model.Project.findAll(Compiled
> > > Code)
> > >         at
> > >
> >
> be.vlaanderen.sbs.s6.alternerendleren.actions.ChooseProjectAct
> ion.myPerform(ChooseProjectAction.java:39)
> > >         at
> > >
> be.vlaanderen.sbs.s6.alternerendleren.actions.GeneralAction.pe
> rform(GeneralAction.java:89)
> > >         at
> > >
> org.apache.struts.action.ActionServlet.processActionPerform(Ac
> tionServlet.java:1786)
> > >         at
> > >
> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> ava: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.execut
> e(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
>

___________________________________________________________________________
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

___________________________________________________________________________
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