Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Entity Bean Creation - Database Connection Problem
Entity Bean Creation - Database Connection Problem [message #173920] Tue, 11 July 2006 16:44
Eclipse UserFriend
Originally posted by: shigun.gmail.com

Hello, I have run into a problem that I cannot figure out. I have just very
recently began researching EJBs and am trying to create a simple web
applications to become more experienced with them (Want to querry a database
and print out results on a JSP). While going through the Create Enterprise
JavaBean wizard I run into the error that it cannot connect to a database,
and I cannot figure out why I am recieving this. Any help is appreciated at
all.

Here's everything I'm running:
- Eclipse 3.2
-- EMF SDO Runtime 2.2.0
-- GEF Runtime 3.2
-- VE Runtime 1.2
-- WTP All in One SDK 1.5.0

- Oracle 9 server

Here's what I'm doing:
- Click to add New XDoclet Enterprise JavaBean
- Select Container Managed Entity Bean > Next
- Enter package (simply 'ejbs'), everything else left default for trying to
locate problem. > Next
- Enter NMS for Schema, everything else left default (CMP Version 2.x and
Import attributes from table are default). > Next
- Select my Connection 'CONN', and I see 'Successfully connected' at the
top. > Next
- Error: Title:Cannot connect to database. Check JDBC connection
properties and password.

This is where I am confused, as my JDBC connection that I selected (CONN)
works properly... I am able to use the Database Explorer, select that
connection, select my database, select the Schema NMS, and I can see all the
tables there with the data as they should.

Also, as I am new to this if anyone has any good tutorials that walk through
creating Session Beans and CMP Entity Beans with a JSP front end would be
much appreciated.

Any help to resolve this is much appreciated. Thank you.
- Tim
Previous Topic:Directory with empty name issue in WAR files
Next Topic:how to integrate jsp editor into my tools
Goto Forum:
  


Current Time: Thu Apr 25 19:37:38 GMT 2024

Powered by FUDForum. Page generated in 0.02800 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top