• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problems with using cloudview

 
Christian Lovis
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am very new in developing EJB's and i have the following
question about cloudscape and especially cloudview:


For running cloudview I have to run the folowing statement:
java [options] COM.cloudscape.tools.cview [databaseName]*


Right?!


But what is the name of the database? How can I create new databases with cloudscape? In my opinion cloudview is a tool for creating databases (and other things, of course), but why can't I run cloudview without any existing databses?


Thank's for quick replies...


I am using the J2SDKEE1.3 and only the tools from Sun.
 
Christian Lovis
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's me again...


the [database] is optional, I see


But when I try to start cloudview there is an exception:
"Exception in Thread "main" java.lang.NoClassDefFoundError: COM/cloudscape/tools/cview"


My classpath includes the following JAR's:

cloudscape.jar, client.jar, tools.jar, RmiJdbc.jar

What's wrong?

Thank's in advance.
 
Manjunath Subramanian
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello Christian,
"Exception in main" is due to invalid classpath
setting.Check your classpath again(spelling mistakes are quite
possible here).See if it points to tools.jar
and cloudscape.jar i,e ..
c:\bea\wlserver6.0\samples\eval\cloudscape\lib\tools.jar and
cloudscape.jar.
If it still gives you the same problem then close the window,
open a new one..setenv...go to the lib directory where these jar
files are present and try running cview from there itself.
this should work.
hope this helps
Manjunath
 
Christian Lovis
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank's Manjunath


my mistake was, that I had not run the JVM with the classpath attributes


when I run cloudview like this

java -classpath %CPATH% -ms32m -mx32m COM.cloudscape.tools.cview

everything works quite fine


Christian
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic