Start and stop Weblogic Server 5.1 on unix system
Hello,
How do I stop Weblogic Server 5.1 after I run startWebLogic.sh without
Weblogic Console? What's the best way to start weblogic Server in unix?
Create a user "weblogic" and start manually everytime I reboot the system or
build a script?
Thanks,
Hiu Sing
Hiu Sing Ngai wrote:
Hello,
How do I stop Weblogic Server 5.1 after I run startWebLogic.sh without
Weblogic Console?java weblogic.Admin <url> SHUTDOWN system password <seconds> <lockMessage>
What's the best way to start weblogic Server in unix?I would suggest you start the WLS from command line using our
build script or your own customized scripts.
--Kumar
>
Create a user "weblogic" and start manually everytime I reboot the system or
build a script?
Thanks,
Hiu Sing
Similar Messages
-
How to start and stop a server
I am doing some sockets programming.
Now, when I want to get the TomCat 4 server running for instance, I would have to run the startup.bat or startup.sh file. To stop the server I run the shutdown.bat or shutdown.sh file.
Can I do the same thing in Java?
That is, in one window, I run a program: C:\>java myserver start
The server starts running and holds there.
In another window, I run another command: C:\>java myserver stop
and the server in the other window stops.
I am thinking the server would be running in a thread. When I shut it down, I close the thread just like in the Applet Clock example.
I've tried this but it doesn't work.
Can anyone please advise.
Thanks.
Anthony.Not precisely that way, but just off the top of my head, you would have to have a handle to the proccess (server) in the first window, then have a monitor program that allows you take this handle and end it. I would make this monitor program be the gateway to starting and stopping your server. To run a .bat file you can use runtime.exec().
-
How to Starting and Stopping OC4J Server using Ant
How to Starting and Stopping OC4J Server using Ant
In the ant task definitions for ant-oracle-classes.jar (see antlib.xml) there are two tasks called
name="restartServer" classname="oracle.ant.taskdefs.deploy.JSR88StartServer"
name="shutdownServer" classname="oracle.ant.taskdefs.deploy.JSR88ShutdownServer"
I thought that these would shutdown and start the OC4J server. I guessed the parameters as – (Does anyone know where 50 ant targets are documented?)
<oracle:restartServer
userid="${oc4j.admin.user}"
password="${oc4j.admin.password}"
deployeruri="${deployer.uri}"
/>
<oracle:shutdownServer
userid="${oc4j.admin.user}"
password="${oc4j.admin.password}"
deployeruri="${deployer.uri}"
/>
This, however does not start and stop the SOA suite. To do that I've hacked this solution together -
<path id="oc4j.console">
<pathelement location="${oracle.home}/config"/>
<pathelement location="${oracle.home}/jlib/startupconsole.jar"/>
<pathelement location="${oracle.home}/opmn/lib/optic.jar"/>
<pathelement location="${oracle.home}/lib/xmlparserv2.jar"/>
</path>
<target name="stop" description="stop oc4j server" depends="init">
<java classname="oracle.appserver.startupconsole.view.Runner">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="stop"/>
</java>
</target>
<target name="start" description="restart oc4j server" depends="init">
<java classname="oracle.appserver.startupconsole.view.Runner">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="start"/>
</java>
</target>
This sort of works – except when the SOA suite doesn't stop cleanly – and needs user interaction to press a Close button. This isn't very useful when doing a continous integration build and deploy.
So, does anyone have any suggestions or alternative methods to do this?
- frankActually if the server throws exceptions when it stops (which it always has since we applied patch 10.1.3.3) this technique will pause until a user responds to pop-up ... So a better way (I think) is -
<target name="start" description="start oc4j server" depends="init">
<java classname="oracle.appserver.startupconsole.view.Runner">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="start"/>
</java>
</target>
<target name="stop" description="stop oc4j server" depends="init">
<echo message="We expect OC4J *NOT* to stop cleanly, so we will timeout after 3 minutes ..."/>
<java classname="oracle.appserver.startupconsole.view.Runner" fork="true" timeout="180000">
<classpath refid="oc4j.console"/>
<sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
<arg value="stop"/>
</java>
</target>
<target name="restart" description="restart oc4j server">
<antcall target="stop"/>
<!-- wait for server to quieten down -->
<waitfor maxwait="2" maxwaitunit="minute">
<not><http url="http://${oc4j.http.hostname}:${oc4j.http.port}"/></not>
</waitfor>
<antcall target="start"/>
</target> -
Start and Stop Weblogic From Admin Console
Hi All,
I am using weblogic7.0.I wanted to start and stop the weblogic server from the
Admin Console(ie., from the GUI).I can stop the server but I cannot start.In order
to start from admin console what should I do.
Please post your suggestions.
Thanks blazixYou need to run the Node Manager on the manged servers you wish to remotely
start.
Chris
"blazix" <[email protected]> wrote in message
news:3fc37eea$[email protected]..
>
Hi All,
I am using weblogic7.0.I wanted to start and stop the weblogic server fromthe
Admin Console(ie., from the GUI).I can stop the server but I cannotstart.In order
to start from admin console what should I do.
Please post your suggestions.
Thanks blazix -
Starting and Stopping Weblogic 10.3.2
Just looking for a quick guide to stop WLS 10.3.2 and all its components. I installed OEM within the WLS directory by mistake so I have uninstalled it and plan in re-installing it to the right path and before I do, I want to ensure that WLS is stopped.
I am running it on RHEL 5, 11gR2While sb92075 was correct about this being the wrong forum, I wanted to help you anyways. This link should give you a start:
http://www.oracledistilled.com/grid-control/starting-and-stopping-oracle-enterprise-manager-11g-grid-control/
Your post probably belongs in one of the forums here: http://forums.oracle.com/forums/category.jspa?categoryID=193 -
How to start and stop sapmmc server when windows is started and shutdown
Hi,
May i know how i can make sure the sapmmc server for ECC 6.0 to start when the windows 2003 server is started. I know i need to add this as a service in the windows service manager but i dont know how to do that.
Please advise me on how to add a service to start the sapmmc server when windows is started and how to stop the sapmmc server automatically when windows is shutdown.Hi Raja
checkout this document m sure it will help you in configuration
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0512c790-0201-0010-72b7-886677ad7955
also check
/message/6511605#6511605 [original link is broken]
All the best ,,
Cheers
dEE -
Print Spooler start and stop on server 2012 R2
Dear ,
I have server 2012 R2 and we are facing some issue with print spooler start and imediate stop working .
i couldn't get print.
please help me.
my Email id Is : [email protected]Hi Sagar.Wagh,
Any update? Did you follow above suggestions and troubleshoot?
Just additional. Please open Services panel and navigate to Printer Spooler service, then check if you can restart it manually. If get error messages, please let us know.
Meanwhile, in Properties of Printer Spooler service, please check which account this service log on as. Is it Local System account? In Dependencies tab, please also check
if the depended system components are OK.
By the way, please perform
a clean boot and check if Printer Spooler service ran as normal.
Hope this helps.
Best regards,
Justin Gu -
Starting and Stopping Server from Administration Console without using system ID
Hi,
I tried to create another user in the ACL and add it to the Administrators
group. When I connect to the admin console using this user I receive error
message NoAccessRuntimeException. Can anybody show me how ti configure user
to access the console to start and stop managed server. I am using WebLogic
6.1 SP1. TIA.
regards,
RudyAny user added to the Admin group should be able to use the weblogic.Admin
utility and stop the server and access the console. So if we add Rudy as a user
to the Admin group then Rudy should be able to stop the server and also use the
weblogic.Admin commands. however, you cannot start the server with rudy's
password. You will require a system password for starting the server.
Please check if the user has been added correctly to the Admin group. you can
check this in the fileRealm.properties file:
user.rudy=0x751cc5f18261ba5e570c19a0d2d3cc29a5c5de63
group.Administrators=system,rudy
hope this helps,
Mihir
Rudy Sutjiato wrote:
Hi,
I tried to create another user in the ACL and add it to the Administrators
group. When I connect to the admin console using this user I receive error
message NoAccessRuntimeException. Can anybody show me how ti configure user
to access the console to start and stop managed server. I am using WebLogic
6.1 SP1. TIA.
regards,
Rudy -
How to start and stop a progress-bar thread before/after the main thread
hi. I would appreciate any kind of help on my request.
I have this as my main() function
public static void main(String[] args)
SwingUtilities.invokeLater(new Runnable(){
public void run(){
Options op = new Options();
OdessaClient oc = new OdessaClient(op);
oc.setVisible(true);
}Whenever I try to start a simple JFrame with an indeterminate progress bar on it just before the main function and stop it somewhere after I get a StackOverFlow error
Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1253)
at com.client.CylonBar.hide(CylonBar.java:25)
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1253)
...and so on...How must I implement something like it?Not precisely that way, but just off the top of my head, you would have to have a handle to the proccess (server) in the first window, then have a monitor program that allows you take this handle and end it. I would make this monitor program be the gateway to starting and stopping your server. To run a .bat file you can use runtime.exec().
-
Sql server agent is not highlighting start and stop options
I configured snapshot replication , after that sql server agent is not highlighting start and stop options in instance.
But I can start & stop it in services.msc
how I can solve this?Hi,
Can you post exact error message.
Also refer below article, may be similar issue like yours.
How to start SQL Server Agent when Agent XPs show disabled
Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
Praveen Dsa | MCITP - Database Administrator 2008 |
My Blog | My Page -
How to avoid time wastage in starting & Stopping weblogic server during development ?
It is very frustrating to stop the server and start the server for any small changes made in the application.
Is developer supposed to restart the server for for any small changes made along with the testing?
One restart(Stop and Start) activity takes more than 10-15 mins. in debug mode.
1) I make some changes then I start server in debug mode
2) I see some mistakes in my bean code
3) I change my bean.java or Impl.java
4) I make a futile effort to reload Jars and reload the page
5) It never takes my changes
6) Only changes in properties of jspx components will accept the changes at the page refresh
6) I add new component or new binding to jspx page, This will not even pay heed to re-deployment, I need restart the server
7) I work only 7 hrs a day (1 hr-lunch)! 7*60=420 mins.... lets say I make code changes 10 times a day 10*20(200) half day
is gone in just restarting server/redeploying changes.
8) So frustrating..... !!!
Que:
1) Is the developer is supposed to imagine all the errors beforehand and code so that he wont waste time in restarting?
2) How nice it would be that you just recompile the changes and you get to see your changes just by refresh...
that is why pl/sql development is so fast.
3) Is there any way to do it like that? or Are there are any quick tricks or precautions to avoid restarting the server.
4) Am I not following the correct development/deployment methods?
It will be really great help for me if you experts guide me on the practise you follow for restarting/redeploying.
Thanks
RahulRahul, please tell us your jdev version!
1) this always helps! In the old days you only compiled once a day and if the compiler found an error you had to wait a whole day until you got the next chance. Do feel privileged that you can compile multiple times. A restart is not nessecary in every case, but depending on the version you hit to restart more often. You should try to find out why it takes so long and minimize this time! Using 11.1.1.7.0 i start my server in less then a minute.
2) answer depends on the jdev version, but you don't get the speed of pl/sql for wenn application development.
3) one thing to do is to define the jdbc connections used in the server or then use jndi to access the resource. This way you don't lose a minute or connection stopping the server. Next it's best to keep the server as clean as possible. Read the log when the server starts and stops you get plenty of info what takes how long. Then start optimizing.
4) no, your method is ok.
Timo -
How to start and stop Oracle Application Server from ANT
How to start and stop Oracle Application Server and Web application from ANT
Thanks in Advance.
ManiHi,
You can use: startManagedWebLogic.sh, it is in your domain directory and you have to execute it in this way
./startManagedWebLogic.sh managedServerName http://adminServerHost:adminServerPort
For instance, in my case I use:
unixserv01:/webportal/domains/appServerWeb/bin>startManagedWebLogic.sh managedServ01 http://pelma3w3per01.mesaperu.next:7001
You have to run it on the machine where the managed server was installed.
Best regards,
Raúl -
I am getting a service start and stop alert while doing the windows server updates.
HI
I am getting a service start and stop alert while doing the windows server updates. Services are wmiApSrv , WPDBusEnum. Can you please help me to under stand why i am getting the service start and stop alert.
Thanks & Regards
Abhilash K JoyHi,
The WMI Performance Adapter (wmiApSrv) service provides performance library information from Windows Management Instrumentation (WMI) providers to clients on the network. This service only runs when Performance Data Helper is activated.
This service is installed by default and its startup type is Manual. When started in the default configuration it will log on using the Local System account.
You can try troubleshooting the issue using Clean Boot to check if the issue is related to third-party software.
How to perform a clean boot in Windows
http://support.microsoft.com/kb/929135/en-us
Best Regards,
Mandy
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Stop weblogic server instance using nodemanager
Hi,
we're in the process of setting up our weblogic cluster. We've configured the nodemanager (script based).
Server starts and stops from the admin console work fine using the scripts:
ssh -o PasswordAuthentication=no -p %P %H wlscontrol.sh -d %D -s %S -c -r MYDOMAIN -n MYDOMAIN %C
The next step is that we want to configure a startup script ala start/stop/restart/status
And we can start servers from the command line:
ssh -o PasswordAuthentication=no -p 22 host wlscontrol.sh -d MYDOMAIN -s \'managed_server_name\' -c -r MYDOMAIN -n MYDOMAIN START
and using STAT to get the current status.
We noticed that STAT didn't work for servers that weren't started by the NM say using the startManagedWeblogic.sh script...
So what we want to do is control all starts and stops via the NM.
Thing is that there doesn't seem to be a STOP command. There is a KILL but that actually unix kills the process ... a little full on and the NM tried to restart the server ...
appreciate any ideas.
thanks,
MichaelHi.
First, thanks for watching the video. To specify the server an application will run on, simply open the application's properties and go the the Run category. Then, select the appropriate WLS instance in the Bind to Integrated Application Server drop down list.
Best Regards,
Frédéric. -
Starting and Stopping OBIEE 11g services in AIX
Helllo Experts
Could you pls. let me know how to start and stop OBIEE11g services in AIX.
Here I mean , do I need to update my . profile with all the paths OR setDomainEnv.sh will take care of that.
How to start Admin and BI server, Node manager ......what is the exact nohup command , do I need to put some parameter while starting Admin and Managed server.
Regds
ShahzadHello User,
Below the way you can start:-
To start the Weblogic Server:-
Go to the below directory location
$OBIEE_HOME /user_projects/domains/bifoundation_domain
Command:
$nohup sh ./startWebLogic.sh -Dweblogic.management.username=weblogic -Dweblogic.management.password=<Password> > wls_start.log &
$tail –f wls_start.log
To start the Node Manager:
Go to the below directory location
$OBIEE_HOME/wlserver_10.3/server/bin
Command:
$nohup ./nodemanager.sh &
To Start OPMNCTL:
Go to the below directory location
$OBIEE_HOME /instances/instanceN/bin
Command:
./opmnctl startall
./opmnctl stopall
./opmnctl status
Please mark helpful/Correct.
Thanks,
OBIEELearner.
Maybe you are looking for
-
How do I use HTTPS with iMQ 2.0?
Our business requirement mandates that we have to use tunneling in a SECURE way, i.e. we have to use HTTPS tunneling. Certainly this requires JMQ client code to open SSL socket instead of plain socket and also requires Web server to be configured and
-
Post Author: jacquie CA Forum: Desktop Intelligence Reporting anyone has a solution for this error: An error has occurred: The viewstate is invalid for this page and might be corrupted.
-
Hi I copied our entire music folder from our old pc on to the new imac, and all the apps, music etc is there, but no individual libarys, we had 5 very different ones, when pressing and holding the alt key on opeing itunes, nothing happens it just ope
-
I am a high school student and I am getting my first Macbook Pro. I am not really sure which 13 inch Macbook Pro model I should get. My budget is kind of tight, but I think that I can afford any one of the models but I dont want to spend any money th
-
Older PDF's don't open in Acrobat X
I have recently installed Acrobat X on my Windows 7 laptop. A large majority of my older PDF's which were downloaded from the NFPA website will not open. No error message. Acrobat opens, but no file appears. Other PDF's, of all different ages, op