Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

naming exception PLEASE HELP

843830Oct 15 2004 — edited Oct 17 2004
hi,

i have just started the EJB. I made Entity bean and access it through session bean. im using JBuidlerX and JBoss.

while running JBoss i get the following exception.

09:38:10,000 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=Player,service=EJB

org.jboss.deployment.DeploymentException: Error: can't find data source: DataSource; - nested throwable: (javax.naming.NameNotFoundException: DataSource not bound)


IM USING j2EE tutorial1.4 of sun microsystem. and im using Entity Bean with CMP, (cmpRoster example of tutorial)...


ARGUMENTS FOR initial.lookUp() in session bean are..

"java:comp/env/ejb/SimplePlayer" FOR PLAYER ENTITY.

"java:comp/env/ejb/SimpleTeam" FOR TEAM ENTITY.

"java:comp/env/ejb/SimpleLeague" FOR LEAGUE EITITY.



PLEASE TELL ME HOW TO GET RID OF THIS NAMING EXCEPTION

ILL BE THANKFUL TO U.

WAITING...


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 14 2004
Added on Oct 15 2004
5 comments
187 views