Hi,
I have a message-driven bean which is described with all its configuration 
properties such as host, port, username, etc. in the ejb-jar.xml file. It is 
used wmq.jmsra.rar as JCA to connect to IBM WebSphere MQ. The problem is that 
when the project is build the ejb-jar.xml go in the ejb.jar, which means that 
it's hard to be reconfigured. Is there a way to configure the properties 
outside the ejb-jar?
Tried workaround: The only possible workaround which come to my mind, was to 
create an XSL Transformation which to add to the xml. At first glance when 
JBoss deploy the ejb to the server it should read the ejb-jar.xml, see that 
there is defined a <?xml-stylesheet type="text/xsl" href="XSLT.xsl"?> tag, 
execute the transformation by loading the properties from external file and 
load the transformed ejb-jar.xml. But this doesn't work.
If there is no way to configure the properties outside the ejb-jar.xml, is 
there a way to force JBoss to execute the XSLT and load the transformed xml as 
configuration?
Thank you in advance.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189234#4189234

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189234
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to