Hallo!

I had many problems when using jetspeed with the LE-Edition of Tomcat. So I
would first change to the zipped Full-Version!

Achim We�ling
[EMAIL PROTECTED]

-----Urspr�ngliche Nachricht-----
Von: Dave Frary [mailto:[EMAIL PROTECTED]
Gesendet am: Freitag, 4. April 2003 03:02
An: [EMAIL PROTECTED]
Betreff: DataBaseBrowser Error

Hi,

Yet another Jetspeed newbie.

I'm playing around with the DataBaseBrowser coffee example in the 
tutorial.  I get a java.lang.NullPointerException when I try to edit for 
the 10th time (first 9 work fine).  It's complaining trying to do the 
doSelect with the Torque criteria statement looking up the rowid to display 
the Edit portlet.  Is this possibly because only 10 connections are 
allocated and somehow they aren't being cleaned up?

I'm using Jetspeed 1.4dev4 (about a month or so old) and Tomcat 4.18 LE.

Any help or pointers would be greatly appreciated as I see the same problem 
with the DataBaseBrowser I created.

thanks,
Dave

partial stacktrace

java.lang.NullPointerException: Connection object was null.  This could be 
due to a misconfiguration of the DataSourceFactory.  Check the logs and 
Torque.properties to better determine the cause.
        at org.apache.torque.util.Transaction.rollback(Transaction.java:179)
        at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1333)
        at 
com.bluesunrise.jportal.om.BaseCoffeesPeer.doSelectVillageRecords(BaseCoffee
sPeer.java:384)
        at 
com.bluesunrise.jportal.om.BaseCoffeesPeer.doSelectVillageRecords(BaseCoffee
sPeet.java:351)
        at 
com.bluesunrise.jportal.om.BaseCoffeesPeer.doSelect(BaseCoffeesPeer.java:320
)
        at 
com.bluesunrise.jportal.modules.actions.portlets.TutorialCoffeesAction.build
NormalContext(TutorialCoffeesAction.java:102)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to