I've setup my jetspeed to use oracle for the psml. In addition we have a
portlet that reads/writes from/to the same db. After making a new post
to the db, I always get a null pointer exception (connection object is
null) when I change the active pane (make a psml read in the db). Could
the problem be related to buggy portlet code? (not closing connections
etc )

Cheers,

Stefan

PS! I've tried using the jdbc2pool but can't make it work. I'm getting
an ORA-00018: maximum number of sessions exceeded exception. How do I
have to configure the db to avoid this issue?



-----Original Message-----
From: Michael Rothrock [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 19. August 2003 02:56
To: Jetspeed Users List
Subject: Re: datasourcefactory issue


I have a similar issue running jetspeed/tomcat/postgresql/linux.  The
error appears to result from too many connections to the db, and is
solved by restarting tomcat.  This indicates (to me, anyway) that
something in jetspeed is grabbing but not releasing db connections.

I haven't had time to look into it, so I wasn't sure if it was my code
or a bug somewhere else.  In the meantime, the easy fix is a cron job
that restarts it nightly ;) .

-- Michael

On 8/18/03 3:44 PM, "Carlos Orrego" <[EMAIL PROTECTED]> wrote:

> i am getting the same error, erratically but once every 2 weeks. 
> Re-starting tomcat reolves the problem. I have not been able to 
> identify the reason for this error, and there seems to be no error 
> messages logged.
> 
> any help wouldbe greatly appreciated.
> 
> I am running win2k so i was kind of blaming on it, i am goign to port 
> my jetspeed to linux and see what happens there
> 
> carlos
> 
> -----Original Message-----
> From: Gence Soysal [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 18, 2003 4:28 PM
> To: [EMAIL PROTECTED]
> Subject: datasourcefactory issue
> 
> 
> Hi all,
> we've been using Jetspeed to run a production-level portal site and 
> recently have been getting the following error occurring randomly 
> (about once or twice a day). The resolution is to restart
> Tomcat:
> 
> Horrible Exception: 
> org.apache.jetspeed.services.security.LoginException:
> Failed to get anonymous user:
> org.apache.jetspeed.services.security.UserException: Failed to
retrieve user
> 'anon': 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.jetspeed.services.security.turbine.TurbineAuthentication.getA
nonymo
> usUser(TurbineAuthentication.java:222)
> 
> 
> I've read on the web that this can occur with an improperly configured

> Torque.properties file. However, I've followed every advice on how to 
> configure that file, and the problem is not
> automatically reproducable. Has anyone else experienced this and have
any idea
> why it might
> be occurring long after successfully running for an entire day?
> 
> Cheers,
> 
> Gence
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to