Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I set up the WebLogic Server to execute whenever I reboot the UNIX server?

0
Posted

How do I set up the WebLogic Server to execute whenever I reboot the UNIX server?

0

You can add a startup script to your UNIX rc scripts to run the WebLogic Server at UNIX boot time. Here is an example from an HP-UX 11 system, running under JDK 1.1. You need to supply the URL for your WebLogic Server and your system password. This file, wlstart, is placed in the /sbin/init.d directory and there is a link to it in the /sbin/rc2.d directory: export SHLIB_PATH=\ /home/user1/weblogic/lib/hpux11:/oracle/8.0.4/lib export CLASSPATH=/home/user1/weblogic/classes:\ /home/user1/weblogic/lib/weblogicaux.jar export ORACLE_HOME=/oracle/8.0.4 export ORACLE_SID=DEMO export ORACLE_TERM=vt100 export QAT=/home/user1/weblogic cd $QAT PATH=/sbin:/usr/sbin:/usr/bin:/opt/java/bin export PATH case $1 in ‘start’) java -ms64m -mx64m -verbosegc weblogic.Server > \ /home/user1/weblogic/server.out 2>&1 ;; ‘stop’) java weblogic.Admin URL shutdown system password ;; *) echo “usage: $0 {start|stop}” ;; esac You should work with your UNIX system administrator to set up scripts similar to this for you

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123