This content has been marked as final.
Show 2 replies
-
1. Re: Different JNDI names for remote and local interfaces
darranl Jan 19, 2004 12:18 PM (in response to thelemmings)You should just need a jboss.xml in the META-INF folder to specify the jndi names you want to use.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">
<enterprise-beans>
<ejb-name>PageFlow</ejb-name>
<jndi-name>ejb/PageFlow</jndi-name>
<local-jndi-name>local/PageFlow</local-jndi-name>
</enterprise-beans>
<resource-managers>
</resource-managers>
The contents of ejb-name need to match the ejb-name in the ejb-jar.xml
I am not sure if you need the resource-managers element at the bottom I just know my file contains it and it works. -
2. Re: Different JNDI names for remote and local interfaces
thelemmings Jan 20, 2004 11:33 AM (in response to thelemmings)Thanks that solved my problem, I didn't know about that tag. solved my problem wonderfully.