Deploy War to Weblogic Server

Sara's Avatar


20 Apr, 2017 06:13 AM


I need to deploy a war file to an weblogic instance.

I have created release in Octopus and pushed the package from my build server.I have also installed a listening tentacle on my Dev server that has weblogic running.

What is the best way to go about this in Octopus?


  1. Support Staff 1 Posted by Daniel Fischer on 21 Apr, 2017 04:26 AM

    Daniel Fischer's Avatar

    Hi Sara,

    Thanks for getting in touch! Generally in Octopus, we follow the idea that if you can package it, we can deploy it. So if you are able to zip your .war file, then Octopus can deploy it and run scripts to do anything else needed.

    We have some documentation on packaging application. It may provide some useful information.

    Let me know if you have any further questions or if you run into any issues.

    Best regards,

  2. 2 Posted by Sara on 21 Apr, 2017 05:07 AM

    Sara's Avatar

    Thanks Daniel.

    AM all good with the ZIP file and have created the release in Octopus with the desired Zip file.

    I will like to know how I can proceed to deploy this file onto the remote server that runs weblogic.

    I have installed the listening tentacle on the remote server already.


  3. Support Staff 3 Posted by Daniel Fischer on 24 Apr, 2017 05:03 AM

    Daniel Fischer's Avatar

    Hi Sara,

    Thanks for getting back! As far as actually deploying the .war file to your server, there are a couple of resources that I can provide you. You may have already seen this but there is a documentation page on deploying java applications on our website.

    There are also some previous conversations that I can link you to which may help you here.

    Currently we do not have too much in the way of direct support/documentation for deploying java applications. However, we are currently looking into improving this. If you gave any more specific questions on areas you are stuck with regarding your deployment, please feel free to let me know and ill do my best to help. :)

    Best regards,

  4. 4 Posted by Sara on 26 Apr, 2017 01:59 AM

    Sara's Avatar

    Thanks for that Daniel.As you guessed I have read them.

    I have created a script to deploy the WAR file.The script is a python script that needs to be passed with some parameters and invoked,

    I have created the script in the Target server and need to pass some parameters from the Octopus server through a Script task.

    Can you please help.


  5. Support Staff 5 Posted by Daniel Fischer on 26 Apr, 2017 05:34 AM

    Daniel Fischer's Avatar

    Hi Sara,

    Thanks for getting back! The best method we can currently suggest for doing this would be to have your .war packaged alongside your script.

    Then, inside Octopus, you are able to use custom scripts and define a post-deploy script. You could use this script to execute your batch file with any parameters you require.

    So you could deploy both your .war and your script, then use the post deploy to kick off the script with any parameters you need.

    We have a great documentation page on passing parameters to scripts, which would be well worth checking out.

    Let me know if I have missed anything or if you have any further questions.

    Best regards,

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

25 May, 2017 02:43 AM
25 May, 2017 02:39 AM
25 May, 2017 02:36 AM
25 May, 2017 02:34 AM
25 May, 2017 02:22 AM


25 May, 2017 02:08 AM
25 May, 2017 01:10 AM
25 May, 2017 01:04 AM
24 May, 2017 11:59 PM
24 May, 2017 08:55 PM
24 May, 2017 08:14 PM