I have spent countless hours trying to get jetspeed to work with postgres and 
never gotten it to work. I am close to giving up on jetspeed. I know my 
postgresql jar file is in the classpath. Everytime I download jetspeed and 
try this I get a different type of exception.  The logging is not at a level 
low enough it come to any conclusions.  I am close to integrating aspects to 
figure what the problem is.  I need some help... From reading the mail 
archives it seems that everyone is doing something different and it is hard 
to come to specific conclusions.  I have a unit test class for the postgres 
database using the same configuration parameters as below and everything 
works fine.

Thanks to anyone who can help me.

Here are the steps I have taken

1) Installed tomcat 4.0.5

2) Downloaded jetspeed 1.4b2

3) Ran ant to compile the source and ant war to get the war file.

4) modified Torque.properties to match my environment 

database.default=jetspeed
database.default.driver=org.postgresql.Driver
database.default.url=jdbc:postgresql://127.0.0.1/jetspeed
database.default.username=userId
database.default.password=password

5) Start up tomcat and get the following exception

Horrible Exception: java.lang.Error: Error in 
BasePeer.initTableSchema(TURBINE_USER): Connection object is null! at 
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTurbineUserPeer.java:133)
 
at 
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.(BaseTurbineUserPeer.java:112)
 
at 
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(TurbineUserManagement.java:166)
 
at 
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserManagement.java:98)
 
at 
org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnonymousUser(TurbineAuthentication.java:215)
 
at 
org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(JetspeedAuthentication.java:107)
 
at 
org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecurity.java:159)
 
at 
org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(TemplateSessionValidator.java:97)
 
at 
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(JetspeedSessionValidator.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:468) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at



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

Reply via email to