Shell window for the life of the server??

We open a shell to remotely start a server on another machine, but we can't then
logout of the shell without killing the server! Do we really have to maintain
that
shell for the life of the server? If someone starts a server and then has to
bounce
their machine, it would mean ungracefully shutting down the remote WLS.
What are we missing? Cannot find an answer in the WLS 6.1 administration guide.
We tried putting the command in the background, and using nohup, but nothing
seems to work.
Answer??

Michael McHugh wrote:
I start my weblogic server using nohup startWebLogic.sh & and find that it dies after a period of time.. the script runs forever in the background, but that's not what I want... I want the server running in the background, not the startup script....
I have checked that script to find the following...
$JAVACMD $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=informatica -Dweblogic.Name=myserver -Dbea.home=$WL_HOME/infalicense -Dweblo
gic.management.password=$WLS_PW -Dweblogic.ProductionModeEnabled=$STARTMODE -Djava.security.policy==$WL_HOME/lib/weblogic.policy weblogic.S
erver
and I notice the weblogic.Server to be located in the "lib" directory... BUT.. when I go to the lib directory, it does not appear there... so I cannot issue the command nohup $JAVA weblogic.Server &
also, where/how are the user and pass specified at the command line?
Thanks
MikeWhen you look at the list of running processes you won't find anything
that is obviously ``WebLogic" you will, depending on Unix version, see a
bunch of proceses all called Java. Also the ``weblogic.Server" you are
referring to is a class inside the weblogic.jar file which is located in
$BEA_HOME/weblogic81/server/lib. You could not simply issue the command
$java weblogic.Server anyway as that wouldn't be enough to start the
server completely. Username and password information can be passed in a
number of ways. First you can add the system properties
weblogic.management.username and weblogic.management.password to the
start script. You can also create a boot.properties file in the domain
directory containing the 3DES encrypted username and password. Third,
you can create a UserConfig file which contains the encrypted username
and password. All of this and more is detailed in the administration
documentation:
http://edocs.bea.com/wls/docs81/adminguide/overview.html
~Ryan Upton

