[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NamingException: userEntity not bound
v_anusuya
do-not-reply at jboss.com
Tue May 29 12:46:18 EDT 2007
jboss.xml:-
| <?xml version = '1.0' encoding = 'windows-1252'?>
| <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">
| <jboss>
| <enterprise-beans>
| <session>
| <ejb-name>ejb/userSession</ejb-name>
| <local-jndi-name>ejb/userSession</local-jndi-name>
|
| <resource-ref>
| <res-ref-name>queue/MessageQueue</res-ref-name>
| <jndi-name>queue/MessageQueue</jndi-name>
|
| </resource-ref>
| </session>
| <session>
| <ejb-name>ejb/userSession</ejb-name>
| <local-jndi-name>ejb/userSession</local-jndi-name>
|
| <resource-ref>
| <res-ref-name>queue/SystemQueue</res-ref-name>
| <jndi-name>queue/SystemQueue</jndi-name>
|
| </resource-ref>
| </session>
| <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>
| </enterprise-beans>
| </jboss>
|
|
ejb-jar.xml. I am only pasting the relevant section of the ejb-jar file because the whole file is very big and I am not sure if you would really need the entire file.
|
| <session>
| <display-name>ACLSessionBean</display-name>
| <ejb-name>ejb/aclSession</ejb-name>
| <home>com.wdp.workflow.sessions.aclsession.ACLSessionHome</home>
| <remote>com.wdp.workflow.sessions.aclsession.ACLSession</remote>
| <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>
| <local>com.wdp.workflow.entities.sessionentity.SessionEntity</local>
| <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>
| <local>com.wdp.workflow.entities.userentity.UserEntity</local>
| <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>
| </session>
| <!-- UserEntityBean -->
| <entity>
| <display-name>UserEntityBean</display-name>
| <ejb-name>ejb/userEntity</ejb-name>
| <local-home>com.wdp.workflow.entities.userentity.UserEntityHome</local-home>
| <local>com.wdp.workflow.entities.userentity.UserEntity</local>
| <ejb-class>com.wdp.workflow.entities.userentity.UserEntityBean</ejb-class>
| <persistence-type>Bean</persistence-type>
| <prim-key-class>java.lang.String</prim-key-class>
| <reentrant>False</reentrant>
| <resource-ref>
| <res-ref-name>jdbc/Workflow</res-ref-name>
| <res-type>javax.sql.DataSource</res-type>
| <res-auth>Container</res-auth>
| </resource-ref>
| </entity>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049443#4049443
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049443
More information about the jboss-user
mailing list