File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes problems with using cloudview Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "problems with using cloudview" Watch "problems with using cloudview" New topic
Author

problems with using cloudview

Christian Lovis
Greenhorn

Joined: Aug 22, 2001
Posts: 3
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

Joined: Aug 22, 2001
Posts: 3
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

Joined: Jul 18, 2001
Posts: 236

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

Joined: Aug 22, 2001
Posts: 3
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
 
 
subject: problems with using cloudview
 
Similar Threads
using Cloudscape
Problems getting started
Creating Cloudscape database and data sources in Web Sphere
why cloudscape has exceptions?
using Cloudview