OVH Cloud OVH Cloud

Weblogic 8.1

3 réponses
Avatar
JScoobyCed
Bonjour,

J'ai weblogic 8.1 qui tourne en local (sur ma becane de dev). Pour
demarrer le serveur j'utilise startWeblogic.sh/.cmd
Mais pour stopper le serveur, je fais un "sale" CTRL+C ... Il y a t'il
un moyen plus clean de stopper le serveur ??!!
N'est-il pas bizarre qu'il y ait un raccourci (Windows) dans le menu
demarrer pour "Start server" mais pas pour "Stop server" ?
Merci.

--
JScoobyCed
What about a JScooby snack Shaggy ? ... Shaggy ?!

3 réponses

Avatar
Farid
Bonjour,

J'ai weblogic 8.1 qui tourne en local (sur ma becane de dev). Pour
demarrer le serveur j'utilise startWeblogic.sh/.cmd
Mais pour stopper le serveur, je fais un "sale" CTRL+C ... Il y a t'il
un moyen plus clean de stopper le serveur ??!!
N'est-il pas bizarre qu'il y ait un raccourci (Windows) dans le menu
demarrer pour "Start server" mais pas pour "Stop server" ?
Merci.


Cree un autre raccourci avec les info suivante:
--------------------------------------
You can also shut down a WebLogic Server from the command line with the
following command:


java weblogic.Admin -url host:port SHUTDOWN -username adminname -password
password
where:

host is the name or IP address of the machine where the WebLogic Server is
running.

port is the WebLogic Server's listen port (default is 7001).

adminname designates a user that has administrator privileges for the target
WebLogic Server. Default is system.

password is the password for adminname.

--------------------------



Farid.

Avatar
JScoobyCed
Farid wrote:

Bonjour,

J'ai weblogic 8.1 qui tourne en local (sur ma becane de dev). Pour
demarrer le serveur j'utilise startWeblogic.sh/.cmd
Mais pour stopper le serveur, je fais un "sale" CTRL+C ... Il y a t'il
un moyen plus clean de stopper le serveur ??!!
N'est-il pas bizarre qu'il y ait un raccourci (Windows) dans le menu
demarrer pour "Start server" mais pas pour "Stop server" ?
Merci.



Cree un autre raccourci avec les info suivante:
--------------------------------------
You can also shut down a WebLogic Server from the command line with the
following command:


java weblogic.Admin -url host:port SHUTDOWN -username adminname -password
password


Super ! J'ai modifie le script startWeblogic (sauvegarde en
stopWeblogic) avec ces options, et ca stop bien proprement.
Merci

--
JScoobyCed
What about a JScooby snack Shaggy ? ... Shaggy ?!


Avatar
Farid
Super ! J'ai modifie le script startWeblogic (sauvegarde en
stopWeblogic) avec ces options, et ca stop bien proprement.
Merci

--
JScoobyCed
What about a JScooby snack Shaggy ? ... Shaggy ?!


de rien.
la pluspart des servers ont un jar pour des task d'admin:
- start server
- restart server
- stop server
- deploy app....
etc...

Farid.