Problem:deployment to oc4j on remote host

I created a servlet application by jdeveloper.Now I want
to deploy it to the oc4j on oracle9ias which is installed
on the other host.I have post a topic about it and get some suggestions by Raghu R Kodali.I followed the steps
in the http://otn.oracle.com/products/jdev/howtos/appservers/deployias.html#connection
but after i have created the connection named "conn1"
and tested it successfully,I get some information when I select "deploy to conn1" .The information :
--- Deployment started. ---- 2003-1-23 12:26:50
Wrote WAR file to E:\Oradev\jdev\mywork\test\test\test.war
Wrote EAR file to E:\Oradev\jdev\mywork\test\test\test.ear
Invoking DCM servlet client...
E:\Oradev\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar E:\Oradev\jdev\lib\oc4j_remote_deploy.jar http://server.oracle9i.com:1810/Oc4jDcmServletAPI/ ias_admin **** redeploy d:\ora9ias E:\Oradev\jdev\mywork\test\test\test.ear test oc4j_home
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command redeploy d:\ora9ias E:\Oradev\jdev\mywork\test\test\test.ear test oc4j_home
Command = REDEPLOY
Reading application's ear file
Ear file was successfully read
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 = 16fa0e87ea464c53827acc9b81c9086a
Please, wait for command to finish...
Checking command status...
Setting userName to ias_admin
Setting Cookie to JSESSIONID=16fa0e87ea464c53827acc9b81c9086a
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=16fa0e87ea464c53827acc9b81c9086a
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 (-1)
#### HTTP return code was -1
Exit status of DCM servlet client: -1
Elapsed time for deployment: 47 seconds
#### Deployment incomplete. #### 2003-1-23 12:27:37
Please help me !
My email: [email protected]

Did you try after restarting the iAS server?

