It was doing a direct connection - not using Torque (ie was just a 10
line jsp, to verify I could get there from here)

The reason I think it is a db issue is that that is all I changed -
Jetspeed came up fine using the Hypersonic db so I wanted to move it to
Oracle (since that is what we will use).  It was after I made the
changes in torque.properties and project.properties that things stopped
work. All I can assume is that it is the db or the configuration for the
db...  It'd be nice if we could get error messages or log files that
were more specific

-cdr

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, December 09, 2004 11:58 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Problem Configuring Jetspeed 1.5 for Oracle
> 
> 
> Well, your torque config looks fine to me. When you tested 
> the db connection
> using jsp, did you do a direct jdbc connection or getting a 
> connection via
> torque? I have also seen the similar exception caused by missing db
> connection. Still could you clarify why do you think this is 
> a db issue?
> What is stored in db, user, psml...?
> Andy
> -----Original Message-----
> From: Chris Rovers [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 08, 2004 7:21 PM
> To: Jetspeed Users List; [EMAIL PROTECTED]
> Subject: RE: Problem Configuring Jetspeed 1.5 for Oracle
> 
> 
> Yes, I've loaded the database.  And the r was a cut and paste 
> error - it
> is in the project.properties file.
> 
> Thanks, though
> 
> -cdr
> 
> > -----Original Message-----
> > From: Jeff Sheets [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, December 08, 2004 7:00 PM
> > To: Jetspeed Users List
> > Subject: Re: Problem Configuring Jetspeed 1.5 for Oracle
> > 
> > 
> > This may just be a typo, but you're mising the 'r' and the end of
> > OracleDriver on this line in project.properties:
> > torque.database.driver = oracle.jdbc.driver.OracleDrive
> > 
> > Have you loaded the database with the load scripts?  I have seen a
> > similar error in the past when the data was not yet loaded.
> > -- Jeff
> > 
> > 
> > On Wed, 8 Dec 2004 16:08:11 -0700, [EMAIL PROTECTED] 
> > <[EMAIL PROTECTED]> wrote:
> > > Your config in the Torque.properties files looks pretty 
> > much the same as
> > > ours. The only thing different is that we use the 
> > TorqueDataSourceFactory as
> > > the pool implementation. What is your 
> > torque.dsfactory.default.pool.* setup
> > > in the Torque.properties file?
> > > Andy
> > > 
> > > 
> > > 
> > > -----Original Message-----
> > > From: Chris Rovers [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, December 08, 2004 3:49 PM
> > > To: Jetspeed Users List
> > > Subject: Problem Configuring Jetspeed 1.5 for Oracle
> > > 
> > > I'm trying to configure Jetspeed 1.5 for Oracle.  I've have the
> > > following in the project.properties file :
> > > 
> > > database = oracle
> > > #targetPackage = org.apache.jetspeed.om.torque
> > > #torque.retrievableInterface = 
> org.apache.fulcrum.intake.Retrievable
> > > torque.database.url = jdbc:oracle:thin:@hqoradev2:1521:dvits
> > > torque.database.driver = oracle.jdbc.driver.OracleDrive
> > > torque.database.user = jetspeed
> > > torque.database.password = jetspeed
> > > 
> > > And the following in webapp/WEB-INF/conf/Torque.properties :
> > > 
> > > torque.database.default=default
> > > ###torque.database.default.adapter=hypersonic
> > > ### torque.database.default.adapter=mysql
> > > torque.database.default.adapter=oracle
> > > ### torque.database.default.adapter=mssql
> > > 
> > > ### Oracle
> > > torque.dsfactory.default.connection.driver =
> > > oracle.jdbc.driver.OracleDriver
> > > torque.dsfactory.default.connection.url =
> > > jdbc:oracle:thin:@hqoradev2.mks.com:1521:dvits
> > > torque.dsfactory.default.connection.user =  jetspeed
> > > torque.dsfactory.default.connection.password = jetspeed
> > > 
> > > I've rebuilt the .war and replaced it, and when I go to 
> > Jetspeed now, I
> > > get :
> > > 
> > > 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
> > > 
> > > Which I noted from a message on here means the database in 
> > inaccessible.
> > > A simple JSP connecting to the same database using the Oracle:thin
> > > driver works successfully, using the same username and 
> > password. Ideas?
> > > I must be doing something dense.
> > > 
> > > The only thing I can think of is CR/LF issues - I use vi on 
> > the machine
> > > itself to make the changes. Ought I to be preserving the 
> > DOS style line
> > > termination?  Does it matter?
> > > 
> > > -cdr
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > 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]
> 
> ---------------------------------------------------------------------
> 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