-
1. Jboss 6 Admin Console Issue : Cannot update Datasource Configurations
bcn Apr 13, 2011 5:45 AM (in response to abduljaleelch)I observe something similar: username and password are not saved. The fields are unset again.
-
2. Jboss 6 Admin Console Issue : Cannot update Datasource Configurations
wdfink Apr 13, 2011 7:26 AM (in response to abduljaleelch)Modification via jmx- or management-console are temporary. The only way to survive the next restart is to change the XML files.
Also you might have to flush the connection pool to activate the console changes. be aware that this kill all active transactions related to this datasource.
-
3. Re: Jboss 6 Admin Console Issue : Cannot update Datasource Configurations
bcn Apr 13, 2011 8:54 AM (in response to wdfink)Is this on purpose or is it a bug? If I save a configuration change, I expect it to be persistent. In my case, it is not even saved during the same session.
-
4. Jboss 6 Admin Console Issue : Cannot update Datasource Configurations
wdfink Apr 13, 2011 9:09 AM (in response to bcn)It is not a bug.
If you change via management console nothing will be persistent.
-
5. Jboss 6 Admin Console Issue : Cannot update Datasource Configurations
abduljaleelch Apr 16, 2011 12:33 AM (in response to wdfink)Thank you for your reply... We are using Weblogic as Server.More than 10 different applications are deployed in it. The thing is i am asked to make an R&D of using Jboss for intra organization applications. But I don't think i can make use of Jboss for this purpose. Restarting the server for every change is not practical in my case since i will have frequent changes in datasources..
-
6. Jboss 6 Admin Console Issue : Cannot update Datasource Configurations
wdfink Apr 16, 2011 6:21 AM (in response to abduljaleelch)This doesn't mean that you have to restart the server.
If you want have a temporary change unti the next restart, you might use the console to change.
But if you try to change the configuration you have to change the configuration file.
If you have hotdeployment configured the change become active without restarting the server.
-
7. Jboss 6 Admin Console Issue : Cannot update Datasource Configurations
bcn Apr 16, 2011 6:39 AM (in response to wdfink)Oracle AS handles it like this: changes are saved, but you get a message that the changes are only applied after restarting the server instance. I think this is a good solution. But enabling the Save button and just ignoring the changes is really confusing for the user. In my case, when I change user and password, after save the page is reloaded and the changes are lost.
So I think the console should at least inform the user with a message about how it works.
-
8. Re: Jboss 6 Admin Console Issue : Cannot update Datasource Configurations
shelly.mcgowan Apr 16, 2011 9:26 AM (in response to bcn)The changes done via the Administration Console *are* persistent. However, the changes do *not* get written back to the original .xml file. From the Chapter 10 of the Administration Console Guide:
Warning
-
9. Re: Jboss 6 Admin Console Issue : Cannot update Datasource Configurations
wdfink Apr 16, 2011 9:46 AM (in response to shelly.mcgowan)Hi Shelly,
but this is exactly what I meant in different words.
The change don by console is persistent as long as the server is restarted and read the configuration from XML, or even if you change (or touch) the XML file an hotdeployment is active.
-
10. Re: Jboss 6 Admin Console Issue : Cannot update Datasource Configurations
ma3145tt May 12, 2011 10:25 AM (in response to shelly.mcgowan)Since the admin console does not update the xml file, where is the new information stored? I'm particularly concerned with the location of the password data.
-
11. Re: Jboss 6 Admin Console Issue : Cannot update Datasource Configurations
efrinmn May 13, 2011 11:06 PM (in response to ma3145tt)Changes made using the admin console are persisted in the /data directory. For more detail refer to: http://community.jboss.org/thread/153394