facebook

How to call windows bat script when starting Weblogic using the WebLogic plugin

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #703178 Reply

    lydia.li
    Participant

    I would like to invoke a bat script when starting up WebLogic from MyEclipse. However the Genuitec WebLogic plugin does not seem to call the startWebLogic.bat script. Can you please advise what script is called when Genuitec WebLogic plugin start my WebLogic domain? How can I embed my customized bat script into the WebLogic startup?

    I am using MyEclipse 2024 with WebLogic 12C. Thank you.

    #703188 Reply

    Brian Fernandes
    Moderator

    Thank you for asking – we do not launch the server with a batch file, we launch it directly using the server’s Java libraries, mimicking what the batch file would do. If you open the Server editor, you will see a link, “Open Launch configuration” which you can click that to see the arguments we use. Could you tell us what you are trying to achieve with your batch file?

    #703193 Reply

    lydia.li
    Participant

    Thank you for your reply. The batch script simply updates an application property file with some dynamic information. It would be easier for the developers to start up the testing environment with one button click if the script could be integrated with WebLogic startup. If invoking a batch script is impossible, we can implement the file update feature in java if there is a way to run the ava class at the WebLogic startup time.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: How to call windows bat script when starting Weblogic using the WebLogic plugin

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