Problem with cloudscape database(in j2sdkee1.3.1)
Jitesh Sinha <[email protected]> Thu, 20 Jun 2002 13:12:59 +0530
| Newsgroups | gmane.comp.windows.devel.java.general |
|---|---|
| Message-ID | <000901c2182e$1af08dd0$6e3c4c0a@37P5N728HPV> |
Hi Folks,
Your hints were helpful in starting j2ee server .
Thanx for that .
Now I can start the j2ee server and cloudscape database servber correctly .
But I am not able to connect to the databse from java application .
Actually, sun provides the class DatabaseTool.java for checking the
connection with the cloudscape database(it comes with the j2ee server) .
In that class driver used is COM.cloudscape.core.JDBCDriver .
I am getting following error while executing this line in DatabaseTool.java
: Class.forName("COM.cloudscape.core.JDBCDriver") .
What I need to change? I am using j2sdk1.4.0 version of Java(i.e. I am
setting JAVA_HOME as c:\j2sdk1.4.0) .
Please help me .
java.lang.NoSuchMethodError: c8e.dv.e.<init>(Lc8e/dv/g;)V
at c8e.dv.g.<init>(Unknown Source)
at c8e.cf.b.<init>(Unknown Source)
at c8e.cf.a.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at COM.cloudscape.core.MonitorBoot.start(Unknown Source)
at COM.cloudscape.core.JDBCBoot.boot(Unknown Source)
at COM.cloudscape.core.JDBCDriver.boot(Unknown Source)
at COM.cloudscape.core.JDBCDriver.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:130)
at DatabaseTool.connectToDB(DatabaseTool.java:217)
at DatabaseTool.actionPerformed(DatabaseTool.java:363)
at java.awt.Button.processActionEvent(Button.java:381)
at java.awt.Button.processEvent(Button.java:350)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:190)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Thanks,
Jitesh
You can read messages from the JAVA archive, unsubscribe from JAVA,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.