[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NamingException: userEntity not bound
v_anusuya
do-not-reply at jboss.com
Tue May 29 12:13:09 EDT 2007
Thank you for the useful link. My jboss.xml and ejb-jar.xml files have the required changes. But I still get the junk characters in the jndi name.
Here are some snippets from jboss.xml and ejb-jar.xml files:-
//jboss.xml
<message-driven>
<ejb-name>ejb/messageServerMessage</ejb-name>
<local-jndi-name>ejb/messageServerMessage</local-jndi-name>
<destination-jndi-name>queue/MessageQueue</destination-jndi-name>
<resource-ref>
<res-ref-name>topic/MessageTopic</res-ref-name>
<jndi-name>topic/MessageTopic</jndi-name>
</resource-ref>
</message-driven>
//ejb-jar.xml
<display-name>ACLSessionBean</display-name>
<ejb-name>ejb/aclSession</ejb-name>
com.wdp.workflow.sessions.aclsession.ACLSessionHome
com.wdp.workflow.sessions.aclsession.ACLSession
<ejb-class>com.wdp.workflow.sessions.aclsession.ACLSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<ejb-local-ref>
<ejb-ref-name>ejb/sessionEntity</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.wdp.workflow.entities.sessionentity.SessionEntityHome</local-home>
com.wdp.workflow.entities.sessionentity.SessionEntity
<ejb-link>ejb/sessionEntity</ejb-link>
</ejb-local-ref>
<ejb-local-ref>
<ejb-ref-name>ejb/userEntity</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.wdp.workflow.entities.userentity.UserEntityHome</local-home>
com.wdp.workflow.entities.userentity.UserEntity
<ejb-link>ejb/userEntity</ejb-link>
</ejb-local-ref>
<resource-ref>
<res-ref-name>jdbc/Workflow</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049423#4049423
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049423
More information about the jboss-user
mailing list