Can't create Application Server Connection in JDeveloper

I am trying to make a connection to my Application Server (a Remote DCM connection) but when I test it, I get the following message
D:\win32app\JDeveloper9.0.3\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar D:\win32app\JDeveloper9.0.3\jdev\lib\oc4j_remote_deploy.jar http://PENELOPE:1810/Oc4jDcmServletAPI/ ias_admin ora9as listApplications E:\oracle\oraas92
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command listApplications E:\oracle\oraas92 UNDEFINED UNDEFINED UNDEFINED
Command = LISTAPPLICATIONS
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
Sending command to DCM servlet
HTTP response code = 404, HTTP response msg = Not Found
#### HTTP response is NOT ok
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (404)
#### Invalid servlet path
What could be the problem?
Thanx

Okay, I tried it. But it fails now I get following Error Messages in JDev:
What am I doing wrong?
C:\JDev903\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\JDev903\jdev\lib\oc4j_remote_deploy.jar http://lin1.hama.de:1811/Oc4jDcmServletAPI/ ias_admin XXX listApplications /home/oracle/ias902/
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command listApplications /home/oracle/ias902/ 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] ** Mon Nov 25 09:35:45 CET 2002 ** ** 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

Similar Messages

  • Preblem facing in creating application server connection in Jdeveloper

    Hi All,
    I am using weblogic 10.3.1 and Jdeveloper 10.1.3.5.
    I want to deploy an ear file in my weblogic server. Can anyone plesae guide me how can I create a application server connection in Jdeveloper 10.1.3.5
    Thanks in Advance!!

    Can't you just go to the connections navigator, right-click and select New Application Server Connection, and then just use the wizard? What is the problem you are facing?
    Try selecting Oracle Application Server 10 or OC4J 10g.

  • Unable to create application server connection in Jdeveloper 10.1.3.3

    Hi All,
    I am using Jdeveloper 10.1.3.3. As my soa environement is clustered and we have 2 nodes on server.
    While create application server connection jeveloper is giving error as : **Bad OPMN server host address*. I am able to accesss application using mozila or internet explorer. Will it provide different host name while soa is installed in clustered environment. Please help me in this.
    Regards,
    Adhi

    Hi ,
    Are you behind a proxy in Firefox or IE?
    If so try to give the same proxy and the proxy avoidance IP's in JDeveloper proxy configuration.
    If server couldnot be communicated from Jdev then this will be the first place i will look into .
    Thanks,
    Praveen

  • Create Application Server Connection Wizard - Connection Type

    Hi guys:
    In the "Create Application Server Connection" Wizard - the Connection Type for the WebLogic 10.x is missing??
    Thanks

    That's because WebLogic 10 went into production after JDeveloper 10.1.3 was already out.
    Try and see if the WebLogic connection that is in there still works with 10.
    If not you can just create the EAR/WAR file from JDeveloper and pick it up and deploy them with the Weblogic admin interface or with an Ant task.

  • Error Creating Application Server Conn from Jdeveloper

    Hi,
    Im receiving following error while trying to create Jdeveloper connection:
    Error while getting remote MBeanServer for url: ormi://myhostname.pk:20000/default:
    Error reading application-client descriptor: Error communicating with server: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
         javax.naming.AuthenticationException: Not authorized; nested exception is:
         javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
         javax.naming.AuthenticationException: Not authorized [Root exception is javax.naming.AuthenticationException: Not authorized]
    I have supplied the following credentials to create the connection.
    ConnectionType: ApplicationServer10.1.3
    username: oc4jadmin
    password: welcome{assuming welcome as default password, password has not been changed since initial R12.1.2 install. I have also tried oracle as defult pwd}
    Connect to: Single Instance
    Hostname: myhostname
    oc4jinstance: oacore
    OPMN port: 6500
    I have followed the following metalink note "How to Create an Application Server Connection from JDeveloper [ID 372989.1]" and have performed the following tests.
    command: sh adopmnctl.sh satus -port
    =========================
    You are running adopmnctl.sh version 120.6.12010000.3
    Checking status of OPMN managed processes...
    myhostname:6500
    command: sh adopmnctl.sh status -l
    ========================
    You are running adopmnctl.sh version 120.6.12010000.3
    Checking status of OPMN managed processes...
    Processes in Instance:
    ---------------------------------------------------------------------------------------------------------+------
    ias-component | process-type | pid | status | uid | memused | uptime | ports
    ---------------------------------------------------------------------------------------------------------+------
    OC4JGroup:default_group | OC4J:oafm | 18277 | Alive | 658406017 | 116596 | 49:03:18 | rmi:25500,jms:24500,ajp:25000
    OC4JGroup:default_group | OC4J:forms | 18206 | Alive | 658406016 | 111040 | 49:03:22 | rmi:20500,jms:23500,ajp:22000
    OC4JGroup:default_group | OC4J:oacore | 18122 | Alive | 658406015 | 307376 | 49:03:32 | rmi:20000,jms:23000,ajp:21500
    HTTP_Server | HTTP_Server | 18065 | Alive | 658406014 | 114908 | 49:03:13 | https1:4443,http1:8000
    command: netstat -an |grep 6500
    ======================
    tcp 0 0 127.0.0.1:6500 0.0.0.0:* LISTEN
    tcp 0 0 10.10.50.6:6500 0.0.0.0:* LISTEN
    Has any one faced similar problem. Please help!
    Edited by: faanwar on Aug 18, 2010 11:00 AM

    Try changing the oc4jadmin password:
    - stop oc4j
    - edit system-jazn-data.xml and replace encrypted pw with !newpassword
    - remove cache pw from securestore directory
    - start oc4j
    regards,
    Bernhard Jongejan
    http://bernhardjongejan.spaces.live.com

  • Got Error when creating application server connection

    Hi Guys...I am using SOA 10.1.3.1.0
    I got the following error when creating application server connection
    In Step 1:
    I selected the Connection type as Standalone OC4J 10.1.3 (Why because I use this one)
    In Step 2:
    In this step I gave username and password (same username and password to connect to BPEL console)to authenticate connection
    In step 3:
    It is asking for Hostname, RMI port and URL path. My computer name is gopal-computer. I gave this hostname. RMI port number is 23791 by default. I kept this one as it is and URL path optional I think. I did not give any thing.
    In step 4:
    When I hit the test connection button its giving the following error
    Error while getting remote MBeanServer for url: ormi://gopal-computer:23791/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
    Please help me.
    Thanks,
    Gopal.....

    For SOA Suite connection you should choose "Oracle application server 10g 10.1.3"

  • How to Create Application Server Connection in Jdev 11g?

    Hi all
    Can any one help me with the below requirement
    is there any way to deploy the WAR or EAR to an Application Server in Jdev11g. In Jdev 10g We used to configure the Application Server& Integration Server Connections by starting up the SOA Suite 10g.
    Similar to that What is the best option in Jdev11g. Jdev 11g comes with the embadded bea weblogic server, If I want to cerate the Application Server Connection do I need to separately configure the weblogic server?
    Thanks in advance

    No you can't.
    ADF 11g applications require support for parts of Java EE 5 that are not there in OAS 10 (will be there in Fusion Middleware 11g).
    So there is no one click deployment options.
    You can however develop an application that uses J2EE 1.4 in JDev 11 without ADF - then create EAR/WAR and manually deploy to OAS.
    See the JDeveloper FAQ linked from the JDeveloper home page for more info.

  • Unable to make Application Server Connection in JDeveloper!

    Hi all,
    I am about to deploy my Webservice into my development instance.
    However, when i tried creating the application server connection, I get the following error...
    oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: Error while getting remote MBeanServer for url: ormi://ihrms03:25515/default
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:502)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)+
    +     at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)+
    +     at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)+
    +     at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)+
    +     at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)+
    +     at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)+
    +     at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)+
    +     at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)+
    +     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)+
    +     at java.lang.Thread.run(Thread.java:595)+
    Caused by: javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found [Root exception is java.lang.InstantiationException: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:+
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found]+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)+
    +     at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)+
    +     at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)+
    +     at javax.naming.InitialContext.init(InitialContext.java:223)+
    +     at javax.naming.InitialContext.<init>(InitialContext.java:197)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)+
    +     ... 14 more+
    Caused by: java.lang.InstantiationException: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:103)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)+
    +     ... 20 more+
    Caused by: oracle.oc4j.rmi.OracleRemoteException: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)+
    +     at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:541)+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:96)+
    +     ... 21 more+
    Caused by: javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found
    +     at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)+
    +     ... 26 more+
    ---- Embedded exception
    javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found [Root exception is java.lang.InstantiationException: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:+
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found]+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)+
    +     at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)+
    +     at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)+
    +     at javax.naming.InitialContext.init(InitialContext.java:223)+
    +     at javax.naming.InitialContext.<init>(InitialContext.java:197)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)+
    +     at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)+
    +     at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)+
    +     at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)+
    +     at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)+
    +     at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)+
    +     at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)+
    +     at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)+
    +     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)+
    +     at java.lang.Thread.run(Thread.java:595)+
    Caused by: java.lang.InstantiationException: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:103)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)+
    +     ... 20 more+
    Caused by: oracle.oc4j.rmi.OracleRemoteException: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)+
    +     at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:541)+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:96)+
    +     ... 21 more+
    Caused by: javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found
    +     at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)+
    +     ... 26 more+
    ---- Embedded exception
    java.lang.InstantiationException: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:103)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)+
    +     at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)+
    +     at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)+
    +     at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)+
    +     at javax.naming.InitialContext.init(InitialContext.java:223)+
    +     at javax.naming.InitialContext.<init>(InitialContext.java:197)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)+
    +     at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)+
    +     at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)+
    +     at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)+
    +     at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)+
    +     at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)+
    +     at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)+
    +     at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)+
    +     at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)+
    +     at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)+
    +     at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)+
    +     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)+
    +     at java.lang.Thread.run(Thread.java:595)+
    Caused by: oracle.oc4j.rmi.OracleRemoteException: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)+
    +     at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:541)+
    +     at com.oracle.naming.J2EEContext.create(J2EEContext.java:96)+
    +     ... 21 more+
    Caused by: javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found
    +     at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)+
    +     at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)+
    +     ... 26 more+
    My connection is configured as of the following:
    Connectoin Type: Oracle Application Server 10g 10.1.3
    Username: oc4jadmin
    Password: ######
    Connection To: Single Instance
    HostName: 10.251.28.21
    OPMN Port: 6203
    OC4J Instance: oafm
    When I test connection, I get the following response:
    Error while getting remote MBeanServer for url: ormi://ihrms03:25515/default:
    Error reading application-client descriptor: Error communicating with server: oc4j:internal/ResourceFinder not found; nested exception is:
    +     javax.naming.NameNotFoundException: oc4j:internal/ResourceFinder not found+
    WEIRD THING IS THAT I am able to successfully connect to Production Instance!!!! I have no clue how this is happening...!
    Is there any config I am missing? Any file somewhere that lacks some configuration setting?
    Pleaseeeee advice???
    Thanks a million in advance!

    Hi John,
    thanks alot. You friend is lovely! And you're definitely da man! :D
    I took the steps to include the server ip details in my host file in my etc\hosts .
    Connection successful!
    HOWEVERRRRRR.....
    today i tried to make a new connection to the same server and I received the same error! my existing connection still shows successful...
    I can't make any new connections now at all! even to instances that were tested succesfull earlier...!! :(
    Please advice... pretty please...
    Actually I just noticed the error message is not the same now!!!
    this is the error Im getting:
    Error while getting remote MBeanServer for url: ormi://ihrms03:25515/default:
    Error reading application-client descriptor: Error communicating with server: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:
    +     javax.naming.AuthenticationException: Not authorized; nested exception is:+
    +     javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:+
    +     javax.naming.AuthenticationException: Not authorized [Root exception is javax.naming.AuthenticationException: Not authorized]+
    Edited by: user12131493 on Aug 18, 2010 9:10 AM

  • Problem creating Application Server Connection

    Hi,
    I am experiencing some problem in getting the connection to work right after I install the JDeveloper 10.1.3, the following is the configuration I used, please help me on this:
    Connection Type: Standard OC4J 10g 10.1.3
    Host name: localhost , RMI Port: 23791
    Firewall for port 23791 is turned off for both UDP and TCP.
    When I test for connection, I got the following error:
    Error while getting remote MBeanServer for url: ormi://localhost:23791/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
    I do not understand why this happen. Do I need to turn on any server to get this to work? Please help me. Thanks.

    Hi Timo,
    Thanks a lot. After doing much research here and there, I managed to get it work. I think it would be better that I shared my experience with everyone and this is how I get my first JSP on JDeveloper (OC4J) to work:
    - Start the OC4J server by running [Where you installed your JDeveloper]/jdev/bin/start_oc4j.bat
    - Create an application server connection. [For username: admin, password: welcome, URL: ormi://localhost:23791/]
    Just wonder if anyone can give me a clue on how do I change my port to 80 instead of the default 8988 and also how to change the context root?

  • Creating Application Server connection

    First of all, I am quit new with JDeveloper and oracle.
    I use JDeveloper 10 and want to set up a Application server so I can create portlets.
    I try to follow [this step by step from oracle|http://www.oracle.com/technology/obe/obe1014portal/standards_portlets/stdsplts.htm]
    I stop with the create "Creating an Application Server Connection".
    I use the following settings :
    Connection name : AppServerConnection3
    Connection type : Oracle Applications Server 10 g 10.1.2 (windows)
    username : oc4jadmin
    password : hidden
    Enterprice manager OC4J Host Name : Localhost
    Enterprice manager OC4J HTTP port : 23791
    Remove servers oracle home directory : c:\oc4j
    OC4J Instance name (optional) :
    RMI server url : ormi://localhost:23791
    RMI username : admin
    When i test the result is : Test failure (-1). HTTP return code was -1
    The log says this :
    E:\JdevTools\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar E:\JdevTools\jdev\lib\oc4j_remote_deploy.jar http://localhost:23791/Oc4jDcmServletAPI/ oc4jadmin **** listApplications c:\oc4j
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command listApplications c:\oc4j UNDEFINED UNDEFINED UNDEFINED
    Command = LISTAPPLICATIONS
    Opening connection to Oc4jDcmServlet
    Setting userName to oc4jadmin
    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 Nov 17 13:54:17 CET 2008 ** ** EXCEPTION: java.io.StreamCorruptedException: invalid stream header
    java.io.StreamCorruptedException: invalid stream header
         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:753)
         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
         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.listApplications(Unknown Source)
         at oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(Oc4jDcmMain.java:71)
    Please, wait for command to finish...
    Checking command status...
    Setting userName to oc4jadmin
    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
    Any idea whats wrong ?
    I have started the oc4j server
    E:\JdevTools\jdev\bin>start_oc4j
    Starting OC4J with command: "..\..\jdk\bin\java.exe" -XX:MaxPermSize=256m -jar oc4j.jar
    08/11/17 13:25:27 Oracle Containers for J2EE 10g (10.1.3.4.0) initialized
    This is alot of info, I dont know whats relevance.

    Hi ,
    I want to create a new application server connection but i have a problem which is:
    Test failed (404). Invalid servlet path
    i don't understand what's the pb.
    I used the SOA 10.1.3.1;
    Thx for your reply

  • Error While creating Application server connection

    Hi ,
    I am a newbie to SOA suite . I have installed Oracle XE Database , Oracle Jdeveloper 10.1.3.3.0.3 and Oracle SOA Suite 10g (10.1.3.1) ( file name soa_windows_x86_
    101310_disk1.zip) on my windows XP machine
    Now I created a "Hello World Bepel Process '" . For deploying it I was trying to create an application server connection . I am not sure that I need to install anymore things or not .
    Here are the steps which happened while I was trying to make connection to application server.
    1> Connection Name : Gave as "AppServerConnection1"
    Connection Type as "Standalone OC4J 10g 10.1.3"
    2> UserName as : oc4jadmin
    Password : Gave my password
    3> Hostname : localhost
    RMI Port was coming as 23791 as default ( Please note that I checked opmn folder and tried to use the RMI from the xml file too)
    4> While testing I was getting error as "For input string: "23791home"
    Not sure if i need to install anything ( Probably Application Server ) more .
    Please let me know what I need to do and if i need to install anything else where will I find the file ?
    Thanks in advance

    Hi,
    Connection Type as "Standalone OC4J 10g 10.1.3"
    When choosing the connection you need to select the connection as Oracle Application Server 10.1.3 not Standalone OC4J 10g 10.1.3

  • Application Server Connection in Jdeveloper

    Hi,
    Im facing issues in establishing Application Server Connection in JDevloper (10.1.2.1.0).Basically, im creating a JSR portlet. I followed the steps provided in the link "http://www.oracle.com/technology/obe/obe1014portal/standards_portlets/stdsplts.htm".
    The below error is encountered while testing connection
    "D:\Kamlesh\Oracle\jdev1012\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar D:\Kamlesh\Oracle\jdev1012\jdev\lib\oc4j_remote_deploy.jar http://pcidl17672.cts.com:7778/Oc4jDcmServletAPI/ oc4jadmin **** listApplications E:\oracle\OraPortal
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command listApplications E:\oracle\OraPortal UNDEFINED UNDEFINED UNDEFINED
    Command = LISTAPPLICATIONS
    Opening connection to Oc4jDcmServlet
    Setting userName to oc4jadmin
    Sending command to DCM servlet
    HTTP response code = 401, HTTP response msg = Unauthorized
    #### HTTP response is NOT ok
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (401)
    #### Authorization failure. Please, check your username/password.
    Actually im deploying the portlet from the remote machine.I gave the default port as 23791.But I'm not sure about the UserName\Password i gave the enterprise manager username and password "ias_admin\ias_admin1".Can you please help?
    Thanks
    Kamlesh

    HTTP connection failure: unknown port number or missing HTTP listener
    Check the RMI port in configuring a connection with the OC4J server.
    Is the OC4J server started?

  • Error When Creating BPA Server Connection in Jdeveloper

    Hi,
    I am trying to explore the concept of BPA Suite. I have created a BPMN process and enabled the option 'Share Blueprint with' under SOA. But when i am trying to make a BPA Server Connection in JDeveloper it is showing error like 'Connection Failed'. I am using Local Repository. Could you please help me on this issue.
    Thanks,
    Anju

    Yes, you can choose XE at installation time for the LOCAL database in BPA (ARIS). And, since you say you do connect from BPA before trying to connect from JDev, we know the database is up.
    One more thing to check is that both are the same version (10.1.3.4, hopefully).
    When do you see the connection failed during the setup? It is after you select "local server"? That is, can you see your BPA database (project) show in the drop down and you get the error when you enter the BPA credentials? Or, do you get the error selecting local server in the first place? If so, you should see if you can get a Database connection from JDev to the database on XE - it may be that JDev can't find the database for some reason (proxy settings perhaps).
    Heidi.

  • Error while creating a application server connection in jdeveloper 10.1.3.2

    When I am trying to create a connection using the wizard with the following inputs
    hostname as :- localhost
    RMI Por as 22667
    When I use the test conection receive the following error
    racle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: Error while getting remote MBeanServer for url: ormi://localhost:22667/default
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:502)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
         at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
         at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
         at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)
         at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)
         at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:613)
    Caused by: javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused] [Root exception is java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]]
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
         ... 14 more
    Caused by: java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
         ... 20 more
    Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
         at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
         ... 21 more
    Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
         ... 26 more
    Caused by: java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 28 more
    ---- Embedded exception
    javax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused] [Root exception is java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]]
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
         at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
         at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
         at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)
         at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)
         at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:613)
    Caused by: java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
         ... 20 more
    Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
         at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
         ... 21 more
    Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
         ... 26 more
    Caused by: java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 28 more
    ---- Embedded exception
    java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
         at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
         at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
         at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getJMXConnector(J2EEConnectionWrapper.java:269)
         at oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.getPresentation(J2EEConnectionWrapper.java:76)
         at oracle.jdevimpl.cm.dt.browser.j2ee.J2EEBrowser.openConnectionBrowser(J2EEBrowser.java:75)
         at oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork(ConnectionNode.java:423)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:613)
    Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
         at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
         ... 21 more
    Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.net.ConnectException: Connection refused]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
         ... 26 more
    Caused by: java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:207)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:682)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 28 more

    Caused by: java.net.ConnectException: Connection refused
    Is the Oracle application server running?

  • Cannot Create an Application Server Connection in JDeveloper

    I am going through the tutorial titled "Building J2EE Web Applications" at the following URL:
    http://otn.oracle.com/products/jdev/htdocs/j2eedev.html
    I have been able to sucessfully setup a separate instance of OC4J. But when I try to establish the connection using JDeveloper's connection wizard and the instructions provided. I get the Invalid Username/Password Error.
    Any inputs will be highly appreciated.
    Thanks
    Pankaj

    Thanks Lynn - It works for me...!!
    Pankaj -
    The default username/password combo is 'admin' and 'welcome', respectively. You can change this in the principals.xml file or look at http://otn.oracle.com/tech/java/oc4j/htdocs/how-to-jazn.html for info on how to encrypt the username/password.
    Hope this helps,
    Lynn
    Java Tools Team

