Hallo Dave! I wrote my own DatabaseBrowser implementation, which is based on pooled connections, so I don't have to use Torque. I didn't like Torque, don't now why?! So, sorry.
Achim -----Urspr�ngliche Nachricht----- Von: Dave Frary [mailto:[EMAIL PROTECTED] Gesendet am: Freitag, 4. April 2003 14:19 An: Jetspeed Users List Betreff: Re: AW: DataBaseBrowser Error Hi, Thanks for your suggestion, but I've actually had the other experience with Tomcat LE. I was originally using Tomcat 4.12 full version and then switched over to Tomcat 4.18 LE. After populating the missing jars (only activation.jar and mail.jar come to mind), I haven't had any issues yet. I am also using java sdk 1.4.1_01, perhaps that explains our Tomcat different experiences. I'm pretty sure the issue I'm seeing now has to do with the DatabaseBrowser and how it uses Torque. Do you have any experience with that? best regards, Dave At 01:02 PM 4/4/2003 +0200, We�ling, Achim wrote: >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(BaseCoffe e >sPeer.java:384) > at >com.bluesunrise.jportal.om.BaseCoffeesPeer.doSelectVillageRecords(BaseCoffe e >sPeet.java:351) > at >com.bluesunrise.jportal.om.BaseCoffeesPeer.doSelect(BaseCoffeesPeer.java:32 0 >) > at >com.bluesunrise.jportal.modules.actions.portlets.TutorialCoffeesAction.buil d >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] --------------------------------------------------------------------- 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]
