Thursday, November 4, 2010

ADF weblogic remote deployment problem -

Use the t3 protocol (ProtocolException Tunneling problem) not http for remote deployments and dont forget the -upload flag (Unable to access application source information in)!

Example:
<java classname="weblogic.Deployer"
fork="true" failonerror="true"
classpath="/oracle/jdeveloper/weblogiclibrary/weblogic.jar">
<arg value="-library"/>
<arg value="-upload"/>
<arg value="-adminurl"/><arg value="t3://$wlHost:7001"/>
  <arg value="-username"/><arg value="weblogic"/>
  <arg value="-password"/><arg value="weblogic1"/>
  <arg value="-source"/><arg value="/deploy/application.ear"/>
  <arg value="-targets"/><arg value="DefaultServer"/>
<arg value="-deploy"/>
</java>

No comments:

Post a Comment