Hi James

I don't know if this is the cause of your problem but I never use long 
file/directory names in my classpaths - it has caused me grief in the past.

I've found 2 ways of getting around this in the past:

1) Put double quotes in, e.g. instead of specifying
C:\Program Files\SQLLIB\java\runtime.zip, try
"C:\Program Files\SQLLIB\java\runtime.zip"

2) Conform to 8.3 naming rules, i.e. for the above example use
C:\Progra~1\SQLLIB\java\runtime.zip, this assumes Progra~1 maps to Program 
Files [you can check this using a DOS prompt]

This may or may not help you with your NoClassDefFoundError exception 
[probably not since you only get these new problems on database switch to 
DB2].

Hong

>From: James Radvan <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'"  
><[EMAIL PROTECTED]>
>Subject: help with DB2 and jetspeed
>Date: Thu, 21 Jun 2001 14:25:23 -0000
>
>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]
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to