Link to home
Start Free TrialLog in
Avatar of efrainpacheco
efrainpacheco

asked on

stand-alone oc4j connection

When setting up a stand-alone oc4j connection following the JDev 9.0.3.3 instructions below:

To create a connection to an OC4J instance: In the Navigator, click + to expand the Connections node. Right-click Application Servers. Choose New Connection... from the context menu. The Connection Wizard - Welcome page is displayed. Click Next. Enter a Connection Name for this connection. In the Connection Type list box, select Standalone OC4J. Click Next. Enter the Username and Password for the OC4J admin user to authenticate the connection. This information was specified when OC4J was installed. Default = admin/manager. Select the Deploy Password checkbox if you want to bypass authentication the next time you make this connection. Your password is deployed with your project's connection.xml file. Click Next. On the Connection page, configure the standalone OC4J settings as appropriate. Click Help for more information. Click Next. Click Test Connection. If your connection is successful, click Finish. Otherwise, click Back to return to the previous wizard pages and fix any configuration(s) setting. The configuration to deploy your J2EE applications to a standalone OC4J instance is complete.

When I hit the "Test Connection" button I receive the following error, "IO Error: Connection refused: connect".  I do not know why I am receiving this error, please advise?
ASKER CERTIFIED SOLUTION
Avatar of ramumorla
ramumorla
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of efrainpacheco
efrainpacheco

ASKER

We do not have a middle tier and cannot deploy one on our PC's.  We just want to get the Standalone OC4J connection to work which simulates the middle tier.  The RMI port is <rmi-server port="23791" >.  Here is the exact error we are getting:

javax.naming.NamingException: IO Error: Connection refused: connect

      javax.naming.NamingEnumeration com.evermind.server.rmi.RMIContext.list(java.lang.String, boolean, com.evermind.net.AddressContainer)

            RMIContext.java:347

      javax.naming.NamingEnumeration com.evermind.server.rmi.RMIContext.list(java.lang.String)

            RMIContext.java:291

      javax.naming.NamingEnumeration javax.naming.InitialContext.list(java.lang.String)

            InitialContext.java:390

      void oracle.jdevimpl.cm.dt.browser.jndi.JNDIBrowser._testContext(javax.naming.Context)

            JNDIBrowser.java:175

      void oracle.jdevimpl.cm.dt.browser.jndi.JNDIBrowser.openConnectionBrowser(oracle.jdeveloper.cm.dt.ConnectionBrowsable)

            JNDIBrowser.java:77

      java.lang.Object oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork()

            ConnectionNode.java:202

      void oracle.jdeveloper.cm.dt.ProgressRunnable.run()

            ProgressRunnable.java:193

      void oracle.ide.dialogs.ProgressBar.run()

            ProgressBar.java:527

      void java.lang.Thread.run()

            Thread.java:484

Thanks for you help in this matter.
What do you mean you dont have a middle tier-- Even though it is just a simulation it is as good as Middle tier- Mean while simulation may not be a great solution

Have a good day
SOLUTION
Avatar of seazodiac
seazodiac
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial