I have never been able to run jetspeed after release 1.1 without a database.
The CVS code seemed to always rely on this. The only way I found around it
is open the file JetspeedSessionValidator.java, comment out the lines
        if ( data.getUser() == null ) {
            data.setUser( UserFactory.getUser() );
        }
and recompile. Otherwise, I had to install MySQL, which I eventually did.
None of the .properties settings did anything for me...

Christian

-----Original Message-----
From: Paul Murphy <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Dienstag, 13. Juni 2000 16:47
Subject: getting the current code base running *without* a database


>The last stable release ran "out of the box" w/o a database.  I am
>currently evaluating jetspeed for a project and would like to get things
>running the same way.
>
>My problem appears to be related to the database.maps.builder property
>in TurbineResources.property.  I think I need to somehow "unset" this
>peer class so that turbine doesn't try to instantiate a database peer.
>When I run jetspeed, I get the following backtrace:
>
>Exception: java.lang.Error: Error in BasePeer.initTableSchema(Visitor):
org.gjt.mm.mysql.Driver
>        at
org.apache.turbine.om.peer.BasePeer.initTableSchema(BasePeer.java:225)
>        at
org.apache.turbine.om.user.peer.TurbineUserPeer.<clinit>(TurbineUserPeer.jav
a:139)
>        at
org.apache.turbine.om.user.peer.UserFactory.getUser(UserFactory.java:158)
>        at
org.apache.jetspeed.turbine.actions.JetspeedSessionValidator.doPerform(Jetsp
eedSessionValidator.java:93)
>        at org.apache.turbine.modules.Action.perform(Action.java:77)
>        ....
>
>I've tried using the XMLDatabaseMapBuilder class, but then end up w/ a
>NullPointerException (which probably implies that some other property
>needs to be set).
>
>Does anyone know if it's still possible to run w/o a database?
>
>- Paul
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Archives and Other:  <http://java.apache.org/main/mail.html>
>Problems?:           [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to