naming exception PLEASE HELP
843830Oct 15 2004 — edited Oct 17 2004hi,
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...