This content has been marked as final.
Show 4 replies
-
1. Re: Change *-ds.xml file at runtime without reloading the DS
peterj May 7, 2009 4:10 PM (in response to xmedeko)is there any way to change *-ds.xml at runtime without reloading the DataSource?
The only way I know of is to turn off the hot deployer. But then any changes you make will not take place until you restart the app server. -
2. Re: Change *-ds.xml file at runtime without reloading the DS
xmedeko May 11, 2009 4:00 AM (in response to xmedeko)Hmm, this is not such a big issue to turn off the hot deployer. Some cold deploy directory would be cool for such kind of problems :-)
-
3. Re: Change *-ds.xml file at runtime without reloading the DS
peterj May 11, 2009 11:35 AM (in response to xmedeko)Which version of JBoss AS are you using? If 4.0.x or 4.2.x, then look at the URLs attribute in the last MBean in the file server/xxx/conf/jboss-service.xml. Any additional directories added are read only during app server startup (only the first directory is monitored by the hot deployer).
If you are using 5.0.x, this is no longer possible. The config location changed and all directories mentioned are monitored by the hot deployer. -
4. Re: Change *-ds.xml file at runtime without reloading the DS
xmedeko May 11, 2009 11:44 AM (in response to xmedeko)I use JBoss 5.0.1 unfortunatelly.