Remote wldeploy

I'm trying to write an Ant script that will deploy a few JAR files to a remote WebLogic server. Application (Amdocs CRM) is an exploded EAR and is deployed to my administration server, stage is not used, there are no deployment plans defined. I'm using Eclipse to develop Java and run Ant scripts. After a lot of tinkering I've written the following target:
[Snippet from "build.properties" file.]
# WebLogic definition.
name.wl.appname=Amdocs CRM (web application)
name.wl.username=Administrator
name.wl.password=********
name.wl.adminurl=t3://min:7001
name.wl.svrname=AdminServer
[Snippet from Ant project file.]
<property name="dir.webapp" location="WebContent" />
<property name="dir.dist" value="ClfyAgent.war/WEB-INF/lib" />
[Snippet from Ant project file.]
<target name="remote.deploy" description="Deploys distribution JAR to WebLogic server.">
<wldeploy action="redeploy"
adminurl="${name.wl.adminurl}"
targets="${name.wl.svrname}"
user="${name.wl.username}"
password="${name.wl.password}"
name="${name.wl.appname}"
remote="true"
upload="true"
source="${dir.webapp}"
deltaFiles="${dir.dist}/${ant.project.name}.jar" />
</target>
This works, kind of. I can see new JAR on the remote server in applications library directory but I get NullPointerException error:
remote.deploy:
weblogic.Deployer -remote -upload -noexit -name Amdocs CRM (web application) -source C:\USERS\JTOSIC\PROJECTS\Prototype\WebContent -targets AdminServer -adminurl t3://min:7001 -user Administrator -password ******** -redeploy ClfyAgent.war/WEB-INF/lib/AmdocsCRM-backend.jar
weblogic.Deployer invoked with options: -remote -upload -noexit -name Amdocs CRM (web application) -source C:\USERS\JTOSIC\PROJECTS\Prototype\WebContent -targets AdminServer -adminurl t3://min:7001 -user Administrator -redeploy ClfyAgent.war/WEB-INF/lib/AmdocsCRM-backend.jar
<21.07.2010. 14:39:08 CEST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, Amdocs CRM (web application) [archive: C:\USERS\JTOSIC\PROJECTS\Prototype\WebContent], to AdminServer .>
java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at weblogic.deploy.internal.adminserver.operations.AbstractOperation.execute(AbstractOperation.java:127)
at weblogic.management.deploy.internal.DeployerRuntimeImpl$2.run(DeployerRuntimeImpl.java:837)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.management.deploy.internal.DeployerRuntimeImpl.performDeployerActions(DeployerRuntimeImpl.java:831)
at weblogic.management.deploy.internal.DeployerRuntimeImpl.redeploy(DeployerRuntimeImpl.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:437)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:268)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
I've checked the source of weblogic.deploy.internal.adminserver.operations.AbstractOperation.execute() method and it seems to fail when trying to handle deployment data/options/plan but can't figure out what I need to do in order for this to work.
My projects' "WebContent" directory is empty except for a single JAR in application's library directory. I've tried copying XML files from EAR there but that didn't help. Tried creating a deployment plan XML for my EAR and using it in WLDeploy task but that did not help either.
My environment is:
- Ant V1.7.1
- WebLogic V10.3.3.0
- Eclipse V3.5.2
- Windows XP

I'm trying to write an Ant script that will deploy a few JAR files to a remote WebLogic server. Application (Amdocs CRM) is an exploded EAR and is deployed to my administration server, stage is not used, there are no deployment plans defined. I'm using Eclipse to develop Java and run Ant scripts. After a lot of tinkering I've written the following target:
[Snippet from "build.properties" file.]
# WebLogic definition.
name.wl.appname=Amdocs CRM (web application)
name.wl.username=Administrator
name.wl.password=********
name.wl.adminurl=t3://min:7001
name.wl.svrname=AdminServer
[Snippet from Ant project file.]
<property name="dir.webapp" location="WebContent" />
<property name="dir.dist" value="ClfyAgent.war/WEB-INF/lib" />
[Snippet from Ant project file.]
<target name="remote.deploy" description="Deploys distribution JAR to WebLogic server.">
<wldeploy action="redeploy"
adminurl="${name.wl.adminurl}"
targets="${name.wl.svrname}"
user="${name.wl.username}"
password="${name.wl.password}"
name="${name.wl.appname}"
remote="true"
upload="true"
source="${dir.webapp}"
deltaFiles="${dir.dist}/${ant.project.name}.jar" />
</target>
This works, kind of. I can see new JAR on the remote server in applications library directory but I get NullPointerException error:
remote.deploy:
weblogic.Deployer -remote -upload -noexit -name Amdocs CRM (web application) -source C:\USERS\JTOSIC\PROJECTS\Prototype\WebContent -targets AdminServer -adminurl t3://min:7001 -user Administrator -password ******** -redeploy ClfyAgent.war/WEB-INF/lib/AmdocsCRM-backend.jar
weblogic.Deployer invoked with options: -remote -upload -noexit -name Amdocs CRM (web application) -source C:\USERS\JTOSIC\PROJECTS\Prototype\WebContent -targets AdminServer -adminurl t3://min:7001 -user Administrator -redeploy ClfyAgent.war/WEB-INF/lib/AmdocsCRM-backend.jar
<21.07.2010. 14:39:08 CEST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, Amdocs CRM (web application) [archive: C:\USERS\JTOSIC\PROJECTS\Prototype\WebContent], to AdminServer .>
java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at weblogic.deploy.internal.adminserver.operations.AbstractOperation.execute(AbstractOperation.java:127)
at weblogic.management.deploy.internal.DeployerRuntimeImpl$2.run(DeployerRuntimeImpl.java:837)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.management.deploy.internal.DeployerRuntimeImpl.performDeployerActions(DeployerRuntimeImpl.java:831)
at weblogic.management.deploy.internal.DeployerRuntimeImpl.redeploy(DeployerRuntimeImpl.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:437)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:268)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
I've checked the source of weblogic.deploy.internal.adminserver.operations.AbstractOperation.execute() method and it seems to fail when trying to handle deployment data/options/plan but can't figure out what I need to do in order for this to work.
My projects' "WebContent" directory is empty except for a single JAR in application's library directory. I've tried copying XML files from EAR there but that didn't help. Tried creating a deployment plan XML for my EAR and using it in WLDeploy task but that did not help either.
My environment is:
- Ant V1.7.1
- WebLogic V10.3.3.0
- Eclipse V3.5.2
- Windows XP

