JDeveloper connections
I just installed application. I am trying to make a connection. It gives me connection refused:. It also does not let me logging to the Enterprise Manager, It seems to ask me for password. Which user name and password am I supposed to use?
Thanks,
Gus G.
Are you trying to create a connection to an app server, or to the database? What's the error message you get? Are you trying to create a connection from the connection navigator in JDeveloper 10g or something else?
-- Brian
Similar Messages
-
I have installed (and am evaluating) Oracle 9i AS. I want to connect to it from JDeveloper. AS and JDeveloper are on seperate machines.
The Enterprise Manager shows OC4J to be up and running. If I execute "http://<ohs_host>:7777/j2ee/servlet/HelloWorldServlet" I get the proper response.
But when I connect from JDeveloper to AS the connection fails.
However, if on the server I execute on the command line: "java -jar oc4j.jar" then the connection from JDeveloper works. (I learned this trick from someone else, not from the manual.) But if I interrupt that process then the JDeveloper connection fails again.
What is this oc4j.jar executable? Why won't JDeveloper connect without it? Why isn't it automatically part of the AS services? How can I get it to start with AS? Is there some config setting I need to change? Is it described somewhere in the documentation?
Edward A. Ipser, Jr., PhD
[email protected]
www.ipserlab.comHi all,
I am using JDeveloper 10.1.3 for my development environment.
I am able to deploy the EAR at development environment but at live site, I am getting error like Connection refused.
I am using Oracle Application server 10.1.3 for deployment.
I am getting frequent restarting problem of my application server and the logs are as follows...
09/10/12 11:56:06 SEVERE: CoreRemoteMBeanServer.fetchMBeanServerEjbRemote Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused] for URL: ormis://app3.mptax.net:12702/defaultjavax.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.io.IOException: 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.io.IOException: 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 oracle.oc4j.admin.topology.ConnectionRefImpl.getConnector(ConnectionRefImpl.java:241)
at oracle.oc4j.admin.management.farm.mbeans.JVMAgr.getAttribute(JVMAgr.java:1378)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
at oracle.oc4j.admin.jmx.distributed.MBeanServerDelegate.invoke(MBeanServerDelegate.java:495)
at oracle.oc4j.admin.management.farm.mbeans.J2EEServerAgr.getAttribute(J2EEServerAgr.java:1599)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.invoke(JMXConnectorImpl.java:389)
at oracle.sysman.ias.studio.j2ee.shared.jmx.oc4j.ClusterIASJMXUtil.getAttribute(ClusterIASJMXUtil.java:370)
at oracle.sysman.ias.studio.setup.javasso.JMXJavaSSOConfAdminBean.isJssoConfigured(JMXJavaSSOConfAdminBean.java:1041)
at oracle.sysman.ias.studio.setup.javasso.JavaSSOConfHelper.isJssoConfigured(JavaSSOConfHelper.java:802)
at oracle.sysman.ias.studio.cluster.TopologyHelper.prepareData(TopologyHelper.java:1300)
at oracle.sysman.ias.studio.sdk.AbstractController.prepareData(AbstractController.java:875)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:391)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused]
at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
... 77 more
Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: 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)
... 78 more
Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: 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)
... 83 more
Caused by: java.io.IOException: Connection refused
at com.evermind.server.rmi.RMIClientConnection.createSecureSocket(RMIClientConnection.java:703)
at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:678)
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)
... 85 more
09/10/12 12:00:05 SEVERE: CoreRemoteMBeanServer.fetchMBeanServerEjbRemote Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused] for URL: ormis://app3.mptax.net:12702/defaultjavax.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.io.IOException: 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.io.IOException: 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 oracle.oc4j.admin.topology.ConnectionRefImpl.getConnector(ConnectionRefImpl.java:241)
at oracle.oc4j.admin.management.farm.mbeans.JVMAgr.getAttribute(JVMAgr.java:1378)
at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
at oracle.oc4j.admin.jmx.distributed.MBeanServerDelegate.invoke(MBeanServerDelegate.java:495)
at oracle.oc4j.admin.management.farm.mbeans.J2EEServerAgr.getAttribute(J2EEServerAgr.java:1599)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.invoke(JMXConnectorImpl.java:389)
at oracle.sysman.ias.studio.j2ee.shared.jmx.oc4j.ClusterIASJMXUtil.getAttribute(ClusterIASJMXUtil.java:370)
at oracle.sysman.ias.studio.setup.javasso.JMXJavaSSOConfAdminBean.isJssoConfigured(JMXJavaSSOConfAdminBean.java:1041)
at oracle.sysman.ias.studio.setup.javasso.JavaSSOConfHelper.isJssoConfigured(JavaSSOConfHelper.java:802)
at oracle.sysman.ias.studio.cluster.TopologyHelper.prepareData(TopologyHelper.java:1300)
at oracle.sysman.ias.studio.sdk.AbstractController.prepareData(AbstractController.java:875)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:391)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused]
at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
... 77 more
Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: 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)
... 78 more
Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: 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)
... 83 more
Caused by: java.io.IOException: Connection refused
at com.evermind.server.rmi.RMIClientConnection.createSecureSocket(RMIClientConnection.java:703)
at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:678)
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)
... 85 more
Please help me out,
Thanks,
RGB Team -
JDeveloper connect ok, but not getConnection
Hi all, I am working on my first java program with JDeveloper. I was able to connect to my local Oracle9i database successfully, but when I tried to connect it in the program, I got "ORA-06401: NETCMN: invalid driver designator".
*** Here is the export from my JDeveloper connection *****
<?xml version = '1.0'?>
<!DOCTYPE connections>
<connections>
<connection>
<JDBC_PORT>1521</JDBC_PORT>
<ConnectionType>JDBC</ConnectionType>
<HOSTNAME>localhost</HOSTNAME>
<user>SCOTT</user>
<ConnectionName>Connection1</ConnectionName>
<SID>CIS</SID>
<JdbcDriver>oracle.jdbc.driver.OracleDriver</JdbcDriver>
<password>tiger</password>
<ORACLE_JDBC_TYPE>oci8</ORACLE_JDBC_TYPE>
</connection>
</connections>
**** Here is my connection codes in program ******
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
conn = DriverManager.getConnection ("jdbc:oracle:oci8:@localhost.1521:CIS", "scott", "tiger");
Thanks in advance for your help.
ChrisFor using the 'thin' driver
<ORACLE_JDBC_TYPE>thin</ORACLE_JDBC_TYPE>
conn = DriverManager.getConnection ("jdbc:oracle:thin:@localhost.1521:CIS", "scott", "tiger");
If you want to use the thick-oci driver the connection string will be of the format
conn = DriverManager.getConnection ("jdbc:oracle:oci8:@tns_entry_name", "scott", "tiger");
Regards
Elango. -
JDeveloper Connections AQ Setup?
We are still using BPEL & JDeveloper 10.1.2 . I'm trying to set up a AQ service in JDeveloper so I can use it in the Partner Link wizard. Can someone either explain the steps required, or point me to a URL that explains how to set up the AQ service.
The current BPEL application has a process that is invoked by a message on the database AQ. I'm assuming the developer had the JDeveloper connection tab on his system set up before creating the partner link. His system and configuration are long gone, and I am trying to recreate the configuration. I would appreciate any help you might provide.Hi,
I am trying to setup Oracle AQ on 10.2 on Linux platform. When I execute catmgw.sql script to load database objects, I am getting errors. Specifically it is failing to execute mgwityp.plb script. The script has CREATE OR REPLACE TYPE mgwi_msglink OID '00000000000000000000000000021090' wrapped statement followed by wapped code. I get a ORA-02304: invalid object identifier literal error.
Has anybody seen this error? Am I missing some setup/dependancies before I execute catmgw.sql script?
Regards
Kiran -
Emctl and jdeveloper connection error
Hi all,
I have installed oracle database 11g 11.1.0.6 on a windows server 2003 machine, and then used patchset 11.1.0.7 to upgrade. After that, I am able to connect this database and the database instance using sqlplus.
However, when I tried to create a new connection using JDeveloper, I got the following error:
Test failed: ORA-01017: invalid username/password; logon denied
When I tried with emctl.bat start dbconsole, I got error saying
"could not find appropriate listener for this database. configuring db control requires database to be registered with at least one listener"
Can anyone please help me with this strange issue?
Thank you so much! Happy New Year too.here is the output of set:
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Application Data
ARISHOME110=C:\program files\Oracle BPA Suite11g\
ATRIAHOME=c:\atria
CCCS_HOME=c:\cccs
ClusterLog=C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles=C:\Program Files\Common Files
ComSpec=C:\WINDOWS\system32\cmd.exe
COPYCMD=/Y
DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\user1
ImageType=windows2003enterprise.hosted
ImageVersion=1.06
include=C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC98\include;c:\Program Files\Intel\Compiler60\IA32\Include;c:\Program Files\Intel\Compiler70\IA32\Include;C:\Program Files\Intel\CPP\Compiler81\Ia32\Include
INTEL=c:\program files\intel
INTEL_COMPILER80=C:\Program Files\Intel\CPP\Compiler81
INTEL_LICENSE_FILE=C:\Program Files\Common Files\Intel\Licenses
INTEL_SHARED=C:\Program Files\Common Files\Intel\Shared Files
invPtr=C:\STEMAgent\agent10g\oraInst.loc
JDK_15=c:\jdk1.5.0\bin
lib=C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib;c:\Program Files\Intel\Compiler60\IA32\Lib;c:\Program Files\Intel\Compiler70\IA32\Lib;c:\Program Files\Common Files\Intel\Shared Files\Ia32\Lib;C:\Program Files\Intel\CPP\Compiler81\Ia32\Lib;C:\Program Files\Common Files\Intel\Shared Files\Ia32\Lib
machine_type=X86
MSDevDir=C:\Program Files\Microsoft Visual Studio\Common\MSDev98
NUMBER_OF_PROCESSORS=4
ORACLE_HOME=C:\app\product\11.1.0\db_1
ORACLE_SID=DB11
OS=Windows_NT
Path=C:\app\product\11.1.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\MsNfs\;C:\AIME\BIN;C:\CCCS\BIN;c:\emacs\bin;C:\MKSNT;c:\PROGRAM FILES\TERATERM;C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\COMMON\TOOLS\WINNT;C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\COMMON\MSDEV98\BIN;C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\COMMON\TOOLS;C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\BIN;c:\PROGRAM FILES\COMMON FILES\INTEL\SHARED FILES\IA32\BIN;c:\program files\intel\ICID;c:\program files\intel\EDB;c:\program files\intel\ISELECT\BIN6;c:\program files\intel\COMPILER60\IA32\BIN;c:\program files\intel\EDB70;c:\program files\intel\COMPILER70\IA32\BIN;C:\Program Files\Intel\CPP\Compiler81\IA32\BIN;C:\Program Files\Common Files\Intel\Shared Files\IA32\BIN;c:\program files\intel\CPP\IDB73\BIN;c:\program files\intel\cpp\idb80\bin;c:\Program Files\WinZip;c:\orautil;h:\mw\Oracle_IDM1\bin;h:\mw\Oracle_IDM1\opmn\lib;h:\mw\Oracle_IDM1\perl\bin;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0209
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\LOCALS~1\Temp
USERNAME=user1
USERPROFILE=C:\Documents and Settings\user1
VS=C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO
VS71COMNTOOLS=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\
VS80COMNTOOLS=c:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
windir=C:\WINDOWS -
I tried to connect to the Oracle DB by JDeveloper.. it connects with no problems..
but sometimes.. it comes out with Io exception: The Network Adapter could not establish the connection
well I have a network between 2 PCs.. when both are working there is no problem.. when the one with the Oracle Server only work I gotthat Exception....
and now Turn both PCs on and still got that Exception..
Why??!! It was wroking before well ?? so why it do this??
Need help PleaseIf I understand your setup properly, you have one PC that you are running JDeveloper on, that you are connecting to an Oracle DB with.
Obviously if the database server (or the JDev PC) is disconnected, the connection wouldn't be possible.
If you are getting that error after starting both machines, verify that you can connect to the server from the client PC. Try doing a tnsping (you should have the Oracle client loaded if JDev is installed properly). This will give you a clearer reason as to what is wrong.
Often the issue is that the listener isn't being started automatically on the databas server. It is also entirely possible that the database PC isn't set up to autostart the database as well. -
How does a standalone program running in JDeveloper connects to Oracle
Hi,
Can anybody please answer me how does a standalone program running in JDeveloper10G is getting connected to Oracle ? Normally it should go and check the host address and DB service name in TNSNames.ora file and go ahead. With JDeveloper10 ever after changing the TNSNames.ora file name to some other name the program running in Jdeveloper is getting connected to database. Seems weird ? I was actually doing some testing with that. Anybody please tell me how does JDeveloper handles such situations...
Regards
CTR
Edited by: user8325217 on Oct 9, 2008 2:54 PMYes, it depends on the type of JDBC driver you are using. Oracle has two JDBC drivers for Java clients. The oci driver requires an installation of Oracle Client on each machine running the Java app, and has the potential to use the tnsnames.ora entries. The thin driver is pure Java, does not require Oracle Client, and therefore is not aware of tnsnames.ora files.
You want to look in your code for the part that's establishing a connection to the db, and look at the URL, which will tell you the type of driver being used, for example "jdbc:oracle:thin" or "jdbc:oracle:ociX".
You might want to check out the following FAQ on JDBC:
http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
Brian
Product Manager, JDeveloper -
Jdeveloper connecting with SQL Server Express
Hi i am trying to connect jdeveloper with SQL Server Express. At the moment i am getting a TCP/IP connection to the host error message.
My connection string is as follows:
Class.forName("com.micorosoft.sqlserver.jdbc.SQLServerDriver")
Connection conn = DriverManager.getConnection("jdbc:sqlserver://mustang/sqlexpress; database = matt1; Uid = matt; Pwd = matt1")
Can someone please help me!Enable TCP/IP protocol. Select Microsoft SQL Server 2005>Configuration Tools>SQL Server Configuration Manager. In the SQL Server Configuration Manager select the node SQL Server 2005 Network Configuration>Protocols for SQLEXPRESS. Right-click on the TCP/IP node and select Enable. Restart the SQL Server (SQLEXPRESS) service. In Adminstrative Tools>Services, right-click on the SQL Server (SQLEXPRESS) service and select Restart.
To configure a JDBC connection with SQL Server 2005 Express, add SQL Server 2005 JDBC driver JAR file <Microsoft SQL Server 2005 JDBC Driver>/sqljdbc_1.0/enu/sqljdbc.jar to classpath. <Microsoft SQL Server 2005 JDBC Driver> is the directory in which SQL Server 2005 JDBC Driver zip file is installed.
Driver class for SQL Server 2005 database is com.microsoft.sqlserver.jdbc.SQLServerDriver. Connection URL for the default SQL Server 2005 database is jdbc:sqlserver://localhost:<port>.
In the connection URL, <port> is obtained from the SQL Server configuration Manager. When the SQL Server 2005 SQLEXPRESS is restarted the port number changes.
To obtain the <port> in the SQL Server Configuration Manager, select the node SQL Server 2005 Network Configuration>Protocols for SQLEXPRESS. Right-click on TCP/IP node and select Properties. Select the IP Addresses tab. In IP ALL, the TCP Dynamic Ports specifies the <port> value. The connection URL format for another database name is shown in following listing. -
SOA Suite / JDeveloper connection issue
we're deploying SOA Suite using enterprise deployment guide 10.1.3.3 in our company. The web-server is in the front-end DMZ and app-server is in the backend DMZ. There is load-balancer configuration even though our environment doesn't have HA.
From JDeveloper, the application-server & integration-server connection entry tests are failing with errors.. Oracle support didn't help us much.. below are more details about the issue:
The AJP & OPMN ports are opened between web-server & app-server. Web-server's opmn
request port is 6006 and app-server's opmn request port is
6207
From JDeveloper, how should we define the application server connection & integration server connection entries?
We have defined the app-server connection with F5 VIP as the
host & 6207 as the opmn port#, and the connection test is failing.
For integration-server connection, we used the above app-server connection, and 7777 as the http port. and the test fails for
application server connection, but BPEL & ESB test results are successful.
But we are able to successfully deploy the bpel & esb services
from Jdeveloper using the above integration-server connection entry.
Could you tell us the proper values we should use (including F5 setup & firewall ports which need to be opened) so that the
connection tests in JDeveloper work without errors?
thank youHi,
Port details you can get under file "opmn.xml" located at:
<SOA_Home>\opmn\conf
For OPMN port, Use the value of 'request' attribute present under <port> tag.
Cheers,
Abhi... -
JDeveloper + Connection Context
Hi All,
I am new to JDeveloper.I want to run a stored procedure in it. I have specified the connection to database,username and password.
While running the sqlj, it gives the error : no connection context was found.
Please tell me what connection context is and how to set it.
Thanks
SrividyaHi All,
I am new to JDeveloper.I want to run a stored procedure in it. I have specified the connection to database,username and password.
While running the sqlj, it gives the error : no connection context was found.
Please tell me what connection context is and how to set it.
Thanks
Srividya -
Trying to work through examples in Oracle XML Applications. Platform is Windows 2000 server. When clicking tools|connection, jdeveloper hangs-no message, no event log. The connection manager is in project libraries. Oracle 8.1.6 database works fine. I tried 3.1 and 3.1.1.2 versions.
Ok that will be nice, but is not the case I dont want to read the tutorial, the problem is I already start to read and execute the tutorial you told me the problem is this tutorial it doesnt show how to do everything from scratch because you already have inside the zip file everything like xmls etc etc, and I want to get my DO and create the process myself, I dont want to get something that it is already done, this tutorial does not show for example how to create this composite.xml, this file it is already inside the zip file, so this way I just follow half of the process and dont learn how to make the whole process.
tks -
Jdeveloper connection to olap 9i
for me it's the first time using olap 9i. i have created 2 cubes and all the relational tabels and now i'm trying to connect to olap with jdeveloper (business inteligence).
the error is at step 4 of 4..."expand to search for OLAP server instances" and there is no olap server instances.
in the status field apears:"java.lang.NullPointerException".
so, plezzzzzzzzzz help me!!!!
thanks!Do not run Oracle OLAP 9iR2 at the base 9.2.0.1.0 level. At a minimum patch up to the RDBMS 9.2.0.5.0 patch set. I would recommend patching to the latest RDBMS 9.2.0.6.0 patch set. You can find the RDBMS patch sets on MetaLink.
As for JDeveloper and BI Beans running against OLAP, I would probably recommend using JDev 9.0.4 at the minimum. You can download it from OTN. -
Jdeveloper Connection to Oracle8I
Hi,
I just newly install Jdeveloper... I establish a connection and it says it is successful only when I use Internal/Oracle...
Please, please, walk me through how to connect to my file in the Oracle 8I RDBMS. I try to build a project and then create the forms but I cannot get any to the Database..
My email at home, where I am now, [email protected].. or at work tomorrow [email protected]
Please HELP.If you are having trouble connecting to an Oracle database as a user other than internal, make sure of the following:
1. You can connect from the same client using SQL*Plus or some other tool.
2. You can connect using JDBC from the command line (samples are available in the Oracle JDBC Developer's Guide and Reference on OTN).
3. When you create the connection in JDeveloper using the Connection Manager, use the Named Host type rather than the 'Existing TNS Names' type. It is a more straightforward way to connect using JDBC.
Please provide the following information if you still have problems:
1. What is the version of the Oracle database you are connecting to?
2. What Operating System is the database running on?
3. What is the error you get when you try to connect as a user other than internal?
Laura -
Jdeveloper connection to Oravle9i
I have installed JDeveloper 1.3 and oracle 9i. I have proble connecting to database. Is there anything I have to configue before I attemp to connect? I have Window 2000 and personal Oracle 9i.
Thanks,Can you please provide more details as to the problems you are having? What steps are you taking to create a connection to the database? What errors are you seeing?
Also, can you please check the version of the JDeveloper you are using? In your posting, you said you are using JDeveloper 1.3; this version does not exist! Did you mean that you are using JDeveloper 3.1, or that you are using the preview release of JDeveloper 9i v9.0.3?
- John McGinnis
Oracle JDeveloper Team -
Oracle9i JDeveloper Connection to application server
Hi
while making a connection to the application server(embedded OC4J server)using JDeveloper with connection wizard in connection tab it ask for Target Website: I want to know what is this target website(what is the role of this Target Website).Is it just a name or has some meaning related to the directory in server.Deployment to iAS 9.0.2 from JDeveloper 9.0.5.2 is not supported.
Since you are already trying this (This may or may not work) you need to deploy the jdev_home/dcm/lib/Oc4jDcmServlet.ear using the following two similar commands in the same order.
1. Java -jar <jdev_install>/j2ee/home/admin.jar ormi://localhost:1811 ias_admin manager -deploy -file Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
2. Java -jar ${ORACLE_HOME}/j2ee/home/admin.jar ormi://localhost:1811 ias_admin manager -bindWebApp Oc4jDcmServlet Oc4jDcmServlet emd-web-site /Oc4jDcmServletAPI
Note: I can already see an error in the command you posted in your message. You should not have 'oc4j-dcm-servlet' in your command
Also please remember that you can always use Enterprise Manager to deploy your application instead of using DCM connection from JDeveloper.
Maybe you are looking for
-
Hi All, The request is supposed to be deleted by the system automatically as and when there is a new request is loaded. But the job is cancelled and the requset was not deleted. The Job Log contains the following information.If any one has seen this
-
How to set the xmlns:urn
Hi, can anyone tell me how i have to wirte an xsd that i can wirte a SOAP Request in which the urn is set like this: xmlns="urn:Service". I have tried to wirte a xsd but i now get two chances: 1) I just w´rite in the xsd : <xsd:annotation name="xmlns
-
Confirmed quantity at sales document without stock at storage
Dear Gurus, Im having problems with availability check, when creating a sales document with a material without stock available system confirms quantity. Can somebody tell me where can i check in order to solve this error? Best regars J.
-
How to manually create a CASE folder in Oracle Credit management?
Hi All We have Oracle Credit management (OCM) mini pack.D installed. I am not finding any menu to create a CASE folder manually.Under 'Analysis' tab only one menu available. ie Case Folder. But no sub menu under it or any other menu to create a CASE
-
Quicktime icons in Finder - scrubbable?
Is it possible to scrub the icon of Quicktime movies in the Finder? I use this feature a lot in Shotgun and it's really helpful to quickly scrub through a tiny movie icon without using Quicklook or opening it up in Quicktime Player. Using Mountain Li