This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Problem with running Example files?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Problem with running Example files??" Watch "Problem with running Example files??" New topic
Author

Problem with running Example files??

Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi all friends,
I am new to EJB-J2EE and I am trying to deploy 'Bean-Managed Persistence' example of Entity Bean(which is Account transaction) on J2EE Server which is come with J2sdkee1.2.1 Documentation.When Iam trying to deploy this example on J2ee server it is giving me Error "javax.naming.InvalidNameException: JNDI name enter 'jdbc/Cloudscape' for resource reference 'jdbc/AccountDB' is not valid". But I set this JNDI name as per given Guideline on Documentation for this example.Another Problem Iam facing is When I tried to create table "account" in AccountDB Database by using given 'CreateTable.bat' file which is located in c:\j2sdkee1.2.1\doc\guides\ejb\examples\util\ then it is giving me "ERROR:File not found CreateTable.sql".I first created 'AccountDB' Database by executing 'CloudJ.bat' and then I tried to create 'account' table in 'AccountDB'then it is giving me above metioned error.Cloudscape database is running perfectly and database 'AccountDB'also created successfully.But I couldn't understand why it is giving me this error.Can any one plz guide me how I can slove this problem.
Regards
Bikash
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem with running Example files??
 
Similar Threads
JNDI and lookup() problems in entity beans
SavingsAccount Example in J2EETutorial
Redeploying an app
J2EE Access/SQL Server 7
long post IBM.158