Hi, everyone,

I am new to J2EE. I have installed j2sdkee1.3 and related packages successfully 
following the instructions provided in the packages.

I have tried the PetStore 1.1.2 (download separately) or Duke's Bank (as a part of 
j2eetutorial) separately. it works well if I try it immediately after you deploy it. 
However, if I shut down j2ee and start it again, I get an Servlet Exception (Root 
Cause: NullPointerException). What's wrong?

In addition, these two demos can't be run on the same cloudscape database on a j2ee 
server. The reason comes from the conflicting of table name "account", which used by 
both of the demos. Does a cloudscape database support multi-users/"tablespace" as 
Oracle does? if yes, how to define the users?

I also tried to let them use different cloudscape databases, i.e. the  PetStore demo 
use the default database CloudscapeDB and the Duke's Bank demo use another database 
BankData.

I created the new database by configure server option in the deploytool
, which actually adds a new entry in the resource.properties file. Meanwhile, I let 
the jndi-name in the DD file of Duke's Bank demo pointed to the new token "BankData". 
This works if I only deploy the Duke's Bank demo. But it doesn't work if I deploy both 
of the demos to the j2ee server.
The first page of PetStore seems ok, but there is no product there. Duke's Bank demo 
seems ok.

Can anyone tell me what's wrong with my trying?

Cheers,

George

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to