Hmm ... It looks ok .. Did you recompile the jetspeed code with the
new configuration. If you change the database you need to recompile jetspeed
code. Then it generates some sql
script for you. You need to run that?
Cheers,
Robin Antony
OpenSI.Net
www.opensi.net

----- Original Message ----- 
From: "Raghdan Rabah" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, August 23, 2004 2:35 AM
Subject: Re: NullPointer Exception


> Hello,
>
> - I tried with Win2000, WinXp, MSSQL2000 and Jetspeed 1.5
>
> - I Updated the Torque properties in WEB-INF/conf as
>
> torque.database.default.adapter=mssql
> torque.dsfactory.default.connection.driver = sun.jdbc.odbc.JdbcOdbcDriver
> torque.dsfactory.default.connection.url = jdbc:odbc:jetspeed1
> torque.dsfactory.default.connection.user =  sa
> torque.dsfactory.default.connection.password = ****
>
> - "sa" is SQL admin user.
>
> - For the sql script, I have run mssql script.
> This generated some tables and data, but when I compared with hsql
database,
> I noticed that hsql has more tables. So, I did generated the rest
manually.
>
> Regards
>
> On Mon, 23 Aug 2004 00:29:27 +0800 (SGT), robin.antony wrote
> > Hi,
> > I think it is a access problem. When Jetspeed loads the page it
> > cannot find your profile. Thats why its throwing a null pointer
exception.
> > Check the following things
> >
> > 1. Check if Jetspeed has the correct access rights, username and
password
> > of database to access it.
> > 2. If you are running on linux, check if you have set the right
> > permissions for your files. I mean you copied your files over as
> > root and running tomcat as user tomcat. Because of which tomcat user
> > cannot access those files. Most likely I think it is a database
> > access problem. If you still cannot solve your problem .. Post back
> > your results and I will try to help you. Cheers, Robin Antony
> > OpenSI.Net Pte Ltd www.opensi.net
> >
> > > Hello,
> > >
> > > When I changed the hsql to mssql, jetspeed gives the following
> > > NullPointer  Exception:
> > >
> > > .
> > > .
> > >
> > > There has been an Error!
> > > Reason:
> > >         org.apache.jetspeed.om.profile.ProfileException:
> > > java.lang.NullPointerException
> > >
> > > Get/Post Data:
> > > template  = /html/ShowError.vm
> > >
> > > Stacktrace:
> > >
> > >           org.apache.jetspeed.om.profile.ProfileException:
> > > java.lang.NullPointerException
> > > at
> > >
>
org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfil
e
> > > (JetspeedProfilerService.java:502)
> > > at
> > >
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile
> > > (JetspeedProfilerService.java:245)
> > >
> > > .
> > > .
> > > .
> > >
> > > Any help in how to solve this.
> > >
> > > Regards
> > >
> > >
> > > --------------------------------------------------------------------- 
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