Hi Harald,

Are you sure the Torque OM was built correctly?  Try re-running "war" task and 
re-deploy.  This is what line 166 looks line in the TurbineUserManagement class.

criteria.add(TurbineUserPeer.LOGIN_NAME, principal.getName());

The only thing I can see causing the NoClassDefFoundError would not being able to load 
the TurbineUserPeer class.

I know it's not much help but it's somewhere to start.

hth,

*===================================*
* Scott T Weaver������������������� *
* Jakarta Jetspeed Portal Project�� *
* [EMAIL PROTECTED] *
*===================================*
� 


> -----Original Message-----
> From: Harald Schl��er [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2003 7:43 AM
> To: '[EMAIL PROTECTED]'
> Subject: Newbie: Can't Jetspeed get starting with postgresql
> 
> Dear Jetspeed-with-postgresql-users!
> 
> I want to replace Jetspeeds dafault Hypersonic database by a postgresql
> database.
> The database is already set up with the Jetspeed SQL scripts for
> postgresql.
> 
> My first impression was that actually everything is set up properly. The
> database runs
> correctly and a connection seems to be possible. At least the database
> rejects unknown users
> in the torque configuration.
> 
> But when I start Jetspeed it ends up with an error message.
> 
> Are there any configuration secrets?
> Could somebody give me an example how to configure Jetspeed with a
> Postgresql database
> or tell me where I can find such an example?
> 
> 
> Here's what Jetspeed says:
> 
> Horrible Exception: java.lang.NoClassDefFoundError
>       at
> org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUse
> r(
> TurbineUserManagement.java:166)
>       at
> org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserMa
> na
> gement.java:98)
>       at
> org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAno
> ny
> mousUser(TurbineAuthentication.java:215)
>       at
> org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetsp
> ee
> dAuthentication.java:107)
>       at
> org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSec
> ur
> ity.java:159)
>       at
> org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Tem
> pl
> ateSessionValidator.java:97)
>       at
> org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jet
> sp
> eedSessionValidator.java:103)
>       at org.apache.turbine.modules.Action.perform(Action.java:87)
>       at
> org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
>       at org.apache.turbine.Turbine.doGet(Turbine.java:521)
> etc, etc:
> 
> 
> Here're my components:
> 
> Tomcat 4.1.18
> Jetspeed-1.4-b3
> postgresql-7.3.2
> 
> 
> Here's my torque configuration:
> 
> torque.database.default=default
> torque.database.default.adapter=postgresql
> torque.dsfactory.default.connection.driver = org.postgresql.Driver
> torque.dsfactory.default.connection.url =
> jdbc:postgresql://127.0.0.1:5432/Jetspeed
> torque.dsfactory.default.connection.user = HA
> torque.dsfactory.default.connection.password =
> 
> torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueDataSou
> rc
> eFactory
> 
> torque.dsfactory.default.pool.defaultMaxConnections=10
> torque.dsfactory.default.pool.maxExpiryTime=3600
> torque.dsfactory.default.pool.connectionWaitTimeout=10
> 
> torque.database.logInterval=0
> torque.idbroker.cleverquantity=true
> torque.manager.useCache = true
> 
> Thank you in advance!
> 
> Harald Schl��er

Reply via email to