Advertisement

10.06.2008 at 03:58AM PDT, ID: 23789983 | Points: 500
[x]
Attachment Details

How to remotely deploy aplication on OAS

Asked by All_Colours in JDeveloper, Oracle Database, Oracle IAS Application Server

Tags: , , , , ,

Hi I have a similar problem.

We do not use https anywhere!

When typing the following in the command line........

java -Xms256m -Xmx256m -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Downloads\jdevstudio10133\jdev\lib\oc4j_remote_deploy.jar http://192.168.22.255:1810/em/ developer welcome99 redeploy C:\oracle\10.1.3.1 C:\LOPlusUpdateWS_development_20081006.ear LOPlusUpdateWS

I get.......

Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command redeploy C:\oracle C:\LOPlusUpdateWS_development_20081006.ear LOPlusUpdateWS UNDEFINED
Command = REDEPLOY
Reading application's ear file
Ear file was successfully read
Opening connection to Oc4jDcmServlet
Setting userName to developer
Sending command to DCM servlet
HTTP response code = 200, HTTP response msg = OK
Command was successfully sent to Oc4jDcmServlet
Receiving session id from servlet to check command status
****  Could not get session id from Oc4jDcmServlet
 ** Thread[main,5,main] ** Mon Oct 06 12:49:16 CEST 2008 **  ** EXCEPTION: java.io.StreamCorruptedException: invalid stream header: 0A0A3C68
java.io.StreamCorruptedException: invalid stream header: 0A0A3C68
      at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
      at java.io.ObjectInputStream.<init>(Unknown Source)
      at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.receiveSessionId(Unknown Source)
      at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(Unknown Source)
      at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.redeployApplication(Unknown Source)
      at oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(Oc4jDcmMain.java:63)
Please, wait for command to finish...
Checking command status...
Setting userName to developer
Command has finished
Receiving command exit value
####  Could not receive command output from Oc4jDcmServlet
Receiving command output
####  Could not receive command output from Oc4jDcmServlet
****  No output was received from command
Closing connection to Oc4jDcmServlet
####  DCM command did not complete successfully (-1)
####  HTTP return code was -1



I have no idea how to resolve itStart Free Trial
[+][-]11.03.2008 at 05:52PM PST, ID: 22873042

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_Related_20080208