• Post Reply Bookmark Topic Watch Topic
  • New Topic

error when creating database with cloudscape  RSS feed

 
walter wang
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All
I hv 2 questions
Question 1)
When i create database by cloundscape
error happens
here is my step
step 1 - run jrun2.bat( see below for
jrun2.bat's content )
step 2 - CloudView GUI->File->new datadatabase
-> entering name "[J2EE_HOME]
\cloudscape\beeshirtdb"
Then exception happens
java.lang.ClassNotFoundException: COM.cloudscape.core.JDBCDriver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at c8e.eb.ab.setSelectedDatabase(Unknown Source)
at c8e.dx.bs.connect(Unknown Source)
at COM.cloudscape.ui.panel.NewDatabasePanel.newDatabase(Unknown Source)
at COM.cloudscape.ui.panel.NewDatabasePanel.ok(Unknown Source)
at COM.cloudscape.ui.panel.NewDatabasePanel.okButton_actionPerformed(Unknown Source)
at COM.cloudscape.ui.panel.NewDatabasePanel_okButton_actionAdapter.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Here is my jrun2.bat
echo "Set JAVA_HOME and J2EE_HOME before running this script"
set PATH=%Path%;c:\j2sdkee1.3.1\bin
set JAVA_HOME=c:\jdk1.3.1_01
Set J2EE_HOME=C:\j2sdkee1.3.1
echo cloudscape -start
set CLASSPATH=%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
set CLASSPATH=%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\cloudscape\RmiJdbc.jar;%CLASSPATH%
set CLASSPATH=%J2EE_HOME%\lib\cloudscape\cloudview.jar;%J2EE_HOME%\lib\cloudscape\cloudclient.jar;%CLASSPATH%
set CLASSPATH=%J2EE_HOME%\lib\cloudscape\cloudscape.jar;%CLASSPATH%
set CLASSPATH=%J2EE_HOME%\lib\j2eetools.jar;%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\j2ee-ri-svc.jar;%J2EE_HOME%\lib\jhall.jar;%CLASSPATH%
set CLASSPATH=%J2EE_HOME%\lib\cloudscape\ejb10deployment.jar;%CLASSPATH%
echo set CLASSPATH=%J2EE_HOME%\lib\system\cloudscape.jar;%J2EE_HOME%\lib\system\cloudutil.jar;%CLASSPATH%
java COM.cloudscape.tools.cview

Question 2)
Should i start cloudscape by cloudscape -start
before step 1?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!