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
Similar Messages
-
How to get Connection with Oracle8i In OAS through EJB?
I've created a EJB in OAS,and invoked its method successfully.However,when I added a method using JDBC to get connection to Oracle8i,it failed.The source code is as below:
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection l_connection = DriverManager.getConnection(......);
then there is an Exception about omg.CORBA;
but using the code in an application to connect to Oracle8i directly is ok.
Would you please give me some advices?
nullWere you able to fix your problem?
I am getting a similar error. I am using the Reference Implementation from J2EE SDK.
I can connect to Oracle8i with JDBC in a Java Application but when I put my code in my Entity Bean, I get a NoClassFoundError on the oracle.jdbc.OracleDriver.
Any suggestions?
Al
[email protected] -
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 -
Hi all,
I am going to connect from Oracle8i release 2 running on
Unixware 7.1.1 to Oracle7.1.6 running on Sco Openserver. I am
getting end_of_communication_channel (03113). From 7.1.6 to 8.1.6
there is no problem. Should I set anything special? Please help
me.
Thanks.This forum focuses on heterogeneous connectivity rather than
homogeneous connectivity.
Vira -
How to configure weblogic 8.1 server for connecting to Oracle8.1.7
Hi all,
I m am A.Rama Krishna. I want an information regarding the connection to
Oracle8.1.7 from weblogic8.1 Application server. I did every thing that I can
do as mentioned in Documentation. But the datasource object is not available in
JNDI tree. And also one more thing, after creating the connection pool with some
name, I have to select the server to which I have to bind it by clicking "Target
& Deploy" option. All the active servers in my domain are displayed there with
a check box beside it asking me to choose all those severs to which I have to
bind the connection pool. Once I check the server and click "Apply" button, a
message like "Error on the page" dispalys on the bottom status bar. How to fix
this problem. Please advice me some thng. I created all the connectionpool and
Data source objects during the creating the server in the new domain with the
help of Wizard.
Thanx in advance
Regards
RamRama,
If you have created and deployed a connection pool and data source via the
WebLogic Server console, you should be able to access it from the Workshop
IDE.
If you configured the connection pool and datasource during configuration
time, can you login to the console and check if they have been created and
deployed successfully ?
Can you also provide more information on what your are trying to ? Are you
trying to create a db control which use this datasource ?
Thanks
Raj Alagumalai
Backline Workshop Support
"A.Rama Krishna" <[email protected]> wrote in message
news:[email protected]..
>
Hi all,
I m am A.Rama Krishna. I want an information regarding the connectionto
Oracle8.1.7 from weblogic8.1 Application server. I did every thing that Ican
do as mentioned in Documentation. But the datasource object is notavailable in
JNDI tree. And also one more thing, after creating the connection poolwith some
name, I have to select the server to which I have to bind it by clicking"Target
& Deploy" option. All the active servers in my domain are displayed therewith
a check box beside it asking me to choose all those severs to which I haveto
bind the connection pool. Once I check the server and click "Apply"button, a
message like "Error on the page" dispalys on the bottom status bar. How tofix
this problem. Please advice me some thng. I created all the connectionpooland
Data source objects during the creating the server in the new domain withthe
help of Wizard.
Thanx in advance
Regards
Ram -
Connecting personal oracle8 and dev2000
How to connect personal oracle8 and dev2000
ok, for connecting PO8 to D2k you have to do the same setting as for central database connectivity.
Anyway, here is the solution :
1. Make an entry in tnsname.ora for your PO8 sid.
2. Start the listener by giving the command lsnrctl start on command prompt.
3. Start the database.
4. Check the connectivity through SQL Plus.
5. If sql plus is connected, start forms and connect it from there.
Note : you may need to give po8.world in the connect string, but it is not required most of the time.
where po8.world is the entry in the tnsname.ora.
Best of luck -
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 -
Can't connect to Oracle8i from Netscape Webserver 4.1
Can't connect to Oracle8i from Netscape WebServer 4.1 (linux 6.1)
From the application dbadmin (in WebServer) I get
Database.MajorErrorCode=4 [DBNOTFOUND] no access library for 'libnsrwora.so'
Please help.....
Thanks
[email protected]
nullCheck the ARBOPATH setting in environment variables and make sure you have a 32 bit Essbase client path .
-
What client libraries need to connect to Oracle8i on Sun Server?
Hi there,
I have a problem when I try connect from Oracle client 7.3.4 on a Sun machine to Oracle8i on a different Sun machine. I don't know what client libraries need to install on Oracle 7.3.4 to be able connecting to Oracle8i server?. In the past, I had to run gencltsh script to update oracle lib to connect to Oracle7.3.4 server; however, I am stucked on this Oracle8i server. If anyone have any idea to help me to solve this problem please send email to [email protected] Thanks and nice day.Hi there,
I have a problem when I try connect from Oracle client 7.3.4 on a Sun machine to Oracle8i on a different Sun machine. I don't know what client libraries need to install on Oracle 7.3.4 to be able connecting to Oracle8i server?. In the past, I had to run gencltsh script to update oracle lib to connect to Oracle7.3.4 server; however, I am stucked on this Oracle8i server. If anyone have any idea to help me to solve this problem please send email to [email protected]. Thanks and nice day. -
Can JDeveloper 10g connects to Oracle8i DB?
DB: Oracle8i Enterprise Edition Release 8.1.7.4.0
Anyone tried Jdev 10g with Oracle 8I DB? Does it work, are there any issues with the installation?JDeveloper should be able to connect to the latest Oracle8i release without any issues.
Regards,
Lisa -
ORA-03115 when connect to Oracle8.0.5.1 on Linux
My JDeveloper with JDBC(upgraded today) connects OK to Oracle8
on NT and SUN. But there is error with Oracle8 for Linux.
What's wrong?
nullHi,
You may wish to try high-performance Openlink drivers in order
to provide connectivity to your Linux version of Oracle.
Drivers can be downloaded at http://www.openlinksw.com
-Stephen
Marcus Vogel (guest) wrote:
: Hi,
: I'm always getting an ORA-3115 error when accessing an Oracle
: database (8.0.5.1) on a SuSe 6.1 Linux server via JDBC.
: The connect works fine, but when i do a SELECT it always
brings
: the error ORA-3115 'unsupported network datatype...' or ORA-
3120
: 'two task conversion routine: integer overflow'.
: The same Java Applet with the same JDBC driver works fine with
: Oracle 7.3.4 (on DEC) and with 8.1.5 (on Solaris).
: Anybody got an idea where to look at?
null -
JDeveloper 2 and Oracle8i Lite
Hello,
I'm trying to connect to an 8i Lite using the 8i Lite JDBC
driver in JDeveloper 2.0, but it keeps telling me that it can't
find the driver anywhere. The documentation says to add the JAR
files to the library. The location of the 8i Lite JAR files is
set in the CLASSPATH. Even if I add location of the JAR files
to the project library it doesn't seem to find it. Is there
anyone out there who can help me out?
Thanks in advance.
Kind regards,
Eric Sirois
nullHi
Oracle JDeveloper can use the driver which comes with Oracle8i
Lite to connect to the Oracle8i Lite database. To configure
Oracle JDeveloper to work with the Oracle8i Lite database:
1. Install JDeveloper.
2. Install Oracle8i Lite 4.0 or higher.
3. Launch JDeveloper.
4. Add a library for Oracle Lite by following these steps:
Choose the menu option Tools | Default Project Properties.
Click the Libraries button at the bottom of the dialog.
Click the New button on the lower right to add a new library.
Name the library Oracle8i Lite by typing in the Name field.
Add the path to the Oracle8i Lite driver by typing in the Class
Path field.
This should be a jar file called
<oracle_home>\lite\classes\olite40.jar, but
check the documentation for your version of Oracle Lite.
If you are using JDK1.1, you also need to add
<oracle_home>\lite\classes\oljdk11.jar to the Class path
Click OK to add the Library. JDeveloper analyses the dependencies
for the > driver and returns to the Default Project Properties
dialog.
Click Add to add Oracle Lite to the default project properties
for all future generated projects. Alternatively, you may add
the Oracle Lite driver on a project by project basis by
selecting Project | Project Properties
and adding the newly created library to the current project.
5. Quit JDeveloper.
6. Add the Oracle Lite jar file to the IDE Classpath by following
these steps:
Open the file <jdev_home>\bin\jdeveloper.ini.
Under the section [Java_Global], add the path of the Oracle Lite
drivers to the IDEClassPath. This should be jar files called
<oracle_home>\lite\classes\olite36.jar and
<oracle_home>\lite\classes\oljdk11.jar, but check the
documentation for your version of Oracle Lite.
7. Restart JDeveloper.
regards
Eric Sirois (guest) wrote:
: Hello,
: I'm trying to connect to an 8i Lite using the 8i Lite JDBC
: driver in JDeveloper 2.0, but it keeps telling me that it can't
: find the driver anywhere. The documentation says to add the
JAR
: files to the library. The location of the 8i Lite JAR files is
: set in the CLASSPATH. Even if I add location of the JAR files
: to the project library it doesn't seem to find it. Is there
: anyone out there who can help me out?
: Thanks in advance.
: Kind regards,
: Eric Sirois
null -
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.
Maybe you are looking for
-
When I select a "compose email" from my GoDaddy email web page, it opens up another whole new Foxfire window. I can't seem to have it open into the existing Foxfire window but just another tab instead.
-
ODBC Data source administrator hanging for 20 seconds
After installing 32 bit ODAC 11.2 Release 5 and Oracle Developer Tools for Visual Studio (11.2.0.3.20) our business is reporting slow Excel/VBA code using ODBC. The business are querying using a ODBC System DSN. It works but hangs for 20 second when
-
I want to connect a FLIR camera to my iPad. How can I submit a PAL signal to my iPad?
I want to connect a FLIR camera to my iPad. How can I submit a PAL signal to my iPad?
-
Work Manager Configuration Issue with SharePoint 2013
Hi, We are facing issue to configure the Workflow Manager with SharePoint 2013. =========================================================== Please provide any solution/inputs to resolve this issue. Thanks.
-
Installing anc configuring Mysql 4.0.x or 4.1.x
Hi ive got Solaris 10 installed and configured however im having major dramas with the installation of Mysql 4.0.21 which i downloaded from sunfreeware, ive installed using pkgadd and all seems well, but when i try to start the mysql service or mysql