You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Otto Cordero <oc...@sipecom.com> on 2003/02/12 18:31:10 UTC

Migrating to TDK 2.2 causes the dbcp error

Hi all,

We are migrating our app to TDK 2.2 from the 2.1 version. Everything works
fine now, except the DB connection. We get this error :

java.lang.NullPointerException
 at
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.ja
va:110)

I guess it is a conflict between the libraries in tdk2.2 and those in 2.1.
Please correct me if you have other idea of what the cause of the error is.
If it is a problem with the libraries, do you know what jars should I change
or remove?.

Thanks,

Otto.



----- Original Message -----
From: "Rodrigo Reyes" <ro...@instaservi.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Tuesday, January 28, 2003 6:38 PM
Subject: Re: Anyone using Eclipse with Turbine?


> This is my screen when stopped at a breakpoint. It is on the debug
> perspective, but I have changed it a bit. Look at the variables at the
right
> bottom of the screen. Hope this helps...
>
> Rodrigo
>
> ----- Original Message -----
> From: <EP...@upstate.com>
> To: <tu...@jakarta.apache.org>
> Sent: Tuesday, January 28, 2003 5:44 PM
> Subject: RE: Anyone using Eclipse with Turbine?
>
>
> > Okay, I am guessing that you are running Tomcat from inside of Eclipse
> > (using that Tomcat Plugin?).
> >
> > I have been able to run tomcat from inside of Eclipse, but I can't
connect
> > the debugger.  Are you using Localhost and port 8000?  Or something
else?
> I
> > hit breakpoints, but then I don't see objects.  What window do you pull
> up?
> > Could you maybe screen snap it and send it to me so I can see what I
> should
> > be trying to get to?
> >
> > Thanks,
> > Eric
> >
> > -----Original Message-----
> > From: Rodrigo Reyes [mailto:rodrigo@instaservi.com]
> > Sent: Tuesday, January 28, 2003 2:56 PM
> > To: Turbine Users List
> > Subject: Re: Anyone using Eclipse with Turbine?
> >
> >
> > Please ignore my last email. The template was misplaced. Got it working
> > already. Thanx Eric. My coworkers are impressed with this "new" feature
> and
> > I think they will be changing their IDE's to Eclipse soon... :D
> >
> > Rodrigo
> > PS. Yes, I am able to see the objects in memory. I don't know why (this
is
> > almost black magic for me yet) but I see them. Have you set correctly
you
> > JVM inside Eclipse? It has to be a JVM from a JDK, I think. Also give a
> look
> > at Window >> Preferences >> Tomcat and uncheck "Don't run Tomcat in
debug
> > mode". Can't think of anything else.
> >
> > ----- Original Message -----
> > From: <EP...@upstate.com>
> > To: <tu...@jakarta.apache.org>
> > Sent: Tuesday, January 28, 2003 1:17 PM
> > Subject: RE: Anyone using Eclipse with Turbine?
> >
> >
> > > That is where I am at.  My app stops at the breakpoint.  But I can't
> seem
> > to
> > > inspect any variables or anything..  It just stops..  I know I am
> missing
> > > something, probably very silly.
> > >
> > > Can you see properties of your objects etc?
> > >
> > > Eric
> > >
> > > -----Original Message-----
> > > From: Rajeev Kaul [mailto:Rajeev@customercaresolutions.com]
> > > Sent: Tuesday, January 28, 2003 1:04 PM
> > > To: Turbine Users List
> > > Subject: Re: Anyone using Eclipse with Turbine?
> > >
> > >
> > > Did you follow the instructions on how to install the plugin?  They
are
> > > available at the site I mentioned.
> > >
> > > Create a new project in Eclipse and import the source code for your
> > webapp.
> > > Use the ant tool to deploy the jar/class files built from your source
> code
> > > into the appropriate TOMCAT webapps dir.
> > > After installing the plugin, just start TOMCAT from the toolbar/menu
in
> > > Eclipse, set a breakpoint in the servlet code, and type the relevent
url
> > in
> > > a browser.
> > >
> > > If everything is set correctly, it should stop at the breakpoint.
> > >
> > >
> > > ----- Original Message -----
> > > From: "Rodrigo Reyes" <ro...@instaservi.com>
> > > To: "Turbine Users List" <tu...@jakarta.apache.org>
> > > Sent: Tuesday, January 28, 2003 9:50 AM
> > > Subject: Re: Anyone using Eclipse with Turbine?
> > >
> > >
> > > > I downloaded and installed the tomcatPluggin. Still, there is very
> > little
> > > > documentation, so I couldn't find out how to use it to debug. Do you
> > know
> > > > how?
> > > >
> > > > Rodrigo
> > > >
> > > > ----- Original Message -----
> > > > From: "Rajeev Kaul" <Ra...@customercaresolutions.com>
> > > > To: "Turbine Users List" <tu...@jakarta.apache.org>
> > > > Sent: Tuesday, January 28, 2003 12:39 PM
> > > > Subject: Re: Anyone using Eclipse with Turbine?
> > > >
> > > >
> > > > > To debug TOMCAT webapp in Eclipse use the plugin available at the
> > > > following
> > > > > site:
> > > > >
> > > > > http://www.sysdeo.com/eclipse/tomcatPlugin.html
> > > > >
> > > > >
> > > > > To debug JBOSS/TOMCAT app in Eclipse use the plugin available at
the
> > > > > following site:
> > > > >
> > > > > http://www.genuitec.com/products_easie.htm
> > > > >
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Lester Ward" <lw...@tagaudit.com>
> > > > > To: "'Turbine Users List'" <tu...@jakarta.apache.org>
> > > > > Sent: Tuesday, January 28, 2003 7:26 AM
> > > > > Subject: RE: Anyone using Eclipse with Turbine?
> > > > >
> > > > >
> > > > > > > If you are using a different
> > > > > > > configuration and you know how to setup the debugging to work,
> > > please
> > > > > > > add to this page.  This has been a fairly common topic.
> > > > > > >
> > > > > > > http://nagoya.apache.org/wiki/apachewiki.cgi?JakartaTurbineIDE
> > > > > >
> > > > > > Added instructions for Eclipse and JBoss. At least, as far as I
> > know.
> > > > > >
> > > > > > --
> > > > > > To unsubscribe, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > > > For additional commands, e-mail:
> > > > > <ma...@jakarta.apache.org>
> > > > >
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <ma...@jakarta.apache.org>
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org