-
1. Re: Please help: JBoss cannot find my cloudscape tables
davidjencks Aug 25, 2001 1:49 PM (in response to jmra)I'm not quite sure what's wrong, but if you completely remove (or comment out) all references to other datasources and databases, such as DefaultDS, hypersonic, InstantDB, you will get errors sooner when you aren't looking up the one remaining datasource properly.
-
2. Re: Please help: JBoss cannot find my cloudscape tables
nnich Sep 19, 2001 7:45 PM (in response to jmra)Hi Manuel
I think what you will need to do is to use the
cloudscape.system.home variable to point to the cloudscape database directory. my run.bat file looks like this.
@echo off
@if not "%ECHO%" == "" echo %ECHO%
@if "%OS%" == "Windows_NT" setlocal
SET CLOUDSCAPE=e:\cloudscape_4.0\lib
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%CLOUDSCAPE%\cloudscape.jar;run.jar
set CLASSPATH=%CLOUDSCAPE%\cloudscape.jar;%CLASSPATH%
REM Add all login modules for JAAS-based security
REM and all libraries that are used by them here
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%
REM Add the XML parser jars and set the JAXP factory names
REM Crimson parser JAXP setup(default)
set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;../lib/crimson.jar
set JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
set JAXP=%JAXP% -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl
set CLOUDHOME=-Dcloudscape.system.home=%JBOSS_DIST%/db/cloudscape
echo JBOSS_CLASSPATH=%JBOSS_CLASSPATH%
java %JAXP% %CLOUDHOME% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
pause
and just remove the location stuff you had in the URL.
e.g change
attribute name="URL">jdbc:cloudscape:D:/cloudscape/database
to
attribute name="URL">jdbc:cloudscape:
This should work fine
Norm