I am having trouble getting Jetspeed to work with DB2. I have the following
config:
- Jetspeed 1.3.1a
- Tomcat 3.2.2 (as an NT service)
- DB2 7.1
- Win2000 Pro SP2
- JDK 1.3.1
I have installed a base configuration of Tomcat, and added the Jetspeed WAR.
All was working fine, including login/registration, until I decided to
switch the database to DB2. I created and populated the DB2 tables using
the supplied scripts and edited the TurbineResources.properties file with
the following:
- database.default.driver=COM.ibm.db2.jdbc.app.DB2Driver
- database.default.url=jdbc:db2:mydatabase
- database.default.username=mydbusername
- database.default.password=mydbpassword
Jetspeed starts and runs fine, but when I try to logon I get the following
message:
Exception: java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER):
Database type COM.ibm.db2.jdbc.app.DB2Driver not implemented.
Similarly registration goes fine until I submit the registration, at which
point I get:
- Exception: java.lang.NoClassDefFoundError at
org.apache.jetspeed.modules.actions.CreateNewUserAndConfirm.doPerform(Create
NewUserAndConfirm.java:136)
At first I thought that it must be unable to find the DB2Java.zip file which
contains the driver, but I have included it in my classpath environment
variable (though I'm unsure if I've done this properly):
Classpath = C:\IBMCON~1\CICS\Classes\CTGCLI~1.JAR;.;C:\Program
Files\SQLLIB\java\db2java.zip;C:\Program
Files\SQLLIB\java\runtime.zip;C:\Program
Files\SQLLIB\java\sqlj.zip;C:\Program Files\SQLLIB\bin;c:\Program
Files\SQLLIB\java;c:\jdk13\lib;c:\jdk13\jre\lib
Is there a configuration task I've missed? Do I need to configure a JDBC
realm in the Tomcat conf?
Thanks,
James Radvan
[EMAIL PROTECTED]
********************************************************************
Click here to visit the Argos home page http://www.argos.co.uk
The information contained in this message or any of its attachments may be privileged
and confidential, and is intended exclusively for the addressee.
The views expressed may not be official policy, but the personal views of the
originator.
If you are not the addressee, any disclosure, reproduction, distribution,
dissemination or use of this communication is not authorised.
If you have received this message in error, please advise the sender by using the
reply facility in your e-mail software.
All messages sent and received by Argos Ltd are monitored for virus, high risk file
extensions, and inappropriate content. As a result users should be aware that mail
may be accessed.
********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]