You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Stephen Jackson <sw...@tampabay.rr.com> on 2002/10/06 01:33:22 UTC
Can't get this to work with postgresql!
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Can't get this to work with postgresql!
Posted by Stephen Jackson <sw...@tampabay.rr.com>.
I want to apologize for my ignorance. I was able to integrate jetspeed with
postgresql 7.2 and tomcat 4.1.12. If anybody has any questions I can walk you
through it.
On Saturday 05 October 2002 07:33 pm, Stephen Jackson wrote:
> 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(BaseT
>urbineUserPeer.java:133) at
> org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.(BaseTurbineUse
>rPeer.java:112) at
> org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser
>(TurbineUserManagement.java:166) at
> org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserMan
>agement.java:98) at
> org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnon
>ymousUser(TurbineAuthentication.java:215) at
> org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspe
>edAuthentication.java:107) at
> org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecu
>rity.java:159) at
> org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Temp
>lateSessionValidator.java:97) at
> org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jets
>peedSessionValidator.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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>