Account Example in J2ee - pls help me

Hi there,

I am very new to J2ee technology and am trying Account example which comes with Sun j2dskee server.I am using the Cloudscape database.I am able to deploy the application without any problem.But when I run the client I am getting the following error.

In the server console:

Can't find principle mapping information for the data source with the jindi name jdbc/Cloudscape

and in command prompt: getting rmi.remotexception:couldn't create entity bean.

I think I am making some mistakes in creating the database AccountDB and am not sure about its correct directory in which it is to be created.The bat file cloudtable.bat not working for me.I created the database AccountDB.

I would appriciate if anyone help me on this.I spent almost a week to make it happen.............

Thanks

-Devi

[864 byte] By [Devik] at [2007-9-26 7:32:06]
# 1
print out the entire stack trace you are getting, A remote exception occurs when the JVM is unable to look up the requested object.So give the entire stack pls.
pdbc at 2007-7-1 17:30:26 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

It is important that you in the deployment tool write that you are using the cloudscape database. Beside that you also need you create a table in the database create at *.bat file and write this in the file

java -Dij.connection.cloudscapeDB=jdbc:rmi://localhost:1099/jdbc:cloudscape:cloudscapeDB\;create=true -Dcloudscape.system.home=%J2EE_HOME%\lib\cloudscape -classpath %J2EE_HOME%\lib\cloudscape\client.jar;%J2EE_HOME%\lib\cloudscape\tools.jar;%J2EE_HOME%\lib\system\cloudscape.jar;%J2EE_HOME%\lib\cloudscape\RmiJdbc.jar;%CLASSPATH% -ms16m -mx32m COM.cloudscape.tools.ij <lookup name>

Thomaz at 2007-7-1 17:30:26 > top of Java-index,Other Topics,Patterns & OO Design...