Similar Messages

  • Shell Script  for Startup and Shutdown the database

    Hi,
    i want Shell Script for Startup and Shutdown the database in Solaries.
    could any one can hep me where i can get this script. or send to me to [email protected]
    Thanks & Regards,
    Gangi reddy

    SHUTDOWN
    SHUTDOWN ABORT]
    Shuts down a currently running Oracle instance, optionally closing and dismounting a database.
    Terms
    Refer to the following list for a description of each term or clause:
    ABORT
    Proceeds with the fastest possible shutdown of the database without waiting for calls to complete or users to disconnect.
    Uncommitted transactions are not rolled back. Client SQL statements currently being processed are terminated. All users currently connected to the database are implicitly disconnected and the next database startup will require instance recovery.
    You must use this option if a background process terminates abnormally.
    IMMEDIATE
    Does not wait for current calls to complete or users to disconnect from the database.
    Further connects are prohibited. The database is closed and dismounted. The instance is shutdown and no instance recovery is required on the next database startup.
    NORMAL
    NORMAL is the default option which waits for users to disconnect from the database.
    Further connects are prohibited. The database is closed and dismounted. The instance is shutdown and no instance recovery is required on the next database startup.
    TRANSACTIONAL [LOCAL]
    Performs a planned shutdown of an instance while allowing active transactions to complete first. It prevents clients from losing work without requiring all users to log off.
    No client can start a new transaction on this instance. Attempting to start a new transaction results in disconnection. After completion of all transactions, any client still connected to the instance is disconnected. Now the instance shuts down just as it would if a SHUTDOWN IMMEDIATE statement was submitted. The next startup of the database will not require any instance recovery procedures.
    The LOCAL mode specifies a transactional shutdown on the local instance only, so that it only waits on local transactions to complete, not all transactions. This is useful, for example, for scheduled outage maintenance.
    Usage
    SHUTDOWN with no arguments is equivalent to SHUTDOWN NORMAL.
    You must be connected to a database as SYSOPER, or SYSDBA. You cannot connect via a multi-threaded server. For more information about connecting to a database, see the CONNECT command earlier in this chapter.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a90842/ch13.htm#1013607
    Joel Pérez

  • Is it better for your battery if you let it run down all the way and then charge it? Or to charge it whenever you have the opportunity?  Which is better for the life of the battery?

    I was wondering it the life of the battery would last longer if you let the battery run down all the way and then charge it? Or to charge it whenever you have the opportunity even if it doesn't have a low battery?  Which is better for the life of the battery and prolong the life of the battery?

    I've had a iPhone 4s since March 2012, and it's battery is pretty useless now.  I was using the app Battery Doctor (Battery Saver, Battery Life) by Beijing Kingsoft Internet Security software, which encourages the user to charge more often, whenever battery life drops below 100% full and greater than 20% full, and gives ratings according to the number of full, partial & overcharges done, but I'm concerned that charging like that actually results in worse battery life??
    I now have an new iPhone 5 and don't want the battery to only last as short as the last one did
    Any advice/comments please

  • Someone,placed a window for Reading list on the left hand side of my monitor and I want it off. Any tips?

    Someone,placed a window for Reading list on the left hand side of my monitor and I want to remove it. How do I do it?

    Hello,
    That's a feature of Safari...
    To open and close your Reading List, click the eyeglasses button.   
    http://support.apple.com/kb/PH5074

  • If i stream for 8 hours at work and keep my screen on the entire time will it shorten the life of the screen

    if i stream for 8 hours at work and keep my screen on the entire time will it shorten the life of the screen

    The screen itself would not wear out, however the LED backlights that make the screen glow do have a limited life span and over time they will become dimmer and shift color somewhat. This however would take years to accomplish. You'll be replacing your phone before you have anything to worry about.

  • Let's say I have my Ipod on 24/7 running a random app and is on the charger, what would the life of the Ipod be?

    Let's say I have my Ipod on 24/7 running a random app and is on the charger, what would the life of the Ipod be?

    I have no idea except it should be many years.. However, you should almost fully discharge the battery monthly to maximize the battery life in in the eventwant to use it on the battery.
    Apple - Batteries - iPod

  • Keep an object around for the life of the server?

    I need to keep some objects around for the entire life of the server.
    However would I make sure of that? In other words, how do I prevent them
    being gc'd?
    TIA,
    Bill

    Say I have a singleton. If it wasn't in a app server, I can, for example,
    have it instaniated in the main and hold the ref there. But in the app
    server, wouldn't such a singleton subject to gc since no one is holding the
    ref if no one is using it at the moment? If so, the re-instantiation can be
    quite expensive. How can I make sure that doesn't happen?
    "Philip Strube" <[email protected]> wrote in message
    news:[email protected]..
    Hi Bill,
    Bill wrote:
    I need to keep some objects around for the entire life of the server.
    However would I make sure of that? In other words, how do I prevent them
    being gc'd?same way as singleton instances are usually kept: in a static variable.
    If you hot-deploy your application, but you don't want your mentioned
    objects to be destroyed, put the classes in a jar in the server classpath.
    If they are in your application's ear or war, they will be destroyed and
    re-created on hotdeploy.
    If you don't hot-deploy, you don't need to care about.
    TIA,
    BillViele Grüße ;-)
    Philip

  • Tcode for Useful life of the asset

    Hi Gurus,
    Is there any standard report or Tcode to know the "Useful life of the Assets" ?
    Madhu

    Hi
    Please check table ANLB
    Thanks & Regards
    Phaneendra

  • Again: The Life of the Battery

    Hi, I've read a lot of messages with this problem, but, i can't still understand how difficult is to make our batteries have at least more than 2 hours life, using all the resources this kind of computer give us.
    I follow all the steps to make it better, all of them, but still my battery has 2hours life. Charging about 4hours or more.
    Of couse I use the MBP with all I have to work: web, airport on, bluetooth on, various applications, but I think, most of the people does. So, shouldn't a machine like this deserves a better battery????
    Thanks all
    Sorry, I'm a little disapointed with THE BATTERY!

    It's a simple proposition really; more work a processor can do the more energy it takes. All that heat that people complain about has to come from some energy source and that's the battery. There's a price to be paid for using screaming Intel chips and this is one of them.
    I'm getting about three and a half hours out of my MBP running a 2.16 GHz processor. That's optimized for battery life. I suspect that it'll average out to be about two hours forty-five minutes to three hours. My two year old iBook does about that now, averaging just about three hours. Not exciting, but not all that bad either. I honestly don't know how they do it considering how much energy these Intel processors need.
    All things considered, the MBP battery lasts longer than my Sony Vaio ever did, and longer than every Dell notebook I've had the occasion of using. Newer Dell machines seem to be on par, however.
    The advice of others is good. Turn-off bluetooth, and if you're not using the Airport card, turn that off too. Set up your use while on battery for maximum energy savings. If you're concerned about watching movies on a trip, rip the DVDs to hard disk instead of playing them from the superdrive. Every little-bit helps.

  • Does setting the screen brightness to the MAX shorten the life of the LCD?

    On daytime I set it to about 80%. That's bright enough.
    Also, another thing I noticed was I tried to cover the speakers with my hands. The keyboard lit up a little bit but the screen dimmed down. Is it normal?

    While setting the brightness to maximum doesn't shorten the LCD's actual lifespan it does however, I believe, speed up the degradation on how bright your screen will be.
    As for when you cover the speakers… yes, this is normal. What's happening is that the ambient light sensors (which are under the grilles, are picking up a reduction is ambient light and in doing so is setting the screen brightness down and activating the backlit keyboard.

  • HT1490 Why are Batteries no longer removable? This option allowed you to just plug in your laptop and save the life of the battery. It also gave the option to have more than one charged battery on hand for camping and back packing trips. Any suggestions?

    Also Mountain Lion doesn't have the timer for the the Battery life, only percentage. How can amount of battery time be shown permently?

    The removable battery problem is called progress or more accuratety alleged progress. It is cheaper to install a bare battery pack than to provide space for the cased removable variety. More compact and flatter laptop cases need the extra room that a removable battery occupied. It also weighs less with no case. Cooling can be a problem with higher performance options in these crowded environments.
    To me the ultra lightness and compactness of the new laptops is of secondary importance compared to performance and reliability. 

  • Shell Script For Collecting Information on the Mac

    Hi Expert,
    Do you have sample script to colletion the information from Mac OS such network, hostname, Mac OS version.. so on?
    BR,
    Khemarin

    Here's a script I have used to trouble shoot network problems for new telecommuters: http://putnamhill.net/applescript/netinfo2clipboard
    This version of the link should open the same script in the applescript editor. Then they just have to run the script and paste the results into an email: http://putnamhill.net/applescript/editor/netinfo2clipboard

  • Will ripping dvds cut down on the life of the optical drive?

    Apple Discussion users,
    I have a MBP and I have been ripping a lot of my dvds with Mactheripper. If I continue to do so will my optical drive break? Thanks...
    Finley

    Nothing lasts forever! If your worried about wearing the internal drive out, you could consider investing in a external solution which will save you money in the long run, as they'll perform better due to a high reading speed.
    If your considering this option, I would suggest you choose a FireWire version to a USB one mainly because you'll experience less problems and keep your USB ports free for other accessories.

  • Dead shuffle what is the life of the battery??

    My 2nd generation shuffle ran completely out at the gym,no lights.. and when i went to charge it, nothing happened, no lights of any color and I tunes does not recognize it.. I have had it about a year and never had let it go completely out of power.. is it permanently dead??
    How long does it last ?? It had worked fine so no warning signs.. there must be a way to wake it up..

    My 2nd generation shuffle ran completely out at the gym,no lights.. and when i went to charge it, nothing happened, no lights of any color and I tunes does not recognize it.. I have had it about a year and never had let it go completely out of power.. is it permanently dead??
    How long does it last ?? It had worked fine so no warning signs.. there must be a way to wake it up..

  • My battery is not holding a full charge; is there anything I can do to extend the life of the battery?

    My battery will not hold a full charge and seems to quickly lose power; is there anything I can do to extend my battery life?

    http://www.apple.com/batteries/iphone.html
    This is pretty helpful

Maybe you are looking for