Hello,

I've had good success deploying my application to a single oc4j instance using 'mvn install'.
Now I have two instances to deploy to and I'm wondering how to do this.

Initially I tried to add another <tasks> entry in that pom file.

<!-- this is the original task that is working - note: port is not listed in the URI (7777) -->
             <tasks>
<java jar="/app/oracle/ias/10131/Oracle_AS1/j2ee/home/admin_client.jar" fork="yes"> <arg value="deployer:oc4j:opmn://wd2045.us.oracle.com/oc4j_od"/>
                 <list of args......>
               </java>
             </tasks>
<!-- this is the new task with the port number added "wd2045.us.oracle.com:7778" -->
             <tasks>
<java jar="/app/oracle/ias/10131/Oracle_AS1/j2ee/home/admin_client.jar" fork="yes"> <arg value="deployer:oc4j:opmn://wd2045.us.oracle.com*:7778*/oc4j_od"/>
                 <list of args......>
               </java>
             </tasks>

When I try to install I get:

[java] Failed at "Could not get DeploymentManager".
[java] This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.

So it doesn't like my URI of "deployer:oc4j:opmn://wd2045.us.oracle.com*:7778*/oc4j_od".

Given that I didn't specify a port number in the first case, I'm not sure what this is looking for.

Thanks for the help in advance,
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to