facebook

WebLogic from existing startWeblogic.cmd batch [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #211001 Reply

    VincentVega
    Member

    What operating system and version are you running? –> WIN XP ’02 SP1

    What Eclipse version and build id are you using? (Help > About Eclipse Platform)

    –>
    Eclipse Platform
    Version: 3.0.0
    Build id: 200406251208

    – Was Eclipse freshly installed for MyEclipse? –> yes

    – If not, was it upgraded to its current version using the update manager? –> N/A

    – Are any other external plugins installed? –> no

    – How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
    –>
    8 plugins:

    org.eclipse.pde.build_3.0.0
    org.eclipse.pde.core_3.0.0
    org.eclipse.pde.doc.user_3.0.0
    org.eclipse.pde.junit.runtime_3.0.0
    org.eclipse.pde.runtime_3.0.0
    org.eclipse.pde.source_3.0.0
    org.eclipse.pde.ui_3.0.0
    org.eclipse.pde_3.0.0

    What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
    –>
    Version: 3.7.200
    Build id: 200407091200-3.8-Beta2

    What JDK version are you using to run Eclipse? (java -version) –> JDK version 1.4.2_05

    What JDK version are you using to launch your application server? –> JDK version 1.3.1_06

    What application server are you using? –> WebLogic Server 7.0 SP2

    Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log) –> none

    What steps did you take that resulted in the issue?

    –>
    I am new to Eclipse. Just started evaluating MyEclipe for potential use in the workplace. I’ve beem quite impressed
    with MyEclipse Enterprise WorkBench thus far .

    I have an existing STRUTS project that I have successfully imported into MyEclipse. I am having trouble with the
    WebLogic Server configuration.

    Background: This project uses customized batch file to start the WL server(startWebLogic.cmd). There are a lot of variables that are set prior to setting the classpath in this startWeblogic.cmd
    batch file.

    From reading the forums, I know how to set the classpath vars in the ‘Paths’ portion of the WL server configuration setup in MyEclipse.

    The problem that I am having is:
    1. How do I set those vars indicated in the startWebLogi.cmd batch file into the server
    configuration of MyEclipse?

    2. If this cannot be done, where can I go to modify the actual server script file generated resulting from this
    WebLogic server configuration? Perhaps I can add those set variable commands there.

    Please help this confused individual. Thanks in advance.

    #211003 Reply

    Riyad Kalla
    Member

    Vincent,
    I’ve asked our WebLogic guy to take a look at this.

    #211008 Reply

    Scott Anderson
    Participant

    Vincent,

    I’m not sure if you’re asking about shell script variables or JVM -D variables. For shell script variables, there really isn’t a way to set them at launch using the connector since a shell is not used; the JVM is launched directly for WebLogic as it is for all debugging within Eclipse. However, at some point your script variables are substituted with their actual values. At some point, all substitutions are made and the script will call java to launch WebLogic. The trick is to determine what this fully qualified command looks like and set up the connector to mirror it. The default connector settings mirror the basic WebLogic startup script.

    1. How do I set those vars indicated in the startWebLogi.cmd batch file into the server
    configuration of MyEclipse?

    You can define variables for use by the JDK at on the ‘JDK’ preference page under the WebLogic connector. One -D option per line will work fine. Additional classpath entries can be added to the front or back of the default classpath on the ‘Paths’ page.

    Hope that helps.

    #211011 Reply

    VincentVega
    Member

    Scott

    Thanks for the quick reply. Sorry about the abiguity. Yes I was referring to the JVM -D variables. I took your suggestions and managed to get a WL server instance to run within the MyEclipse workspace with a few minor exceptions. Appreciate your help.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: WebLogic from existing startWeblogic.cmd batch [Closed]

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