Usage of wldeploy ant target in weblogic 6.1

Hi,
I am using weblogic 6.1. I want to use the ant target "wldeploy" in weblogic 6.1.
But I could see that this target is available in weblogic 8.1.
Is there any way by which I will be able to make use of this target in weblogic
6.1 ??
thanks in advance for ur help
regards,
s.arun prasath

No. wldeploy is an ant task wrapper (added in 8.1) for
weblogic.Deployer (added in 7.0).
6.1 has only the older weblogic.deploy command. You'd have to call it
via a java task from ant.
-- Rob
Arun wrote:
Hi,
I am using weblogic 6.1. I want to use the ant target "wldeploy" in weblogic 6.1.
But I could see that this target is available in weblogic 8.1.
Is there any way by which I will be able to make use of this target in weblogic
6.1 ??
thanks in advance for ur help
regards,
s.arun prasath

Similar Messages

  • ClassCastException using Subant and wldeploy ant task

    Hi!
    I'm using subant to call all diffrent build.xml files located in subdirectories. The buildfile looks like this:
    <project name="extern.call" default="callall">
         <target name="callall">
              <fileset      id="buildfile.set" dir=".." includes="*2/build.xml">
                   <exclude name="Br*2/*"/>
              </fileset>
              <subant target="deploy-local" inheritall ="false" failonerror="true">
                   <fileset      refid="buildfile.set"/>
              </subant>
         </target>
    </project>
    The first called build.xml files works fine ... but the execution of the second build.xml (it's not important which file is the second one, it's crash always at the second call), stop with a "java.lang.ClassCastException".
    See Stacktrace:
    [subant] weblogic.Deployer -debug -nowait -verbose -upload -noexit -name ClarifyRead -source \build\ClarifyRead\delivery\ClarifyRead.ear -targets myserver -adminurl t3://localhost:7001 -user weblogic -password ******** -deploy
    [subant] dumping Exception stack
    [subant] java.lang.ClassCastException
    [subant] at weblogic.management.deploy.utils.DeployerHelper.uploadSource(DeployerHelper.java:586)
    [subant] at weblogic.Deployer.runBodyWithAuthenticatedSubject(Deployer.java:824)
    [subant] at weblogic.Deployer.runBody(Deployer.java:711)
    [subant] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [subant] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [subant] at weblogic.Deployer.runMain(Deployer.java:566)
    [subant] at weblogic.Deployer.mainWithExceptions(Deployer.java:576)
    [subant] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [subant] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [subant] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [subant] at java.lang.reflect.Method.invoke(Method.java:324)
    [subant] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:264)
    [subant] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:204)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:65)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:340)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:65)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:340)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.Target.execute(Target.java:301)
    [subant] at org.apache.tools.ant.Target.performTasks(Target.java:328)
    [subant] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
    [subant] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:383)
    [subant] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:182)
    [subant] at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:112)
    [subant] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
    [subant] at org.apache.tools.ant.Task.perform(Task.java:364)
    [subant] at org.apache.tools.ant.Target.execute(Target.java:301)
    [subant] at org.apache.tools.ant.Target.performTasks(Target.java:328)
    [subant] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
    [subant] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:379)
    [subant] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
    There is no diffrent between using ant in eclipse environment or as standalone, the result it the same.
    Do someone else have the same problem?
    Kind regards
    Joseph

    Hi
    I got the same message and I couldn't resolve it too, I am wordering if you got the key to the problem?
    Thanks
    Daivd Huang

  • [wldeploy] java.lang.ClassNotFoundException: weblogic.logging.log4j.Log4jL

    Hi all,
    I have been following the tutorial, but unable to deploy. [wldeploy] java.lang.ClassNotFoundException: weblogic.logging.log4j.Log4jLoggin
    gHelper.
    I've checked the log4j.jar, it is there is lib dir. Please advise what is happening and how to fix it?
    C:\Windows\system32>c:\bea\user_projects\domains\medrecdomain\bin\setDomainEnv.cmd
    C:\bea\user_projects\domains\MedRecDomain>cd c:\medrec_tutorial\src\physicianEar
    c:\medrec_tutorial\src\physicianEar>ant -f deploy.xml
    Buildfile: deploy.xml
    deploy:
    [wldeploy] weblogic.Deployer -noexit -name tutorial_deployment -source C:\medre
    c_tutorial\build\physicianEar -adminurl t3://127.0.0.1:7111 -user weblogic -pass
    word ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -noexit -name tutorial_depl
    oyment -source C:\medrec_tutorial\build\physicianEar -adminurl t3://127.0.0.1:71
    11 -user weblogic -deploy
    [wldeploy] <Jun 6, 2009 2:19:58 PM PDT> <Info> <J2EE Deployment SPI> <BEA-26012
    1> <Initiating deploy operation for application, tutorial_deployment [archive: C
    :\medrec_tutorial\build\physicianEar], to configured targets.>
    [wldeploy] Task 2 initiated: [Deployer:149026]deploy application tutorial_deplo
    yment on MedRecServer.
    [wldeploy] Task 2 failed: [Deployer:149026]deploy application tutorial_deployme
    nt on MedRecServer.
    [wldeploy] Target state: deploy failed on Server MedRecServer
    [wldeploy] java.lang.ClassNotFoundException: weblogic.logging.log4j.Log4jLoggin
    gHelper
    [wldeploy]
    [wldeploy]
    BUILD FAILED
    C:\medrec_tutorial\src\physicianEar\deploy.xml:9: weblogic.Deployer$DeployerExce
    ption: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Dep
    loyer:149026]deploy application tutorial_deployment on MedRecServer.
    Target state: deploy failed on Server MedRecServer
    java.lang.ClassNotFoundException: weblogic.logging.log4j.Log4jLoggingHelper
    thanks
    andrew

    1. I haven't got a clue, according to the guide, it has a log4jConfig.xml to be copied from the samples dir, but I just got the the log4j.properties.
    prompt> copy c:\bea\wlserver_10.0\samples\domains\medrec\log4jConfig.xml c:\bea\user_projects\domains\MedRecDomain
    2. notepad c:\bea\user_projects\domains\MedRecDomain\bin\setDomainEnv.cmd
    set LOG4J_CONFIG_FILE=c:\bea\user_projects\domains\MedRecDomain\log4jConfig.xml <-- which I replace with log4j.properties
    3. Copy the log4j JAR files from the lib directory of the pre-configured MedRec domain to the lib directory of the new domain you just created:
    prompt> copy c:\bea\wlserver_10.0\samples\domains\medrec\lib\*.jar c:\bea\user_projects\domains\MedRecDomain\lib
    <-- I don't have *.jar in the samples dir, so I copy the log4j.jar from other directories.
    Please advise how to install? or could you please cut and paste your log4jconfig.xml for your medrec?
    thanks
    andrew

  • Changing the wldeploy ant task behaviour

    wldeploy ant task while deploying the application deploys it under <configured weblogic upload dir>/<application name>/app/ application name.
    Is there any way we can change this behaviour as we couldnt find the options in ant task to change it

    That is all you should have to do, the ant tasks are sitting inside the
    weblogic.jar.
    Cheers
    mbg
    "Shane Witbeck" <[email protected]> wrote in message
    news:[email protected]..
    Rob Bennett <[email protected]> wrote in message
    news:<[email protected]>...
    What is required for the wldeploy ant task to function properly? I am
    able to use it when I run ant from the command line and use the version
    of ant that came with Weblogic 8 (I have the platform beta, not the
    release version). When I try to use it inside of eclipse (which uses
    its own copy of ant), the task fails.. it looks like it is trying to
    generate RMI stubs. If anyone can shed light on what I am missing from
    the eclipse environment, I would appreciate it.
    -RobI actually just got it to work by adding the weblogic.jar to my
    classpath. (Im using WL 8.1).
    -Shane

  • Wldeploy Ant task deploys app in 'New' state

    I am trying to deploy a web application in WL 10.0 using the wldeploy Ant task. However, everytime the application is deployed, the consolidated state is 'New' (or deferred deployment). I have to bounce the servers everytime to bring the app in the Active state.
    Here is my code:
    <target name="undeployWeb">
              <!-- Undeploy the existing deployment -->
              <wldeploy action="undeploy" verbose="true" debug="false" name="${deploymentName}" user="${weblogicUsername}" password="${weblogicPassword}" adminurl="${weblogicAdminURL}" targets="${weblogicTargetServers}" failonerror="false" />
    </target>
    <!-- Deploy .WAR to a target server -->
    <target name="deployWeb">
              <!-- Deploy the application remotely -->
              <wldeploy action="deploy" stage="stage" usenonexclusivelock="true" source="${weblogicDeploymentLocation}/${deploymentName}.war" remote="true" name="${deploymentName}" upload="false" user="${weblogicUsername}" password="${weblogicPassword}" verbose="true" adminurl="${weblogicAdminURL}" debug="true" targets="${weblogicTargetServers}" />
    </target>
    Is there any way to avoid the bounce of the target servers? I wish to activate the web app straightaway. Please help.
    ~hartbrekk

    Thanks user10939158, for looking into this.
    Reason I am saying network is not an issue here because the artifact copy to the remote servers and deployment happens fast, it is just at the step of closing DM connection, it is waiting for a long time (>5 mins). I am guessing that the Deployment Manager message exchanges with the server (internally) has something to do with LAN vs WAN. And, I would expect deployment over WAN take a minute extra as opposed to 5-9 minutes extra what we are seeing now.
    Yes, I tried running the wlst script on the remote server and it is fast as well.
    Just to clarify, I do not have a local server. I run the plain simple ant script on a build box(lean linux box) which is in the US.
    Thanks for your help again.
    - Kris
    Edited by: kris_2000 on May 25, 2010 2:08 PM

  • WL8.1 wldeploy Ant Task seems to be fairly slow...

    We currently have a clustered environment with 4 machines. When we try to hot deploy
    using the wldeploy Ant Task it takes about 3-5 minutes to re-deploy the ~30mb
    ear file. While this ear is being deployed users can not access the system. Is
    there anything I can do to increase these times?
    Thanks,
    Franz

    Rob,
    Thanks for your reply.
    My build.xml file exits and kills the server instance......do you know any means
    to rsolve it.
    iam not sure if i can use "fork" or something like that ????
    Please advise.
    -sangita
    Rob Woollen <[email protected]> wrote:
    Have a look at the Avitek Medical Records example that ships with WLS
    8.1. It shows you how to use wldeploy.
    -- Rob
    sangita wrote:
    if you don't mind, can you share your build.xml file here on this forum?
    iam trying to do exact same thing, but as my knowledge of ANT is little,iam having
    trouble. if you can share this xml file, then i would learn a littlefaster on
    how to deploy application on wls8.1 using ANT.
    i have read the document though .....but i wanted to see actual xmlfile as yours
    .........thanks !!!!!
    "Franz Garsombke" <[email protected]> wrote:
    We currently have a clustered environment with 4 machines. When we
    try
    to hot deploy
    using the wldeploy Ant Task it takes about 3-5 minutes to re-deploythe
    ~30mb
    ear file. While this ear is being deployed users can not access thesystem.
    Is
    there anything I can do to increase these times?
    Thanks,
    Franz

  • Servicegen ant task in weblogic 10.3

    Hi,
    Could you please let me know , the werbservice related ant tasks from weblogic 8.1 (say servicegen)
    are supported in weblogic 10.3 ?
    I am in a process of migrating application from 8.1 to 10.3. For building the application I am using 'ant'.
    Thanks,
    Sajan CR

    Apparently the ant tasks are no longer described on the oracle doc pages as they were on the bea pages.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/overview.html#using_ant
    "To view the documentation for a specific version of Ant, such as the version included with WebLogic Server, download the Ant zip file from http://archive.apache.org/dist/ant/binaries/ and extract the documentation."

  • How to call imported ant target/task in Java

    Hi,
    Can anybody advice me how to call an ant target/task, which is
    "<import/>"ed from another build file, from within Java code?
    Here's my Java code:
    import org.apache.tools.ant.*;
    import java.io.*;
    import java.util.*;
    public class MyTest
    private Project project;
    public void init(String buildFile, String baseDir) throws
    Exception
    project = new Project();
    try { project.init(); }
    catch (BuildException e)
    { throw new Exception("The default task list could not be
    loaded."
    // Set the base directory. If none is given, "." is used.
    if (_baseDir == null) _baseDir=new String(".");
    try { project.setBasedir(_baseDir); }
    catch (BuildException e)
    { throw new Exception("The given basedir doesn't exist, or
    isn't a directory."); }
    if (_buildFile == null) _buildFile=new String("a.xml");
    try { ProjectHelper.getProjectHelper().parse(project, new
    File(_buildFile)); }
    catch (BuildException e)
    { throw new Exception("Configuration file "+_buildFile+" is
    invalid, or cannot be read."); }
    public void runTarget(String _target) throws Exception
    // Test if the project exists
    if (project == null) throw new Exception("No target can be
    launched because the project has not been initialized. Please call the
    'init' method first !");
    // If no target is specified, run the default one.
    if (_target == null) _target = project.getDefaultTarget();
    // Run the target
    try { project.executeTarget(_target); }
    catch (Exception e)
    { throw new Exception(e.getMessage()); }
    public static void main(String args[])
    try{
    MyTest mytest=new MyTest();
    mytest.init("c.xml",".");
    mytest.runTarget(null);
    }catch(Exception e)
    e.printStackTrace();
    Here are my build files: (they look almost the same. But it's only to see if <import> works.)
    1.c.xml:
    <project basedir="." default="runtests" name="TestC">
    <import file="a.xml"/>
    </project>
    2. a.xml:
    <project basedir="." default="runtests" name="TestA">
    <target name="runtests" depends="">
    <mkdir dir="ttt"/>
    </target>
    </project>
    If I directly set build file "a.xml" in MyTest.java, everthing works
    well. However, if set "c.xml" then do task "<mkdir dir="ttt"/>" defined
    in "a.xml" which was imported by "c.xml", when running, I got an
    exception. Looks like it can't parse my c.xml which include "import".
    BTW, I'm using ant 1.6.2, and running "ant -f c.xml" was ok.
    Did I miss any classpath or something? Any idea?
    Thanks,
    Amy

    I have a standard Ant build script for signing a jar file. I import it into my master Ant build files with
    <import file="Sign.xml"/>
    and then in my master Ant script I setup the name of the jar file e.g.
    <property name="jar-file" value="${fun}/FunApplet.jar"/>
    and then invoke a target
    <target name="sign-jar" depends="jar, sign">
    </target>
    Since this target (sign-jar) depends on target 'jar' and target 'sign' it executes the 'jar' target and then the 'sign' target that is contained in Sign.xml.

  • Ant target to call a servlet

    I am trying to create an Ant target that will call my servlets doPost method. I have been looking at the <exec> tag, but not sure if this will work the way I want. Any suggestions?
    TIA

    The "exec" tag will run an executable program on your machine. If that executable program happened to make an HTTP connection to your server and send a POST request to your servlet, then the answer to your question would be Yes.
    PC&#178;

  • How to achive Geo Targetting in Weblogic Portal 10.3

    Hi,
    We have a requirement of Geo Targetting in Weblogic Portal 10.3. Requirement is that once the Portal is rendered first time, based on IP tracking, content & services for that region need to be shown.
    Need to understand is there any API or feature to achieve this?
    Also, we are creating the desktops out of the portal, so will it be possible to have geo targetting code in .portal & once desktops are created through portal, is it going to reflect the Geo Targeting feature in desktops.
    Thanks,
    Uttam

    Your question is too generic to be answered. Detecting which country the user is from does not have anything specific to do with BEA portal, you'd implement this as in any other J2EE app. Once you know this,
    Where / how is this country specific content stored? Its likely that there isnt one answer for this. You might be
    a. Storing this in CMS
    b. Have some form based labels that arent country specific. have validations messages.
    c. Have country specific images (e.g. buttons)
    d. have some content that you get from other systems in your enterprise and or your database.
    e. have rules for defaulting e.g. if no france specific content use usa.
    There are various ways you could model each of the above but since we dont know the constraints / context of your question , its doubtful anyone can give you any useful answer. If there is a specific question you have (e.g. Im storing content in the BEA repository in the following model , how would I vary what the user sees) you might get an answer for those.

  • BUG? Ant target with import in JDev 10g EA1

    Hi!
    It seems that the integrated Ant support can't work with the <import> Tag.
    According to the ant spec, the imported file must be a complete build file.
    When I use the <import> the "Run Ant Target" will show only the targets defined
    in the imported file, but not the ones defined in the "main" build file.
    Roman

    I created two Ant files:
    <!-- This is file build.xml -->
    <project default="init-in-build">
      <target name="init-in-build">
        <tstamp/>
      </target>
    </project>and
    <!-- This is file "build1.xml" -->
    <project default="init-in-build1" >
      <import file="build.xml"/>
      <target name="init-in-build1">
        <tstamp/>
      </target>
    </project>When I right-mouse on build1.xml I see both "init-in-build1" and "init-in-build" in the context menu.
    What are you doing differently?

  • Is wldeploy ANT task just always says "BUILD SUCCESFUL" ?

    Hi All,
    Iam using ANT and my build.xml file looks something like this:
    <target name="deploy-now">
    <echo message="...........This is the developmenet
    box...deploying......"/>
    <wldeploy action="${deploy.utility}" upload="true"
    source="${source}" user="system" password="weblogic" nostage="true" verbo
    se="true" adminurl="${bedlam-t.admin.url}" debug="true"
    targets="${cmApplication.target}"/>
    </target>
    <target name="deploy-cm-testnet">
    <antcall target="deploy-now"> <param name="source"
    value="${cm1Application.source}"/>
    </antcall>
    <antcall target="deploy-now"> <param name="source"
    value="${cm2Application.source}"/>
    </antcall>
    <antcall target="deploy-now"> <param name="source"
    value="${cm3Application.source}"/>
    </antcall>
    </target>
    So, basically iam calling my target "deploy-now" three times by using
    <antcall>. Now my question is: iam getting BUILD SUCCESFUL although the
    output looks like:
    deploy-now: [echo] ...........This is the developmenet
    box...deploying...... [wldeploy] weblogic.Deployer -debug -nostage -verbose -upload
    -noexit -source
    /export/home/beamon/applications/clientmanager/CMA_TW_333.war -targets UPSCAP
    -adminurl http://bedlam-t.ams1907.com:8001 -user
    system -password ******** -deploy
    [wldeploy] DeploymentData : Delete Files:false [wldeploy] Timeout
    :3600000 [wldeploy] Targets: [wldeploy] Files: [wldeploy] null
    [wldeploy] Initiated Task: [87] [Deployer:149026]Deploy application
    CMA_TW_333 on UPSCAP. [wldeploy] Application CMA_TW_333 preparing on
    server upscap_bedlam1t_s1. [wldeploy] Module CMA_TW_333 failed to transition
    from unprepared to prepared on server upscap_bedlam1t_s1. [wldeploy]
    Application CMA_TW_333 failed on server upscap_bedlam1t_s1. [wldeploy]
    Task 87 failed: [Deployer:149026]Deploy application CMA_TW_333 on UPSCAP.
    [wldeploy] Deployment failed on Cluster UPSCAP [wldeploy] dumping
    ApplicationException message
    [wldeploy] Exception:weblogic.management.ApplicationException: prepare
    failed for CMA_TW_333 [wldeploy] Module: CMA_TW_333 Error: Context path
    '/CMA/US' is already in use by the module: CM_NO_333 application:
    CM_NO_333
    [wldeploy] dumping ApplicationException message
    [wldeploy] Exception:weblogic.management.ApplicationException: prepare
    failed for CMA_TW_333 [wldeploy] Module: CMA_TW_333 Error: Context path
    '/CMA/US' is already in use by the module: CM_NO_333 application:
    CM_NO_333
    [wldeploy] Unpexpected Error Initializing Deployer:
    weblogic.Deployer$DeployerException: Deployment exit status=1
    deploy-now: [echo] ...........This is the developmenet
    box...deploying...... [wldeploy] weblogic.Deployer -debug -nostage -verbose -upload
    -noexit -source
    /export/home/beamon/applications/clientmanager/CMA_NO_333.war -targets UPSCAP
    -adminurl http://bedlam-t.ams1907.com:8001 -user
    system -password ******** -deploy
    [wldeploy] DeploymentData : Delete Files:false [wldeploy] Timeout
    :3600000 [wldeploy] Targets: [wldeploy] Files: [wldeploy] null
    [wldeploy] Initiated Task: [88] [Deployer:149026]Deploy application
    CMA_NO_333 on UPSCAP. [wldeploy] Application CMA_NO_333 preparing on
    server upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333: active to prepared
    on server upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333: active to
    prepared on server upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333:
    prepared to unprepared on server upscap_bedlam1t_s1. [wldeploy] Module
    CMA_NO_333: prepared to unprepared on server upscap_bedlam1t_s1.
    [wldeploy] Module CMA_NO_333: unprepared to prepared on server
    upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333: unprepared to prepared on server
    upscap_bedlam1t_s1. [wldeploy] Application CMA_NO_333 prepared on server
    upscap_bedlam1t_s1. [wldeploy] Application CMA_NO_333 activating on server
    upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333: prepared to active on
    server upscap_bedlam1t_s1. [wldeploy] Module CMA_NO_333: prepared to
    active on server upscap_bedlam1t_s1. [wldeploy] Application CMA_NO_333
    activated on server upscap_bedlam1t_s1. [wldeploy] Task 88 completed:
    [Deployer:149026]Deploy application CMA_NO_333 on UPSCAP. [wldeploy]
    Deployment completed on Cluster UPSCAP
    BUILD SUCCESSFUL
    Please advise ......how can i show that the BUILD is NOT succesful as
    there were EXCEPTIONS generated.....is ANT just always says "BUILD
    SUCCESFUL"

    Infact it does complete, if i let it go on but it takes around 7 minutes more just to close the DM connection
    [wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
    [wldeploy] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connection
    BUILD SUCCESSFUL
    Total time: 7 minutes 15 seconds
    is anybody facing this issue? Why is closing DM Connection and Unregistered all listeners taking so much time to complete for a WAR i.e. just a few KBs.
    Please Help! Thanks!

  • Wldeploy ant task hangs at [ServerConnectionImpl.close():332] : Closing DM

    Hi All
    I am trying to deploy\undeploy a WAR file on weblogic server 10.3.5 using ANT wldeploy task, but no matter what i do it always hangs at the below and doesn't complete (although deployment and undeployment is successful)
    [wldeploy] [BasicOperation.execute():445] : Initiating deploy operation for app, ABCD, on targets:
    [wldeploy] [BasicOperation.execute():447] : osb_server1
    [wldeploy] Task 38 initiated: [Deployer:149026]deploy application ABCD on osb_server1.
    [wldeploy] Task 38 completed: [Deployer:149026]deploy application ABCD on osb_server1.
    [wldeploy] Target state: deploy completed on Server osb_server1
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + ABCD osb_server1
    [wldeploy] [ServerConnectionImpl.close():332] : Closing DM connection
    Below are the targets used in ANT script. Please help!
    <target name="undeploy" depends="buildWar">
    <wldeploy action="undeploy" name="ABCD" user="${username}" password="${password}" debug="true" verbose="true" adminurl="t3://${adminhost}:${adminport}" targets="${target}" failonerror="false"/>
    </target>
    <target name="deploy" depends="undeploy">
    <wldeploy action="deploy" name="ABCD" source="${basedir}/ABCD.war" user="${username}" password="${password}" upload="true" debug="true" stage="true" verbose="true" adminurl="t3://${adminhost}:${adminport}" targets="${target}"/>
    </target>

    Infact it does complete, if i let it go on but it takes around 7 minutes more just to close the DM connection
    [wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
    [wldeploy] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connection
    BUILD SUCCESSFUL
    Total time: 7 minutes 15 seconds
    is anybody facing this issue? Why is closing DM Connection and Unregistered all listeners taking so much time to complete for a WAR i.e. just a few KBs.
    Please Help! Thanks!

  • Using Ant To Control WebLogic

    I have a continuous integration suite that I now need to add the ability to start WebLogic on a remote system. Here are the steps:
    1) Check to see if the remote system is available.
    2) If available, check to see if it's running WebLogic.
    3) If running WebLogic, deploy an app using wldeploy.
    4) If not running WebLogic, start WebLogic using wlserver then deploy the app.
    Is there a way to query the machine to see if it's alive and later query to see if WebLogic is running on it? Thanks, Jeremy

    Examples that comes with WLS6.1, all the task from compiling the source to
    the
    packaging the application is done thru ant.
    ( finally it copies the application into the "applications" directory. Only
    thing is left is to
    start the WLS 6.1 )
    -Utpal
    Do you know of any Bea supported Ant tasks to actually deploy into BEA(i.e.,
    that will take care of the entire depolyment process .... without anyhuman intervention
    -- from packaging all the way to full deployment)
    Thanks in advance
    Cheers
    Herry.

  • Wldeploy ant task and WLS 7?

    I'm trying to set up an ant task for WLDeploy in WLS 7. To docs reference the class as:
    <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy">
    But where is that class? It's not in weblogic.jar.
    TIA,
    Jon

    Just a followup: this ant task does not exist in early service packs. I'm not sure where it first shows up, but it does exist in SP 7.

Maybe you are looking for

  • Error when running Report

    I've a problem when run the report. I get the error like below: Rep-0108:File 'C:\orawin95\report60\rwbdexpq.res' not found. Are you solve this error before? I already check the file and I found that is missing for the first time then I copy the file

  • How to change default browser in Yosemite?

    Before OSX 10.10, it used to be possible to choose the default browser, not necessarily Safari. Is this no longer possible in Yosemite?

  • Change User ID Number

    Hi all, It is possible to adjust uid of SAP User on AS/400. I find Note 818091 to show how adjust Group ID. If we want to adjust UID but not effect current security setting ,  is it possible? Best Regards, Wu

  • Crystal Reports for Visual Studio 2010 - JavaScript error on IE

    Hi, A few months ago we migrated our projects to Visual Studio 2010 and started using CR for VS2010 beta. We've installed our ASP.Net application several times using the beta version and now that you released the final version of CR for VS2010, we up

  • Splitting Mirrored Raid Drives

    Hello, I have two external drives that are striped with one mirroring the other. I want to split or separate them without losing data. Can I just continue using the primary drive that comes up on the desktop (without plugging in the mirrored drive) w