Hello,

we are using Axis2 for several web services. My webservice gets the database connection at startup and closes the connection at shutdown. This is implemented thru the ServiceLifeCycle interface.

From time to time we have to close all connections to the database so the db admin team can do stuff.

One method is just to undeploy the webservice which is bad because the clients get an error when connecting. Also the webservice has to be redeployed to get it to work again.

For me the best solution would be disabling the service with the admin interface.

The problem is that there seems to be no way for the service to get informed when it is disabled.

Is this right?

Is there another way to enable/disable a service?

Thanks in advance!

Boris Klug

--
Boris Klug
Debeka-Hauptverwaltung
Abteilung BO/Q
Ferdinand-Sauerbruch-Str. 18
56058 Koblenz

Telefon: (0261) 498-3806
Telefax: (0261) 498-1541

E-Mail: boris.k...@debeka.de
Internet: www.debeka.de

Debeka Krankenversicherungsverein a. G., AmtsG Koblenz: HRB 125
Debeka Lebensversicherungsverein a. G., AmtsG Koblenz: HRB 141
Debeka Allgemeine Versicherung AG, AmtsG Koblenz: HRB 2300
Debeka Pensionskasse AG, AmtsG Koblenz: HRB 6683
Vorstand: Uwe Laue (Vorsitzender), Rolf Florian, Roland Weber,
Thomas Brahm, Dr. Peter Görg
Aufsichtsratsvorsitzender: Peter Greisler
Sitz Koblenz am Rhein

Debeka Bausparkasse Aktiengesellschaft, Amtsgericht Koblenz: HRB 1114
Vorstand: Jörg Phlippen, Dirk Botzem
Aufsichtsratsvorsitzender: Peter Greisler
Sitz Koblenz am Rhein

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to