Error when connecting to database from connection manager
New installation of JDeveloper 11r2.
java.lang.NullPointerException
at oracle.dms.context.DMSContextManager.getContext(DMSContextManager.java:437)
at oracle.dms.context.ExecutionContext.get(ExecutionContext.java:445)
at oracle.dms.context.ExecutionContext.get(ExecutionContext.java:492)
at oracle.dms.instrument.Noun.<init>(Noun.java:188)
at oracle.dms.instrument.Noun.create(Noun.java:275)
at oracle.dms.instrument.NounFactory.create(NounFactory.java:66)
at oracle.jdbc.driver.DMSFactory.createNoun(DMSFactory.java:69)
at oracle.jdbc.driver.PhysicalConnection.createDMSSensors(PhysicalConnection.java:2253)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:617)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:54)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:117)
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:174)
at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:143)
at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:44)
at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:352)
at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:148)
at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:504)
at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:440)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1051)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:156)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:612)
at java.lang.Thread.run(Thread.java:595)
Occurs with both thin and oci8 connections.
Any ideas?
Conection name: tryit
Connection type: Oracle (JDBC)
username: me
password: mine
save password: ticked
Driver: thin (also tried oci8)
Host Name: myhost
SID: my10gdb (also tried service name).
yes, when we install oracle 8i in windows professionel we have this problem, before installing 8i we connected to the database without problem
thank you
Similar Messages
-
Error when discovering Oracle EBS from Enterprise Manager 12C
Hi everyone..
I have installed Enterprise manager 12C and discovered EBS database.But im unable to discover EBS applications through it.
OEM VERSION : 12C R2
EBIS VERSION : VISION INSTANCE 12.1.3
DATABASE : 11.2.0.3
I'm getting below error when im trying to discover through menu Targets----->Oracle E-Business Suite Instances
Error Log
oracle.apps.ebs.amp.oms.discovery.discoverer.AppsDiscoveryException: TargetRegistration :: registerService : SQLException - ORA-20233: Either the target or the metric does not exist for <target_name>/<metric_name>/<metric_column> VIS_ocs.ocs.dmsswt.com_HTTP Server/ResponseStatus
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 390
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 629
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 1775
ORA-06512: at "SYSMAN.MGMT_TARGET", line 4057
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 2227
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 1340
ORA-06512: at line 1
Caused By: java.sql.SQLException: ORA-20233: Either the target or the metric does not exist for <target_name>/<metric_name>/<metric_column> VIS_ocs.ocs.dmsswt.com_HTTP Server/ResponseStatus
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 390
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 629
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 1775
ORA-06512: at "SYSMAN.MGMT_TARGET", line 4057
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 2227
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 1340
ORA-06512: at line 1
oracle.apps.fnd.oam.em.util.job.CommandException
Caused By: oracle.apps.fnd.oam.em.sdk.targetData.discovery.AppsDiscoveryException: Error while attempting to discover EBS on : VIS( oracle_database ) using schema: apps
Caused By: oracle.apps.ebs.amp.oms.discovery.discoverer.AppsDiscoveryException: TargetRegistration :: registerService : SQLException - ORA-20233: Either the target or the metric does not exist for <target_name>/<metric_name>/<metric_column> VIS_ocs.ocs.dmsswt.com_HTTP Server/ResponseStatus
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 390
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 629
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 1775
ORA-06512: at "SYSMAN.MGMT_TARGET", line 4057
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 2227
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 1340
ORA-06512: at line 1
Caused By: java.sql.SQLException: ORA-20233: Either the target or the metric does not exist for <target_name>/<metric_name>/<metric_column> VIS_ocs.ocs.dmsswt.com_HTTP Server/ResponseStatus
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 390
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 629
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 1775
ORA-06512: at "SYSMAN.MGMT_TARGET", line 4057
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 2227
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 1340
ORA-06512: at line 1
=================================================================
Output Log
******Discovery Exceptions:
******Exception 0
oracle.apps.fnd.oam.em.sdk.targetData.discovery.AppsDiscoveryException: Error while attempting to discover EBS on : VIS( oracle_database ) using schema: apps
at oracle.apps.fnd.oam.em.onDemand.jobs.OAMRegisterEBSOD.execute(Unknown Source)
at oracle.apps.fnd.oam.em.util.job.AbstractCommandExecutor.executeCommand(Unknown Source)
at oracle.sysman.emdrep.jobs.CommandStepExecutor.execute(CommandStepExecutor.java:154)
at oracle.sysman.emWebservices.inbound.jobs.worker.ConsoleJobStepExecutor.execute(ConsoleJobStepExecutor.java:321)
at oracle.sysman.emWebservices.inbound.jobs.worker.ConsoleJobStepExecutor.executeStep(ConsoleJobStepExecutor.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:370)
at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:202)
at oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:474)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:1120)
at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:1118)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:74)
at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:83)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.security.Security.runAs(Security.java:61)
at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:51)
at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:56)
at oracle.j2ee.ws.server.provider.GenericProviderPlatform.runAs(GenericProviderPlatform.java:398)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1138)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:193)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:335)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:550)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:137)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: oracle.apps.ebs.amp.oms.discovery.discoverer.AppsDiscoveryException: TargetRegistration :: registerService : SQLException - ORA-20233: Either the target or the metric does not exist for <target_name>/<metric_name>/<metric_column> VIS_ocs.ocs.dmsswt.com_HTTP Server/ResponseStatus
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 390
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 629
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 1775
ORA-06512: at "SYSMAN.MGMT_TARGET", line 4057
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 2227
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 1340
ORA-06512: at line 1
Can anyone help me out?
Thanks very much.
Regards,
PubuduHello,
The errors you are receiving are typically a result of not following our published MOS note and our documentation. It’s important in order for Oracle E-Business Suite systems to be properly recognized by E-Business Suite Plug-in, AutoConfig must be enabled and updated on all nodes. You should prevalidate your system before the running discovery to help ensure success of the discovery process. These tests check that context files, context variables, users, and components are set up correctly in the system for successful discovery.
For more information on both topics refer to:
• Getting Started with Oracle Application Management Pack (AMP) for Oracle E-Business Suite, Release 12.1.0.1 (Doc ID 1434392.1)
• Oracle Application Management Pack for Oracle E-Business Suite Guide Release 12.1.0.1.0 Part No. E28715-03 October
If you are still experiencing errors after reviewing our documentation and taking the appropriate steps to prevalidate your system consider filing a Service Request with Support.
Regards,
Product Management -
OCI-21500 error when upgrading Oracle database from 10.2 to 11.2
We have been running some test upgrades from 10.2 to 11.2 before running it on our production server. During one of these tests, the post-upgrade script utlu112s.sql generated the following output:
Oracle Database 11.2 Post-Upgrade Status Tool 12-12-2011 21:12:54
Component Status Version HH:MM:SS
Oracle Server
. VALID 11.2.0.2.0 00:53:59
JServer JAVA Virtual Machine
. VALID 11.2.0.2.0 00:31:25
Oracle Real Application Clusters
. INVALID 11.2.0.2.0 00:00:03
Oracle Enterprise Manager
. VALID 11.2.0.2.0 00:33:44
Oracle XDK
. VALID 11.2.0.2.0 00:13:00
Oracle Text
. VALID 11.2.0.2.0 00:05:19
Oracle XML Database
. OCI-21500: internal error code, arguments:
[KODDBG_PUSH_80IMGPTR:dbgecPushPtr
. failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
. OCI-21500: internal error code, arguments:
[KODDBG_PUSH_80IMGPTR:dbgecPushPtr
. failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
. OCI-21500: internal error code, arguments:
[KODDBG_PUSH_80IMGPTR:dbgecPushPtr
. failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
. VALID 11.2.0.2.0 00:20:49
Oracle Database Java Packages
. VALID 11.2.0.2.0 00:00:53
Oracle Multimedia
. VALID 11.2.0.2.0 00:13:00
Spatial
. VALID 11.2.0.2.0 00:20:00
Gathering Statistics
. 00:24:39
Total Upgrade Time: 03:37:02
PL/SQL procedure successfully completed.
As far as we can tell, everything appears to be up and running, but the OCI-21500 internal errors are troubling. I have not been able to find anything on metalink regarding this error, and I am wondering if anyone else has come across it before. Thanks for your help!
SimeonThe OS is Solaris 10 (SunOS 5.10) and the source DB version was 10.2.0.4. We are running the upgrade manually (NOT with DBUA). The upgrade log does not have any ORA-xxxx errors, but it does show a few instances of the same error, such as this example:
SQL> desc XDB.XDB$RESOURCE_T;
ERROR: OCI-21500: internal error code, arguments: [KODDBG_PUSH_80IMGPTR:dbgecPushPtr failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
Regards,
Simeon -
Error when making a database call froman ejb
Hello,
I am getting the following error when accessing the database from an ejb -
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:68)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at com.ejb._EULookupRemoteIF_Stub.fetchAllLookups(Unknown Source)
at com.ejb._EULookupRemoteIF_Stub.fetchAllLookups(Unknown Source)
at com.servlets.login.EUClsLoginServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
Caused by: java.rmi.RemoteException
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.java:451)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:545)
at com.ejb.EUClsLookupBean_EJBObjectImpl.fetchAllLookups(EUClsLookupBean_EJBObjectImpl.java:101)
at com.ejb._EUClsLookupBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:569)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:211)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
at com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:96)
at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:237)
at com.sun.corba.ee.internal.POA.GenericPOAClientSC.invoke(GenericPOAClientSC.java:97)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at com.ejb._EULookupRemoteIF_Stub.fetchAllLookups(Unknown Source)
... 16 more
Any help?Please look in those 16 other stack traces for more details, there should be an actual SQLException if
it's a database problem, and/or the actual bean method that caused the problem.
Regards,
Marina -
When connect the Database from Toad , Sqlplus giving the error
when connect the Database from Toad , Sqlplus giving the error
recent changes 12.1.1 installatiojn
Oracle SQL plus encountered a problem and needs to close we are sorry for convenienvce
Oracle Forms Designner has encountered a probloem and needs to close we are sorry for the convenience
Thanks & Regards,
sreewhen connect the Database from Toad , Sqlplus giving the error recent changes 12.1.1 installatiojnHave you tried using the same user via simple sqlplus on the database server or apps tier server itself? Please try the same database user/login on the database server using the sqlplus available on the server itself. See what message do you get. If the the login happens, then try with the tns entry e.g. sqlplus username/password@prod and see if that works on the db server. If both of these conditions work the check where is Toad picking up the tns entry from on the client pc/laptop. If first test fails, then check if the account is locked.
Hope this helps. -
Not able to connect to database from Form builer
Hi ,
I installed oracle 10 g in my machine and is accessable from SQLPLUS & TOAD.
In the same drive i installed Form builder, i am getting the below error when i tried to connect DB from form builder.
ORA- 12154 : TNS : could not resolve service name.
Kindly do the needfull.not able to connect to database from Form builder
-
Unable to connect to database from D2K
Hi,
GoodDay, This is Ramesh. I have loaded both Oracle 9i & D2K in my PC. But i am getting some error message while trying to connect to database from d2k forms. I entered Usename, Password. The message is..
ORA-12203: TNS: Unable to connect to destination
The second time i entered both Username, Password & Database.
User Name: Scott
Passwors : tiger
Database: ORCL9i (SID name)
please let me know where i am lacking..?
Regards,
Ramesh.Do you connect when you set username , passwd , database....????
If you can via another tool , for example sql*plus then simply , copy the particular setting tns alias , you use to connect to this db, from [ORACLE_HOME]\network\admin\tnesanames.ora and paste it to [DEV2000_HOME]\network\admin\tnsnames.ora
Greetings,
Sim -
Not able to connect RAC database from client
Hi there
Recently I have configured RAC in test environment. version 11.2.0.1. OS Redhat 5.9. Everything seems to be fine except not able to connect rac database from client. Error is as under :
C:\Documents and Settings\pbl>sqlplus test1/test1@myrac
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 17 14:29:06 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12545: Connect failed because target host or object does not exist
Enter user-name:
myrac =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = racdb.testdb.com.bd)
Please give me your valuable suggestion to overcome the issue.
Regards
Jeweluser13134974 wrote:
ORA-12545: Connect failed because target host or object does not exist
This error means that the hostname or IP address used in the TNS connection string, failed to resolve or connect.
Your client is making two connections. The first connection is to the SCAN listener. It matches a db instance for your connection request based on service requested, available registered service handlers, load balancing, and so on. It then send a redirect to your client informing it of the handler for that service.
Your client then does a second connection to this service (a local RAC listener that will provide you with a connection to the local RAC instance). This is what seems to be failing in your case.
The SCAN listener's redirect uses the hostname of the server that the local listener is running on. Your client needs to resolve that hostname (of a RAC node) to an IP address. This likely fails.
You can add the RAC node hostnames to your client platforms hosts file. The appropriate action however would be to ensure that DNS is used for name resolution instead. -
How to connect oracle database from tuxedo
Hi,
How to connect oracle database from tuxedo.
If any one can help me.
Regards,it depends on configuration your going to choose, there are two ways--
- Using X/Open standards, for this
you have to make an entry of Resource manager in $TUXDIR/udataobj/RM file.
Then in UBBConfig file in GROUPS section u have to set Openinfo.
It also depend on which database you are going to use.
In your service now you need to call tpopen() API from tpsvrinit() function.
- Other possibility is, take an implicit connection using Pro*C or Pro*Cobol whatever platform you are using.
EXEC SQL Connect ... -
How to connect 10g database through Enterprise manager???
Hi All,
I want to connect the database through Enterprise manager.
My database is on 10g. Version is 10.1
Please tell me the procedure to connect the database through E.M.
Thanks and Regards,
Prathamesh.Are you thinking of the Enterprise Manager supplied with Oracle9i? If yes - it doesn't work quite that way ... and the 9i java OEM is not compatible.
Use the enterprise manager supplied with the 10g database, called the dbconsole (look for a service or start it using 'emctl start dbconsole') and access it using http://{localhost}:5500/em
If that doesn't satisfy you, load the updated version of the OEM 9i java standalone from the 10g client disk. -
TS1424 how do i solve error (-50) that stops me from connecting to i-tunes?
how do i solve error (-50) that stops me from connecting to i-tunes?
Maybe this will help:
iTunes Store- "Error (-50)" when downloading purchased content
iTunes for Mac reports error -50 when trying to authorize iTunes Store purchases -
Getting exception ORA-12705 while trying to connect to database from forms 9i
Hello All,
I have installed 9i database and I gave path for oracle home as Oracle_path while installing. then I installed 9i dev suite, Installer forced me to use different Oracle home, so I gave Odev_path as path.
I have created server alias name from dev suite to Oracle database and I could connect to database from froms 9i. suddenly it started giving me the following exception when I try to connect database from forms 9i.
ORA-12705 invalid or unknown NLS parameter value specified
could some one help toresolve the issue.
Thanks in advance
RajI have already seen this document and tried it out, but it didn't work. And I have tried out numerous other tips that I have found in different places on the web.
Is the client installation of any relevance? I notice that this user has a different installation from the one that I have, and that he amongst other things doesn't have sql plus installed. -
How to find the number of users connected to database from OS level(Linux)
Hi All,
Could anyone know , how to find the number of users connected to database without connecting with sql*plus
is there any command to find it?
example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
oracle version:- 10g,11g
Operating System:- OEL4/OEL5/AIX/Solaris
any help will be appreciated.
Thanks in advance.
Thank you.
Regards,
Rajesh.Excellent.
Tested, works as long as you set the ORACLE_SID first ( to change databases )
ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
Thanks!
select OSUSER
from V$SESSION
where AUDSID = SYS_CONTEXT('userenv','sessionid')
and rownum=1;Best Regards
mseberg -
Problem in connecting to database from webdynpro for java
Hi
I have a problem in connecting to database from webdynpro application
I am using oracle 10 express edition as database and was able to connect to database from a java application.But was unable to connect from a webdynpro for java.
<b>I guess webdynpro for java uses open sql instead of vendor sql(I looked in the visual admin ,DB is using open sql) so unable to connect to database.Am i right.?</b>
Do i need to make any settings in the visual admin to make it work?
How to solve this problem.Please give me pointers
Thanks
BalaHi,
For connecting to Oracle, either you can use the normal JDBC connectivty code directly which is given below :
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("your query");
In case you want to fetch data through ejbs, these are the steps to be followed :
1) Open the J2EE perspective
2) Create an EJB Module project
3) Right click on ejbModule, create a new EJB (select your EJB type)
4) While creating the ejb itself, you can add business methods by clicking Next in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml -> <bean name> ->method. Right click and select propogate to local & remote.
5) Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: MyJndi.
6) Right click on the EJB project and add classes12.zip file (provided by Oracle) to its build path. (under libraries tab). Also check the same file under Order & Export.
7) Create an Enterprise Application project.
8) Right click on the EJB module project and select add to EAR project, then select the created EAR project.
9) Right click on the EJB project, select Build EJB Archive
10) Right click on the EAR project, select Build Application Archive
11) Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
Java Build path - select the EJB project from projects , check the selected project under Order & Export
Project references select the EAR project
WebDynpro references select sharing references tab, click add & make an entry as : <vendor>/<EAR project name without .ear extension>
You can find the vendor name under application-j2ee-engine.xml file of the EAR project. By default it is sap.com. So if my EAR projects name is ABC, my entry would look like sap.com/ABC
12) Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
InitialContext context = new InitialContext();
Object obj = context.lookup("MyJndi");
MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
MyEJB mybean = home.create();
int a = 0;
a= mybean.add(10,15);
wdContext.currentContextElement().setSum(a);
where MyEJB is my EJB name and MyJndi is my JNDI name
To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("your query");
Extracted from Re: Webdynpro and Oracle
http://help.sap.com/saphelp_webas630/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
May be of use to understand the VA Conf /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
Regards
Ayyapparaj -
How to Connect Oracle database from excel
I have installed oracle 11g on Windows 8 64 bit OS on my laptop. I have Microsoft excel 2013. I can connect to database from SQL and from TOAD. Now i want - from excel to connect to database.
Please guide me the steps.
ThanksBelow link may be helpful to you :
http://khalidali-oracledba.blogspot.in/2013/09/connection-between-ms-excel-to-oracle.html
And if you are getting 32 bit vs 64 bit ODBC driver issue then :
https://social.technet.microsoft.com/Forums/office/en-US/2234554e-e93c-438b-990a-6739df19da44/odbc-connection-problem-in-excel-2013-64-bit-windows-8-os-and-x64-processor-oracle-8i?forum=excel
And still you are not able then post the question in :
ODBC
Regards
Girish Sharma
Maybe you are looking for
-
How to provide h ref dynamically plz help me its urgent
Hello all String fno=null; ServletContext context=getServletContext(); context.setAttribute("fno",""); PreparedStatement st=dbcon.prepareStatement("select * from student where name=?"); st.setString(1,name); ResultSet rs=st.executeQuery(); while(rs.n
-
Good Afternoon All, I'd be grateful for any help with the following problem. After importing about 30 photos from my camera into iPhoto '09 (version 8.1.2), I selected the first group of 10 and dragged and dropped them into an existing album in
-
Excel File Download and Drop downs at Column Level
Hi All, I am able to download the excel file, but I want to include dropdowns for each column. So that using those values user can add new records using the drop down list values. I am thinking it is not possible. Can some one validate me..? I have a
-
PEAP-GTC on Win 7 and 8 platforms (LDAP authentication doesn't work)
Hi all! Customer is using Open LDAP as directory services. We're setting Cisco Wi-Fi network with following authentication scheme: Wireless LAN Controller - Cisco ACS 5.3 - Open LDAP According to the documents ACS - LDAP supports only EAP-TLS and PEA
-
TS1398 wifi on/off button is greyish on i phone 4s?
hi my i phone 4s has a greyish on/off wifi button. tried everything and still not working, i bought the phone 9 months ago and no tech support in egypt for the i phone, what should i do ?????