Configuring startWebLogic.sh for Red Hat Linux 7.2

I was successful in configuring and executing startWeblogic.cmd, but have not been
so lucky getting the equivalent to run on Red Hat 7.2 using startWebLogic.sh.
For starters, even before I began editing startWeblogic.sh and just tried running
I received the following error:
: command not found
: command not found
: command not found
: command not found
startWebLogic.sh: line 59: syntax error near unexpected token `elif'
'tartWebLogic.sh: line 59: `elif [ ! -f $WL_HOME/lib/weblogic.jar ]; then
I've included both my startWebLogic.cmd and startWebLogic.sh files so that you
can see what I'm trying to port to the sh file. I'm hoping I'm close to getting
this to execute and run within Linux so please accept my thanks in advance to
anyone who might have some suggestions. Interestingly enough I was able to get
wls to start using ant, but that is obviously only good for my development env.
The point being I'm hoping I'm close to reaching a solution.
Below is what my startWebLogic.cmd file looks like:
@echo off
@rem This script can be used to start WebLogic Server. This script ensures that
@rem the server is started using the config.xml file found in this directory and
@rem that the CLASSPATH is set correctly. This script contains the following variables:
@rem
@rem JAVA_HOME - Determines the version of Java used to start
@rem WebLogic Server. This variable must point to the
@rem root directory of a JDK installation and will be set
@rem for you by the WebLogic Server installer. Note that
@rem this script uses the hotspot VM to run WebLogic Server.
@rem If you choose to use a JDK other than the one
@rem included in the disribution, make sure that the JDK
@rem includes the hotspot VM. See the WebLogic platform support
@rem page (http://e-docs.bea.com/wls/platforms/index.html)
@rem for an up-to-date list of supported JVMs on Windows NT.
@rem
@rem When setting these variables below, please use short file names (8.3).
@rem To display short (MS-DOS) filenames, use "dir /x". File names with
@rem spaces will break this script.
@rem
@rem jDriver for Oracle users: This script assumes that native libraries
@rem required for jDriver for Oracle have been installed in the proper
@rem location and that your system PATH variable has been set appropriately.
@rem For additional information, refer to Installing and Setting up WebLogic
@rem Server (http://e-docs.bea.com/wls/docs61/install/index.html).
SETLOCAL
cd ..\..
title WebLogic Server
@rem Set user-defined variables.
set JAVA_HOME=T:\bea\jdk131
if "%CLOUDSCAPE_HOME%"=="" set CLOUDSCAPE_HOME=T:\Cloudscape_3.6
if "%LOG_HOME%"=="" set LOG_HOME=T:\jakarta-log4j-1.2
if "%JIKES_HOME%"=="" set JIKES_HOME=T:
if "%BAS_ORACLE_HOME%"=="" (set ORAPATH=) else (set ORAPATH=%BAS_ORACLE_HOME%\ORA90\JDBC\LIB\classes12.zip;%BAS_ORACLE_HOME%\ORA90\JDBC\LIB\nls_charset12.zip;)
@rem Check that script is being run from the appropriate directory
if not exist lib\weblogic.jar goto wrongplace
goto checkJDK
:wrongplace
echo startWebLogic.cmd must be run from the config\blueagave directory. 1>&2
goto finish
:checkJDK
if exist "%JAVA_HOME%/bin/javac.exe" goto runWebLogic
echo.
echo Javac wasn't found in directory %JAVA_HOME%/bin.
echo Please edit the startWebLogic.cmd script so that the JAVA_HOME
echo variable points to the root directory of your JDK installation.
goto finish
:runWebLogic
echo on
set PATH=.\bin;%PATH%
set CLASSPATH=.;%ORAPATH%.\lib\weblogic.jar;%CLOUDSCAPE_HOME%\lib\cloudscape.jar;%LOG_HOME%\dist\lib\log4j-1.2.jar;.\config\blueagave\serverclasses
echo off
echo.
echo ***************************************************
echo * To start WebLogic Server, use the password *
echo * assigned to the system user. The system *
echo * username and password must also be used to *
echo * access the WebLogic Server console from a web *
echo * browser. *
echo ***************************************************
@rem Set WLS_PW equal to your system password for no password prompt server startup.
set WLS_PW=xxxx
@rem Cloudscape-specific defines
set CLOUDSCAPE_DEFINES=-Dcloudscape.system.home=./config/blueagave/data -Dcloudscape.storage.pageCacheSize=200
-Dcloudscape.language.statementCacheSize=200
@rem Set Production Mode. When set to true, the server starts up in production
mode. When
@rem set to false, the server starts up in development mode. The default is false.
if "%STARTMODE%"=="" set STARTMODE=true
@rem Add the following -D option to the JVM WL start-up command (after %CLASS_PATH%)
to change
@rem the query execute mode. The default is JDBC_ONLY and the other choices are
EIS_ONLY,
@rem BOTH_JDBC and BOTH_EIS (the two "BOTH_XXXX options internally execute both
versions of the
@rem query but only the results of the _XXXX form are returned to the query submitter).
@rem -Dcom.blueagavesoft.query.ExecMode=BOTH_JDBC
echo on
"%JAVA_HOME%\bin\java" -hotspot -Xms192m -Xmx192m -XX:MaxPermSize=64m -classpath
"%CLASSPATH%" -Dweblogic.Domain=blueagave -Dweblogic.Name=baserver -Dbea.home=T:\bea
-Dweblogic.management.password=%WLS_PW% -Dweblogic.ProductionModeEnabled=%STARTMODE%
%CLOUDSCAPE_DEFINES% -Djava.security.policy==T:\bea\wlserver6.1/lib/weblogic.policy
%JAVA_DEBUG% weblogic.Server
goto finish
:finish
cd config\blueagave
ENDLOCAL
[startWebLogic.sh]

Thanks Micheal!
"Michael Young" <[email protected]> wrote in message
news:[email protected]..
Hi.
download here: http://commerce.bea.com/downloads/weblogic_server.jsp
installation instructions here:
http://edocs.bea.com/wls/docs61/install/index.html
Regards,
Michael
Help Needed wrote:
Hi All
Where can i download weblogic for red hat linux 7.2? Does that come
with
instruction on how to install it and if not where can i find the
instruction!!
Any will will be appricated.
Michael Young
Developer Relations Engineer
BEA Support

Similar Messages

  • Can't install Oracle 9i for Red Hat Linux AS3

    I can't install Oracle Database 9i for Red Hat Enterprise Linux.
    Please see messages following:
    [oracle@rhas3 oracle]$ /mnt/cdrom/install/linux/runInstaller
    Initializing Java Virtual Machine from /tmp/OraInstall2004-01-30_03-31-11PM/jre/bin/java. Please wait...
    /tmp/OraInstall2004-01-30_03-31-11PM/jre/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
    [oracle@rhas3 oracle]$rpm -qa|grep libstdc++|less
    libstdc++-3.2.3-20
    libstdc++-ssa-3.5ssa-0.20030801.41
    libstdc++-devel-3.2.3-20
    libstdc++-ssa-devel-3.5ssa-0.20030801.4
    anybody know how to install for RH AS3, I have tried many time to find out the libraries but still not work and I've plan for RAC also.
    Ched

    Did you carefully go through all pre-req steps for install?
    Oracle needs some "compatibility libraries" as well (compat-lib*). Here are packages for AS 10g, most or all of which apply to Database too.
    Checking operating system packages: gcc-3.2.3-20,compat-gcc-7.3-2.96.122,compat-gcc-c++-7.3-2.96.122,compat-libstdc++-7.3-2.96.122,compat-libstdc++-devel-7.3-2.96.122,setarch-1.3-1,pdksh-5.2.14,sysstat-4.0.7,gnome-libs-1.4.1.2.90-34.1,libstdc++-3.2.3,compat-libstdc++-devel-7.3-2.96.122,compat-glibc-7.x-2.2.4.32.5
    When required packages are in place, there's another error lurking, related to __libc_wait symbol.
    runInstaller "boots" OUI, which includes running a JRE from tmp. This JRE (build 02) is broken, but you can setup to run another one via oraparam.ini and JRE_LOCATION. Download build 10 from Sun (google "jre 1.3.1 download").

  • How to use clamav anti-virus for Red Hat linux

    I wanted to know how to use clamAV anti-virus solution for RHEL 5.X. I tried to find it online but the information does not seem consolidated. I wanted to understand how to install and use it to scan the system.
    Requesting a reply to my query.
    Regards

    Moderator Action:
    This question has no relationship whatsoever with functionality involving anything "Oracle".
    You should ask your Red Hat Linux questions at a Red Hat support forum.
    Thread is now locked because it is outside the scope of this forum discussion space.

  • OSP support for Red Hat Linux Advanced Server 5.0

    Wondering, if anybody tried to install Red Hat Linux Advanced Server 5.0 with N1 SPS OSP? Does it work as with Red Hat Linux Advanced Server 4.0?
    Thorleif Wiik

    The current official GA date for SPS 6.0 is Aug 20. There is a follow-on release for plug-ins and the MS/CLI on Windows. This is currently scheduled for some time in September.

  • Jinitiator for Red Hat Linux Enterprise Edition 3

    Hello Technocrats,
    I need your reply for our very critical situation asap.
    We have Red Hat Linux EE 3 hosted in all developers PC. Oracle Application 11.5.5 is hosted in a Sun Ultra1 server. Now we have licence for Oracle Developer Suite 10g for RH Linux 3.
    My question is , will Oracle Jinitiator for the OS compatible be installed at time of iDS installation??
    do we need to grab any specific Oracle Jinitiator for E-Business Suite in this regard??
    Is Oracle Jinitiator avbl for Linux platforms. If not wat will be the solution for executing a E-Business module form in a Mozilla web browser in Linux Pc's
    Kindly give all your valuable suggestions asap....... awaitng your reply

    See http://www.oracle.com/technology/products/forms/htdocs/10g/clientsod_forms10g.html for information on officially supported configs.
    The only certification I can see for Redhat is using Sun JPI 1.4.2. The Sun JPI certification was added with the latest patchset (9.0.4.2.0). I know Oracle was planning on certifying Forms 10.1.2 for Sun JPI 1.4.2 and 1.5, but I'm not sure if they managed in the end. Forms 10.1.2 is already available.
    We decided to go for Sun JPI and not JInitiator because we have hundreds of external users. Their sysadmins are much more comfortable installing Sun JPI then they are installing the (unknown) Oracle JInitiator.
    I've written a number of blog articles about our Sun JPI confguration at http://www.oratransplant.nl/category/oracle/forms/

  • Oracle 8i Internet for Red Hat Linux

    Hi all,
    Can any one help me on this. I have setting up Red Hat Linux 6.2 and JRE 1.1.6v5-glibc also installed on /usr/local/jre directory. But when I try to run "runInstaller" from the oracle cdrom. I have the following error:
    Initializing Java Virtual Machine from /usr/local/jre/bin/jre Please wait ...
    Error in Create OUIProcess(): -1
    :Bad address
    Any one can tell me what is the problem.
    Thank you

    Let me try again. I was to fast with the enter key. There is a known bug with the installer. The work around is to use the runInstall.sh that is in the subdirectory /install/linux. If you have your environment variables setup correctly this should work, also you need a minimum of 128 meg of ram on the machine.
    Hope this helps.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by hhtham ():
    Hi all,
    Can any one help me on this. I have setting up Red Hat Linux 6.2 and JRE 1.1.6v5-glibc also installed on /usr/local/jre directory. But when I try to run "runInstaller" from the oracle cdrom. I have the following error:
    Initializing Java Virtual Machine from /usr/local/jre/bin/jre Please wait ...
    Error in Create OUIProcess(): -1
    :Bad address
    Any one can tell me what is the problem.
    Thank you<HR></BLOCKQUOTE>
    null

  • Download oracle 11g/10g for red hat linux

    hi,
    I have installed VM WARE on my laptop now want to download linux ISO and Oracle ISO.
    could you please tell me whcih linux version i have to install which support oracle for linux.
    from where i get that
    -linux installation files
    -oracle installation files
    both the above will install on oracle vm ware
    thanks
    Edited by: hard_stone on Sep 30, 2009 11:33 PM

    hard_stone wrote:
    hi,
    I have installed VM WARE on my laptop now want to download linux ISO and Oracle ISO. Red Hat, Centos and Oracle Enterprise Linux are almost identical. The major differences are:
    - Red Hat and Oracle Enterprise Linux are officially supported by Oracle to be used under Oracle products;
    - CentOS is NOT officially supported
    - the newer Oracle Enterprise Linux (OEL) includes an 'oracle-validate' rpm to reduce configuration guessing
    Each Distro has it's purpose. I use SUSE and OpenSUSE for my office. And for general servers I use RedHat (when I need commercial support) and CentOS. I fully support CentOS and the CentOS community effort.
    However, for the past year I have ONLY used Oracle Enteprise Linux under Oracle product. It is free, it is officially supported, if I need commercial support I can get it, and it has the Oracle Validated RPM to minimize my config effort. http://edelivery.oracle.com
    So, as compared to the other respondent - I encourage using OEL and NOT CentOS.

  • Configure oracle rac10g on Red Hat Linux Enterprise 4 and vmware

    Can anybody tell how can I configure Oracle 10g RAC using Vmware and Red Hat Enterprise Linux 4. I have two installations of Linux on vmware and I am able to ping inbetween two. A document will do the most.

    http://www.scribd.com/doc/320791/Install-Oracle-RAC-10g-on-Oracle-Enterprise-Linux-Using-VMware

  • Corruct VMWare for WebLogic Platform 8.1 SP4 for Red Hat Linux

    Hi,
    I have downloaded the image *.zip file following instructions in http://dev2dev.bea.com/wlplatform/vmware/index.html
    (I have try all the download locations Asia, Europe and Noth America) BUT when I try to unziped it, one of the files is corrupt?
    Does any one know how do I contact BEA support to inform them and where can I download an error free *.zip image?
    Cheers,
    Carlos
    Message was edited by:
    carestra

    Hi,
    I've got the same problem. dbassist and svrmgrl give me the same errors.
    I'm using Oracle 8.1.6.1.0 on Mandrake 7.1. With the 2.2.15-4mdksecure kernel.
    SVRMGR> CONNECT INTERNAL
    Connected
    SVRMGR> STARTUP NOMOUNT
    ORA-00445: background process "PMON" did not start after 120 seconds
    SVRMGR> (SQL stuff...)
    ORA-03114: not connected to ORACLE
    Any ideas?
    This is driving me nuts!!!
    Thx
    Johan
    null

  • Kernel Parameters on Red Hat Linux

    The installation instructions require us to set cetain kernel
    parameters, such as SHMMAX, SHMSEG, SEMMNS, and so on.
    Does anyone know how this is done for Red Hat Linux? I have
    been hunting around the documentation and public domain web-
    sites for a couple of weeks now and I haven't found any
    reference to how to set these parameters.
    Eternally grateful for any insights...
    Cheers!
    Stuart Housden
    null

    I had problems with 8i and 32Meg of SHMMAX (sometimes, when I
    published an EJB, Oracle crashed). I didn't recompiled the
    kernel, only did
    echo 134217728 > /proc/sys/kernel/shmmax.
    This limited the maximum shared memory to 128Meg (I installed
    with JavaVM enabled), and I my problems got away.
    Robson.
    Anwar (guest) wrote:
    : Stuart Housden (guest) wrote:
    : : The installation instructions require us to set cetain kernel
    : : parameters, such as SHMMAX, SHMSEG, SEMMNS, and so on.
    : : Does anyone know how this is done for Red Hat Linux? I have
    : : been hunting around the documentation and public domain web-
    : : sites for a couple of weeks now and I haven't found any
    : : reference to how to set these parameters.
    : : Eternally grateful for any insights...
    : : Cheers!
    : : Stuart Housden
    : This question was replied to multiple times on the list before,
    : but here goes. Check out:
    : http://jordan.fortwayne.com/oracle
    : Basically, you have to edit the kernel header files, and
    : recompile the kernel. Read the Kernel-HOWTO too.
    : Anwar.
    null

  • TD340 Red Hat Linux 6.4 during start up give Kernel Panic

    I am a newbie and please forgive my newness
    I recently bought a TD340 with 32GB Ram, OB SAS RAID 300.
    While using the ThinkServer EasyStart up to configure the installation of Red Hat Linux 6.4. I am able to finish the installation successfull, however, after the installation is completed and and Linux 6.4 boots up, in the middle of the start up a I get the following message:
    Kernel Panic - not syncing - attempted to kill
    Pid: 1 comm: init not tainted 2.6.39-400.17.1
    Call Trace:
    and it nevers boots up sucessfully.
    Any help would be appreciated.

    It clearly mentions its bootstrap issue in Java stack. The bootstrap log files can be found in /usr/sap/<SID>/JC<XX>/work/ folder.
    dev_bootstrap* ; log_bootstrap* ;   jvm_bootstrap*.
    In one of these files, it will be mentioned, synchronization exception...Database initialization failed.
    90% of the issue is caused dude to Database not getting initilized or its not connected or userauthorizations missing or driver class secured in the Secure store is incorrect.
    Troubleshooting J2EE Engine 6.40/7.0 Bootstrap Issues
    SAP Note Number: 997510 
    Check this note, you will get all the answer!!
    And award points if it helped.
    -Subbu

  • How to install and configure ASM on Red Hat Linux 6.4

    Hi Team,
    How do you install and configure ASM on Red Hat Linux 6.4?
    Thank you in advance.
    Bee

    Here is an article that you may find useful http://eriglen.blogspot.com/2013/01/step-by-step-configuring-automatic-storage-management-on-standalone-server-with-oracle-enterprise-linux-and-oracle-11g-R2-using-external-storage-managed-by-openfiler.html

  • Red hat Linux support for Oracle

    Hi! Can some body tell me which version of Red Hat Linux is supported. I was told that Oracle supports only upto Red hat 7.1 for Oracle 8.1.7.3.
    thanks

    I installed 9iAS on RedHat 7.3, see my post at:
    Re: SQL query report columns
    I don't know about versions < 7.3, but 7.3 by default includes kde 3 :)

  • Guide for Tuning and Optimizing Red Hat Linux AS for Oracle9i Database

    I put together a step-by-step guide for tuning and optimizing Red Hat Linux Advanced Server for Oracle9i. It's my first draft version and I would appreciate any comments and feedback.
    The article
    "Tuning and Optimizing Red Hat Linux Advanced Server for Oracle9i Database"
    can be found at:
    http://www.puschitz.com/TuningLinuxForOracle.shtml
    The article
    "Oracle 9i Installation on Red Hat Linux 7.1, 7.2, 7.3, 8.0, and on Red Hat Advanced Server 2.1"
    can now be found at http://www.puschitz.com/InstallingOracle9i.shtml
    And both links for
    "Oracle on Red Hat Linux"
    can be found at
    http://www.puschitz.com/OracleOnLinux.shtml
    Werner

    Is this good for Redhat Linux 9.0 and not just the advanced server.
    If it is not could you please provide me the links to articles like,
    "Guide for Tuning and Optimizing Red Hat Linux for Oracle9i Database"
    "Guide for Tuning and Optimizing Red Hat Linux for Oracle9i App Server"
    "Guide for Tuning and Optimizing Red Hat Linux for Oracle9i Infrastucture"
    Thanks.

  • Is it possible to download current Red Hat Linux for learning purpose?

    Hi,
    Is it possible to download current Red Hat Linux for learning purpose? On their website, you either have to purchase the regular version or download a 30-day evaluation version.
    Thanks.
    -c

    How different is Enterprise Linux compared to Fedora?To add Sergio's post, Fedora and Enterprise Linux are based on RedHat distribution. Fedora is non commercial distribution and is very popular. Enterprise Linux is quite new (name of distribution) in the Linux world (announced at the end of october) and it is clone (as Sergio said) of RH EL 4 U4.
    All I need is an opportunity to learn Unix/Linux.Any of Linux distributions will give to you this opportunity. And for learning of Linux Fedora is good enough.
    Is Enterprise Linux more popular?
    Popular than what? Fedora? It is too soon... (IMHO). Enterprise Linux is ideal candidate for productions systems which needs official support and (of course) systems which where Oracle products will be running on. In this scope (commmercial sphere) Enterprise Linux will become popular than Fedora (which has support only from volunteers) but I don't think that Enterprise Linux will be more popular as Fedora at all...

Maybe you are looking for