dcsimg
why i can not connect database?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   z_c
Posted On:   Friday, April 5, 2002 10:32 PM

environment:j2sdk1.3,j2sdk1.3 I have create a database in %J2EE_HOME%cloudscape named ExampleDB. and then i have configed %J2EE_HOME%configdefault.properties but I can't find "jdbc.datasources=..." so I add "jdbc.datasources=jdbc/ExampleDB|jdbc:cloudscape:rmi:ExampleDB;create=true" at the file's end. then I start cloudscape,j2ee,and open deploytools to create a entity bean(cmp) when I step to deployment setting,in database setting,I can't generate SQL some execeptions throw "ERROR:while generating SQL. java.rmi.ServerException:RemoteException occurred in server thread;nested exception is: java.rmi.RomoteException:Error connecting to database;nested excep   More>>

environment:j2sdk1.3,j2sdk1.3
I have create a database in %J2EE_HOME%cloudscape
named ExampleDB.
and then i have configed %J2EE_HOME%configdefault.properties
but I can't find "jdbc.datasources=..."
so I add "jdbc.datasources=jdbc/ExampleDB|jdbc:cloudscape:rmi:ExampleDB;create=true" at the file's end.
then I start cloudscape,j2ee,and open deploytools to create a entity bean(cmp)
when I step to deployment setting,in database setting,I can't generate SQL
some execeptions throw
"ERROR:while generating SQL.
java.rmi.ServerException:RemoteException occurred in server thread;nested exception is:
java.rmi.RomoteException:Error connecting to database;nested exception is:
javax.nameing.NameNotFoundException:ExampleDB_pm not found
please make sure the database name/user/password is valid and the J2EE server and database are running.

why????????



Please use html tags to format code blocks.

   <<Less
About | Sitemap | Contact