OC4JDCMServlet.ear

Helo gurus
I am working with JDEV 10.1.2.1 and deployed a war file on OAS10g 10.1.2.1..
I believe JDEV was able to deploy the war file bec of the oc4jdcmservlet.ear (via DCM ) which is on the server side.
can anyone explain to me the process behind this?what does this sevlet do?
Thanks in Advance
enyhm

Roughly speaking, this servlet exposes via HTTP methods, the deployment API used by DCM -- it runs where on the application server instance where DCM is available. It basically allows you post an archive to deploy, some meta-data (name, etc.) which it then saves locally and deploys via DCM.
If you look at the JDeveloper log window when you deploy to an OAS 10.1.2 instance, you'll see the messages it returns that indicates it is operating.
There's a few blogs around that describe how to use it, do a quick search and you'll find them.
-steve-

Similar Messages

  • Java.io.EOFException when deploying Oc4jDcmServlet.ear file

    Upon entering the following...
    java -jar c:/JDev9.0.3/j2ee/home/admin.jar ormi://servername:1811 ias_admin password -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
    ... I receive a java.io.EOFException: Disconnected error
    any ideas?
    Thanks,
    Ora M Team

    Try to resolve the class first.
    The iasdeploy is refering the class in its full path , when you assemble the pack, you need to resolve the path of all classes.
    Hope that works,
    Fernando
    [email protected]

  • Deployment in jdev (oc4jdcmservlet.ear)

    Helo gurus
    I am working with JDEV 10.1.2.1 and deployed a war file on OAS10g 10.1.2.1..
    I believe JDEV was able to deploy the war file bec of the oc4jdcmservlet.ear (via DCM ) which is on the server side.
    can anyone explain to me the process behind this?what does this sevlet do?
    Thanks in Advance
    enyhm

    See step 23 here:
    http://radalcove.com/blog/?p=34

  • Location of Oc4jDcmServlet.ear

    I'm using 10.1.2.Where is the Oc4jDcmServlet.ear located in the directory hierarchy of 10.1.2?

    Hi Carlos
    There are many ways to deploy the ear
    1)through the SAP NETWEAVER developer studio
    2)through deploytool
    3)and through th eadmin console
    If you are using the SAP netwevare developer studio there is a workspace allocated when you first launch the SAP netweaver developer studio,so when ever you build an ear ini the studio the ear file is placed in that workspace.
    when you deploy it through the studio it creates a temporary ear file with "someid+yourearfilename"
    [somedrive]:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\SapWasEar\localhost\[dateand time]
    for example
    C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\SapWasEar\localhost\2005.05.27.12.01.58
    Hope you get some clue
    Sai

  • Oc4jDcmServlet  : java.io.IOException: Error writing to server

    I've been using the following ant task to do a remote deployment to an OC4J container :
    <tasks>
    <java jar="../../../../../MAVEN-WORK/portal-lib/oc4j_remote_deploy.jar" fork="yes" maxmemory ="512m">
    <jvmarg value="-Djava.protocol.handler.pkgs=HTTPClient"/>
    <arg value="http://wblv-ep-sp05:1824/Oc4jDcmServletAPI/"/>
    <arg value="ias_admin"/>
    <arg value="admin_dev3"/>
    <arg value="redeploy"/>
    <arg value="/app/oracle/product/oc4jext10.1.2-d3"/>
    <arg value="../portal-ear/target/portal.ear"/>
    <arg value="portal"/>
    <arg value="OC4J_portal"/>
    </java>
    </tasks>
    This has worked before , but I'm suddenly getting error when trying to run it .The error message and stack trace are shown below :
    [INFO] Executing tasks
    [java] Initializing log
    [java] Servlet interface for OC4J DCM commands
    [java] Command timeout defined at 600 seconds
    [java] Executing DCM command...
    [java] Executing command redeploy /app/oracle/product/oc4jext10.1.2-d3 ../e
    portal-ear/target/ePortalep2x-QA-V-02_00_5-20070220.ear eportal OC4J_Eportal
    [java] Command = REDEPLOY
    [java] Reading application's ear file
    [java] Ear file was successfully read
    [java] Opening connection to Oc4jDcmServlet
    [java] Setting userName to ias_admin
    [java] Sending command to DCM servlet
    [java] **** Could not check HTTP response code
    [java] ** Thread[main,5,main] ** Sun Feb 25 20:47:34 CAT 2007 ** ** EXCEP
    TION: java.io.IOException: Error writing to server
    [java] java.io.IOException: Error writing to server
    [java] at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Htt
    pURLConnection.java:416)
    [java] at sun.net.www.protocol.http.HttpURLConnection.writeRequests(Htt
    pURLConnection.java:428)
    [java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Ht
    tpURLConnection.java:934)
    [java] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.
    java:367)
    [java] at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.isHttpResponseO
    k(Unknown Source)
    [java] at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.sendCommand(Unk
    nown Source)
    [java] at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(Unknow
    n Source)
    [java] at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.redeployApplic
    ation(Unknown Source)
    [java] at oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(Oc4jDcmMain.
    java:63)
    [java] #### HTTP response is NOT ok
    [java] Closing connection to Oc4jDcmServlet
    [java] #### DCM command did not complete successfully (-1)
    [java] #### HTTP return code was -1
    [java] Java Result: -1
    [INFO] Executed tasks
    It seems to stall at the "Sending command to DCM servlet" stage , then fails.
    Does the DCM servlet write out logs that I can look at?Where is the Oc4jDcmServlet.ear located in an OC4J container directory hierarchy?How do I redeploy the Oc4jDcmServlet.ear ?
    This was working a few hours ago as seen here in my previous logs (and I do not understand what could have gone wrong) :
    ** Thread[main,5,main] ** Thu Feb 22 14:50:39 CAT 2007 ** Initializing log
    ** Thread[main,5,main] ** Thu Feb 22 14:50:39 CAT 2007 ** Servlet interface for OC4J DCM commands
    ** Thread[main,5,main] ** Thu Feb 22 14:50:39 CAT 2007 ** Command timeout defined at 600 seconds
    ** Thread[main,5,main] ** Thu Feb 22 14:50:39 CAT 2007 ** Executing command redeploy /app/oracle/product/oc4jext10.1.2-d3 ../portal-ear/target/portal.ear portal OC4J_portal
    ** Thread[main,5,main] ** Thu Feb 22 14:50:39 CAT 2007 ** Command = REDEPLOY
    ** Thread[main,5,main] ** Thu Feb 22 14:50:39 CAT 2007 ** Reading application's ear file
    ** Thread[main,5,main] ** Thu Feb 22 14:50:45 CAT 2007 ** Ear file was successfully read
    ** Thread[main,5,main] ** Thu Feb 22 14:50:45 CAT 2007 ** Opening connection to Oc4jDcmServlet
    ** Thread[main,5,main] ** Thu Feb 22 14:50:45 CAT 2007 ** Setting userName to ias_admin
    ** Thread[main,5,main] ** Thu Feb 22 14:50:45 CAT 2007 ** Sending command to DCM servlet
    ** Thread[main,5,main] ** Thu Feb 22 14:50:50 CAT 2007 ** HTTP response code = 200, HTTP response msg = OK
    ** Thread[main,5,main] ** Thu Feb 22 14:50:50 CAT 2007 ** Command was successfully sent to Oc4jDcmServlet
    ** Thread[main,5,main] ** Thu Feb 22 14:50:50 CAT 2007 ** Receiving session id from servlet to check command status
    ** Thread[main,5,main] ** Thu Feb 22 14:50:50 CAT 2007 ** Session id = 0afb65197201792b582df0d486285eef6aa19c1ab64
    ** Thread[main,5,main] ** Thu Feb 22 14:50:50 CAT 2007 ** Please, wait for command to finish...
    ** Thread[main,5,main] ** Thu Feb 22 14:51:00 CAT 2007 ** Checking command status...
    ** Thread[main,5,main] ** Thu Feb 22 14:51:00 CAT 2007 ** Setting userName to ias_admin
    ** Thread[main,5,main] ** Thu Feb 22 14:51:00 CAT 2007 ** Setting Cookie to JSESSIONID=0afb65197201792b582df0d486285eef6aa19c1ab64
    ** Thread[main,5,main] ** Thu Feb 22 14:51:00 CAT 2007 ** Checking command status
    ** Thread[main,5,main] ** Thu Feb 22 14:51:00 CAT 2007 ** HTTP response code = 200, HTTP response msg = OK
    ** Thread[main,5,main] ** Thu Feb 22 14:51:00 CAT 2007 ** Command has not finished yet
    ** Thread[main,5,main] ** Thu Feb 22 14:51:10 CAT 2007 ** Checking command status...
    ** Thread[main,5,main] ** Thu Feb 22 14:51:10 CAT 2007 ** Setting userName to ias_admin
    ** Thread[main,5,main] ** Thu Feb 22 14:51:10 CAT 2007 ** Setting Cookie to JSESSIONID=0afb65197201792b582df0d486285eef6aa19c1ab64
    ** Thread[main,5,main] ** Thu Feb 22 14:51:10 CAT 2007 ** Checking command status
    ** Thread[main,5,main] ** Thu Feb 22 14:51:10 CAT 2007 ** HTTP response code = 200, HTTP response msg = OK
    ** Thread[main,5,main] ** Thu Feb 22 14:51:10 CAT 2007 ** Command has not finished yet
    ** Thread[main,5,main] ** Thu Feb 22 14:51:20 CAT 2007 ** Checking command status...
    ** Thread[main,5,main] ** Thu Feb 22 14:51:20 CAT 2007 ** Setting userName to ias_admin
    ** Thread[main,5,main] ** Thu Feb 22 14:51:20 CAT 2007 ** Setting Cookie to JSESSIONID=0afb65197201792b582df0d486285eef6aa19c1ab64
    ** Thread[main,5,main] ** Thu Feb 22 14:51:20 CAT 2007 ** Checking command status
    ** Thread[main,5,main] ** Thu Feb 22 14:51:20 CAT 2007 ** HTTP response code = 200, HTTP response msg = OK
    ** Thread[main,5,main] ** Thu Feb 22 14:51:20 CAT 2007 ** Command has not finished yet
    ** Thread[main,5,main] ** Thu Feb 22 14:51:30 CAT 2007 ** Checking command status...
    ** Thread[main,5,main] ** Thu Feb 22 14:51:30 CAT 2007 ** Setting userName to ias_admin
    ** Thread[main,5,main] ** Thu Feb 22 14:51:30 CAT 2007 ** Setting Cookie to JSESSIONID=0afb65197201792b582df0d486285eef6aa19c1ab64
    ** Thread[main,5,main] ** Thu Feb 22 14:51:30 CAT 2007 ** Checking command status
    ** Thread[main,5,main] ** Thu Feb 22 14:51:30 CAT 2007 ** HTTP response code = 200, HTTP response msg = OK
    ** Thread[main,5,main] ** Thu Feb 22 14:51:30 CAT 2007 ** Command has not finished yet
    ** Thread[main,5,main] ** Thu Feb 22 14:51:40 CAT 2007 ** Checking command status...
    ** Thread[main,5,main] ** Thu Feb 22 14:51:40 CAT 2007 ** Setting userName to ias_admin
    ** Thread[main,5,main] ** Thu Feb 22 14:51:40 CAT 2007 ** Setting Cookie to JSESSIONID=0afb65197201792b582df0d486285eef6aa19c1ab64
    ** Thread[main,5,main] ** Thu Feb 22 14:51:40 CAT 2007 ** Checking command status
    ** Thread[main,5,main] ** Thu Feb 22 14:51:40 CAT 2007 ** HTTP response code = 200, HTTP response msg = OK
    ** Thread[main,5,main] ** Thu Feb 22 14:51:40 CAT 2007 ** Command has not finished yet
    ** Thread[main,5,main] ** Thu Feb 22 14:51:50 CAT 2007 ** Checking command status...
    ** Thread[main,5,main] ** Thu Feb 22 14:51:50 CAT 2007 ** Setting userName to ias_admin
    ** Thread[main,5,main] ** Thu Feb 22 14:51:50 CAT 2007 ** Setting Cookie to JSESSIONID=0afb65197201792b582df0d486285eef6aa19c1ab64
    ** Thread[main,5,main] ** Thu Feb 22 14:51:50 CAT 2007 ** Checking command status
    ** Thread[main,5,main] ** Thu Feb 22 14:51:50 CAT 2007 ** HTTP response code = 200, HTTP response msg = OK
    ** Thread[main,5,main] ** Thu Feb 22 14:51:50 CAT 2007 ** Command has not finished yet
    ** Thread[main,5,main] ** Thu Feb 22 14:52:00 CAT 2007 ** Checking command status...
    ** Thread[main,5,main] ** Thu Feb 22 14:52:00 CAT 2007 ** Setting userName to ias_admin
    ** Thread[main,5,main] ** Thu Feb 22 14:52:00 CAT 2007 ** Setting Cookie to JSESSIONID=0afb65197201792b582df0d486285eef6aa19c1ab64
    ** Thread[main,5,main] ** Thu Feb 22 14:52:00 CAT 2007 ** Checking command status
    ** Thread[main,5,main] ** Thu Feb 22 14:52:00 CAT 2007 ** HTTP response code = 200, HTTP response msg = OK
    ** Thread[main,5,main] ** Thu Feb 22 14:52:00 CAT 2007 ** Command has finished

    I looked at the log.xml file under the dcm/logs/daemon_logs directory and saw this :
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2007-02-26T08:49:13.203+02:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>DCM</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>wblv-ep-sp05</HOST_ID>
    <HOST_NWADDR>10.251.101.25</HOST_NWADDR>
    <MODULE_ID>oracle/defaultLogger/ExceptionLogger</MODULE_ID>
    <THREAD_ID>Deamon Worker for TaskMaster of iAS instance at: /app/oracle/product/oc4jext10.1.2-d3 JVM Id = 1b09468.110df14be01.-8000</THREAD_ID>
    <USER_ID>oracle</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.251.101.25:47620:1172472553186:2846</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>principals specified in application is not a valid path: /app/oracle/product/oc4jext10.1.2-d3/j2ee/home/config/../application-deployments/ADFBCManager/principals.xml</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    The same MSG_TEXT appears in the log every time i had a failed deploy.

  • Deploying problem with remout OC4J (10.1.2)

    Hello!
    I have a problem with PDK-Java Portlet deployng. I'm relatively new in this field.
    I use Jdeveloper 10g (10.1.2). I have read in the Jdeveloper help how to deploy portlet on remout Application Server.
    I start the following comand in server's console where OC4J installed:
    java -jar ${ORACLE_HOME}/j2ee/home/admin.jar ormi://myserver:3204 my_pass -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
    and get the Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (adminuser);
    I login to Enterprise Manager 10g Application Server Control by the same user(adminuser) and the same password (my_pass).
    Anybody know how to resolve this problem?

    did you change the admin password after installation?
    Oracle doesnt change all passwords, the password entered during installation of OC4J is the password you have to use for deployment from JDEV
    atleast, thats my experiance

  • Empty JDEV\j2ee\home\admin.jar

    I tried to add a connection to a remote OC4J. When I tried to install DCM, I got this error:
    C:\JDeveloper\j2ee\home>java -jar admin.jar ormi://DOMAIN:1810 ias_admin PASSWORD -deploy -file C:\JDeveloper\dcm\lib\Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
    Error: javax.naming.NamingException: Lookup error: java.io.EOFException: Disconn
    ected; nested exception is:
    java.io.EOFException: Disconnected
    I found the reason of the error. My admin.jar file is empty! Only a manifest file in the jar. Do you guys know why? Where can I get the admin.jar file.
    Thanks!

    Yes.
    The first step is to:
    C:\JDeveloper\j2ee\home>java -jar admin.jar ormi://DOMAIN:1810 ias_admin PASSWORD -deploy -file C:\JDeveloper\dcm\lib\Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
    I got this error:
    Error: javax.naming.NamingException: Lookup error: java.io.EOFException: Disconn
    ected; nested exception is:
    java.io.EOFException: Disconnected
    Search through the discussion board and the internet and found several people have exactly same problem, but no answers!
    Any clue?

  • Error installing dcm servlet to Oracle9iAS

    Hi:
    I installed Oracle9i Application Server 9.0.2.0.0 (only J2EE & web cache) in c:\ora9ias. The password I have chosen for ias_admin was oracle9.
    Then I installed JDeveloper 9.0.3 in the same machine (directory c:\jdev). The S.O. is windows 2000 server with sp 3. The name of the machine is calipso.
    Then I go to the directory c:\jdev\dcm\lib from a dos console
    Then I run:
    c:/jdev/jdk/jre/bin/java -jar c:/ora9ias/j2ee/home/admin.jar ormi://calipso:1810 ias_admin oracle9 -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
    and I got the following error.
    Error: javax.naming.NamingExceptino: Lookup error: java.io.EOFException: Disconnected; nested exception is:
         java.io.EOFException: Disconnected
    Does anybody know what I am doing wrong?
    Thanks
    Sergio

    The port number you are supposed to use is 1811, which is the ormi port for the OC4J instance on which EM is running.
    Example:
    Java -jar <jdev_install>/j2ee/home/admin.jar ormi://localhost:1811 ias_admin manager -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
    Please follow the instructions describrd in
    http://otn.oracle.com/products/jdev/howtos/appservers/deployias.html

  • How to deploy a jsp app as portlet in portal?

    i'm a new bee to this portal & portlet stuff.
    so, pls let me know if my questions doesn't make sense.
    i have a jsp app sitting in jdeveloper 9.0.3
    can i deploy this jsp app as portlet and see it from
    my portal?
    srini

    Hi Benjamin.
    Can u explain more detail about the deployment..
    I also use JDev and want to do like you do (that is deploy to 9iAS using JDev.
    I tried to create new connection via Remote DCM..
    but it gave me error.
    I also read & tried the article that u suggested..
    but still failed..
    So, my questions are:
    1)In step one, where in EM should i install Oc4jDcmServlet.ear? in OC4J_Portal(the same place i deploy jpdk)?
    "Install the DCM Servlet, Oc4jDcmServlet.ear, to a running Oracle Enterprise Manager instance. This servlet is required to run in the same OC4J instance (same JVM) as the Enterprise Manager servlet. The DCM Servlet is located in:
    <jdev_install>/dcm/lib/Oc4jDcmServlet.ear "
    2)I download JDev into my drive C.
    and i did found /dcm/lib/Oc4jDcmServlet.ear
    I not sure what to type..and where should i run the command..
    In the article,it run from c:\winnt\system32\cmd.exe.
    But when i ty to run it, it gave me error
    "Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e path specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)"
    should i run the command in the server?Where?
    What command should i type?
    Java -jar ${ORACLE_HOME}/j2ee/home/admin.jar ormi://${EM_OC4J_HOST}:${EM_OC4J_PORT} ${IAS_ADMIN_USER} ${IAS_ADMIN_PASS} -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet "
    Thanks..

  • Oracle9i JDeveloper Connection to application server

    Hi
    while making a connection to the application server(embedded OC4J server)using JDeveloper with connection wizard in connection tab it ask for Target Website: I want to know what is this target website(what is the role of this Target Website).Is it just a name or has some meaning related to the directory in server.

    Deployment to iAS 9.0.2 from JDeveloper 9.0.5.2 is not supported.
    Since you are already trying this (This may or may not work) you need to deploy the jdev_home/dcm/lib/Oc4jDcmServlet.ear using the following two similar commands in the same order.
    1. Java -jar <jdev_install>/j2ee/home/admin.jar ormi://localhost:1811 ias_admin manager -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
    2. Java -jar ${ORACLE_HOME}/j2ee/home/admin.jar ormi://localhost:1811 ias_admin manager -bindWebApp Oc4jDcmServlet Oc4jDcmServlet emd-web-site /Oc4jDcmServletAPI
    Note: I can already see an error in the command you posted in your message. You should not have 'oc4j-dcm-servlet' in your command
    Also please remember that you can always use Enterprise Manager to deploy your application instead of using DCM connection from JDeveloper.

  • Remote DCM

    I get an error when I run this:
    C:\jdev9i\j2ee\home>java -jar admin.jar ormi://server09:1810 ias_admin oracle -d
    eploy -file c:\jdev9i\dcm\lib\Oc4jDcmServlet.ear -deploymentName Oc4jDcServlet
    Error: javax.naming.NamingException: Lookup error: java.io.EOFException: Disconn
    ected; nested exception is:
    java.io.EOFException: Disconnected
    C:\jdev9i\j2ee\home>
    SOMEONE COULD HELP ME?
    THANKS

    i tried exactly whats written in the documentations. no problem deploying the dcm-servlet.
    but when i test my connection to remote AS i get the following error:
    i do exactly whats written in the documentation, but get the following errormessage:
    C:\Oracle\9iDS\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Oracle\9iDS\jdev\lib\oc4j_remote_deploy.jar http://myserver:1810/Oc4jDcmServletAPI/ ias_admin manager listApplications D:/Oracle/9iAS/
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command listApplications D:/Oracle/9iAS/ UNDEFINED UNDEFINED UNDEFINED
    Command = LISTAPPLICATIONS
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    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
    Session id = 74b4756f8efb4fafa8a9ee6ce8d8609c
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=74b4756f8efb4fafa8a9ee6ce8d8609c
    Checking command status
    HTTP response code = 500, HTTP response msg = Internal Server Error
    #### HTTP response is NOT ok
    Waiting for 30 seconds and trying again...
    Command has not finished yet
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=74b4756f8efb4fafa8a9ee6ce8d8609c
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-2)
    #### Invalid Oracle Home directory
    -----------i'm sure that the homedirectory exists!!!!
    -----------when i try with port 1811 i get this:
    C:\Oracle\9iDS\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\Oracle\9iDS\jdev\lib\oc4j_remote_deploy.jar http://myserver:1811/Oc4jDcmServletAPI/ ias_admin manager listApplications d:\Oracle\9iAS
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command listApplications d:\Oracle\9iAS UNDEFINED UNDEFINED UNDEFINED
    Command = LISTAPPLICATIONS
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    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] ** Wed Mar 26 10:56:45 CET 2003 ** ** EXCEPTION: java.io.StreamCorruptedException: InputStream does not contain a serialized object
    java.io.StreamCorruptedException: InputStream does not contain a serialized object
         void java.io.ObjectInputStream.readStreamHeader()
              ObjectInputStream.java:849
         void java.io.ObjectInputStream.<init>(java.io.InputStream)
              ObjectInputStream.java:168
         void oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.receiveSessionId()
         oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandResult oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(java.lang.String)
         oracle.j2ee.tools.remote_deploy.Oc4jDcmCommandResult oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.listApplications(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
    void oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(java.lang.String[])
              Oc4jDcmMain.java:71
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    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
    ======================================
    what am i doing wrong????

  • UnDeploying EAR from Oracle App server using Ant Script

    I am trying to deploy & undeploy the ear file using the ant script.
    I am using the following script to undeploy the application
              <target name="undeploy" description="Undeploy Application">
              <java jar="${OCM_DIR}/jdev/lib/oc4j_remote_deploy.jar" fork="true">
                   <arg value="http://${ias.host}:${ias.em.port}/${ias.dcmservlet}/"/>
                   <arg value="${ias.admin}"/>
                   <arg value="${ias.admin.password}"/>
                   <arg value="undeploy"/>
                   <arg value="${ias.oracle.home}"/>
                   <arg value="${app.name}"/>
                   <arg value="${ias.oc4j.instance}"/>
              </java>
         </target>
    & getting the following error
    [java] Initializing log
    [java] Servlet interface for OC4J DCM commands
    [java] Command timeout defined at 600 seconds
    [java] Executing DCM command...
    [java] Executing command undeploy /oramp01/app/oracle/product/devmid01 jisdev JIS_sandbox_dev UNDEFINED
    [java] Command = UNDEPLOY
    [java] Opening connection to Oc4jDcmServlet
    [java] Setting userName to ias_admin
    [java] Sending command to DCM servlet
    [java] HTTP response code = 200, HTTP response msg = OK
    [java] Command was successfully sent to Oc4jDcmServlet
    [java] Receiving session id from servlet to check command status
    [java] Session id = aa63b901712fe1d1f07cfd44380b5459eda2437e860
    [java] Please, wait for command to finish...
    [java] Checking command status...
    [java] Setting userName to ias_admin
    [java] Setting Cookie to JSESSIONID=aa63b901712fe1d1f07cfd44380b5459eda2437e860
    [java] Checking command status
    [java] HTTP response code = 200, HTTP response msg = OK
    [java] Command has finished
    [java] Receiving command exit value
    [java] Receiving command output
    [java] **** No output was received from command
    [java] Closing connection to Oc4jDcmServlet
    [java] #### DCM command did not complete successfully (-8)
    [java] #### HTTP return code was -8
    [java] Java Result: -8
    Can you please let me know what is the problem and how can we fix it.
    Both the oracle as well as the jdev/lib/oc4j_remote_deploy.jar are of the version 10.1.2.
    Thanks,
    Vishnu

    I think you need:
    <arg value="-undeploy"/>
    (notice the -)
    Have you had any luck?

  • Portlet ear deployment fails with 9iAS/JDeveloper

    Hi.
    My portlet deployment fails, when I deploy
    the portlet-ear (generated with java portlet wizard).
    The connection to 9iAS works fine with the test.
    I just get this error:
    Executing command redeploy /oradata/oracle portlets_ear.ear portlets_ear OC4J_Portal
    ... <snip>
    Command was successfully sent to Oc4jDcmServlet
    ... <snip>
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-1)
    #### HTTP return code was -1
    The deployment also fails, when i try to do it trough oem. It just shows empty page after step 2 (select application).
    em-application.log shows this:
    7/23/03 5:57 PM emd: java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:380)
    at oracle.cabo.ui.data.DictionaryData.put(Unknown Source)
    at oracle.sysman.eml.ias.oc4j.DeployWiz.displayDataBindingException(DeployWiz.java:2249)
    at oracle.sysman.eml.ias.oc4j.DeployWiz.getWebModulesURLMapping(DeployWiz.java:645)
    at java.lang.reflect.Method.invoke(Native Method)
    at oracle.cabo.ui.data.provider.MethodDataProvider.getDataObject(Unknown Source)
    If anyone has experienced something similar and fixed it, could you please give me some advice.
    Thanks in advance,
    Toni

    Hi again.
    Yes, the properties files and provider.xml files exist,
    and they are not corrupted (atleast I don't see any relevant differences).
    I installed the OC4J with the help of these files:
    * http://otn.oracle.com/tech/java/oc4j/htdocs/oc4j-install-note.html
    * http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/jpdk/v2/installing.pdkjava.v2.html
    * http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/SOLUTIONS/installing.integration.v2.html#deployingUsingOc4j
    If there's a known bugs with these, could you let me know?
    Here are the contents:
    _default.properties:
    serviceClass=oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter
    loaderClass=oracle.portal.provider.v2.http.DefaultProviderLoader
    showTestPage=true
    definition=providers/jsp_test_provider/provider.xml
    autoReload=true
    jsp_test_provider.properties: (My main provider)
    serviceClass=oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter
    loaderClass=oracle.portal.provider.v2.http.DefaultProviderLoader
    showTestPage=true
    definition=providers/jsp_test_provider/provider.xml
    autoReload=true
    provider.xml:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <passAllUrlParams>false</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>MyPortlet</name>
    <title>My Portlet</title>
    <description>My Portlet Description</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage>/htdocs/myportlet/MyPortletShowPage.jsp</showPage>
    </renderer>
    </portlet>
    </provider>

  • Error while running a EAR in SAP EP

    Hi Gurus,
                        I have a EAR file (project) which I am able to successfully deploy through SDM in EnterPrise Portal. Now, When I shoot the URL for that EAR. Its giving the Following Error.
    com.sun.rave.web.ui.app base.Application Exception: null
    I googled about this problem but their is no Answer to this,
    Thanks in Advance
    Somil

    Sounds like you're missing a library at run time. What is com.sun.rave? You may want to ask in one of the Java developer forums as I don't think this is a portal question...

  • Error while deploying Web Service EAR to weblogic 10.3

    Hello All,
    I am getting the following errors when I "Activate changes" on the console after deploying the EAR file.
    An error occurred during activation of changes, please see the log for details.
    Error weblogic.application.ModuleException:
    Error port component:"StockQuotePortImpl" - wsdl port:{http://sun.com/stockquote.wsdl}StockQuotePortImplPort is not found in wsdl.
    The stack trace in the Workshop has the following:
    Caused by: weblogic.wsee.ws.WsException: port component:"StockQuotePortImpl" - wsdl port:{http://sun.com/stockquote.wsdl}StockQuotePortImplPort is not found in wsdl.
    I don't understand the problem. Is it something to do with the contextPath of the WS. If so, I have the <WLHttpTransport> element as a child of <jws> element and that has teh contextPath, port seviceURI etc.
    The WS builds fine and WAR/EAR created fine but I get this exception when I deploy.
    Any clues as to what is going wrong will be very helpful..
    Thanks much.

    Nevermind, I figured it out.
    I had to change the name of my JWS class (the one that implements the web service methods) and then it worked fine.
    Thanks to all who responded.

Maybe you are looking for

  • Why do we use Meaningful PK or Meaningless PK ?

    Hi All, My questions below is very basic (I am a developer not a dba ..) I see on database design that the Primary Key (PK) is usually not the "Key" that is visible to user, e.g : if we has Invoice table, the columns are : InvoiceID (PK) => this is o

  • PSC Setup - Setting REX Agent Configuration, state blocked at "Ongoing"

    I followed the IAC (IAC 4, PSC 10) install guide, but I'm stuck at the "Setting REX Agent Configuration". I should wait for the task to complete, but the state is blocked at "Ongoing  (2 of 3 Completed)" since yesterday. I don't know why it's stuck a

  • Query transport tool

    guys, we have a few queries, infosets and user groups created in our development system. I can see them all in the Global area. Now i want to export them to my qa system but when I open the query transport tool, I do not see options like export, impo

  • How to how to identify I pad air as original apple from  its' serial num

    how to identify I pad air as original apple from its' serial num

  • Failure to console to the MeetingPlace 3515 Media Server

    Hi All, I have misplaced my Terminal Cable to console to the Meetingplace 3515 Media Server, mp-3515ms-av250. I built one using the cable pinout provided by docwiki.cisco.com: To Chassis (DB-9 Male) Function To PC Terminal (DB-9 Female) 2 TXD 3 3 RXD