Hi Marco,
here is how I set up the classpath, to get Jetspeed running with tomcat:
- downloaded both Jetspeed and Turbine the current code ( I did that
about one or two weeks ago )
- turbine from the HEAD branch
- jetspeed from the pre-proposal-0003-no-psml branch
- build both
- set classpath in tomcat.bat as appended
Note that the "turbine-new.jar" is the result from the build process.
It is probably not the officially recommended way, to overwrite
delivered .jar files
but for me it worked.
Where I had the feeling that turbine delivers more recent jar files,
I took them, instead of the jetspeed delivered ones.
You recognize it through the either %TUR_HOME% or %JETSPEED_HOME%
variable in the path name
Good Luck
Udo
set CLASSPATH=.
set CLASSPATH=%TOMCAT_HOME%\classes
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\xerces-1.1.3.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\xalan_1_1_D01.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\xmlrpc.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\turbine-new.jar
set
CLASSPATH=%CLASSPATH%;D:\tools\Netscape\Program\java\classes\ldap10.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\castor.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\cocoon.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\coocon-ext-servlet2.2.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\hsql.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\jaxp.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\bin\classes
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\mail.jar
set CLASSPATH=%CLASSPATH%;%JETSPEED_HOME%\lib\jyve-2.0.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\activation-1.0.1.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\ecs-1.3.3.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\freemaker-jdk1.2.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\village-1.4.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\webmacro-jkd1.2.jar
set CLASSPATH=%CLASSPATH%;%TUR_HOME%\lib\webmacro-jkd1.2.jar
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
set CLASSPATH=%CLASSPATH%;D:\tools\SQLLIB\java\db2java.zip
Mamei Marco wrote:
>
> Hi,
> I want to connect a DB to Jetspeed (Turbine) to enable user authentication.
> I am running Jetspeed1.2b1 under Tomcat3.1 on WinNT. I would like to use
> Interbase6 ad DB.
> Here is what I did with the TurbineResources properties:
>
> database.default.driver=interbase.interclient.Driver
> database.default.url=jdbc:interbase://hpi8160/e:/database/paperino.gdb
> database.default.username=SYSDBA
> database.default.password=masterkey
> ...
> database.adaptor=DBInterbase
> database.adaptor.DBInterbase=interbase.interclient.Driver
> ...
>
> But it doesn't work, looking at the jetspeed.log
> it says:
> Exception:
> java.lang.ClassNotFoundException:
> org.apache.turbine.util.db.map.DatabaseMapBuilder
>
> Now I looked in the Turbine.jar file and in fact
> that class does not exists. In the package:
> org.apache.turbine.util.db.map there are:
> DatabaseMap.class
> GenerateMapBuilderTask.class
> MapBuilder.class
> TurbineMapBuilder.class
> XMLDatabaseMapBuilder.class
>
> But no the required one?!
> Please Help!
> Marco
>
> --
> --------------------------------------------------------------
> 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]