Unable to connect using sqlplus using Oracle 11.2.0.1 32bit(x86) client
I have database running on Oracle 11.2.0.3 on Linux 5.5 64bit. Another server where I have installed Oracle Client 11.2.0.1 32-bit (x86). (http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linuxsoft-085393.html).
But I can not do tnsping, I get segementation fault. Additionally, I can not to database using sqlplus <user>@SID. I get prompted for the password, then I am back the unix prompt again without any error.
For debugging, I installed 64bit version of the client, which can connect to database. I am using same version/copy of tnsnames.ora. No special character (^M) in the tnsnames.ora.
Any suggestions how do I get this fixed?
Thanks,
KP
I figure I should update my findings on the resolution.
during Oracle 11.2.0.1 client installation, there was an error/warning message about oracle net configuration assistant unable to run. So, I had ignore it thinking its benign and created the tnsnames.ora file manually. On a hunch after 9 days of debugging, i decided to look into this warning message, and found some info in the ora32Inventory/logs/installAction-<date>.log. It had following error about java when running oracle net config.
INFO: # Java VM: Java HotSpot(TM) Server VM (1.5.0_17-b02 mixed mode)
INFO: # Problematic frame:
INFO: # C [libnnz11.so+0x3c35e]
So, I google the error, and after some research and reading, found an oracle patch to address this error:
ORA-24550: SQL*Plus 32-Bit Client May Crash On Linux X86-64 OS With AMD Processor [ID 1120724.1]
Patch info: 8670579 - DBBETA :NETCA/DBCA FAILED WITH HOTSPOT VIRTUAL MACHINE
Typically, this patch (8670579) is installed on Oracle RAC. however I tried on my app server (oracle client). It resolved my sqlplus issue and more importantly it resolve my application (Business Objects/BSAE) installation issue where it was unable to connect to oracle database using 11.2.0.1 client.
Cheers,
KP
Similar Messages
-
Error: unable to connect to database using user system. please check privil
Hi All,
i have 2 oracle databases in my system (ORCL,RR). i am able to connect both databases i sql prompt. but in ggsci prompt not able to connect rr database due to below error
dblogin userid system, password tiger.
Error: unable to connect to database using user system. please check privil
Can you please help me to connect RR database also in GGSCI promt.
Thanks
RajaDid you try with RR database tns name or sid while connecting ?
If No then try this ,
GGSCI (ATP) 6> DBLOGIN USERID SYSTEM@<tns alias name>
Password:
Successfully logged into database.
HTP
Annamalai. -
Error: Unable to connect to database using connection_pool
Hi experts
I have created repository and reports on my windows machine using ODBC , Now i have tranfered this to on unix with OCI, But when i am connecting to my dtabase it is showng the error:
Error: Unable to connect to database using connection_pool
Please suggest how to resolve this..Have you install the Oracle client in your Unix server?
-
Unable to connect to DB using the SID
HI Forum,
I am unable to connect to DB using the SID i assigned using TOAD, but i am able to connect using the instance name.
My setup needs that i should use a common name to connect to the DB immaterial of which instance is up.
Can any one instruct me how to achieve this kind of setup.
Regards
PrakashHi Prakash,
1). Create a file called TestingLoop.java containing following code:
import java.sql.*;
public class TestingLoop {
public static void main(String[] s)throws Exception {
Class.forName("oracle.jdbc.driver.OracleDriver");
/* String url="jdbc:oracle:thin:@(DESCRIPTION= (LOAD_BALANCE=on)
(ADDRESS=(PROTOCOL=TCP)(HOST=a) (PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=b)(PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=c) (PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=orcl)))"; */
String url ="jdbc:oracle:thin:@abc.us.oracle.com:23001:xyz";
for (int i=0; i<20; i++) {
try {
long x= System.currentTimeMillis () ;
Connection conn = DriverManager.getConnection(url,"scott","tiger");
long y= System.currentTimeMillis ();
System.out.println("Connection Succesful "+conn);
System.out.println("Connection time is "+(y-x)/1000+" ms");
Statement stmt =conn.createStatement();
ResultSet res= stmt.executeQuery(" select host_name from v$instance");
while(res.next()) {
System.out.println(res.getString(1));
stmt.close();
conn.close();
catch(Exception e) {
e.printStackTrace();
2). Compile the file using this command:
javac TestingLoop.java
3). Run the java program:
java TestingLoop
Single Virtual Ip doesn't make sense... does?
You will lose failover vip capabilities...
Regards,
Rodrigo Mufalani -
I am unable to connect to websites using Firefox. I can connect to websites with Internet Explorer.
Please advise.
Thank you.see http://kb.mozillazine.org/Firewalls
-
Hi all,
I have an Windows XP OS with SP3.
I have installed the Oracle 11g server.
On trying to connect to the ODBC connection, i get the following error message:
Unable to connect SQL State=S1000 [Oracle][ODBC][Ora]ORA-12170: TNS: Connect timeout occured
On trying the tnsping,
TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 09-OCT-2
011 13:11:05
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
E:\app\Gautam\product\11.1.0\db_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.
5.207)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl))
TNS-12535: TNS:operation timed out
On trying to connect with SQL Developer, i get the following error:
Status: Failure - Test failed: Io Exception: The Network Adapter could not establish the connection
However i am able to connect to the same using SQL Plus
Another issue that occurs is that the Oracle Enterprise Manager shows the following error after a while:
Agent Connection to Instance
Status Failed
Details ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
The following services are all up during this point of time:
OracleDBConsoleorcl
OracleOraDb11g_home1TNSListener
OracleServiceORCL
Any help in this regard will be very useful as this is hindering the progress of my work.
Thanks in advance for the help.
- Gautam841683 wrote:
Hi,
I did try and delete my listener.ora and then create a new one..
That did not solve my issue..
What are the steps for configuring the listener again.
Thanks for the response..
- Gautamno listener.ora file is required.
just do as below
lsnrctl start -
Unable to Connect to SqlPlus on Oracle8i Enterprise Edition
I installed Oracle8i Enterprise Edition Release 8.1.5 for MS Windows NT on my PC at home and has Windows 98, I am unable to connect to SQLPLUS or SVRMGR, it gives an error ,the error is
ORA-12541: TNS: no listener.
Sometimes i get ORA-12560 TNS:Protocol Adapter Error.
I created LISTENER.ORA file and now i am unable to start the Listener.
Please let me know how to configure SQL NET and its components, and also to start LISTENER on my PC.
Thanks & Regards,hi,
compare the entries in listener.ora and tnsnames.ora files.
actually both should match with one another.
Ensure that the supplied destination address matches one of the addresses used by the listener
hope this will solve ur problem. if not send me mail with above those two files.
regards,
arun. -
Unable to connect to sybase in Oracle Golden Gate using GGSCI cmd prompt
Hi All,
I am trying to connect to sybase using golden gate cmd prompt GGSCI, but i am getting below error
Command - dblogin sourcedb master userid sa
master is the dbname (Default available in sybase)
sa - user
ERROR: Cannot connect to database master at server BL1DDG1W4BS.
Client Library error: severity(0) number (44) origin(1) layer(4).
ct_connect(): protocol specific layer: external error: The attempt to connect to
the server failed.
Sybase Version - 15.0
Oracle Golden Gate version - Oracle Golden Gate for Non Oracle Database Release 10.4 for sybase 15.0.
Please if any one can help me out.
Thanks In Advance.
Regards,
Prachithe command is
dblogin sourcedb <DNS_NAME> etc...
DNS_NAME is the name of the ODBC connection to your sybase server. -
Test Database Connection "Unable to connect to DB" using Oracle 10g Express
DB is up and running fine pls help
Connection test failed.
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101)
com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:745)
com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
...After installing the JDBC driver and selecting the test configuration i am getting the below erro:
Connection test failed.
Message icon - Error Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:482)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:156)
oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:101)
com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:745)
com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
The Steps i followed to install the JDBC Driver are mentioned below:
1. JDBC Data Source Properties:
Name: testSample
JNDI Name: abc.xyz.testSample
Database Type: Oracle
Database Driver: Oracle’s (Thin XA) for Instance
connections; Versions: ... 11
Database Name: orcl
Host Name: wls-sysadm
Port: 1521
Database User Name: weblogic
Password and Confirm Password: Welcome1
Before that i started the database from start menu
and both the services
ORACLE service XE
and ORACLELISTNERSERVICE is up and running fine.
C:\Users\satish>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 04-JUN-2013 10:18
:51
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 04-JUN-2013 09:35:25
Uptime 0 days 0 hr. 43 min. 26 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=SATISH-PC)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=
HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Can anyone pls help...urgent -
Unable to connect to OVD using the odsm
Hi All,
I was unable to connect to the OVD 11.1.1.3.0 installed using the ODSM, while i was able to connect to the OID happily.
I tried to connect to the OVD using the adminssl port (8899), non-ssl port (6501), ssl port (7501). I have the user id as cn=orcladmin. i was redirected to some Certificate Trust Validation pop-window and then it was throwing the error to check the log.
I cant figure out what might be the issue. please help me. i'm copying the content of the log file below.
[2012-04-16T22:10:42.891+05:30] [wls_ods1] [WARNING] [] [org.apache.myfaces.trinidadinternal.context.RequestContextImpl] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JQw1lFf4io95nf5EiZ1FZ42L00005z,0] [APP: odsm#11.1.1.2.0] Could not find partial trigger viewerId from UIHierarchyViewer[UIXFacesBeanImpl, id=hv1] with the supported partialTriggers syntax. The partial trigger was found with the deprecated syntax. Please use the supported syntax.
[2012-04-16T22:10:42.906+05:30] [wls_ods1] [WARNING] [] [org.apache.myfaces.trinidadinternal.context.RequestContextImpl] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JQw1lFf4io95nf5EiZ1FZ42L00005z,0] [APP: odsm#11.1.1.2.0] Could not find partial trigger cmdb1 from UIHierarchyViewer[UIXFacesBeanImpl, id=hv1] with the supported partialTriggers syntax. The partial trigger was found with the deprecated syntax. Please use the supported syntax.
[2012-04-16T22:10:43.625+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JQw1lFf4io95nf5EiZ1FZ42L00005z,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #56[[
javax.servlet.ServletException: com/octetstring/vde/admin/services/client/VDEAdminServiceSoapBindingStub
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
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:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:421)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NoClassDefFoundError: com/octetstring/vde/admin/services/client/VDEAdminServiceSoapBindingStub
at com.octetstring.vde.admin.services.client.ServerMgrServiceLocator.getVDEAdminService(ServerMgrServiceLocator.java:58)
at oracle.ldap.odsm.model.ovd.APServerProxy.connect(APServerProxy.java:248)
at oracle.ldap.odsm.model.ovd.APServerProxy.authenticateAs(APServerProxy.java:684)
at oracle.ldap.odsm.model.ovd.APServerProxy.authenticate(APServerProxy.java:286)
at oracle.ldap.odsm.model.ovd.APServerProxy.init(APServerProxy.java:216)
at oracle.ldap.odsm.model.ovd.APServerProxy.<init>(APServerProxy.java:198)
at oracle.ldap.odsm.model.ovd.OVDRoot.connectOVD(OVDRoot.java:185)
at oracle.ldap.odsm.ui.common.Connection.connect(Connection.java:120)
at oracle.ldap.odsm.ui.common.Visit.createConnection(Visit.java:663)
at oracle.ldap.odsm.ui.common.PopupItem._createConnection(PopupItem.java:1815)
at oracle.ldap.odsm.ui.common.PopupItem.alwaysAction(PopupItem.java:1763)
at sun.reflect.GeneratedMethodAccessor316.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
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)
... 9 more
[2012-04-16T22:11:49.094+05:30] [wls_ods1] [NOTIFICATION] [DIP-10580] [oracle.dip] [tid: UpdateThread] [userId: <anonymous>] [ecid: 0000JQvv94D4io95nf5EiZ1FZ42L000036,0] [APP: DIP#11.1.1.2.0] [arg: (&(changenumber>=11222)(|(targetdn=*cn=Profiles,cn=Provisioning,cn=Directory Integration Platform,cn=Products,cn=OracleContext)(targetdn=*cn=event definitions,cn=directory integration platform,cn=products,cn=oraclecontext)(targetdn=*cn=object definitions,cn=directory integration platform,cn=products,cn=oraclecontext)))] changelog filter : (&(changenumber>=11222)(|(targetdn=*cn=Profiles,cn=Provisioning,cn=Directory Integration Platform,cn=Products,cn=OracleContext)(targetdn=*cn=event definitions,cn=directory integration platform,cn=products,cn=oraclecontext)(targetdn=*cn=object definitions,cn=directory integration platform,cn=products,cn=oraclecontext)))you need java connector
-
Unable to connect to DB using OCI
Hi,
I am unable to connect using the oci driver to the database. The
thin driver does not pose any problem
I compile without a hitch, but when i run it, it gives the
following dump:
C:\jdk1.2.2\bin>java orcltest
Exception in thread "main" java.lang.UnsatisfiedLinkError: no
ocijdbc8 in java.l
ibrary.path
at java.lang.ClassLoader.loadLibrary
(ClassLoader.java:1249)
at java.lang.Runtime.loadLibrary0(Runtime.java:470)
at java.lang.System.loadLibrary(System.java:768)
at oracle.jdbc.oci8.OCIDBAccess.logon
(OCIDBAccess.java:202)
at oracle.jdbc.driver.OracleConnection.<init>
(OracleConnection.java:156)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance
(OracleDriver.ja
va:231)
at oracle.jdbc.driver.OracleDriver.connect
(OracleDriver.java:208)
at java.sql.DriverManager.getConnection
(DriverManager.java:457)
at java.sql.DriverManager.getConnection
(DriverManager.java:137)
at orcltest.main(orcltest.java:21)
C:\jdk1.2.2\bin>
The code I have written is:
try {
Class.forName ("oracle.jdbc.driver.OracleDriver");
} catch (ClassNotFoundException e) {
System.out.println(e.getMessage());
try {
DriverManager.registerDriver( new
oracle.jdbc.driver.OracleDriver() );
} catch (SQLException e) {
System.out.println(e.getMessage());
Connection conn =
DriverManager.getConnection("jdbc:oracle:oci8:@:karishma",
"user", "passwd");
Karishma is the TNS-service name defined in the tnsnames.ora.
This is driving me nuts. I have set the path and classpath vars.
The file oci804jdbc.dll is in [ORA_HOME]\bin, and PATH points to
that directory.
Any suggestions are most welcome and badly needed!
Thanx
NJ
nullI had the same problem before.
And maybe this is the cure...
Check that you use the jdbc-drivers(classes111.zip) fwr 8.0.4
and not the ones for 8.1.5. I think they use different dll's. In
an 8.1.5 installation there is a file named ocijdbc8.dll and I
think that the one for 8.0.4. uses the one you mentioned...
/Stefan Fgersten
NJ (guest) wrote:
: Hi,
: I am unable to connect using the oci driver to the database.
The
: thin driver does not pose any problem
: I compile without a hitch, but when i run it, it gives the
: following dump:
: C:\jdk1.2.2\bin>java orcltest
: Exception in thread "main" java.lang.UnsatisfiedLinkError: no
: ocijdbc8 in java.l
: ibrary.path
: at java.lang.ClassLoader.loadLibrary
: (ClassLoader.java:1249)
: at java.lang.Runtime.loadLibrary0(Runtime.java:470)
: at java.lang.System.loadLibrary(System.java:768)
: at oracle.jdbc.oci8.OCIDBAccess.logon
: (OCIDBAccess.java:202)
: at oracle.jdbc.driver.OracleConnection.<init>
: (OracleConnection.java:156)
: at
oracle.jdbc.driver.OracleDriver.getConnectionInstance
: (OracleDriver.ja
: va:231)
: at oracle.jdbc.driver.OracleDriver.connect
: (OracleDriver.java:208)
: at java.sql.DriverManager.getConnection
: (DriverManager.java:457)
: at java.sql.DriverManager.getConnection
: (DriverManager.java:137)
: at orcltest.main(orcltest.java:21)
: C:\jdk1.2.2\bin>
: The code I have written is:
: try {
: Class.forName ("oracle.jdbc.driver.OracleDriver");
: } catch (ClassNotFoundException e) {
: System.out.println(e.getMessage());
: try {
: DriverManager.registerDriver( new
: oracle.jdbc.driver.OracleDriver() );
: } catch (SQLException e) {
: System.out.println(e.getMessage());
: Connection conn =
: DriverManager.getConnection("jdbc:oracle:oci8:@:karishma",
: "user", "passwd");
: Karishma is the TNS-service name defined in the tnsnames.ora.
: This is driving me nuts. I have set the path and classpath
vars.
: The file oci804jdbc.dll is in [ORA_HOME]\bin, and PATH points
to
: that directory.
: Any suggestions are most welcome and badly needed!
: Thanx
: NJ
null -
Unable to connect CMS repository using CMIS configuration for P6
Hello All,
After providing required configuration of CMIS, I am unable to connect to Documentum CMS repository using CMIS. Getting following error.
Apr-14-2015 08:03:09 999
[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'
ERROR
com.primavera.infr.srvcs.cr.UniversalContentRepositoryImpl
Unable to initialize repository
com.primavera.ucr.UniversalContentRepositoryException: Unable to retrieve repository dev_general
at com.primavera.ucr.cmis.CmisContentRepositoryImpl.init(Unknown Source)
at com.primavera.infr.srvcs.cr.UniversalContentRepositoryImpl.init(Unknown Source)
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 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at com.primavera.bre.SubSystemInitializerImpl.init(Unknown Source)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.c(Unknown Source)
at com.primavera.infr.db.SQLConnectionPoolMgrImpl.getDataSource(Unknown Source)
at com.primavera.bo.services.helper.AutoStarterService.init(Unknown Source)
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 org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at com.primavera.bre.Initializer.start(Unknown Source)
at com.primavera.bre.Application.start(Unknown Source)
at com.primavera.pvweb.listeners.PVContextListener.contextInitialized(Unknown Source)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1870)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3155)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:487)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Apr-14-2015 08:03:55 172
[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'
ERROR
com.primavera.infr.srvcs.cr.UniversalContentRepositoryImpl
Unable to login to content repository: null
java.lang.NullPointerException
at com.primavera.ucr.cmis.CmisContentRepositoryImpl.login(Unknown Source)
at com.primavera.infr.srvcs.cr.UniversalContentRepositoryImpl.login(Unknown Source)
at com.primavera.bre.SubSystemFacadeImpl.login(Unknown Source)
at com.primavera.bo.remotable.ContentManagement.login(Unknown Source)
at com.primavera.bo.remotable.qproxy.ContentManagement.login(Unknown Source)
at com.primavera.bo.DBContentManagement.login(Unknown Source)
at com.primavera.bo.common.LoginHelper.login(Unknown Source)
at com.primavera.bo.common.LoginHelper.login(Unknown Source)
at com.primavera.bo.remotable.SessionLifetime.login(Unknown Source)
at com.primavera.bo.remotable.qproxy.SessionLifetime.login(Unknown Source)
at com.primavera.bo.DBSessionLifetime.login(Unknown Source)
at com.primavera.pvweb.main.login.LoginDelegate.login(Unknown Source)
at com.primavera.pvweb.main.login.LoginAction.login(Unknown Source)
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 org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at com.primavera.pvweb.FrontRequestProcessor.processActionPerform(Unknown Source)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at com.primavera.pvweb.servlet.FrontController.doPost(Unknown Source)
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:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.primavera.pvweb.GZIPFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.primavera.pvweb.XSSFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.primavera.pvweb.FrontFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.primavera.pvweb.filters.ApplicationContextInjector.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.primavera.pvweb.DisableURLEncodingFilter.doFilter(Unknown Source)
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:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
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:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)please provide a screenshot from P6 administrator with the settings you set to integrate with a content repository
-
Unable to connect to mysql using JSP servlet
Respected Sir/Madam
I have made a jsp application and use tomcat 4 and mysql .Whenever there is a db connection the application tries to connect.but then it throws exception
java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.ConnectException: Connection timed out: connect
This error started occuring all of a sudden and i am not getting its root cause...Can anybody help me out of this...?
I am having intranet. And one thing that amazed me was when I send request for that JSP page from different machine then it connected to db without any error..Only when I request that JSP page from my machine it is giving me this error.
Please help..
Waiting for your reply.
Thanks and RegardsMicrosoft Telnet> open Oracleserver
Connecting To Oracleserver...Could not open a
connection to host: Connect failedYou need to run the exact command i gave you from the command line. There may not be a telnet server running on OracleServer, you are trying to connect to port 23 with the command above.
run 'telnet Oracleserver 3306'
If this does not work, try the same thing with the IP address instead of 'Oracleserver', you may have a name resolution issue.
I didnt understood this .I also tried running this
command from other machines where my application is
running fine. But there also the same error.
I gave proper URL and user name and password for mysql
String dsnString="jdbc:mysql://Oracleserver/test";FYI - this will use the default port, I usually explicitly provide it (OracleServer:3306). Why don't you try the URL in the format I gave you above, including the user id and password?
-Scott -
Hi ,
I have installed Oracle 11.2.0 . When connecting to sqlplus with sys as sysdba . Getting error as NO listener .
I started listener . But finally getting the message as
The listener supports no services
The command completed successfully
Kindly helpI am getting the same message
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/oracledb/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracledb.example.com)(PORT=1521)))
The listener supports no services
The command completed successfully
I don't find the services entry here . -
Unable to connect to wifi using verizon jetpack?
I am unable to connect my MacBook Pro to a verizon jetpack mifi 4620L?
Try this -
When you device is POWERED ON, remove the battery for a minute, and then reinsert the battery. This make a reboot to your device which minor issues with the BlackBerry device.
tanzim
If your query is resolved then please click on “Accept as Solution”
Click on the LIKE on the bottom right if the post deserves credit
Maybe you are looking for
-
Mouseovers not working on webpage
Mouseovers on left navagation bar not working. Navigation bar is an external file that works if I link it to other pages of the website. Something on the home page is preventing from mouseovers to work on home page. Can anyone tell from the code? Tha
-
Estimation in Projects with reference to materials and expenses
Dear Experts, Currently am undergoing a project implementation for a manufacturing industry also a construction firm. The client has a specific requirement from project system. They get a various constructions projects inquiry (they also deal with th
-
Can we give more than one value for an Authorization field in Auth-Check.
Hi all, Can we give more than one value for an Authorization field in Auth-Check. Ex: AUTHORITY-CHECK OBJECT 'S_TRVL_BKS' ID 'ACTVT' FIELD '02' ID 'CUSTTYPE' FIELD <Value 1> <Value 2> <Value 3>. IF SY-SUBRC 0. MESSAGE E... ENDIF. If yes, please help
-
CALL SCREEN inside a FM ( parameter passing to PBO ) ?
Hello Friends, I have the following issue: I have a FM with some import parameter; inside the FM I am calling a screen. the screen has some input fields, and I have to set the value to input fields those import parameter of fm. I can staticaly set th
-
Please any one tel me about Sun Java security problems with Desktop application