In 1.4.6, build
10008, related to the "lookup X and get reference Y"...
As per Magnus (and
the orion-ejb-jar.xml's docs), I have the following orion-ejb-jar.xml:
<?xml version="1.0"?>
<!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://www.orionserver.com/dtds/orion-ejb-jar.dtd">
<!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://www.orionserver.com/dtds/orion-ejb-jar.dtd">
<orion-ejb-jar deployment-version="1.4.6"
deployment-time="e47f23326b">
<enterprise-beans>
<session-deployment name="ejb/GPN1" location="ejb/GPN1" wrapper="CommunicatorHome_StatelessSessionHomeWrapper7" timeout="1800" persistence-filename="ejb/GPN1" />
<session-deployment name="ejb/CUPID1" location="ejb/CUPID1" wrapper="CommunicatorHome_StatelessSessionHomeWrapper9" timeout="1800" persistence-filename="ejb/CUPID1" />
<message-driven-deployment name="ejb/router" destination-location="jms/routingQueue">
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/xaQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/switch" destination-location="jms/xaQueue">
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/actionQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/action" destination-location="jms/actionQueue">
<ejb-ref-mapping name="ejb/GPN1" location="ejb/GPN1" />
<ejb-ref-mapping name="ejb/CUPID1" location="ejb/CUPID1" />
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/responseQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/response" destination-location="jms/responseQueue" />
</enterprise-beans>
<assembly-descriptor>
<default-method-access>
<security-role-mapping name="<default-ejb-caller-role>" impliesAll="true" />
</default-method-access>
</assembly-descriptor>
</orion-ejb-jar>
<enterprise-beans>
<session-deployment name="ejb/GPN1" location="ejb/GPN1" wrapper="CommunicatorHome_StatelessSessionHomeWrapper7" timeout="1800" persistence-filename="ejb/GPN1" />
<session-deployment name="ejb/CUPID1" location="ejb/CUPID1" wrapper="CommunicatorHome_StatelessSessionHomeWrapper9" timeout="1800" persistence-filename="ejb/CUPID1" />
<message-driven-deployment name="ejb/router" destination-location="jms/routingQueue">
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/xaQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/switch" destination-location="jms/xaQueue">
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/actionQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/action" destination-location="jms/actionQueue">
<ejb-ref-mapping name="ejb/GPN1" location="ejb/GPN1" />
<ejb-ref-mapping name="ejb/CUPID1" location="ejb/CUPID1" />
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/responseQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/response" destination-location="jms/responseQueue" />
</enterprise-beans>
<assembly-descriptor>
<default-method-access>
<security-role-mapping name="<default-ejb-caller-role>" impliesAll="true" />
</default-method-access>
</assembly-descriptor>
</orion-ejb-jar>
This was generated
by deploying, then modifying the <ejb-ref-mapping /> nodes. However, this
is in the application deployment dir for this EJB set:
<?xml
version="1.0"?>
<!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://www.orionserver.com/dtds/orion-ejb-jar.dtd">
<!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://www.orionserver.com/dtds/orion-ejb-jar.dtd">
<orion-ejb-jar
deployment-version="1.4.6"
deployment-time="e47f6028b0">
<enterprise-beans>
<session-deployment name="ejb/GPN1" location="ejb/GPN1" wrapper="CommunicatorHome_StatelessSessionHomeWrapper1" timeout="1800" persistence-filename="ejb/GPN1" />
<session-deployment name="ejb/CUPID1" location="ejb/CUPID1" wrapper="CommunicatorHome_StatelessSessionHomeWrapper3" timeout="1800" persistence-filename="ejb/CUPID1" />
<message-driven-deployment name="ejb/router" destination-location="jms/routingQueue">
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/xaQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/switch" destination-location="jms/xaQueue">
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/actionQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/action" destination-location="jms/actionQueue">
<ejb-ref-mapping name="ejb/GPN1" />
<ejb-ref-mapping name="ejb/CUPID1" />
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/responseQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/response" destination-location="jms/responseQueue" />
</enterprise-beans>
<assembly-descriptor>
<default-method-access>
<security-role-mapping name="<default-ejb-caller-role>" impliesAll="true" />
</default-method-access>
</assembly-descriptor>
</orion-ejb-jar>
<enterprise-beans>
<session-deployment name="ejb/GPN1" location="ejb/GPN1" wrapper="CommunicatorHome_StatelessSessionHomeWrapper1" timeout="1800" persistence-filename="ejb/GPN1" />
<session-deployment name="ejb/CUPID1" location="ejb/CUPID1" wrapper="CommunicatorHome_StatelessSessionHomeWrapper3" timeout="1800" persistence-filename="ejb/CUPID1" />
<message-driven-deployment name="ejb/router" destination-location="jms/routingQueue">
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/xaQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/switch" destination-location="jms/xaQueue">
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/actionQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/action" destination-location="jms/actionQueue">
<ejb-ref-mapping name="ejb/GPN1" />
<ejb-ref-mapping name="ejb/CUPID1" />
<resource-ref-mapping name="jms/QueueConnectionFactory" />
<resource-ref-mapping name="jms/responseQueue" />
</message-driven-deployment>
<message-driven-deployment name="ejb/response" destination-location="jms/responseQueue" />
</enterprise-beans>
<assembly-descriptor>
<default-method-access>
<security-role-mapping name="<default-ejb-caller-role>" impliesAll="true" />
</default-method-access>
</assembly-descriptor>
</orion-ejb-jar>
I've modified this
file DIRECTLY (not relying on deployment) and the original file's
ejb-ref-mapping STILL loses the location attribute. Am I doing something
wrong?