Maybe you are looking for

  • Internal hard drive won't mount after running Tech Tools Pro 5

    HELP. We have an imac 2ghz Intel Core 2 running OS 10.6.8. I ran Tech Tools Pro 5 to rebuild directory, optimize files, optimize volume. It ran over nightbut seemed to hang up optimizing the volume. Now the HD doesn't mount. I've tried a few fixes. I

  • Finder doesn't show image dimensions

    Hi! I have a problem with image dimensions in Finder. Finder doesn't show image dimension info in preview column and Get Info window. But when I open in Preview app I can see dimensions in Get Info window. How to solve this problem. If I want to sort

  • Epson P.I.M. II Plug-in v2.2 install error with CS4 trial version

    Hello, I am using a trial version of CS4 that I just downloaded & installed (works fine).  I tried installing Epson's ICC color profile for the 1280 printer with the P.I.M. II Plug-in v2.2 installer from the Epson website (http://www.epson.com/cgi-bi

  • Application Flash Lite version - Adobe Mobile Packager

    After I open a new packager project, Application Flash Lite version is not able to selected. It sets 3.1 as default version of flash lite. How can I make that enable and pick the version of flash lite I would like ?

  • Goods Reciept Table

    Hi all, Can any body tell me the tables for Goods Reciept, Balu.