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

Similar Messages

  • I cannot create an Application server connection in Oracle JDeveloper 11 g

    i cannot create an Application server connection in Oracle JDeveloper 11 g , i got 0 of 9 test successful and i got this erros
    Cannot establish connection.
    Testing JSR-160 DomainRuntime ... skipped.
    Testing JSR-88 ... skipped.
    Testing JSR-88-LOCAL ... skipped.
    Testing JNDI ... skipped.
    Testing JSR-160 Edit ... skipped.
    Testing HTTP ... failed.
    Testing Server MBeans Model ... skipped.
    Testing HTTP Authentication failed
    0 of 9 tests successful.

    Hi,
    you can start the Jdev by command line and then see the log that it is generating. Maybe there you can see the problem that is happening.
    Also you can check if the server is running with
         telnet hostname 7001
    Some possible reasons
         you have a firewall blocking the connection
         did you check /etc/hosts file entry ? should be something like this <ip address of host > hostname1
    Cheers
    Augusto

  • 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?

  • 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 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

  • 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

  • JDeveloper - Error when trying to create an application server connection

    Hello everyone,
    I am trying to use JDeveloper to create a connection an Oracle WebLogic Server configured for Oracle SOA Suite. When I navigate to Connections and click on Application Server Connection, JDeveloper produces and error with the diagnostics shown below. I'm new to using JDeveloper so any help or advice on how to start to resolve this issue would be greatly appreciated. Fore the record I'm using JDeveloper 11G R2 (11.1.2.1.0) running on a Linux Red Hat 5 64 bit server.
    Performing action (39) Close All [ from  ] [ for ( <none>, MasterBuildScript.jpr, Infrastructure.jws ) ]
    Performing action (272) New Application... [ from ExplorerWindowImpl ] [ for ( <none>, MasterBuildScript.jpr, Infrastructure.jws ) ]
    Invoking command: [ from ExplorerWindowImpl ] [ for ( <none>, MasterBuildScript.jpr, Infrastructure.jws ) ]
    18-Oct-2011 10:37:02 oracle.adfinternal.rc.connection.AdfConnectionContextProvider getConnectionContext()
    SEVERE:
    oracle.adf.rc.exception.CatalogRuntimeException: error while obtaining a connection context using connection context provider [oracle.adfinternal.rc.connection.AdfConnectionContextProvider] Root Cause=[]
         at oracle.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:92)
         at oracle.adfinternal.rc.connection.ConnectionManagerImpl.getConnections(ConnectionManagerImpl.java:385)
         at oracle.jdeveloper.rescat2.model.registry.RescatContext.getConnectionContext(RescatContext.java:220)
         at oracle.jdeveloper.rcasadapter.rescat2.RescatContextStore.<init>(RescatContextStore.java:56)
         at oracle.jdeveloper.asnav.wizard.RescatAppServerWizard.setResourcePaletteStore(RescatAppServerWizard.java:99)
         at oracle.jdeveloper.asnav.wizard.RescatAppServerWizard.createWizardControl(RescatAppServerWizard.java:87)
         at oracle.jdeveloper.rcasadapter.wizard.AppServerProviderWizard.invoke(AppServerProviderWizard.java:93)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:446)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:530)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
         at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
         at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.NullPointerException
         at oracle.adfinternal.rc.connection.UncloseableContextWrapper.wrapContext(UncloseableContextWrapper.java:59)
         at oracle.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:79)
         ... 24 more
    oracle.adf.rc.exception.CatalogRuntimeException: error while obtaining a connection context using connection context provider [oracle.adfinternal.rc.connection.AdfConnectionContextProvider] Root Cause=[]
    o.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:92)
    o.adfinternal.rc.connection.ConnectionManagerImpl.getConnections(ConnectionManagerImpl.java:385)
    o.j.rescat2.model.registry.RescatContext.getConnectionContext(RescatContext.java:220)
    o.j.rcasadapter.rescat2.RescatContextStore.<init>(RescatContextStore.java:56)
    o.j.asnav.wizard.RescatAppServerWizard.setResourcePaletteStore(RescatAppServerWizard.java:99)
    o.j.asnav.wizard.RescatAppServerWizard.createWizardControl(RescatAppServerWizard.java:87)
    o.j.rcasadapter.wizard.AppServerProviderWizard.invoke(AppServerProviderWizard.java:93)
    o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
    o.i.wizard.WizardManager$1.run(WizardManager.java:530)
    j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:642)
    j.a.EventQueue.access$000(EventQueue.java:85)
    j.a.EventQueue$1.run(EventQueue.java:603)
    j.a.EventQueue$1.run(EventQueue.java:601)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:612)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by:
    java.lang.NullPointerException
    o.adfinternal.rc.connection.UncloseableContextWrapper.wrapContext(UncloseableContextWrapper.java:59)
    o.adfinternal.rc.connection.AdfConnectionContextProvider.getConnectionContext(AdfConnectionContextProvider.java:79)
    o.adfinternal.rc.connection.ConnectionManagerImpl.getConnections(ConnectionManagerImpl.java:385)
    o.j.rescat2.model.registry.RescatContext.getConnectionContext(RescatContext.java:220)
    o.j.rcasadapter.rescat2.RescatContextStore.<init>(RescatContextStore.java:56)
    o.j.asnav.wizard.RescatAppServerWizard.setResourcePaletteStore(RescatAppServerWizard.java:99)
    o.j.asnav.wizard.RescatAppServerWizard.createWizardControl(RescatAppServerWizard.java:87)
    o.j.rcasadapter.wizard.AppServerProviderWizard.invoke(AppServerProviderWizard.java:93)
    o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
    o.i.wizard.WizardManager$1.run(WizardManager.java:530)
    j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:642)
    j.a.EventQueue.access$000(EventQueue.java:85)
    j.a.EventQueue$1.run(EventQueue.java:603)
    j.a.EventQueue$1.run(EventQueue.java:601)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:612)
    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    j.a.EventDispatchThread.run(EventDispatchThread.java:122)
    Thanks,
    Shaun.

    Not sure if this is a cause for your error, but JDev11.1.2.1.0 doesn't work with SOA right now. For SOA you need to use jdev11.1.1.5.0 or lower.
    Timo

  • 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?

  • Trouble creating new application server connection

    Hi. I am trying to create a new application server connection in jdev 10.1.3.1.0. I am taking all of the default settings in the wizard, and I am specifiying user name, password and checking deploy password. When I click test connection on the last screen of the wizard I get:
    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]
    Does anybody know how to correct this?
    Thank you.

    Hello Anil,
    The error that you are getting indicates that the user that you are using to install the dialog server does not have enough rights to connect to the SAPMNT share of the central instance. 
    Please do the following:
    1.) Make sure that you are using a domain admin ID or a local admin ID that is on both systems with the same password.
    2.) Verify that SAPMNT is shared on the central instance by using the "net share" command from a Windows command prompt.
    3.) Make sure that the domain admin or local admin group is added to the file level permissions and share level permissions of SAPMNT with full rights.
    Also the general install guides will also have instructions on how to install a dialog instance as well.
    Hope this helps you,
    Thomas Wagner

  • 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

  • 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

  • Application Server connection from a remote Jdev

    Hi All,
    I am trying to create an Application Server connection in Jdeveloper which runs on a different machine. It throws this "cannot connect the server" error.
    But I am able to do the same if the Jdev is run on the same system where SOA Suite server runs.
    The OAS version is 10.1.3.4, Jdev version is also 10.1.3.4
    Could anyone please tell me the solution.
    Thanks
    Ponraj

    It is probably a network issue. Do you use proxies to get to the server, or should no proxies be used because it is in the intranet?
    Have a look at your IE / firefox settings in regards to proxies. You need to replicate this setting in JDev.
    Goto tools -> preferences -> Web browser and Proxy settings
    In most cases all you need to do is disable the proxy to connect
    hope this helps
    cheers
    James

  • 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

  • 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

Maybe you are looking for