Hi all,
I am trying to deploy a session bean in weblogic. I have created a pool
named crm, the file ejb-jar.xml contains the lines:
<resource-ref>
<description>No Description</description>
<res-ref-name>jdbc/DealerDataBeanDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
and the weblogic-ejb-jar.xml:
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/DealerSBeanDB</res-ref-name>
<jndi-name>crm</jndi-name>
</resource-description>
</reference-descriptor>
However, on calling the bean through jsp or java client, on doing create(),
i get:
java.rmi.RemoteException: Exception in ejbCreate(); nested exception is:
javax.naming.LinkException: [Root exception is
javax.naming.NameNotFoun
dException: Unable to resolve crm. Resolved: '' Unresolved:'crm' ; remaining
name '']; Link Remaining Name: 'crm'
javax.naming.LinkException: . Root exception is
javax.naming.NameNotFoundExcept
ion: Unable to resolve DealerDataBeanDB. Resolved: '' Unresolved:'crm' ;
remaining name ''
<<no stack trace available>>
Do I need to craeate a datasource? If so, by what name and how will i need
to modify the xml files as given above?
Hardeep Singh
http://SeeingWithC.cjb.net
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".