Similar Messages

  • Problem with the integration with remote host.

    Hi,
    There are two gateways to which i need to integrate one for sending only one message and another for many. So locally its working fine but when i integrate with the remote host. The gateway2 is working fine but i have a problem in gateway1 where i send only one message. That too in browser its working fine but i am not getting the exact result in that remote systems Tomcat.
    Itz giving me Error 2:load
    Awaiting a reply...

    Hi
    I am facing a problem in integrating means i am not getting the output which i want in the logs.
    But if i copy paste the parameters with url in browser it works fine.
    thanks.

  • Problem deploying to OC4J from JDeveloper

    Hello i am deploying my app to a standalone OC4J, but i am getting this error. The application starts on the server and when it tries to link the webapp to the context root it crashes with the following error:
    Inicio de la inicialización de webapp1...
    Fin de la inicialización de webapp1...
    Inicio de la inicialización de ejb1...
    Fin de la inicialización de ejb1...
    Aplicación iniciada: InphinitumApplication
    Inicio de enlace de aplicaciones Web a la dirección default-web-site...
    Enlazando el módulo Web webapp1 para la aplicación InphinitumApplication a la dirección default-web-site en la raíz de contexto Inphinitum
    Operation failed with error:
    loader constraint violation: when resolving method "org.apache.commons.digester.Digester.getLogger()Lorg/apache/commons/logging/Log;" the class loader (instance of oracle/classloader/PolicyClassLoader) of the current class, com/sun/faces/config/rules/FacesConfigRule, and the class loader (instance of oracle/classloader/PolicyClassLoader) for resolved class, org/apache/commons/digester/Digester, have different Class objects for the type org/apache/commons/logging/Log used in the signature
    Any ideas?

    Hi,
    I am using EJB 2.1 in my project ... I can see the ejb create() in oc4j, but then my jdev just hangs at "Compiling EJB generated code" and I am not able to shutdown my oc4j using CTRL + C - I have to kill it. Any suggestions ?
    Thanks

  • Problems deploying in OC4J

    Hi there,
    I've created two projects (say Prj1 and Prj2), created a BMP entity bean (EJB1) in Prj1 and a Stateless session bean (EJB2) in Prj2.
    EJB2 references EJB1 and makes a simple method call.
    When I try to run OC4J with "Lookup all EJBs During OC4J Startup" option on (Tools->Preferences->Embedded OC4J) it throws the following message:
    cut-
    **** Warning: The EJB EJB2 was not found via an InitialContext lookup. Error encountered: Disconnected: Unknown command: 7.
    **** Warning: The EJB EJB1 was not found via an InitialContext lookup. Error encountered: EJB1 not found.
    **** Warning: Not all EJBs were successfully deployed. The EJB application may fail during testing.
    **** Please use the EJB Verifier to check your EJB modules for errors by right-clicking on ejb-jar.xml and choosing 'Verify Enterprise Beans'.
    ---cut---
    Of coruse, I tried "Verify Enterprise Beans" and everything seems to be allright.
    I also tried to run a sample client that calls a method in EJB2 wich calls another method in EJB1 and throws a NamingException: Unknown command: 7.
    Any ideas?
    Thanks in advance,
    Gabriel

    Hi
    I realize this post is rather old, but indeed very much relevant.
    Is there an official workaround on how to get JAXB2.0 support within oc4j?

  • IE Problem with opening XLS from remote host

    So I’m having a problem opening/saving my generated Excel Spreadshhet in Internet Explorer on a remote client. Basically, I click on my button to generate the spreadsheet, it then sends the data to my servlet that generates the document and then sends it back in a response. When I do via localhost everything works the way its supposed to, I get the document to open in IE. However if I try this from another machine, the document doesn’t open; when tried in Firefox remotely everything works. So I then started down the road of reviewing my response headers and haven’t had any luck.
          resp.setContentType("application/vnd.ms-excel");
          resp.setContentLength(document.size());
          resp.setHeader("Pragma", "no-cache");
          resp.setHeader("Expires", "-1");
          resp.setHeader("Accept-Ranges", "bytes");
          resp.setHeader("Content-disposition", "inline; filename=report.xls");
          OutputStream outputStreamToClient = resp.getOutputStream();
          document.writeTo(outputStreamToClient);
          try {
            outputStreamToClient.flush();
            outputStreamToClient.close();
          } catch (Exception e) {
            if (DEBUG) {
              System.out.println(e.getMessage());
          }My next step was to run a wireshark trace and verify that I was in fact getting my generated document sent to the remote machine and I was able to confirm the response was in fact sent and that all my necessary headers were in place. I’m open to any suggestions as I'm quite stumped at the moment.
    Matt

    So I made the changes for removing the extra headers as was recommend and still didn't have a problem. Now I did realize I forgot to mention that this is all being executed from an Applet on the client side. I build up my request dynamically in the post string and then send it via the connection I create. Now I did actually notice when I reworked my DEBUG statements that on the applet side I would get the following
    AppletConnection.getContent() warning: no content-type
    However, I have a servlet that generates a PDF based on the same data and that works just fine off a remote client and also returns the above "no content-type" error. Below I have the code from the Applet side that is actually sending the data to the servlet and receiving the response. I just wanted to reiterate that I am assuming the content-length field is in fact valid because I am able to successfully send a spreadsheet to a remote client if they are using FireFox as opposed to IE.
          final URLConnection appletConnection = url.openConnection();
          // inform the connection that we will send output and accept input
          appletConnection.setDoInput(true);
          appletConnection.setDoOutput(true);
          // Don't use a cached version of URL connection.
          appletConnection.setUseCaches(false);
          appletConnection.setDefaultUseCaches(false);
          appletConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
          //Write object to servlet
          OutputStreamWriter wr = new OutputStreamWriter(appletConnection.getOutputStream());
          wr.write(post);
          try {
            wr.flush();
          } catch (Exception e) {
              System.err.println("Error: Could not write object to servlet from client!");
          try {
            appletConnection.getContent();
          } catch (IOException ioe) {
            System.err.println("AppletConnection.getContent() warning:"+ioe.getMessage());
          }Thanks,
    Matt

  • Javax.naming.NamingException: when deploying to OC4J using admin.jar

    Additional details to posting (Problem Deploying to OC4J from Jbuilder8)
    Jul 8 2003 @3:27
    enter:-
    java -jar "\ora9ias\j2ee\home\admin.jar" ormi://myhost:23791 admin password
    and you get the error message:-
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
    java.net.ConnectionException: Connection refused: connect
    My server.xml contains entry <rmi-config path="./rmi.xml" />
    and my rmi.xml reads:-
    <?xml version="1.0" standalone="yes" ?>
    <!DOCTYPE rmi-server (View Source for full doctype...)>
    - <rmi-server port="23791" host="[ALL]">
    - <log>
    <file path="../log/rmi.log" />
    </log>
    </rmi-server>
    I have repeatedly checked my hostname port user name and password
    along with the statements in the server.xml and rmi.xml as above, but with no
    success.
    Regards
    Gary.

    I am facing the same problem from this morning. I was able to start oc4j jvm without any problem today in the morning and i could deploy the war file and was able to test the web pages. But due to some unavoidable reasons i had to restart my machine and ever since then i am running into the following error.
    My server.xml has a reference to rmi.xml.
    Any help is highly appreciated.
    Regards
    Kiran
    D:\Java\JDev9i\j2ee\home>java -jar oc4j.jar
    Node started with id=647722646
    Error initializing web-site at ./http-web-site.xml: default-web-app not specifie
    d for Oracle9iAS Containers for J2EE HTTP Web Site
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized

  • Sshd error while deploying agent to remote host

    Hi,
    Am getting the following error while deploying agent to remote host.
    SSH Setup failed on nodes: localhost. SSH setup failed because of any of the following reasons:
    sshd has gone down while doing SSH setup.
    The platform of the provided hosts may be incorrect. Please verify it.
    Fix above problems and Continue OR do manual ssh setup running command: "<OMS_HOME>/sysman/prov/resources/scripts/sshUserSetupNT.sh -hosts "user-pc" -user karthick -localPlatformGrp win -asUser SYSTEM [-asUserGrp root] -sshLocalDir \.ssh -homeDir $HOME". Check the log file at <OMS_HOME>\sysman\prov\agentpush\2011-08-18_10-45-16-AM\logs\sshSetup2011-08-18_11-19-21-AM.log for more information.
    I tried the following from both the host and working fine.
    ssh host1 date from host2
    ssh host2 date from host1
    When I try to do the manual ssh setup running the cmd
    $ sh sshUserSetupNT.sh -hosts "user-pc" -user karthick -localPlatformGrp win -asUser SYSTEM [-asUserGrp root] -sshLocalDir \.ssh -homeDir $HOME
    sshUserSetupNT.sh: line 17: $'\r': command not found
    sshUserSetupNT.sh: line 20: $'\r': command not found
    sshUserSetupNT.sh: line 27: $'\r': command not found
    sshUserSetupNT.sh: line 231: syntax error near unexpected token `elif'
    'shUserSetupNT.sh: line 231: ` elif ! test -f "$CLUSTER_CONFIGURATION_FILE"
    Getting the above error.
    Pls let me know how to fix this issue.
    Thanks in advance,
    -KarthicK

    Hi KarthicK,
    please have a look at the following forum discussion: How to install Oracle Grid Agent 11g into windows hosts ?
    The post of hani430 appears to be what you are looking for.
    Regards,
    Frank

  • Problem deploying a web application to oc4j in Unix

    Hi! I would like to ask for someone's help on a problem I encountered while accessing a web app deployed to oc4j in Unix. Before deploying the application in Unix, I tried it on a Windows2000 server and it worked fine. I copied the same files (classes, jsps, js, css) to the Unix server and modified the same xml files (data-sources, global-web-application, http-web-site, server). I could access index.jsp of my application but I get a HTTP 404 error on the other pages. Also, the css applied on index.jsp doesn't seem to reflect on the page. Could someone share some insights on this and if you have experienced the same problem, kindly post your suggestions/solutions.
    Thanks a lot,
    Mildred

    Reposting... css problem has been resolved (case sensitivity issue)
    Hi! I would like to ask for someone's help on a problem I encountered while accessing a web app deployed to oc4j in Unix. Before deploying the application in Unix, I tried it on a Windows2000 server and it worked fine. I copied the same files (classes, jsps, js, css) to the Unix server and modified the same xml files (data-sources, global-web-application, http-web-site, server). I could access index.jsp of my application but I get a HTTP 404 error on the other pages. Could someone share some insights on this and if you have experienced the same problem, kindly post your suggestions/solutions.
    Thanks a lot,
    Mildred

  • Deploy to OC4J standaone problem

    Dears,
    I developed an application in jdev 10.2 and it works successfully with embedded OC4J, but when deploy to OC4J standalone or Tomcat it doesn't work.
    I use JSON in my application.
    The log (for OC4J standalone and Tomcat) is empty from errors and exceptions, Only
    JSONRPCBridge.analyzeClass analyzing package1name.package2name.package3name.DAO.classNmaeDAO
    is written and my code didn't work and JSP is empty.
    Any ideas, what may be the problem there???

    When I deploy to oc4j from jdev... I get an error.
    Unknown site: http-web-site
    How do I figure out what my http site is via my oc4j configuration?
    I know in my Connection properties for oc4j in jdev, there is a target web site property where I entered "http-web-site", thinking this was the correct target.
    Thanks. Look in <oracle_home>\j2ee\home\config\server.xml
    Web sites are defined by the web-site entry. E.g
    <web-site path="./http-web-site.xml" />
    <web-site default="true" path="./default-web-site.xml" />
    Dhiraj

  • CCMS Error - There are system problems on the remote host (system failure)

    Hi,
    I have installed the SAPCCMSR agent in the AccAD(Accelerated Application Delivery) server. However, when I execute OS07 and try to view the CPU usage, I encountered this error:
    There are system problems on the remote host (system failure)
    Message no. S1308
    Any idea what does the error mean?
    Thanks.
    KY

    Hi,
    Thanks for replying. The problem has been resolved after upgrading the sapccmsr.
    Thanks.
    Regards,
    KY

  • Problems connecting to remote host via DreamWeaver's FTP

    I am having problems connecting to my remote host through DreamWeaver.  I can connect via File Zilla Client and could connect before my hard drive crashed.  Now w/new hard drive, I recieve an error msg. I tried to create a new site, which connets when I test the connection, but when I go to view the files, a dialog box appears saying "cannont get remote folder info, access denied, etc) I tried selecting different settings and combinats of the following settings:Use firewall, secure ftp, passive ftp. Not sure what else to try at this point. I have WIN XP, Adobe Creative Suite CS3.  I would appreciate any help, thanks!

    Sigh, it worked for a few days then started acting up again...would connect every other time, now not at all. FileZilla can't connect now either.  I have not changed any of the settings - I just get a msg about a "critical error, unable to connect" in FileZilla and an "an ftp error occured, cannot make connection to host. your login or password is incorrect. please check the info and try again" msg in DreamWeaver.  I have rebooted my pc, double & triple checked the spelling of my host name, login, and password. The only thing I've done is downloaded a plug-in for Photoshop to covert an image to a .ico.  Unless going back and forth b/t DreamWeaver's ftp and FileZilla's would mess it up. I also tried using the alt. host with no success. I can, however, still connect using Yahoo's Web Hosting client....I don't know, sorry to keep bothering you, just very frusterated right now.  Been messing with it for two days now....
    Thanks.

  • Problem Deploying Custom Transformation Provider to Remote System

    Hello Experts,
    I have successfully created a custom XML Transformation Provider/transformer and deployed it to my local development system and to a remote sandbox system. We are using NWDI and the transformation provider is within the context of a DC.  However, I am deploying to both my local dev and the remote sandbox systems using the u201CQuick PAR Uploadu201D in NWDS.
    After deploying the same PAR to both my local portal and the remote sandbox systems I can see the new service is deployed in both portals (System Administation -> Support -> Runtime -> etc..).  I can also see the service registered successfully in the portal registryu2014again, in both systems.
    Everything works fine on my local dev when I run code to retrieve and apply the custom transformer to source XML.  The new transformer is also available when creating an XML iView.   However, I cannot retrieve or use the new transformer (u201Cno such transformeru201D errors) using the same code on the remote sandbox system.  Also, the new transformer is not available when using the XML iView wizard.
    It seems the custom transformation provider is deploying successfully on the remote system, but the transformer is not.
    Both systems are ostensibly identical, NW 7.0 EP SPS14.  The credentials Iu2019m using when performing the Quick PAR Upload have Administrator/Super Admin Role privileges.  (I even tried uploading the PAR directly into the portal using the Admin Console to see if that made a differenceu2026it did not).
    Any ideas why a transformer would not be available after a custom transformation provider deploys without any apparent errors to the remote system?
    Thanks for your time!

    Hi,
    I presume this issue is not that common.
    Any ideas on where to look (logs) for results after a PAR is deployed to the server?  I do not see any errors in the defaultTrace related to the deployment and I've looked through other logs, too.  In any case, the "custom" transformation provider service appears in the portal, but I still don't see the tranformer itself.
    Thanks again,
    Dave

  • Connecting to remote host problems

    Hi,
    Can some please tel me how to setup security permissions in Java. I have probems with reading somethong from remote host.
    Please provide an example if you can
    Thanks a lot.
    Jorg3

    Well, i don't know that much about CORBA but also for CORBA goes that the server you are connecting to should alow you to read local files (in certain directories). If the server is a java program the security setting can be done in the java.policy file or whithin the server program using the java.security package. Check out http://java.sun.com/j2se/1.3/docs/guide/security/permissions.html for info on that.

  • Problem in shutdown OC4J when configure Publisher

    I have OBI installed on Linux server and I am configuring Publisher deployed on OC4J. According to the document:
    Oracle® Business Intelligence Publisher
    Deploying Oracle Business Intelligence Publisher in J2EE Application Servers
    Release 10.1.3.4
    Part No. B32481-03the last step is to restart the application server, in this case it is OC4J. I see, using ps -fe|grep oc4j, a OC4J running as:
    /bin/sh /u01/app/obiee/oc4j_bi/bin/oc4j -start
    and I find the port from /u01/app/obiee/oc4j_bi/j2ee/home/config/rmi.xml
    ssl-port = "23943"
    Then I shutdown OC4J with command
    /bin/sh /u01/app/obiee/oc4j_bi/bin/oc4j -shutdown -port 23791 -password javapassword
    Got error messgae
    Error: Could not connect to the remote server. Please check if the server is down or the client is using invalid host, ORMI port or password to connect: Connection refused
    Since the server is up, and the port is from the rmi.xml, can the problem due to the password. I use the password as I install OBIEE. What could be wrong?
    Thank you for help.

    Hi
    During the install did you opt for the OC4J install rather than to an existing web server? Im assuming yes, you would have had to provide the user/pwd for the OC4J container - so that could be the issue. In my desperation in the past I have just killed the oc4j session, ps -ef | grep java will find it.
    When you bring it back up, it recovers very nicely with no ill affects.
    regards
    Tim

  • Deploying application on a remote server

    Hi,
    I'm trying to deploy a very simple application (freak.ear) on a J2EE server V1.2.1 running on a remote host. The server seems to be running correctly as I get access to the welcome page. When deploying the app I get the following error message:
    There was a deployment error.java.rmi.ServerException: RemoteException occured in server thread; nested exception is:
    java.rmi.MarshalException: CORBA COMM_FAILURE 1398079490 No; nested exception is:
    org.omg.CORBA.COMM_FAILURE: minor code: 1398079490 completed: No
    The host is known in the deploytool by its IP address.
    Any idea on how to solve the problem?
    Thanks,
    Enrico

    FYI, I found out what causes the deployment application to fail. The problem manifests itself only when I try to deploy the application from behind a firewall. In fact, I was able to deploy the application when connecting to the host from outside our secured LAN. The firewall obviously blocks the traffic between deployment app and J2EE server.

Maybe you are looking for