This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
master stewards:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
garden masters:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
gardeners:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Problem with running Example files??

 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Wanna see my flashlight? How about this tiny ad?
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!