Shutdown script for Weblogic?

Hi,
I am looking for weblogic shutdown script?
Can anybody point me to the script if one is available.
Thanks in advance
Subba Reddy

just use the admnin utility from a shell and bat/cmd file. here's the
command:
java weblogic.Admin <url> SHUTDOWN system <password>
you may get the usage by just typing:
java weblogic.Admin
jason
Original Message <<<<<<<<<<<<<<<<<<On 3/10/00, 9:42:47 PM, subba reddy <[email protected]> wrote
regarding shutdown script for Weblogic?:
Hi,
I am looking for weblogic shutdown script?
Can anybody point me to the script if one is available.
Thanks in advance
Subba Reddy

Similar Messages

  • Shutdown script for Weblogic admin & managed servers

    Greetings,
    I am new to weblogic and am using it on a new box with OID. I am in the process of writing a shutdown script to shut down all processes on the box when it is restarted, I think this is better than just pulling the plug. I have learned about and turned on t3 protocols and used WLST to tore credentials in WebLogicKey.properties & WebLogicConfig.properties file so things are working properly. What I can't find is how to shut down the managed server using WLST and am also wondering if it is better to invoke the stopManagedWebLogic.sh and the stopWebLogic.sh scripts form the shell or from the WLST tool, if indeed that is possible. If soemone has such scripts they would be willing to share that would be much appreciated.
    Thank you.
    Bill Wagman

    "One question, Rene, I see in your scripts you are storing username/password combinations.
    I have used the storeUserConfig () command to create a WebLogicConfig.properties file and a WebLogicKey.properties file to avoid that issue.
    Is there a reason you have not done this?"
    No, what you did with the storeUserConfig, to prevent needing to store the unencrypted username
    and password in your WLST scripts is good. One thing to note is that the key files are extremely sensitive
    in that they allow any user to use the configuration file to authenticate as the user stored in the configuration
    file. You should store the key files in a secure location so that only the authorized users have access to them (this
    is also what you do with scripts that have unencrypted username and password in them). You probably have
    an environment (operating system) in which only authorized users can reach the sensitive data.

  • Startup/Shutdown script for OBIEE 11g on Linux

    Hi all,
    as a follow-up to [url http://forums.oracle.com/forums/thread.jspa?messageID=4546010]an earlier thread by some fine gentleman, I have improved the original startup/shutdown script for Linux a bit, making sure that all processes are handled correctly. The script has been tested and works fine on CentOS 5.5 with Oracle BI 11.1.1.3.0 in a clustered configuration. Instructions:
    Manual start/stop:
    > service obiee start
    > service obiee stop
    > service obiee status
    Automatic start/stop during boot sequence:
    > chkconfig --add obiee
    > chkconfig obiee on
    Note that in order for the procedure to go through smoothly, you need to provide the admin credentials (username/password, defaulting to weblogic/weblogic) in three different places:
    1. In configuration file <FMW_HOME>/user_projects/domains/<domain name>/servers/AdminServer/security/boot.properties for the administration server;
    2. In script <FMW_HOME>/user_projects/domains/<domain name>/bin/startManagedWebLogic.sh (variables WLS_USER and WLS_PW) for the managed server;
    3. In the startup script itself (variables BIEE_USER and BIEE_PASSWD) for shutting down the managed server.
    Complete logs are available in /var/log/obiee-start (-stop).log files.
    Please comment as necessary,
    Chris
    #!/bin/bash
    # File:    /etc/init.d/obiee
    # Purpose: Start and stop Oracle Business Intelligence 11g components.
    # chkconfig: 2345 99 10
    # description: Manage OBIEE service.
    # These values must be adapted to your environment.
    ORACLE_OWNR=oracle                  # Local Unix user running OBIEE
    ORACLE_FMW=/home/oracle/biee        # Deployment root directory
    BIEE_USER=<username>                # BIEE administrator name
    BIEE_PASSWD=<password>              # BIEE administrator password              
    BIEE_DOMAIN=<domain name>           # Domain name
    BIEE_INSTANCE=instance1             # Instance name
    BIEE_SERVER=bi_server1              # Server name
    BIEE_MANAGER_URL=<hostname>:7001    # Admin server URL (hostname:port)   
    # These should require no change.
    WL_PATH=$ORACLE_FMW/wlserver_10.3/server/bin
    BIEE_PATH=$ORACLE_FMW/user_projects/domains/$BIEE_DOMAIN/bin
    ORACLE_INSTANCE=$ORACLE_FMW/instances/$BIEE_INSTANCE
    export ORACLE_INSTANCE
    START_LOG=/var/log/obiee-start.log
    STOP_LOG=/var/log/obiee-stop.log
    SUBSYS=obiee
    start() {
        echo "********************************************************************************"
        echo "Starting Admin Server on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$BIEE_PATH/startWebLogic.sh" &
        wait_for "Server started in RUNNING mode"
        echo "********************************************************************************"
        echo "Starting Node Manager on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$WL_PATH/startNodeManager.sh" &
        wait_for "socket listener started on port"
        echo "********************************************************************************"
        echo "Starting Managed Server $BIEE_SERVER on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$BIEE_PATH/startManagedWebLogic.sh $BIEE_SERVER http://$BIEE_MANAGER_URL" &
        wait_for "Server started in RUNNING mode"
        echo "********************************************************************************"
        echo "Starting BI components on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$ORACLE_INSTANCE/bin/opmnctl startall"
        echo "********************************************************************************"
        echo "OBIEE start sequence completed on $(date)"
        echo "********************************************************************************"
    stop() {
        echo "********************************************************************************"
        echo "Stopping BI components on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$ORACLE_INSTANCE/bin/opmnctl stopall"
        echo "********************************************************************************"
        echo "Stopping Managed Server $BIEE_SERVER on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$BIEE_PATH/stopManagedWebLogic.sh $BIEE_SERVER t3://$BIEE_MANAGER_URL $BIEE_USER $BIEE_PASSWD"
        echo "********************************************************************************"
        echo "Stopping Node Manager on $(date)"
        echo "********************************************************************************"
        pkill -TERM -u $ORACLE_OWNR -f "weblogic\\.NodeManager"
        echo "********************************************************************************"
        echo "Stopping Admin Server on $(date)"
        echo "********************************************************************************"
        su $ORACLE_OWNR -c "$BIEE_PATH/stopWebLogic.sh"
        echo "********************************************************************************"
        echo "OBIEE stop sequence completed on $(date)"
        echo "********************************************************************************"
    wait_for() {
        res=0
        while [[ ! $res -gt 0 ]]
        do
            res=$(tail -5 "$START_LOG" | fgrep -c "$1")
            sleep 5
        done
    case "$1" in
        start)
            echo "********************************************************************************"
            echo "Starting Oracle Business Intelligence on $(date)"
            echo "Logs are sent to $START_LOG"
            echo "********************************************************************************"
            start &> $START_LOG &
            touch /var/lock/subsys/$SUBSYS
        stop)
            echo "********************************************************************************"
            echo "Stopping Oracle Business Intelligence on $(date)"
            echo "Logs are sent to $STOP_LOG"
            echo "********************************************************************************"
            stop &> $STOP_LOG
            rm -f /var/lock/subsys/$SUBSYS
        status)
            echo "********************************************************************************"
            echo "Oracle BIEE components status...."
            echo "********************************************************************************"
            su $ORACLE_OWNR -c "$ORACLE_INSTANCE/bin/opmnctl status"
        restart)
            $0 stop
            $0 start
            echo "Usage: $(basename $0) start|stop|restart|status"
            exit 1
    esac
    exit 0

    You can use WLST to start/stop BI Services and it works on both Linux and Windows.
    Following link has the sample -
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10541/admin_api.htm#CDEFAHDD

  • Shutdown script for awesome wm

    I`m writing a shutdown script for my awesome wm.
    it looks like this
    [c!/bin/bash
    ACTION=`zenity --width=90 --height=200 --list --radiolist --text="Select logout action" --title="Logout" --column "Choice" --column "Action" TRUE Shutdown FALSE Reboot FALSE LockScreen FALSE Suspend`
    if [ -n "${ACTION}" ];then
    case $ACTION in
    Shutdown)
    #zenity --question --text "Are you sure you want to halt?" &&
    dbus-send --system --print-reply \
    --dest=org.freedesktop.ConsoleKit \
    /org/freedesktop/ConsoleKit/Manager \
    org.freedesktop.ConsoleKit.Manager.Stop
    Reboot)
    #zenity --question --text "Are you sure you want to reboot?" && gksudo reboot
    dbus-send --system --print-reply \
    --dest=org.freedesktop.ConsoleKit \
    /org/freedesktop/ConsoleKit/Manager \
    org.freedesktop.ConsoleKit.Manager.Restart
    Suspend)
    #gksudo pm-suspend
    dbus-send --system --print-reply --dest=org.freedesktop.Hal \
    /org/freedesktop/Hal/devices/computer \
    org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
    LockScreen)
    slock
    esac
    fi
    and i makedd it executable with chmod +x. But it sims that she is not working.When i run it as root the script works.And when i run it like user onli suspend semams to working.

    You don't have to use the deprecated hal! Here are my scripts which I use(d). All you need is
    exec ck-launch-session awesome
    in your .xinitrc.
    shutdown
    #!/bin/bash
    dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
    reboot
    #!/bin/bash
    dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
    hibernate
    #!/bin/bash
    dbus-send --system --print-reply --dest="org.freedesktop.DeviceKit.Power" /org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.Hibernate
    and suspend
    #!/bin/bash
    dbus-send --system --print-reply --dest="org.freedesktop.DeviceKit.Power" /org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.Suspend
    Last edited by Army (2010-12-25 20:42:09)

  • Shutdown script for linux

    Hi,
    I'm looking for a shutdown script for linux to put it in crontab and another for startup. Do you have any ?
    Thanks.

    OK, you can cron following commands (assume that all Oracle related env variables are set. We are setting ORACLE_SID just to ensure that we will be working with the right instance):
    59 7 * * *     su - oracle -c "export ORACLE_SID=ORCL; echo 'startup' | sqlplus -s '/ as sysdba' >>/dev/null" 2>&1
    31 16 * * *      su - oracle -c "export ORACLE_SID=ORCL; echo 'shutdown immediate' | sqlplus -s '/ as sysdba' >>/dev/null" 2>&1

  • Startup and Shutdown scripts for OCS 9.0.4 on Windows?

    Hi,
    I wanted to know if startup and shutdown scripts for OCS 9.0.4 on Windows are available.
    I am thinking something like the ocsctl_sample scripts that OCS10g included.
    I have checked the OCS 9.0.4 documentation and not a lot of information for the windows platform is avaiable.
    Any information will be appreciated.
    Thanks,
    Ana

    There is no scripts that comes with 9.0.4.
    One possibility is to just write the commands you normally use in a batch-file, but note that then you have no checking, and if OCS runs on several machines you should have some checking for required processes etc.
    We are using some scripts that does this, but I'm not shure where they came from, possibly from Metalink or from this forum. Try a search. Our scripts are changed quite a bit for our needs, but I might be able to find the original ones.

  • Error in shutdown script for bea weblogic

    We have this error in the shutdown script of our bea weblogic:
    ./stopWebLogic.sh[33]: -Xms256m: not found.
    using the Oracle OCI database driver
    Shutdown initiated
    The shutdown sequence has been initiated.the script is as follows:
    echo "using the Oracle OCI database driver"
    export ORACLE_HOME=/opt/oracle/product/8.1.7
    export NLS_LANG=AMERICAN_AMERICA.UTF8
    export ORACLE_CLIENT_VERSION=817
    export ORACLE_API_VERSION=8
    PATH=$PATH:$ORACLE_HOME/bin
    SHARED_LIBRARY_PATH=$WEBLOGIC_HOME/lib/hpux11:$WEBLOGIC_HOME/lib/hpux11/oci$ORACLE_CLIENT_VERSION\_$ORACLE_API_VERSION:$ORACLE
    _HOME/lib
    PATH=$JDK_HOME/bin:$PATH
    export PATH
    # Set application specific variables
    DOMAIN_NAME=eGovStarters
    SERVER_NAME=MyServer
    WLS_PW=weblogic
    # change to domain directory
    cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
    # Allow other users in group to see created files - i.e. logfiles
    umask 027
    # Set system classpath initially to contain WebLogic product JARs
    CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
    #!/bin/sh
    # Weblogic start script for egovernment
    # Based on Colin Brick's initial version
    # Modified 02/04/03 - Colin Brick
    #       - included settings for Oblix from using SSO Assembly Test as example
    # Set General environment variables (Should normally not be changed)
    #Java settings
    JDK_HOME=/opt/bea/jdk131/
    export JDK_HOME
    JAVACMD=java
    JAVA_OPTIONS=""-server -Xms1024m -Xmx1024m -Xmn320m -XX:SurvivorRatio=8 -Xverbosegc:file=/opt/bea/wlserver6.1/config/eGovStart
    ers/logs/gc.log -Dweblogic.system.gc.enabled=false ""
    export JAVA_OPTIONS
    WEBLOGIC_PORT=51080
    #Bea settings
    BEA_HOME=/opt/bea
    export BEA_HOME
    WEBLOGIC_HOME=/opt/bea/wlserver6.1
    export WEBLOGIC_HOME
    BEA_SECURITY_POLICY=/opt/bea/wlserver6.1/lib/weblogic.policy
    export  BEA_SECURITY_POLICY
    #Oracle settings
    echo "using the Oracle OCI database driver"
    export ORACLE_HOME=/opt/oracle/product/8.1.7
    export NLS_LANG=AMERICAN_AMERICA.UTF8
    export ORACLE_CLIENT_VERSION=817
    export ORACLE_API_VERSION=8
    PATH=$PATH:$ORACLE_HOME/bin
    SHARED_LIBRARY_PATH=$WEBLOGIC_HOME/lib/hpux11:$WEBLOGIC_HOME/lib/hpux11/oci$ORACLE_CLIENT_VERSION\_$ORACLE_API_VERSION:$ORACLE
    _HOME/lib
    PATH=$JDK_HOME/bin:$PATH
    export PATH
    # Set application specific variables
    DOMAIN_NAME=eGovStarters
    SERVER_NAME=MyServer
    WLS_PW=weblogic
    # change to domain directory
    cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
    # Allow other users in group to see created files - i.e. logfiles
    umask 027
    # Set system classpath initially to contain WebLogic product JARs
    CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
    domain_NAME=eGovStarters
    SERVER_NAME=MyServer
    WLS_PW=weblogic
    # change to domain directory
    cd $WEBLOGIC_HOME/config/$DOMAIN_NAME
    # Allow other users in group to see created files - i.e. logfiles
    umask 027
    # Set system classpath initially to contain WebLogic product JARs
    CLASSPATH=$WEBLOGIC_HOME:$WEBLOGIC_HOME/lib/weblogic.jar
    #Set the shared library path
    if [ -n "$SHLIB_PATH" ]; then
            SHLIB_PATH=$SHLIB_PATH:$SHARED_LIBRARY_PATH
    else
            SHLIB_PATH=$SHARED_LIBRARY_PATH
    fi
    export SHLIB_PATH
    # Start weblogic
    # change to weblogic home
    cd $WEBLOGIC_HOME
    PATH=$WL_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:$PATH
    $JAVACMD -classpath $CLASSPATH -Dbea.home=$BEA_HOME -Dweblogic.Domain=$DOMAIN_NAME -Dweblogic.Name=MyServer weblogic.Admin -ur
    l t3://localhost:$WEBLOGIC_PORT -username system -password $WLS_PW SHUTDOWNIt has obviously something to do with the line
    JAVA_OPTIONS=""-server -Xms1024m -Xmx1024m -Xmn320m -XX:SurvivorRatio=8 -Xverbosegc:file=/opt/bea/wlserver6.1/config/eGovStart
    ers/logs/gc.log -Dweblogic.system.gc.enabled=false ""I googled for this Xms1024m, Xmx1024m and it turns out to be for memory management for the java virtual machine.
    I don't know why it sais it can't find "-Xms256m" since it's not in the script.
    Anyone with some experience in this field who can help me out?

    ./stopWebLogic.sh[33]: -Xms256m: not found.
    this can be produced by something like this:
    javaoptions="-Xms256m" // or other option too
    $javacmd $javaoptions
    Now if javacmd has not been set, then $javacmd will be evaluated to the empty string, and the program to look for is the first part in $javaoptions, -Xms256m in our case.

  • Problem using ant 1.6.2 scripts for weblogic 8.1

    hai,
    i downloaded ant 1.6.2 and started writting ant scripts. these ran fine when i am doing jobs related to websphere application server but they are failing when i am running the same targets in weblogic.
    i know that this problem is mainly due to the old version of inbuilt ant provided by the weblogic.
    i use import,input,condition tasks in my code and when ever run the ant scripts in weblogic its saying that these targets can not be found.
    i am in great need for help, any one please help me how to make these newer version of ant scripts to work in weblogic.i have no choice but to use these tasks as the design requires using them.
    i will be greatly indebted to the replier as i am wasting lot of time for this.

    Hello,
    I could not find an easy way to get the wls version of ant to start using the tasks you mention from ant 1.6.2.
    I tried defining the tasks using taskdef and also adding them to wls ant.jar and updating the deafult.properties file but the ant complained about unexpected elements in the build.xml file where I added the new tags (e.g import)
    If your really up against it you can try adding wls tasks to ant 1.6.2, they are listed here:
    http://e-docs.bea.com/wls/docs81/toolstable/ToolsTable.html#1009580
    Although I could not located exactly which jar they are in. Good luck.
    Cheers
    Hussein Badakhchani
    www.orbism.com

  • Startup/Shutdown script for OBIEE 11.1.1.5.0 on Linux

    There was a very good thread on start/stop scripts for Oracle BI 11.1.1.3.0 that can be found at
    https://forums.oracle.com/forums/thread.jspa?messageID=9896816#9896816Now OBI11.1.1.5.0 is out and I tried to use the scripts in the post to start OBI 11.1.1.5.0 after system reboot. I did the following
    1) saved the scripts modified with my environemnt variables in /etc/init.d
    2) login as root
    3) issue command, and got in std out right away
    # service obiee start
    Starting Oracle Business Intelligence on Tue Sep 27 10:39:31 PDT 2011
    Logs are sent to /var/log/obiee-start.log
    4) check the log file
    [oracle@cchdb ~]$ tail -f /var/log/obiee-start.log
    at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:261)
    at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Truncated. see log file for complete stacktrace
    >
    <Sep 27, 2011 10:39:54 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Sep 27, 2011 10:39:54 AM PDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Sep 27, 2011 10:39:54 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    5) Check running processes
    [root@cchdb oracle]# ps -fe|grep obiee
    root 9332 1 0 10:39 pts/2 00:00:00 /bin/bash /etc/init.d/obiee start
    oracle 9452 9179 0 10:39 pts/1 00:00:00 tail -f /var/log/obiee-start.log
    root 9481 9305 0 10:40 pts/2 00:00:00 grep obiee
    OBI is not started. Can some one help ?

    Tried various things and has a work around.
    First of all, cannot make WLST work for me. Then tried manually step by step as described in reference https://forums.oracle.com/forums/thread.jspa?messageID=9896816#9896816 that is in fact agree with document e10541.
    1) Start Admin Server and response to prompt to username/password
    <BI Domain Home>/bin/startWebLogic.sh
    2) Start node manager
    $WL_PATH/startNodeManager.sh
    3) Start managed Server with Weblogic Server Admin Console
    4) Start System Components with opmnctl
    ./opmnctl startall This works with the following notes1) Do step one in backgroumd not work, cannot response the username/password prompt properly.
    2) If change WLS_USER and WLS_PW in <BI Domain Home>/bin/startManagedWebLogic.sh as in the reference cited abover, step 1 still prompt for username and stops right after username is provided.
    3) Step 3 does not work if use command line
    <BI Domain Home>/bin/startManagedWebLogic.sh bi_server1 http://<admin_server_host_name>:7001
    Has to use UI tool Weblogic Server Admin Console.  Question1) How to provide username/password to startWebLogic.sh to allow run it in background
    2) How to provide username/password to startManagedWebLogic.sh to allow run it in background

  • Ant scripts for weblogic 10.3

    can any one send me antscripts for weblogic 10.3 for creating,configuring the domains
    and deploying applications(stage,nostage and external_stage)
    thanks & regards
    abhi
    Edited by: user10759597 on Jan 6, 2009 3:23 AM

    hi john,
    firstly thanks for ur reply...
    i tried ant scripts to deploy the applications but when i deploy the in any modes (stage,nosatge and external_stage) i'm getting errors...
    kindly pls send me some ant scripts for deployments in all modes
    or
    send the syntax to deploy the application in stage, no stage and external_stage modes
    i think u got my request right?
    thanks in advance
    abhi

  • Ant build script for WebLogic Portal 10.3 projects

    Hi Friends,
    I am going thru this document http://download.oracle.com/docs/cd/E12840_01/wlw/docs103/guide/ideuserguide/build/conUseCustomAntBuild.html#metadata about building ant script for my portal project. The document does not state few things clearly. Can you please help me to understand.
    It says:
    To Build an EAR File Using the Ant Script:
    1. Generate the Ant script for each project in the EAR.
    2. Generate the Ant script for the EAR project.
    3. Configure the execution environment of your shell by executing wl.home/common/bin/commEnv.sh
    4. Change to the Eclipse directory for the EAR project.
    5. Execute the desired target in the EAR project's Ant script as follows:
    ant build archive -Dworkspace=workspacepath
    A) When I generate ant script, workshop generates build.xml file in each project directory and that includes EAR project as well. Then, point 2 is not clear, how do I generate another ant script (build.xml) for the EAR project?
    B) I do not understand, "change to the eclipse directory for the EAR project". Does it mean, change to the directory of EAR project folder which has build.xml?
    C) in step-5, execute the desired target, when I execute it, how it will know where are other build.xml files for other projects?
    Regards,
    JT

    Hi Greg,
    I moved little bit but then got stuck with new kind of error.
    a. First of all, my application has a 'data' project (.usr) file. When I try to generate ant scripts (build.xml), it says that 'data' project is not compatible with Workshop ant scripts. However, Workshop inbuilt EXPORT->EAR is able to build the projects without any error.
    b. So, I thought, let's put a dummy build.xml file under 'data' project directory. This let ant build to proceed further. However, now it fails with error that <web project>/build.xml (line no. 122). Which is nothing but memory declaration (memoryMaximumSize="1024m"). The error says, 'unable to launch apt compiler', I am not able to understand what is it? The other projects' (ejb, controls etc.) build.xml has this declaration but they did not give this error, they built fine.
    <web project>/build.xml
    <target name="build" depends="init" description="compiles the source files; does not package the results">
    <if>
    <isreference refid="apt.factory.path"/>
    <then>
    <mkdir dir="${apt.src.output.dir}"/>
    <for-each-java-src-path>
    <if>
    <available file="${.java.src.dir}"/>
    <then>
    <mkdir dir="${.java.src.output}"/>
    <apt
    sourcepath="${java.sourcepath}"
    srcdir="${.java.src.dir}"
    includes="${.java.src.include}"
    excludes="${.java.src.exclude}"
    destdir="${.java.src.output}"
    preprocessdir="${apt.src.output.dir}"
    classpathref="java.classpath"
    factorypathref="apt.factory.path"
    options="${apt.options}"
    compile="false"
    memoryMaximumSize="1024m"/>
    </then>
    </if>
    </for-each-java-src-path>
    </then>
    </if>
    Regards,
    JT
    Edited by: user6917422 on Apr 1, 2009 9:29 PM
    Edited by: user6917422 on Apr 1, 2009 9:57 PM

  • EP6.0 SP2 startup/shutdown scripts for Windows/MMC

    Does anyone have scripts to automate the starting/stopping of EP6.0?  I'm using the Startup Framework to start/stop EP6.0 manually but need an automated process to use for scheduled backups.  There is a document called "Startup and Shutdown of Enterprise Portal 6.0 SP2" that specifies the command "shutdown -h localhost:<p4 port>" which shuts down the portal but the processes automatically restart.  I've tried using jcontrol in a batch file to start the portal but the red-yellow-green status in MMC does not reflect the status of the portal when it's started outside MMC.  Any feedback would be welcome.
    Kind regards,
    Rex L. Farris

    Hi Rex,
    please have a look at the note 748713: Central note - Usage of startup framework with EP 60 SP2.
    It states that unattendes shutdown is not supported in Windows Environment.
    Anyway you can:
    - follow the hint suggested in the note to manage start / stop of the portal;
    - use startsap / stopsap commands with this syntax:
       stopsap name=<instance> nr=<nr> SAPDIAHOST=<hostname>
    Hope this can help,
    Regards,
    Alessandro.

  • TREX startup/shutdown script for Windows 2003

    Hi ,
    I am looking for a script that would do a startup/shutdown of TREX servers/services on  Windows 2003.  I am not sure if I have posted this on the right forum.  Also, why is the TREX hanging and going into a dormant mode when not used?
    Is there a SAP note for the above.
    Would really appreciate any assistance.
    Thank you.
    Ramesh Srinivasan.

    Hi again,
    sorry my bad, I misunderstood your question. Indeed what the script does now is wait for the different components of BIEE to start and stop, whatever time they take for that. On my system (a dual-quad DL380 with 64GB RAM) the whole process still takes about 4 min. However this should not be too much of a pb to you since this BI reboot operations should really be exceptional, not much more frequent than system or database reboots in fact.
    On the other hand the BI processes restart from within Fusion Middleware Control are much more frequent and should be much quicker (about a couple dozen seconds).
    Maybe by looking at the startup logs (/var/log/obiee-start.log) you may identify some time-consuming operation. I remember that during initial setup I had some long timeouts when the managed server tried to contact the admin server on port 7001 and could not for whatever reason (firewall for instance). One thing to do might be to watch the startup process in real time by monitoring the log file (tail -f /var/log/obiee-start.log).
    Hope this helps,
    Chris

  • Startup and shutdown script for EP 60SP2 Unix

    Does anyone have a working script to shutdown and startup EP 60 SP2 on unix (solaris) that they would like to share.....
    Needed for sys ops to be able to log n and stop and start....and for admins to start and stop at the unix if server needs rebooted (for solaris patches, scheduled maintenance windows etc etc)
    Thanks
    John Ryan

    Hi John,
    The scripts below can be used to start the J2EE engine/portal so it gets you halfway there (doesn't stop).  The script also creates the log ouput under the tmp directory).  Then from a command you just have to type startdisp.sh or whatever script you're trying to run.
    PS. If you have your r3startup service set to automatic, you can just use the dispatcher script below.
    Hope this helps.
    Marty
    UNIXSERVER% more startdisp.sh
    #!/bin/ksh
    nohup cluster/dispatcher/go > /tmp/dispatcher.$$.out 2>&1 &
    UNIXSERVER% more startserver.sh
    #!/bin/ksh
    nohup cluster/server/go > /tmp/server.$$.out 2>&1 &
    UNIXSERVER% more startstate.sh
    #!/bin/ksh
    nohup cluster/state/go > /tmp/state.$$.out 2>&1 &

  • Start up and shutdown scripts for Oracle R12 in Windows XP

    I succesfully installed R12.1.1 in Windows XP and logged onto the Vision without any issues. But after restarting my PC, I am unable to restart (I dont know how to restart) the services.
    I see the other threads that talk about the same scripts in Linux environment.
    If anyone knows - how to start and shutdown R12 services in Windows environment, Plz share.
    Thanks.
    Edited by: SanDan on Jul 13, 2012 10:08 AM

    SanDan wrote:
    I succesfully installed R12.1.1 in Windows XP and logged onto the Vision without any issues. But after restarting my PC, I am unable to restart (I dont know how to restart) the services.
    I see the other threads that talk about the same scripts in Linux environment.
    If anyone knows - how to start and shutdown R12 services in Windows environment, Plz share.Managing Server Processes
    http://docs.oracle.com/cd/E18727_01/doc.121/e13675/T530130T530133.htm#5274555
    Thanks,
    Hussein

Maybe you are looking for

  • Lots of blank space when printing array with only last element printed

    I have a slight problem I have been trying to figure it out for days but can't see where my problem is, its probably staring me in the face but just can't seem to see it. I am trying to print out my 2 dimensional array outdie my try block. Inside the

  • Artifacts in Final Cut Pro

    Let me first start off by saying that I am new to the Shake realm but have been a long time editor with Final Cut Pro. With that said, I am running Final Cut 5.1.1 and I sent a clip from my timeline to Shake to use the smoothcam node. After I tweaked

  • GPO vs. Eastwest Silver

    I'm looking to get a decent (but cheap) orchestral sample library. I've had some experience with Garritan Personal Orchestra, but I've heard that Eastwest in general makes better sounds. As GPO and Eastwest Silver are roughly in the same price range,

  • Executing query error: System error in program SAPLRRI2 and form REP_A

    Hello Experts, I am facing problem while executing query. I have activated a query from BI content. The query is activated successfully in development and running successfully in development, so I transported the same into QA. When I execute this que

  • Call other html page on using a java applet!!

    Can I call other html page using a function into a java Applet? Please, somebody reply!!!