Similar Messages

  • 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

  • Question related to remote weblogic deployment using wldeploy task

    Problem Description: Iam trying to perform a remote deployment using wldeploy task from one of the unix box(this box does not have a weblogic instance at all) to a remote unix weblogic server. I get the following connection exception. This script works fine when I do a remote deployment from my windows machine(this has a local weblogic server)to the same remote unix weblogic server.
    Question:
    1. Do I need to have a weblogic instance locally where this wldeploy task is executing?
    2. What configuration should be done in the remote weblogic server to support remote deployment?
    The ant task is:
    <property name="wlantjars" value="/ftmp/users/usrgrb/tmp/antjars" />
    <path id="wlappc.classpath">
    <fileset dir="${wlantjars}">
    <include name="*.jar"/>
    </fileset>
    </path>
    <taskdef name="wldeploy" classpathref="wlappc.classpath" classname="weblogic.ant.taskdefs.management.WLDeploy"/>
    <target name="deployear_dev2">
    <wldeploy user="weblogic" password="*******" adminurl="t3://he3unxd189v01:9100" action="deploy" upload="true" remote="true" source="${build.dir}/mktpx.ear" name="mktpx" targets="devCluster" />
    </target>
    I receive the following error when I execute the ant task "deployear_dev2"
    Buildfile: build.xml
    deployear_dev2:
    [wldeploy] weblogic.Deployer -remote -upload -noexit -name mktpx -source /usrdata/dev/cashdesk/gcp/mktprice/quickbuild_prototype_ccview/prototype.vws/vob/mktprice_vob/mkt_price/dist/mktpx.ear -targets devCluster -adminurl t3://he3unxd189v01:9100 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -remote -upload -noexit -name mktpx -source /usrdata/dev/cashdesk/gcp/mktprice/quickbuild_prototype_ccview/prototype.vws/vob/mktprice_vob/mkt_price/dist/mktpx.ear -targets devCluster -adminurl t3://he3unxd189v01:9100 -user weblogic -deploy
    [wldeploy] javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 't3://he3unxd189v01:9100' as user, 'weblogic'. Error received: Couldn't connect to any host
    [wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
    [wldeploy] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
    [wldeploy] at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    [wldeploy] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    [wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
    [wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wldeploy] at weblogic.Deployer.run(Deployer.java:70)
    [wldeploy] at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
    [wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [wldeploy] at org.apache.tools.ant.Task.perform(Task.java:348)
    [wldeploy] at org.apache.tools.ant.Target.execute(Target.java:357)
    [wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wldeploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    [wldeploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:698)
    [wldeploy] at org.apache.tools.ant.Main.startAnt(Main.java:199)
    [wldeploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    [wldeploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    [wldeploy] Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260010]Unable to connect to 't3://he3unxd189v01:9100' as user, 'weblogic'. Error received: Couldn't connect to any host
    [wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:251)
    [wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:191)
    [wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:147)
    [wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    [wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    [wldeploy] ... 32 more
    [wldeploy] Caused by: java.io.IOException: Couldn't connect to any host
    [wldeploy] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:156)
    [wldeploy] at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
    [wldeploy] at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
    [wldeploy] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
    [wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:240)
    [wldeploy] ... 36 more
    [wldeploy] Caused by: javax.naming.NamingException: Couldn't connect to any host [Root exception is org.omg.CORBA.OBJECT_NOT_EXIST: Unknown object in LOCATE_REQUEST  vmcid: 0x0  minor code: 0  completed: No]
    [wldeploy] at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
    [wldeploy] at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:590)
    [wldeploy] at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:547)
    [wldeploy] at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:85)
    [wldeploy] at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:31)
    [wldeploy] at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
    [wldeploy] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    [wldeploy] at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    [wldeploy] at javax.naming.InitialContext.init(InitialContext.java:223)
    [wldeploy] at javax.naming.InitialContext.<init>(InitialContext.java:197)
    [wldeploy] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:143)
    [wldeploy] ... 40 more
    [wldeploy] Caused by: org.omg.CORBA.OBJECT_NOT_EXIST: Unknown object in LOCATE_REQUEST vmcid: 0x0 minor code: 0 completed: No
    [wldeploy] at weblogic.iiop.LocateReplyMessage.needsForwarding(LocateReplyMessage.java:171)
    [wldeploy] at weblogic.iiop.IORManager.locateInitialReference(IORManager.java:254)
    [wldeploy] at weblogic.corba.orb.ORB.resolve_initial_references(ORB.java:258)
    [wldeploy] at weblogic.corba.client.naming.ClientORBInfo.<init>(ClientORBInfo.java:34)
    [wldeploy] at weblogic.corba.client.naming.ClientORBHelper.createORBInfo(ClientORBHelper.java:42)
    [wldeploy] at weblogic.corba.j2ee.naming.ORBHelper.cacheORB(ORBHelper.java:314)
    [wldeploy] at weblogic.corba.j2ee.naming.ORBHelper.cacheORBAndCreateURL(ORBHelper.java:323)
    [wldeploy] at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:583)
    [wldeploy] ... 49 more
    BUILD FAILED
    /usrdata/dev/cashdesk/gcp/mktprice/quickbuild_prototype_ccview/prototype.vws/vob/mktprice_vob/mkt_price/build/build.xml:366: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://he3unxd189v01:9100': Unknown object in LOCATE_REQUEST. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
    Total time: 9 seconds

    regarding error:
    Caused by: org.omg.CORBA.OBJECT_NOT_EXIST: Unknown object in LOCATE_REQUEST vmcid: 0x0 minor code: 0 completed: No
    Make sure to place the wlfullclient.jar at the beginning of the classpath ...any other WLS specific Jars need not to be added additionally. For above error please refer to : Client SAF error
    Few Things:
    1). When I execute the ant build from a remote box , should I have a weblogic server running...the reason I ask is..does the wldeploy task work only if there is an active weblogic domain in the local machine. When I execute the same build from my windows machine where I have a local instance of weblogic , it works uccessfully .Whenever you try to deploy any application on WebLogic Domain then the Admin Server must be running. Because the deployment entries goes inside the "config.xml" and the original copy of this file is maintained by AdminServer only. So the Admin Server must be running for any kind of configuration changes or for Deployment.
    2). I am told that http protocol is not an option in my work place and I have to use t3 protocol only. In that case, based on the error below, is it possible that the connection between my local unix box and the remote weblogic box is stricted? How to I test the connectivity using t3? I pinged the server from the local unix server and it came back with reply, but could not telnet to that remote box nor ftp to that box does not work.You can check t3 protcol is working fine or not by using the following one line command:
    java weblogic.Admin -url t3://he3unxd189v01:9100 -username weblogic  -password weblogic    PING
    If above command fails to ping the server it means either you are using a wrong HostName & Port OR your N/W is doesnot allow t3 protocol connections OR there may be a N/W Issue.
    Thanks
    Jay SenSharma

  • Wldeploy: remote deployment

    I have a war file in my machine. Weblogic (10.3.4) is running another machine. I need to deploy this war file (wldeploy 11.1.1.3) to remote weblogic domain. However, I get errors as follow.
    The domain is running.
    ---------------------error----------------------------------
    [wldeploy] weblogic.Deployer -remote -upload -noexit -name smap.war -source E:\testSVN\smap.war -targets AdminServer -adminurl t3://192.168.1.6:7001 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -remote -upload -noexit -name smap.war -source E:\testSVN\smap.war -targets AdminServer -adminurl t3://192.168.1.6:7001 -user weblogic -deploy
    [wldeploy] javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 't3://192.168.1.6:7001' as user, 'weblogic'. Error received: null
    [wldeploy]      at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
    [wldeploy]      at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    [wldeploy]      at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137
    -----------------------build.xml----------------------------
    <?xml version="1.0" encoding="UTF-8" ?>
    <project default="init">
    <target name="init">
    <tstamp/>
    </target>
    <property name="wls.username" value="weblogic" />
    <property name="wls.password" value="welcome1" />
    <property name="wls.hostname" value="localhost" />
    <property name="wls.port" value="7001" />
    <property name="admin.server.name" value="AdminServer" />
    <property name="deploy.target" value="AdminServer" />
    <!-- Here you can specify Either ClusterName, IndividualServerName Like "ManagedOne" or comma Seperated List of Managed/AdminServer -->
    <property name="deploy.name" value="smap.war" />
    <property name="deploy.source" value="E:\testSVN" />
    <!--<taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy">
    <classpath>
    <pathelement location="E:\Jdeveloper_1113_20101206\wlserver_10.3\server\lib\weblogic.jar"/>
    <pathelement location="E:\Jdeveloper_1113_20101206\wlserver_10.3\server\lib\wlclient.jar" />
    </classpath>
    </taskdef>-->
    <property name="wl.home" value="C:/bea103/wlserver_10.3" />
    <path id="wlappc.classpath">
    <fileset dir="E:\Jdeveloper_1113_20101206\wlserver_10.3\server\lib">
    <include name="*.jar"/>
    </fileset>
    </path>
    <taskdef name="wldeploy" classpathref="wlappc.classpath" classname="weblogic.ant.taskdefs.management.WLDeploy"/>
    <target name="szmap" depends="init" >
    <war destfile="E:\testSVN\smap.war"
    webxml="E:\testSVN\smap\WebContent\WEB-INF\web.xml" >
    <fileset dir="E:\testSVN\smap\WebContent"/>
    <classes dir="E:\testSVN\smap\build\classes"/>
    </war>
    </target>
    <target name="deployX" depends="init">
    <echo message="27 deploy.source=${deploy.source}"/>
    <echo message="28 deploy.name=${deploy.name}"/>
    <wldeploy action="deploy"
    name="${deploy.name}"
    source="${deploy.source}\${deploy.name}"
    user="${wls.username}"
    password="${wls.password}"
    upload="true"
    remote="true"
    adminurl="t3://192.168.1.6:${wls.port}" targets="${deploy.target}" />
    </target>
    </project>

    Hi, I add debug="true" and verbose="true" to the ant script.
    I can deploy other war files from my computer to the remote machine (192.168.1.6)
    Buildfile: E:\SOAworkspace\ANT\Project2\build_smap.xml
    init:
    deployX:
    [echo] 27 deploy.source=E:\testSVN
    [echo] 28 deploy.name=smap.war
    [wldeploy] weblogic.Deployer -debug -remote -verbose -upload -noexit -name smap.war -source E:\testSVN\smap.war -targets AdminServer -adminurl t3://192.168.1.6:7001 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -debug -remote -verbose -upload -noexit -name smap.war -source E:\testSVN\smap.war -targets AdminServer -adminurl t3://192.168.1.6:7001 -user weblogic -deploy
    [wldeploy] [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
    [wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at 192.168.1.6:7001, as user weblogic
    [wldeploy] [ServerConnectionImpl.getEnvironment():286] : setting environment
    [wldeploy] [ServerConnectionImpl.getEnvironment():289] : getting context using t3://192.168.1.6:7001
    [wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://192.168.1.6:7001/jndi/weblogic.management.mbeanservers.domainruntime
    [wldeploy] java.io.IOException
    [wldeploy]      at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:195)
    [wldeploy]      at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:83)
    [wldeploy]      at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
    [wldeploy]      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:238)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:189)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:145)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    [wldeploy]      at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    [wldeploy]      at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wldeploy]      at weblogic.Deployer.run(Deployer.java:70)
    [wldeploy]      at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
    [wldeploy]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [wldeploy]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wldeploy]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wldeploy]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wldeploy]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [wldeploy]      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wldeploy]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [wldeploy]      at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [wldeploy]      at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [wldeploy]      at org.apache.tools.ant.Main.start(Main.java:179)
    [wldeploy]      at org.apache.tools.ant.Main.main(Main.java:268)
    [wldeploy] Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    [wldeploy]      java.io.EOFException]
    [wldeploy]      at weblogic.jrmp.Context.lookup(Context.java:189)
    [wldeploy]      at weblogic.jrmp.Context.lookup(Context.java:195)
    [wldeploy]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    [wldeploy]      at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:178)
    [wldeploy]      ... 40 more
    [wldeploy] Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    [wldeploy]      java.io.EOFException
    [wldeploy]      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
    [wldeploy]      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
    [wldeploy]      at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
    [wldeploy]      at weblogic.jrmp.BaseRemoteRef.invoke(BaseRemoteRef.java:221)
    [wldeploy]      at weblogic.jrmp.RegistryImpl_Stub.lookup(Unknown Source)
    [wldeploy]      at weblogic.jrmp.Context.lookup(Context.java:185)
    [wldeploy]      ... 43 more
    [wldeploy] Caused by: java.io.EOFException
    [wldeploy]      at java.io.DataInputStream.readByte(DataInputStream.java:250)
    [wldeploy]      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
    [wldeploy]      ... 48 more
    [wldeploy] [ServerConnectionImpl.close():332] : Closing DM connection
    [wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
    [wldeploy] javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 't3://192.168.1.6:7001' as user, 'weblogic'. Error received: null
    [wldeploy]      at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
    [wldeploy]      at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    [wldeploy]      at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wldeploy]      at weblogic.Deployer.run(Deployer.java:70)
    [wldeploy]      at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
    [wldeploy]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [wldeploy]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wldeploy]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wldeploy]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wldeploy]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [wldeploy]      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wldeploy]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [wldeploy]      at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [wldeploy]      at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [wldeploy]      at org.apache.tools.ant.Main.start(Main.java:179)
    [wldeploy]      at org.apache.tools.ant.Main.main(Main.java:268)
    [wldeploy] Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260010]Unable to connect to 't3://192.168.1.6:7001' as user, 'weblogic'. Error received: null
    [wldeploy]      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:249)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:189)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:145)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    [wldeploy]      ... 32 more
    [wldeploy] Caused by: java.io.IOException
    [wldeploy]      at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:195)
    [wldeploy]      at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:83)
    [wldeploy]      at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
    [wldeploy]      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:238)
    [wldeploy]      ... 36 more
    [wldeploy] Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    [wldeploy]      java.io.EOFException]
    [wldeploy]      at weblogic.jrmp.Context.lookup(Context.java:189)
    [wldeploy]      at weblogic.jrmp.Context.lookup(Context.java:195)
    [wldeploy]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    [wldeploy]      at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:178)
    [wldeploy]      ... 40 more
    [wldeploy] Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    [wldeploy]      java.io.EOFException
    [wldeploy]      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
    [wldeploy]      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
    [wldeploy]      at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
    [wldeploy]      at weblogic.jrmp.BaseRemoteRef.invoke(BaseRemoteRef.java:221)
    [wldeploy]      at weblogic.jrmp.RegistryImpl_Stub.lookup(Unknown Source)
    [wldeploy]      at weblogic.jrmp.Context.lookup(Context.java:185)
    [wldeploy]      ... 43 more
    [wldeploy] Caused by: java.io.EOFException
    [wldeploy]      at java.io.DataInputStream.readByte(DataInputStream.java:250)
    [wldeploy]      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
    [wldeploy]      ... 48 more
    [wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://192.168.1.6:7001': null. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:316)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wldeploy]      at weblogic.Deployer.run(Deployer.java:70)
    [wldeploy]      at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
    [wldeploy]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [wldeploy]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wldeploy]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wldeploy]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wldeploy]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [wldeploy]      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wldeploy]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [wldeploy]      at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [wldeploy]      at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [wldeploy]      at org.apache.tools.ant.Main.start(Main.java:179)
    [wldeploy]      at org.apache.tools.ant.Main.main(Main.java:268)
    [wldeploy] Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 't3://192.168.1.6:7001' as user, 'weblogic'. Error received: null
    [wldeploy]      at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
    [wldeploy]      at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
    [wldeploy]      at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
    [wldeploy]      ... 29 more
    [wldeploy] Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260010]Unable to connect to 't3://192.168.1.6:7001' as user, 'weblogic'. Error received: null
    [wldeploy]      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:249)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:189)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:145)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
    [wldeploy]      ... 32 more
    [wldeploy] Caused by: java.io.IOException
    [wldeploy]      at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:195)
    [wldeploy]      at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:83)
    [wldeploy]      at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
    [wldeploy]      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
    [wldeploy]      at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:238)
    [wldeploy]      ... 36 more
    [wldeploy] Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    [wldeploy]      java.io.EOFException]
    [wldeploy]      at weblogic.jrmp.Context.lookup(Context.java:189)
    [wldeploy]      at weblogic.jrmp.Context.lookup(Context.java:195)
    [wldeploy]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    [wldeploy]      at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:178)
    [wldeploy]      ... 40 more
    [wldeploy] Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    [wldeploy]      java.io.EOFException
    [wldeploy]      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
    [wldeploy]      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
    [wldeploy]      at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
    [wldeploy]      at weblogic.jrmp.BaseRemoteRef.invoke(BaseRemoteRef.java:221)
    [wldeploy]      at weblogic.jrmp.RegistryImpl_Stub.lookup(Unknown Source)
    [wldeploy]      at weblogic.jrmp.Context.lookup(Context.java:185)
    [wldeploy]      ... 43 more
    [wldeploy] Caused by: java.io.EOFException
    [wldeploy]      at java.io.DataInputStream.readByte(DataInputStream.java:250)
    [wldeploy]      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
    [wldeploy]      ... 48 more
    BUILD FAILED
    weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://192.168.1.6:7001': null. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
         at weblogic.Deployer.run(Deployer.java:72)
         at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
         at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
         at org.apache.tools.ant.Task.perform(Task.java:348)
         at org.apache.tools.ant.Target.execute(Target.java:357)
         at org.apache.tools.ant.Target.performTasks(Target.java:385)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
         at org.apache.tools.ant.Main.runBuild(Main.java:758)
         at org.apache.tools.ant.Main.startAnt(Main.java:217)
         at org.apache.tools.ant.Main.start(Main.java:179)
         at org.apache.tools.ant.Main.main(Main.java:268)
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://192.168.1.6:7001': null. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
         at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:316)
         at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
         at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
         at weblogic.utils.compiler.Tool.run(Tool.java:158)
         at weblogic.utils.compiler.Tool.run(Tool.java:115)
         at weblogic.Deployer.run(Deployer.java:70)
         ... 24 more
    Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 't3://192.168.1.6:7001' as user, 'weblogic'. Error received: null
         at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
         at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
         at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
         at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
         ... 29 more
    Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260010]Unable to connect to 't3://192.168.1.6:7001' as user, 'weblogic'. Error received: null
         at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:249)
         at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:189)
         at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:145)
         at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
         at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
         ... 32 more
    Caused by: java.io.IOException
         at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:195)
         at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:83)
         at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
         at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:238)
         ... 36 more
    Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
         java.io.EOFException]
         at weblogic.jrmp.Context.lookup(Context.java:189)
         at weblogic.jrmp.Context.lookup(Context.java:195)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:178)
         ... 40 more
    Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
         java.io.EOFException
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at weblogic.jrmp.BaseRemoteRef.invoke(BaseRemoteRef.java:221)
         at weblogic.jrmp.RegistryImpl_Stub.lookup(Unknown Source)
         at weblogic.jrmp.Context.lookup(Context.java:185)
         ... 43 more
    Caused by: java.io.EOFException
         at java.io.DataInputStream.readByte(DataInputStream.java:250)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
         ... 48 more
    Total time: 9 seconds

  • Wldeploy dosent work as expected in 11.1.2 as it works in 11.1.1.1.5

    I have the exactly same problem as described in this thread Error running Weblogic.Deployer in medrec tutorial (wl9.1)
    But my old jdev version (11.1.1.1.5) where things works fine and I am migrating to new jdev version (11.1.2) during wldeploy
    C:\Oracle\Middleware1112\jdeveloper\jdev\bin>
    C:\Oracle\Middleware1112\jdk160_24\bin\javaw.exe -client -Dosgi.clean=true -XX:MaxPermSize=256M -Xbootclasspath/p:../lib/lwawt.jar -Xbootclasspath/p:../lib/apt-expose.jar -Dsun.awt.keepWorkingSetOnMinimize=true -XX:+HeapDumpOnOutOfMemoryError -Doracle.jdeveloper.webservice.showAllOwsmPolicyTypes=false -Doracle.jdeveloper.webservice.hidePropertyOverride=false -Dsun.awt.disablegrab=true -Xbootclasspath/p:../../rdbms/jlib/ojdi.jar -Dide.patches.dir=jdev/lib/patches -Dnetbeans.home=../../netbeans/platform/ -Dnetbeans.logger.console=true -Dexcluded.modules=org.eclipse.osgi -Dide.cluster.dirs=../../netbeans/netbinox/:../../netbeans/bridge/:../../ -Xmx800M -Xms128M -Xverify:none -Doracle.ide.extension.HooksProcessingMode=LAZY -Dorg.eclipse.equinox.simpleconfigurator.configUrl=file:bundles.info -Dosgi.bundles=file:../ide/lib/oracle.ide.osgi.jar@3:start -Dosgi.bundles.defaultStartLevel=1 -Dosgi.configuration.cascaded=false -Dosgi.noShutdown=true -Dorg.osgi.framework.bootdelegation=* -Dosgi.parentClassloader=app -Xbootclasspath/p:../../rdbms/jlib/ojdi.jar -Dosgi.classloader.singleThreadLoads=true -Dosgi.bundlefile.limit=2000 -Xbootclasspath/a:../../../oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n-collation.jar -Xbootclasspath/a:../../../oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n-mapping.jar -Xbootclasspath/a:../../../oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n-servlet.jar -Xbootclasspath/a:../../../oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n-utility.jar -Xbootclasspath/a:../../../oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n.jar -Xbootclasspath/a:../../../oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar -Djavax.xml.parsers.DocumentBuilderFactory=oracle.xml.jaxp.JXDocumentBuilderFactory -Djavax.xml.parsers.SAXParserFactory=oracle.xml.jaxp.JXSAXParserFactory -Dorg.xml.sax.driver=oracle.xml.parser.v2.SAXParser -Dide.feedback-server=ide.us.oracle.com -Xbootclasspath/a:../../ide/lib/xml-factory.jar -Djavax.xml.transform.TransformerFactory=oracle.ide.xml.SwitchableTransformerFactory -Dsun.java2d.noddraw=true -Dide.conf=C:\Oracle\Middleware1112\jdeveloper\jdev\bin\jdev.conf -Dide.startingcwd=C:\Oracle\Middleware1112\jdeveloper\jdev\bin "-Dide.user.dir=C:\Documents and Settings\pakrish.APPLICATIONS\Application Data\JDeveloper\system11.1.2.0.38.60.17\o.jdeveloper.extensiondt.core\EDTplatform-dt_jdev-UserAndPrefDir" -Dedt.hot.classes=D:\tmp\jdev1112\SAIExtn_1App\TestAntInvoke\classes -Dedt.hot.manifest=D:\tmp\jdev1112\SAIExtn_1App\TestAntInvoke\src\META-INF\extension.xml -Dedt.hot.deploydir=jdev/extensions/ -Dedt.extension.id=yourcompany.testantinvoke -agentlib:jdwp=transport=dt_socket,server=y,address=1589 -Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true -classpath C:\Oracle\Middleware1112\jdeveloper\ide\lib\ide-boot.jar;C:\Oracle\Middleware1112\jdeveloper\netbeans\platform\lib\boot.jar;C:\Oracle\Middleware1112\jdeveloper\netbeans\platform\lib\org-openide-util.jar;C:\Oracle\Middleware1112\jdeveloper\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Oracle\Middleware1112\jdeveloper\netbeans\platform\lib\org-openide-modules.jar;C:\Oracle\Middleware1112\jdeveloper\ide\lib\fcpboot.jar -Djavax.net.ssl.trustStore=C:\DOCUME~1\PAKRIS~1.APP\LOCALS~1\Temp\trustStore5123141337500065063.jks -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=localhost|localhost.localdomain|127.0.0.1|::1|10.177.10.174| -Dhttps.proxyHost=www-proxy.us.oracle.com -Dhttps.proxyPort=80 -Xbootclasspath/a:C:\Oracle\Middleware1112\jdk160_24\lib\tools.jar;C:\Oracle\Middleware1112\jdk160_24\lib\dt.jar oracle.ide.osgi.boot.JDeveloper
    Listening for transport dt_socket at address: 1589
    Debugger connected to local process.
    Source breakpoint: InvokeAnt.java:35
    Source breakpoint: InvokeAnt.java:63
    Warning: Reference lib.path has not been set at runtime, but was found during
    build file parsing, attempting to resolve. Future versions of Ant may support
    referencing ids defined in non-executed targets.
    deploy:
    weblogic.Deployer -debug -nostage -verbose -upload -noexit -name globalweather -source C:\JDeveloper\mywork\SFE\outbound\globalweather\1.0.0.0.0\deploy\globalweather.ear -targets DefaultServer -adminurl t3://localhost:7101 -user weblogic -password ******** -deploy
    weblogic.Deployer invoked with options: -debug -nostage -verbose -upload -noexit -name globalweather -source C:\JDeveloper\mywork\SFE\outbound\globalweather\1.0.0.0.0\deploy\globalweather.ear -targets DefaultServer -adminurl t3://localhost:7101 -user weblogic -deploy
    [WebLogicDeploymentManagerImpl.<init>():115] : Constructing DeploymentManager for J2EE version V1_4 deployments
    [WebLogicDeploymentManagerImpl.getNewConnection():158] : Connecting to admin server at localhost:7101, as user weblogic
    [ServerConnectionImpl.getEnvironment():286] : setting environment
    [ServerConnectionImpl.getEnvironment():289] : getting context using t3://localhost:7101
    [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://localhost:7101/jndi/weblogic.management.mbeanservers.domainruntime
    java.io.IOException
         at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
         at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
         at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
         at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:238)
    weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://localhost:7101': Bootstrap to localhost/127.0.0.1:7101 failed. It is likely that the remote side declared peer gone on this JVM. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.

    Retrieving Information about WebLogic Server:
    Run
    1. <WLHOME>/server/bin/setWLSEnv
    2. java weblogic.Admin -adminurl t3://127.0.0.1:7001 -username weblogic -password weblogic1 PING 3 100
    In case of exception smth like "Caused By: java.net.UnknownHostException: localhost"
    add mappings of IP address to host name
    127.0.0.1 localhost
    For windows:
    C:\Windows\System32\drivers\etc\hosts
    Edited by: user6372268 on Dec 20, 2012 1:53 AM

  • Error using wldeploy in unix environment

    I am trying to use wldeploy ant task to deploy and undeploy applications from my server in a unix environment, and keep getting errors there, and not locally on a XP development workstation. Below are my buildfile and the error that I am getting. Anyone have any ideas as to what may be wrong?
    build.xml
    <target name="undeploy" description="Undeploys app">
    <wldeploy user="${user}" password="${password}"
    adminurl="${adminurl}" remote="true"
         action="stop" name="${appname}" debug="true"
    verbose="true"/>
    </target>
    And here is the error:
    [wldeploy] weblogic.Deployer -debug -remote -verbose -noexit -name ${appname} -adminurl iiop://${host}:${port} -user ${user} -password ${password} -stop
    [wldeploy] weblogic.Deployer invoked with options: -debug -remote -verbose -noexit -name broker-co
    ntact.ear -adminurl iiop://${host}:${port} -user ${user} -stop
    [wldeploy] [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE v
    ersion V1_4 deployments
    [wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at a
    lice.healthpartners.com:8001, as user system
    [wldeploy] [ServerConnectionImpl.getEnvironment():288] : setting environment
    [wldeploy] [Debug.say():43] : getting context using iiop://alice.healthpartners.com:8001
    [wldeploy] [Debug.say():43] : Connecting to MBeanServer at service:jmx:iiop://${host}:${port}/jndi/weblogic.management.mbeanservers.domainruntime
    [wldeploy] java.io.IOException
    [wldeploy] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProvide
    rBase.java:135)
    [wldeploy] at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProvid
    erBase.java:79)
    [wldeploy] at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.j
    ava:341)
    [wldeploy] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:262)
    [wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(Serve
    rConnectionImpl.java:240)
    [wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForTyp
    e(ServerConnectionImpl.java:191)
    [wldeploy] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectio
    nImpl.java:147)
    [wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(Web
    LogicDeploymentManagerImpl.java:148)
    [wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeplo
    ymentManagerImpl.java:118)
    [wldeploy] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentMan
    ager(DeploymentFactoryImpl.java:84)
    [wldeploy] at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:4
    32)
    [wldeploy] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:302
    [wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
    [wldeploy] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wldeploy] at weblogic.Deployer.run(Deployer.java:70)
    [wldeploy] at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
    :43)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:615)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
    [wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [wldeploy] at org.apache.tools.ant.Task.perform(Task.java:364)
    [wldeploy] at org.apache.tools.ant.Target.execute(Target.java:341)
    [wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [wldeploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    [wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    [wldeploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:4
    0)
    [wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    [wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:668)
    [wldeploy] at org.apache.tools.ant.Main.startAnt(Main.java:187)
    [wldeploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    [wldeploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    [wldeploy] Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    [wldeploy] java.io.EOFException]
    [wldeploy] at weblogic.jrmp.Context.lookup(Context.java:189)
    [wldeploy] at weblogic.jrmp.Context.lookup(Context.java:195)
    [wldeploy] at javax.naming.InitialContext.lookup(InitialContext.java:363)
    [wldeploy] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProvide
    rBase.java:126)
    [wldeploy] ... 35 more
    [wldeploy] Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nest
    ed exception is:
    [wldeploy] java.io.EOFException
    [wldeploy] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:293)
    [wldeploy] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:190)
    [wldeploy] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:321)
    [wldeploy] at weblogic.jrmp.BaseRemoteRef.invoke(BaseRemoteRef.java:221)
    [wldeploy] at weblogic.jrmp.RegistryImpl_Stub.lookup(Unknown Source)
    [wldeploy] at weblogic.jrmp.Context.lookup(Context.java:185)
    [wldeploy] ... 38 more
    [wldeploy] Caused by: java.io.EOFException
    [wldeploy] at java.io.DataInputStream.readByte(DataInputStream.java:269)
    [wldeploy] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:234)
    [wldeploy] ... 43 more
    [wldeploy] [Debug.say():43] : Closing DM connection
    [wldeploy] [Debug.say():43] : Unregistered all listeners
    [wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 'iiop://${host}:${port}': null. Ensure the url represents a running admin server and that the crede
    ntials are correct. If using http protocol, tunneling must be enabled on the admin server.
    Thanks.
    Scott

    Hi Richard,
    I had the same issue using Eclipse. I just tried to run the
    ant script outside of Eclipse and it worked fine.
    This is an Eclipse-Ant Class Loader issue.
    In order to make it work in Eclipse, You have to :
    1. Open the External Tool Run Configuration.
    2. Select your Ant script.
    3. Select JRE Tab.
    4. In Runtime JRE section, choose Seperate JRE.
    Hope this helps !
    Eric

  • Deploy error on remote Weblogic Server 10

    Hi, All,
    I try to deploy a simple JSP page with war deploy profile to a remote Weblogic Server 10. but error found:
    C:\jdeveloper10133\jdk\jre\bin\javaw.exe -classpath C:\jdeveloper10133\jdev\lib\ext\weblogic.jar weblogic.Deployer -adminurl http://rst-act3ct2.us.oracle.com:7001 -user weblogic -password **** -debug -verbose -deploy -upload -source C:\jdevWorkspace\WLSApplication\JSPProject\deploy\simpleJSP.ear -name simpleJSP
    java.lang.NoClassDefFoundError: weblogic/utils/Debug
    at weblogic.Deployer.<clinit>(Deployer.java:23)
    I wonder if there is any other jar file I need to add in classpath for deploy on remote weblogic? Thanks in advance.
    Best Regards,
    Bill

    I'm having the same problem. And I'm not ready to give up just yet -- this is a feature I really need to get working.
    This build script works locally:
    <project name="DEPLOY_TEST" default="deploy" basedir=".">
      <path id="classpath">
        <pathelement location="/opt/bea/wlserver_10.3/server/lib/weblogic.jar"/>
      </path>
      <target name="init-wldeploy-10.3">
        <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy">
           <classpath refid="classpath"/>
        </taskdef>
      </target>
      <target name="deploy" depends="init-wldeploy-10.3">
        <wldeploy action="deploy" source="test.ear" name="test"
                  user="weblogic" password="******" verbose="true" adminurl="t3://localhost:7001" debug="true"
                  upload="true" targets="testCluster"/>
      </target>
    </project>But a similar ant script (replacing localhost with server name) run on my development machine gives:
    java.lang.NoClassDefFoundError: weblogic/utils/DebugAnybody else scratching their head over this one?

  • Remote deploy a war file in weblogic using ant script

    Hi,
    How do I remote deploy a war file in weblogic using ant script
    Thanks

    http://download.oracle.com/docs/cd/E13222_01/wls/docs100/programming/wldeploy.html

  • How to remotely deploy adf application using ant script

    Please suggest some pointer on how to remotely deploy adf application using ant script.
    I have created automatic inbuild ant script using jdevloper and ojdeploy that create a war file into my adf application deploy folder.
    Now i want my war to be deploy remotely on weblogic server.
    Is there any inbuld functionality provided by jdeveloper for same.
    Can any one please share build.xml for adf application for deploying application remotely.
    I try to use wlserver but not much success.
    Thanks in advance.
    Sumit Bhasin

    [url http://download.oracle.com/docs/cd/E12839_01/web.1111/e13706/wldeploy.htm]the docs are pretty good.
    John

  • Wldeploy task "undeploy" problem; undepoyment failed

    iam using WLS8.1 + sp1 to deploy an application from one UNIX box remotely to another
    UNIX box. I have created a sample ANT task to do this but iam getting this error:
    <target name="undeploy-testproxymon-dev">
         <echo message="...........This is the developmenet box....undeploying....."/>
    <wldeploy action="unedeploy" name="IAS" user="system" password="weblogic"
    verbose="true" adminurl="http://153.2.255.78:8001" debug="true" targets="myCluster"/>
    </target>
    THIS IS THE ERROR THAT IAM GETTIG:
    ant undeploy-testproxymon-devBuildfile: build.xml
    undeploy-testproxymon-dev:
    [echo] ...........This is the developmenet box....undeploying.....
    [wldeploy] weblogic.Deployer -debug -verbose -noexit -name ias -targets myCluster
    -adminurl http://153.2.255.78:8001 -user system -password weblogic -unedeploy
    [wldeploy] Unpexpected Error Initializing Deployer: java.lang.IllegalArgumentException:
    Unrecognized option or flag, -unedeploy
    BUILD SUCCESSFUL
    Total time: 4 seconds
    Please help.
    -steve

    Steve wrote:
    ohh ....this works as there is a typo using the "undeploy" task.
    BUT BUT BUT....i have a question here: when it worked, the task basically deleted
    the files from all the manage server's stage directory. WHY does "undeploy"
    = delete !!!undeploy removes the application from the domain. ie it's as if it was
    never there.
    >
    >
    Moreover, the stage directory was containing my ias.ear file to be in a exploded
    form ....WHY is this so ????? ....why not in .ear format ?If you deploy an archived .ear file, the server will extract this, but
    that's just an implementation detail. It's not really exposed to the
    server.
    AND WHY does this .ear file doesn't go to <domain-name>/applications directory
    anymore ?The applications directory is used in single-server deployment
    environments where you want the server to poll a directory and
    auto-deploy anything added there. It's not useful or allowed in
    multiple server production environments.
    -- Rob
    >
    >
    >
    is this the correct behavior ?
    iam a little confused !!!!
    "Steve" <[email protected]> wrote:
    iam using WLS8.1 + sp1 to deploy an application from one UNIX box remotely
    to another
    UNIX box. I have created a sample ANT task to do this but iam getting
    this error:
    <target name="undeploy-testproxymon-dev">
         <echo message="...........This is the developmenet box....undeploying....."/>
    <wldeploy action="unedeploy" name="IAS" user="system" password="weblogic"
    verbose="true" adminurl="http://153.2.255.78:8001" debug="true" targets="myCluster"/>
    </target>
    THIS IS THE ERROR THAT IAM GETTIG:
    ant undeploy-testproxymon-devBuildfile: build.xml
    undeploy-testproxymon-dev:
    [echo] ...........This is the developmenet box....undeploying.....
    [wldeploy] weblogic.Deployer -debug -verbose -noexit -name ias -targets
    myCluster
    -adminurl http://153.2.255.78:8001 -user system -password weblogic -unedeploy
    [wldeploy] Unpexpected Error Initializing Deployer: java.lang.IllegalArgumentException:
    Unrecognized option or flag, -unedeploy
    BUILD SUCCESSFUL
    Total time: 4 seconds
    Please help.
    -steve

  • Using wldeploy from NT to deploy over Unix

    WLS 8.1 sp2 / solaris
    I 'm using wldeploy ant task.
    quite good for undeploying, if I put the weblogic.jar in the classpath before
    calling ant.
    But I fail using deploy because my source file path is always converted from unix
    "/" to windows "\". So it always fails with a "java.io.FileNotFoundException:
    No such path".
    Thanks for any clue.
    My goal it to undeploy/redeploy from my NT workstation to my Unix WLS server.

    Rob/Philippe,
    It is a bug and a case has already been created.
    -shailesh
    Rob Woollen <[email protected]> wrote:
    Hmm, that sounds like a bug. Can you show me the stack trace or error
    message it emits?
    -- Rob
    Philippe MARSOLLIER wrote:
    Rob Woollen <[email protected]> wrote:
    Is the file that you are deploying on the local windows machine or
    on
    the remote machine?
    By default Deployer treats any path to be on the local machine. If
    you
    pass -remote, it uses the server's file system to resolve the path.
    -- RobYes, I use -remote but it convert / (unix separator) in \ (windowsseparator)
    >

  • Wldeploy throwing exceptions

    I'm trying to use the ant task to redeploy our application and I get the following
    exception
    [wldeploy] weblogic.Deployer -debug -remote -noexit -name test -source C:\misc\bu
    ilds\test.war -targets testserver -adminurl t3://localhost:7001 -user test -password
    ******** -redeploy
    [wldeploy] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Class
    d
    oes not implement remote interface ]
    [wldeploy] at weblogic.utils.Debug.assertion(Debug.java:57)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java
    :110)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java
    :80)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerato
    r.java:764)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:803)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:790)
    [wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
    79)
    [wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
    rviceStub.java:50)
    [wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
    .java:153)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
    otely(WLInitialContextFactoryDelegate.java:592)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
    nitialContextFactoryDelegate.java:529)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
    itialContextFactoryDelegate.java:341)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
    xt(WLInitialContextFactoryDelegate.java:313)
    [wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:166)
    [wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
    145)
    [wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
    BeanHomeTool.java:170)
    [wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [wldeploy] at weblogic.Deployer.main(Deployer.java:399)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
    .java:238)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
    va:199)
    [wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
    va:269)
    [wldeploy] at org.apache.tools.ant.Task.perform(Task.java:364)
    [wldeploy] at org.apache.tools.ant.Target.execute(Target.java:301)
    [wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:328)
    [wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
    [wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1063
    [wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:632)
    [wldeploy] at org.apache.tools.ant.Main.startAnt(Main.java:183)
    [wldeploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
    [wldeploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
    [wldeploy] java.lang.reflect.InvocationTargetException
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
    hodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
    .java:238)
    [wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
    va:199)
    [wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
    va:269)
    [wldeploy] at org.apache.tools.ant.Task.perform(Task.java:364)
    [wldeploy] at org.apache.tools.ant.Target.execute(Target.java:301)
    [wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:328)
    [wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
    [wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1063
    [wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:632)
    [wldeploy] at org.apache.tools.ant.Main.startAnt(Main.java:183)
    [wldeploy] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
    [wldeploy] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
    [wldeploy] Caused by: weblogic.utils.AssertionError: ***** ASSERTION FAILED ***
    **[ Class does not implement remote interface ]
    [wldeploy] at weblogic.utils.Debug.assertion(Debug.java:57)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java
    :110)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.<init>(StubGenerator.java
    :80)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerato
    r.java:764)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:803)
    [wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
    r.java:790)
    [wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
    79)
    [wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
    rviceStub.java:50)
    [wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
    .java:153)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
    otely(WLInitialContextFactoryDelegate.java:592)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
    nitialContextFactoryDelegate.java:529)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
    itialContextFactoryDelegate.java:341)
    [wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
    xt(WLInitialContextFactoryDelegate.java:313)
    [wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:166)
    [wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
    145)
    [wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
    BeanHomeTool.java:170)
    [wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [wldeploy] at weblogic.Deployer.main(Deployer.java:399)
    [wldeploy] ... 16 more
    BUILD FAILED
    C:\misc\builds\build.xml:22: java.lang.reflect.InvocationTargetException

    I get the same error when I have a mismatch between the local Ant installation and the local Weblogic installation.
    To check that it is not an error due to the environment, You can use the file setWLSEnv.cmd under %WL_HOME%\server\bin.
    Regards
    Eric

  • Exception while deploying Application Remotely

    Hello Everybody,
    I am facing an exception while doing remote deployment from Windows box to WL server on Solaris box.
    Please look into the attached error and let me know your suggestions.
    *[wldeploy] javax.naming.NameNotFoundException: Unable to resolve 'RspDataSource'. Resolved ''; remaining name 'RspDataSource'*
    Your help is appreciated….
    Thanks in advance,
    Prasad Charyulu.
    deploy:
    [wldeploy] weblogic.Deployer -debug -remote -verbose -upload -noexit -name rsp_act_bundle8 -source E:\Workspaces\build\Deploy\dist\rsp_act.ear -targets rspadmin -adminurl t3://Myserver.org:8006 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -debug -remote -verbose -upload -noexit -name rsp_act_bundle8 -source E:\Workspaces\build\Deploy\dist\rsp_act.ear -targets rspadmin -adminurl t3://Myserver.org:8006 -user weblogic -deploy
    [wldeploy] [WebLogicDeploymentManagerImpl.&lt;init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
    [wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at Myserver.org:8006, as user weblogic
    [wldeploy] [ServerConnectionImpl.getEnvironment():288] : setting environment
    [wldeploy] [ServerConnectionImpl.getEnvironment():291] : getting context using t3://Myserver.org:8006
    [wldeploy] [ServerConnectionImpl.getMBeanServer():239] : Connecting to MBeanServer at service:jmx:t3://Myserver.org:8006/jndi/weblogic.management.mbeanservers.domainruntime
    [wldeploy] [ServerConnectionImpl.getMBeanServer():239] : Connecting to MBeanServer at service:jmx:t3://Myserver.org:8006/jndi/weblogic.management.mbeanservers.runtime
    [wldeploy] [DomainManager.resetDomain():36] : Getting new domain
    [wldeploy] [DomainManager.resetDomain():39] : Using pending domain: true
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1bb9a58
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@1bb9a58
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@1f0aecc
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@1f0aecc
    [wldeploy] [ServerConnectionImpl.initialize():171] : Connected to WLS domain: rspdomain06
    [wldeploy] [ServerConnectionImpl.setRemote():482] : Running in remote mode
    [wldeploy] [ServerConnectionImpl.init():161] : Initializing ServerConnection : [email protected]f12
    [wldeploy] [BasicOperation.dumpTmids():689] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():691] : {Target=rspadmin, WebLogicTargetType=server, Name=rsp_act_bundle8}, targeted=true
    [wldeploy] [BasicOperation.deriveAppName():140] : appname established as: rsp_act_bundle8
    [wldeploy] &lt;Aug 27, 2009 2:25:32 PM PDT> &lt;Info> &lt;J2EE Deployment SPI> &lt;BEA-260121> &lt;Initiating deploy operation for application, rsp_act_bundle8 [archive: E:\Workspaces\build\Deploy\dist\rsp_act.ear], to rspadmin .>
    [wldeploy] [ServerConnectionImpl.upload():658] : Uploaded app to /opt/bea/wls10_3/user_projects/domains/rspdomain06/servers/rspadmin/upload/rsp_act_bundle8
    [wldeploy] [BasicOperation.dumpTmids():689] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():691] : {Target=rspadmin, WebLogicTargetType=server, Name=rsp_act_bundle8}, targeted=true
    [wldeploy] [BasicOperation.loadGeneralOptions():606] : Delete Files:false
    [wldeploy] Timeout :3600000
    [wldeploy] Targets:
    [wldeploy] rspadmin
    [wldeploy] ModuleTargets={}
    [wldeploy] SubModuleTargets={}
    [wldeploy] }
    [wldeploy] Files:
    [wldeploy] null
    [wldeploy] Deployment Plan: null
    [wldeploy] App root: \opt\bea\wls10_3\user_projects\domains\rspdomain06\servers\rspadmin\upload\rsp_act_bundle8
    [wldeploy] App config: \opt\bea\wls10_3\user_projects\domains\rspdomain06\servers\rspadmin\upload\rsp_act_bundle8\plan
    [wldeploy] Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=null,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=rsp_act_bundle8,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0deploymentPrincipalName=null}
    [wldeploy]
    [wldeploy] [BasicOperation.execute():423] : Initiating deploy operation for app, rsp_act_bundle8, on targets:
    [wldeploy] [BasicOperation.execute():425] : rspadmin
    [wldeploy] Task 42 initiated: [Deployer:149026]deploy application rsp_act_bundle8 on rspadmin.
    [wldeploy] dumping Exception stack
    [wldeploy] Task 42 failed: [Deployer:149026]deploy application rsp_act_bundle8 on rspadmin.
    [wldeploy] Target state: deploy failed on Server rspadmin
    [wldeploy] javax.naming.NameNotFoundException: Unable to resolve 'RspDataSource'. Resolved ''; remaining name 'RspDataSource'
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    [wldeploy]      at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    [wldeploy]      at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    [wldeploy]      at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
    [wldeploy]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    [wldeploy]      at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:132)
    [wldeploy] Target Assignments:
    [wldeploy] + rsp_act_bundle8 rspadmin
    [wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Task 42 failed: [Deployer:149026]deploy application rsp_act_bundle8 on rspadmin.
    [wldeploy] Target state: deploy failed on Server rspadmin
    [wldeploy] javax.naming.NameNotFoundException: Unable to resolve 'RspDataSource'. Resolved ''; remaining name 'RspDataSource'
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
    [wldeploy]      at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
    [wldeploy]      at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
    [wldeploy]      at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
    [wldeploy]      at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
    [wldeploy]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    [wldeploy]      at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:132)
    [wldeploy]      at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88)
    [wldeploy]      at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:130)
    [wldeploy]      at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:155)
    [wldeploy]      at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)
    BUILD FAILED
    E:\Workspaces\build\Deploy\build.xml:16: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 42 failed: [Deployer:149026]deploy application rsp_act_bundle8 on rspadmin.
    Target state: deploy failed on Server rspadmin
    javax.naming.NameNotFoundException: Unable to resolve 'RspDataSource'. Resolved ''; remaining name 'RspDataSource'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:132)
         at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88)
         at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:130)
    Edited by: user4068647 on Aug 27, 2009 5:04 PM
    Edited by: user4068647 on Aug 27, 2009 5:05 PM

    Hi David,
    I greatly appreciate your details.
    I have verified that and they looks fine. Let me give you some background.
    The Weblogic server is properly configured on my Sun Solaris box. I am successfully able to deploy applications (.ear files), when I do it from the same machine.
    But, I am getting the above mentioned issue only when I try to deploy same .ear file remotely; I mean deployment triggered from Windows 2003 server (target machine is Sun Solaris).
    Please give your pointers and help me.
    Regards,
    Gopal.

  • Wldeploy : redeployment does not work

    Hi,
    I would like to redeploy only a specific JSP. So I tried something like this:
    <wldeploy  name="NS Lookup" verbose="true"
            user="${wls.user}" password="${wls.password}"
            action="redeploy"  debug="true"
            adminurl="t3://${wls.host}:${wls.port}"
               targets="${wls.server.name}"
            deltafiles="WebApp/nslookup.jsp">
    </wldeploy>However I don't get any error the jsp has not been deployed on the server (Timestamp remains the same).
    I use the split directory structure which looks like:
    sources/
       WebApp/
             WEB-INF/
             nslookup.jsp
    build/
    dist/
        myEar/
             WEB-INF/
             nslookup.jspTo deploy I use following task:
    <wldeploy  name="NS Lookup"
            user="${wls.user}" password="${wls.password}"
            action="deploy" source="${dist}/${ear}" 
               upload="true" stage="nostage"
              adminurl="t3://${wls.host}:${wls.port}"
               targets="${wls.server.name}" />           Moreover I would like to know if it is possible to redeploy jsp for example without loosing the http session.
    Many thanks in advance
    Best regards
    Steve
    Edited by ze_key at 01/30/2007 6:06 AM

    Hi,
    I found the solution : I had to remove upload="true" from the deploy task.
    Redeploy does not work with a remote server although I didn't find anything in the doc regarding this issue.
    Does anyone knows a workaround to be able to redeploy on a remote server ?
    Many thanks in advance
    Steve

  • AIO Remote

    Can you tell me why I can use HP e-print on my Ipad but my C4385 is not compatible with AIO remote. My Ipad has no problem finding and printing on my C4385 using HP e-print. However AIO can not find my printer. Every other scan and print app that I have tested has no problem finding my C4385. How is it that this HP software can't find one of its Owen. The printer is connected through the same network as my Ipad.
    Thanks !

    Hi Florami,
    Welcome to the HP Support forums.  I understand that the HP All-in-One Printer Remote app is not scanning from your Photosmart C4385 printer.
    I have included a document about which printers support the various HP Cloud services. Your printer is not a supported printer for the AiO app.
    HP Web-Connected Printers and Supported Cloud Services
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

Maybe you are looking for

  • Is it possible to have two OIA instances on same box

    Hi All We would like to install two OIA instaces (one for Dev and One for QA) on one linux box and those will be deployed on two different weblogic servers (two web logic installations are there in this box). Is it poosible? if yes, How can we manage

  • 7.0.1 wont connect using multipule tabs

    -------------------------------------------------------------------------------- Running about 7 tabs open at startup, this has always worked fine, here is the problem and the sequence of events leading up to hope. Any suggestions would be appreciate

  • 101 GR/IR wrong values

    Dear all. PO rate: 159.00 [Not changed since PO creation] GR done in June having GR/IR = according to 162.64 In table MBEWH Year    Period      MAP 2009      01         159.00 2009      02         159.00 2009      03         162.64 For current period

  • Constant Field Values

    A simple question. Does anyone know how to use Constant Field Values of PAPI? Please paste the sample code. Thanks.

  • Calculating Mileage & Breaking For Loop

    Hey all, I'm trying to create an application that calculates total mileage traveled and subtracts the initial mileage reading on the odometer. Can someone please tell me what I'm doing wrong? Also, can you tell me how I can break the For loop by inpu