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.pk
gs=HTTPCli
ent -jar C:\Downloads\jdevstudio101
33\jdev\li
b\oc4j_rem
ote_deploy
.jar
http://192.168.22.255:1810/em/ developer welcome99 redeploy C:\oracle\10.1.3.1 C:\LOPlusUpdateWS_developm
ent_200810
06.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_developm
ent_200810
06.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.StreamCorruptedExc
eption: invalid stream header: 0A0A3C68
java.io.StreamCorruptedExc
eption: invalid stream header: 0A0A3C68
at java.io.ObjectInputStream.
readStream
Header(Unk
nown Source)
at java.io.ObjectInputStream.
<init>(Unk
nown Source)
at oracle.j2ee.tools.remote_d
eploy.Oc4j
DcmClient.
receiveSes
sionId(Unk
nown Source)
at oracle.j2ee.tools.remote_d
eploy.Oc4j
DcmCommand
.execute(U
nknown Source)
at oracle.j2ee.tools.remote_d
eploy.Oc4j
DcmCommand
.redeployA
pplication
(Unknown Source)
at oracle.j2ee.tools.remote_d
eploy.Oc4j
DcmMain.ma
in(Oc4jDcm
Main.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 it
Start Free Trial