This content has been marked as final.
Show 6 replies
-
1. Re: changing conn parameters in -ds.xml file !!!urgent!!!
vickyk Jun 20, 2008 1:08 AM (in response to sankul123)"sankul123" wrote:
Even after updating I still get old conn object if I make a JNDI call.
I dont see any events as mentioned in case 1 , when I update the ora-ds.xml file in second case.
You should be redeploying the EAR to see the changes in -ds.xml , modify the EAR/META-INF/app.xml after you make changes in the -ds.xml that will lead to the hot deployment of EAR . -
2. Re: changing conn parameters in -ds.xml file !!!urgent!!!
sankul123 Jun 20, 2008 2:00 PM (in response to sankul123)"vickyk" wrote:
You should be redeploying the EAR to see the changes in -ds.xml , modify the EAR/META-INF/app.xml after you make changes in the -ds.xml that will lead to the hot deployment of EAR .
Thank you Vicky , for the reply.
Just to add to my question, changing conn parameters is exposed as a feature. So for end user the operation should after performing the operation , he should either a success or failure I mean to say , he should not get either a 404 or any exception as appl is redeploying.
Is there any JBoss JCA API to achieve through code, we have a seperate a package for all container related operations , so I am free to use any JBoss API's there. Please let me know if there are any such Jboss API's to refresh the conn obj registered with JNDI name.
Sandeep
-
3. Re: changing conn parameters in -ds.xml file !!!urgent!!!
vickyk Jun 24, 2008 9:01 AM (in response to sankul123)"sankul123" wrote:
Is there any JBoss JCA API to achieve through code,
The JMX should do the trick for you .
Try to use the following JCA related MBean ../twiddle.sh invoke "jboss.jca:name=DefaultDS,service=ManagedConnectionFactory" getManagedConnectionFactoryAttribute connectionURL
You should be able to set the properties through setManagedConnectionFactoryAttribute() and get it though the getManagedConnectionFactoryAttribute operation of the JCA Mbean. -
4. Re: changing conn parameters in -ds.xml file !!!urgent!!!
vickyk Jun 24, 2008 9:03 AM (in response to sankul123)!!!urgent!!!
When you want these things to get addressed you MUST go for Jboss support . -
5. Re: changing conn parameters in -ds.xml file !!!urgent!!!
sankul123 Jun 25, 2008 5:44 PM (in response to sankul123)"vickyk" wrote:
!!!urgent!!!
When you want these things to get addressed you MUST go for Jboss support .
do they charge for developer support?
Let me try JMX , thank you for your help. -
6. Re: changing conn parameters in -ds.xml file !!!urgent!!!
vickyk Jun 25, 2008 8:56 PM (in response to sankul123)"sankul123" wrote:
do they charge for developer support?
Yes , read this
https://www.redhat.com/security/updates/jboss_notes/