EJB design: Automatic Redeployment of Weblogic server

  1. Automatic Redeployment of Weblogic server (2 messages)

    Is there any way of automating redeployment of weblogic server using an Ant script.
  2. BEA provide a couple of ways to do this. First, there is a Java class, weblogic.Admin from memory, which you can invoke using the <java> task; this is how I do it. You can find out more if you read the BEA manuals, particularly in the command line tools area.

    If you are willing to use the Workshop, another way is to use the Ant tasks associated with it. The Workshop documentation includes information on this. The deployment one, however, is a very thin wrapper around the class mentioned above.
  3. Ant scripts helps in automatic deployment on weblogic server

    Use the following script in your ant script.

      <target name="deploy">
        <wldeploy action="deploy" adminurl="t3://localhost:7001" user="weblogic" password="weblogic" >
         <files dir="${build}" includes="${ear_file}"/>