|
| datasource could not be located |
 |
Thu, 17 Apr 2008 10:54:34 -070 |
Being new to ejbs I am trying to execute the below tutorial.
[url
http://edocs.bea.com/workshop/docs92/ws_platform/ejb/tutorial/tutEJBStep1.htm]ht
tp://edocs.bea.com/workshop/docs92/ws_platform/ejb/tutorial/tutEJBStep1.htm[/url
]l
[url http://dev2dev.bea.com/downloads/wl4w/ejb/ejb.html
]http://dev2dev.bea.com/downloads/wl4w/ejb/ejb.html [/url](presentation)
I am using weblogic workshop 10 and trying to deploy the code on weblogic 9.2
server. I followed the instructions as given in the above docs and presentation.
When I try to deploy my ejb on the server I get the error:
Unable to deploy EJB: VisitBean from VisitEJBProject.jar:
[EJB:011028]The DataSource with the JNDI name: cgDataSource could not be
located. Please ensure that the DataSource has been deployed successfully and
that the JNDI name in your EJB Deployment descriptor is correct.
I do not have a database linked to my entity bean. I assume the bean acts as a
database table in the above tutorial. cgDataSource and
"ejb.VisitBeanLocalHome" are the datasource and jndi name respectively
to access the entity bean.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|