SQLDeveloper, JDeveloper connection differences?

I'm using a Macbook, and I was attempting to work from home yesterday and had a problem of not being able to connect to the databases at work (via VPN) using SQLDeveloper. Booting into Windows, I found that I could connect using TOAD, but the connection would hang after about 5 seconds causing TOAD to become unresponsive. Strangely enough though, I could connect without a problem using JDeveloper on OSX?
One of my colleagues on a Windows laptop has been having the same issues with TOAD, so I'm guessing someone has changed some setting in the firewall or on the database, however I'm curious as to why SQLDeveloper was unable to connect at all, while JDeveloper didn't have any issues?
Any ideas? If it helps at all the databases were all Oracle 10g.
Thanks

Hmm, looks like I can't use the thick driver since I'm on a mac (no ocijdbc11, and as far as I can tell the latest instantclient for mac is 10.2) So no, still can't connect to the databases. I've since discovered that JDeveloper doesn't appear to work properly either - I can connect and view packages, but I can't compile - the connection times out.
Have investigated with DBA's and with the people taking care of the network (in case it was a firewall issue) but no one can tell why it doesn't work :(

Similar Messages

  • JDeveloper Connection to AS

    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.com

    Hi 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.
    Chris

    For 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

  • SQLDeveloper cannot connect to SQL Server named instances

    I'm trying to connect to a SQL Server 2005 named instance on my local PC but SQLDeveloper is failing to connect as there is no way to specify the named instance on the connection screen.
    For comparison I set up a jdbc connection in JDeveloper and
    the connection URL which works in JDeveloper is jdbc:jtds:sqlserver://127.0.0.1:8020;instance=WESTERNEUROPE
    Without the instance property JDeveloper gets a connection refused

    Set up the connection through SQL developer, then exit the software.
    For a sqlserver database like GABRIEL\angel
    Modify the URL property in the IDEConnections.xml file
    <URL>jdbc:jtds:sqlserver://GABRIEL:1433;instance=angel</URL>
    You cannot use Windoze authenrication, and will need a SQL Server named user to connect.

  • Testing SSL Connections, differences between ABAP and JAVA stacks

    Hello,
       I am trying to test an outbound SSL connection to a partner.   I already have multiple outbound connections to many partners, but this new one is causing an issue.   Our firewalls between the two sites are opened as required, I verified that I can telnet to the 443 port of their sever.   I then attempted to connect to their URL, via a Java SOAP message, and it is rejected.  Some kind of error regarding our handshake.
       In an attempt to troubleshoot the issue I entered their URL in SM59 as a HTTPS connection, tested it, it worked fine.   Which indicates to me that the ABAP side works fine.
       I do the same on the Java stack, via the SOA Manager: Destinations, and it fails.
    "Error during ping operation: Error while silently connecting org.w3c.www.protocol.http.Http.Eception: Peer sent alert: Alert Fatal: unexpected message"
      I was thinking that maybe the remote partner only allows specific types of SSL version connection, and the Java side is too low.  i.e. the partner only allows TLS v1, and we are attempting to use SSL v2.    Is there a place to set this on the Java side?  I know I can set inbound parameters on ICM via SMICM.
      Any help or assistance would be most appreciated.
    Thanks,
    Michael Montone

    Hi,
    I suggest that you verify if you use the same release of the SAP Cryptolib  for the ABAP and the Java stack.
    This could explain a difference of support for SSL or TLS.
    Regards,
    Olivier

  • 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

  • JDeveloper connection

    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 Please

    If 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 PM

    Yes, 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 you

    Hi,
    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 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

  • How to disable auto connect feature in SQLDeveloper's connections manager

    Hi Guys,
    I work with SQLDeveloper 2.1.1 (Patch 1)
    It attempts to connect to the target always after you Right click on saved connection from within the connections' manager list.
    Does any one know how to disable that auto connect feature in SQLDeveloper?
    Any help would be appropriated.
    Cheers!!

    Hi, a good question:
    Here's my list of extensions installed:
    - Open Insider View (4thelephant) Insider SQLDeveloper
    - Oracle SQLdeveloper data modeler viewer
    - Oracle SQLdeveloper Migrations - MS Access
    - Oracle SQLdeveloper Migrations - MySql
    - Oracle SQLdeveloper TimesTen
    - Versioning support.
    That's all what i can see in extensions window.
    Cheers!!
    eMarcel

  • NLS Problem when connect SQLDeveloper to Connect to Oracle XE

    Status: failure ORA 00604: error occured at recursive SQL Level 1 ORA-12705:
    cannnot access NLS data file or invalid enviroment specified
    SQL Developer 1.0.0.15.57
    OS Windows2003
    sun.jnu.encoding=cp1251
    user.country=RU
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    NLS_CHARACTERSET AL32UTF8
    NLS_DATE_LANGUAGE RUSSIAN
    NLS_LANGUAGE RUSSIAN
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NUMERIC_CHARACTERS ,
    NLS_SORT RUSSIAN
    NLS_TERRITORY RUSSIA

    Yes, its happen on startup up of a new connection.
    On other forum threads we have some help:
    New next lines in
    C:\oracle\sqldeveloper-1557\sqldeveloper\jdev\bin\sqldeveloper.conf
    AddVMOption -Duser.language=en
    AddVMOption -Duser.region=US
    And change in regedit:
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_XE\NLS_LANG -
    from RUSSIAN_RUSSIA.CL8MSWIN1251
    on RUSSIAN_RUSSIA.AL32UTF8
    Some help:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14225/ch11charsetmig.htm#i1005993
    This problem was fixed. Thanks All.

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

    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
    Srividya

Maybe you are looking for