facebook

Weblogic 8.14 with some changes on startWeblogic.cmd

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #290957 Reply

    Hi guys,

    I’m involved with one old project, that use WL 8.14.
    So this WL instance has some configs to get access to EAI and I need run this .cmd from MyEclipse.
    I’m using MyEclipse 7 M2, in Windows SP2 XP, 2Gb RAM, Core DUO 1.8…
    Here is the .cmd (startWeblogic.cmd)

    
    @ECHO OFF
    
    @REM WARNING: This file is created by the Configuration Wizard.
    @REM Any changes to this script may be lost when adding extensions to this configuration.
    
    SETLOCAL
    
    @REM *************************************************************************
    @REM This script is used to start WebLogic Server for the domain in the
    @REM current working directory.  This script simply sets the SERVER_NAME
    @REM variable and starts server.
    @REM 
    @REM To create your own start script for your domain, all you need to set is
    @REM SERVER_NAME, then starts the server.
    @REM 
    @REM Other variables that startWLS takes are:
    @REM 
    @REM WLS_USER     - cleartext user for server startup
    @REM WLS_PW       - cleartext password for server startup
    @REM PRODUCTION_MODE    - true for production mode servers, false for
    @REM                development mode
    @REM JAVA_OPTIONS - Java command-line options for running the server. (These
    @REM                will be tagged on to the end of the JAVA_VM and MEM_ARGS)
    @REM JAVA_VM      - The java arg specifying the VM to run.  (i.e. -server,
    @REM                -hotspot, etc.)
    @REM MEM_ARGS     - The variable to override the standard memory arguments
    @REM                passed to java
    @REM 
    @REM For additional information, refer to the WebLogic Server Administration
    @REM Console Online Help(http:\e-docs.bea.com\wls\docs81\ConsoleHelp\startstop.html)
    @REM *************************************************************************
    
    @REM Initialize the common environment.
    
    set WL_HOME=C:\Projetos\bea\weblogic81
    for %%i in ("%WL_HOME%") do set WL_HOME=%%~fsi
    
    set PRODUCTION_MODE=
    
    set JAVA_VENDOR=Sun
    
    set JAVA_HOME=C:\Projetos\bea\jdk142_05
    for %%i in ("%JAVA_HOME%") do set JAVA_HOME=%%~fsi
    
    @REM Call commEnv here AFTER setting the java_vendor to get common environmental settings.
    
    call "%WL_HOME%\common\bin\commEnv.cmd"
    
    @REM Set SERVER_NAME to the name of the server you wish to start up.
    
    set SERVER_NAME=myserverWAWM
    
    set CLASSPATH=%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;C:\Projetos\bea\user_projects\domains\mydomainWAWM\applications\lib\client.jar;C:\Projetos\bea\user_projects\domains\mydomainWAWM\applications\lib\client60.jar;C:\Projetos\bea\user_projects\domains\mydomainWAWM\applications\lib\wmproperties;%CLASSPATH%
    
    @REM Call WebLogic Server
    
    echo .
    echo CLASSPATH=%CLASSPATH%
    echo .
    echo PATH=%PATH%
    echo .
    echo ***************************************************
    echo *  To start WebLogic Server, use a username and   *
    echo *  password assigned to an admin-level user.  For *
    echo *  server administration, use the WebLogic Server *
    echo *  console at http:\[hostname]:[port]\console    *
    echo ***************************************************
    
    %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -Deai.is=TesResource -Deai.broker=OldHom01Brk05 -Dwsportabilidade.url=http://bentoribeiro:8101/spnWS/ServicosPortabilidadeNumerica?WSDL -Dlog.dir=C:\logs -Dsecurity.logon=Teste -Dweblogic.Name=%SERVER_NAME% -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy" weblogic.Server
    
    
    # %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -Deai.broker=Hom01Brk05 -Deai.is=Dev03IS01 -Dwsportabilidade.url=http://bentoribeiro:8101/spnWS/ServicosPortabilidadeNumerica?WSDL -Dlog.dir=C:\logs -Dsecurity.logon=Teste -Dweblogic.Name=%SERVER_NAME% -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy" weblogic.Server
    

    The question is… how can I put this .cmd to run with MyEclipse ?

    Thanks in advance

    #290971 Reply

    Loyal Water
    Member

    Im afraid you cannot run the .cmd with MyEclipse. Sorry about that.

    #290974 Reply

    Thank you!

    #290998 Reply

    Loyal Water
    Member

    Your welcome.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Weblogic 8.14 with some changes on startWeblogic.cmd

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in