Error ora-12547 using oracle 8.1.7.0.0.0
ora-12547: TNS:lost Contact
when i log in to sql plus 8
Dr. Chaudhary,
Based on the [lack of] information you have provided, I can only make some guesses. To increase the chances of getting an answer, I suggest you post the following information:
1. Entire error message and stack trace you are getting.
2. The part of your java code where the problem is occurring.
3. Oracle database version you are using.
4. Java version you are using.
5. JDBC driver you are using.
6. Platform you are using.
Good Luck,
Avi.
Similar Messages
-
We had systems problems and had to reformat our system disc. (This is on our Development system)
Now I'm trying to (re-) configure all of the parameters and packages necessary for the Database which is still resident on the box.
Our Oracle Database is intact.
I've specified all of the Kernell Parameters, and
I've installed all of the packages EXCEPT one... compat-libstdc++
I could not find this package using the YUM INSTALL command.
Likewise I could not find the same package on our Production System,
and our Production System is working fine.
But something is definitely missing, because I'm getting this error:
error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
ERROR:
ORA-12547: TNS:lost contact
Also
On our Production system I found this link in the /usr/lib directory:
lrwxrwxrwx 1 root root 15 Jul 16 2007 libaio.so.1 -> libaio.so.1.0.1
But
On our Development system, (The one I'm having the problem with),
This file does not exist
Can you please suggest to me what it is I need to do?
Thanks Gary.Did you install the libaio package? If this is a 64-bit system, make sure you install the 64-bit version of this package also.
Edited by: ebrian on Oct 2, 2008 1:40 PM -
ERROR: ORA-12547: TNS:lost contact :- how do i debug this error
Hi all,
we have three 9i databases here( 3 server machines ). in my system i installed 10 g client and modified the tnsnames.ora to connect to these databases thru sqlplus. Now able to connect two of the databases but for the third one
when i try to connect it gives error
ERROR: ORA-12547: TNS:lost contact :- how do i debug this error
please guide me how to solve this error.
i checked the sid , service name etc. seems to be ok. ( Also compared with other two databases )
regards raviyou can turn on net tracing by setting the following sqlnet.ora parameters:
TRACE_DIRECTORY_CLIENT = c:\temp
TRACE_UNIQUE_CLIENT = on
trace_level_client = admin
then review trace files or send them to oracle support to see the cause of this error -
Error ORA-02049 in Oracle 8.1.6.0
Hello All
we comeacross error ORA 2049. i.e distributed_lock_timeout has occured ,while
executing a procedure.
When we checked with the initial parameters it is found to be at a maximum.
We are using Oracle 8.1.6.0 on IBM AIX
(multiple instances).
Can anyone give some suggestions.
Ramanathan.PS
nullDr. Chaudhary,
Based on the [lack of] information you have provided, I can only make some guesses. To increase the chances of getting an answer, I suggest you post the following information:
1. Entire error message and stack trace you are getting.
2. The part of your java code where the problem is occurring.
3. Oracle database version you are using.
4. Java version you are using.
5. JDBC driver you are using.
6. Platform you are using.
Good Luck,
Avi. -
How to fix the error ORA-02289 using msync.exe for WIN32
Hi All,
I am testing OLITE 10.3.0.1.0 and I got the error Ora-02289 when I am synchronizing
any idea to fix it?
Regards.
CharlyHi,
The Mobile Manager Didn't delete/create properly the mobile user.
The Mobile Manager is an J2EE Application which connects to the Mobile Repository using the Oracle JDBC Thin Driver, it is possible that when some users were deleted/created, the http connection or JDBC connection was cut.
Can you try to reset the metadata cache, delete the mobile user, create and configure this mobile user then Synchronize it.
It will make a Complete refresh but it should synchronize fine after.
Regards.
Marc -
Error executing query using oracle XA datasource
Hi,
The following is the error I am getting while trying to access a resource from a datasource. The same code works fine if I use a normal datasource(non-xa datasource)
Configuration: WSAD 5.1 running over jre ver 1.4 and oracle 8.1.7. I have put classes12.zip in the classpath of the server.
Code:
DBSelect sel = new DBSelect();
sel.setDataSourceName("jdbc/ds1");
sel.setInitialContextFactory("com.ibm.websphere.naming.WsnInitialContextFactory");
sel.setProviderUrl("iiop://localhost:2809/");
sel.setCommand("select 1 from dual");
sel.execute();
System.out.println(sel.getConnectionSpec());
if (sel.onRow()) {
do {
System.out.println(sel.getColumnAsString(1));
} while (sel.next());
sel.close();
I have also tried using the beolow mentioned code, which aso fails with a similar exception
DataSource ds = (DataSource)PortableRemoteObject.narrow(ctx.lookup("jdbc/ds1"), DataSource.class);
ds.setLogWriter(new PrintWriter(System.out));
Connection con = ds.getConnection();
Statement s = con.createStatement();
ResultSet rs = s.executeQuery("select 1 from dual")
I will really appreciate if someone can help me here to solve this problem
Stack trace:
[5/31/04 14:58:59:625 IST] 22502250 WSRdbXaResour E DSRA0304E: XAException occurred. XAException contents and details are: The cause is : null.
[5/31/04 14:58:59:625 IST] 22502250 WSRdbXaResour E DSRA0302E: XAException occurred. Error code is: XAER_PROTO. Exception is: <null>
[5/31/04 14:58:59:625 IST] 22502250 XATransaction E J2CA0027E: An exception occurred while invoking start on an XA Resource Adapter from dataSource jdbc/ds1, within transaction ID {XID: formatId(57415344), gtrid_length(39), bqual_length(28), data(000000000000000300000003ad952b20e108c7e0e2d5482ee84c69877b2dcf5e73657276657231ad952b20e108c7e0e2d5482ee84c69877b2dcf5e0000000336233623)}: javax.transaction.xa.XAException
at java.lang.Throwable.<init>(Throwable.java)
at javax.transaction.xa.XAException.<init>(XAException.java:63)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:146)
at com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl.start(WSRdbXaResourceImpl.java:927)
at com.ibm.ejs.j2c.XATransactionWrapper.start(XATransactionWrapper.java:1267)
at com.ibm.ws.Transaction.JTA.JTAResourceBase.start(JTAResourceBase.java:164)
at com.ibm.ws.Transaction.JTA.RegisteredResources.startRes(RegisteredResources.java:389)
at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:1903)
at com.ibm.ws.Transaction.JTA.TranManagerSet.enlist(TranManagerSet.java:494)
at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:602)
at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:745)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processInteractionPendingEvent(WSRdbManagedConnectionImpl.java:1446)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:329)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.getMetaData(WSJdbcConnection.java:1037)
at com.ibm.db.db.base.DatabaseConnection.getConnectionMetaData(DatabaseConnection.java)
at com.ibm.db.db.DatabaseConnection.propagateAutoCommit(DatabaseConnection.java)
at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
at com.ibm.db.db.Statement.connect(Statement.java)
at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
at com.rajeev.SeqBeanBean.getNextVal(SeqBeanBean.java:18)
at com.rajeev.EJSRemoteStatelessSeqBean_25304796.getNextVal(EJSRemoteStatelessSeqBean_25304796.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java)
at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:703)
at java.security.AccessController.doPrivileged(AccessController.java:189)
at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:701)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1084)
at $Proxy1.getNextVal(Unknown Source)
at com.rajeev._SeqBean_Stub.getNextVal(_SeqBean_Stub.java:257)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java)
at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:366)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java)
[5/31/04 14:58:59:656 IST] 22502250 RegisteredRes E WTRN0078E: An attempt by the transaction manager to call start on a transactional resource has resulted in an error. The error code was XAER_PROTO. The exception stack trace follows: javax.transaction.xa.XAException
at java.lang.Throwable.<init>(Throwable.java)
at javax.transaction.xa.XAException.<init>(XAException.java:63)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:146)
at com.ibm.ws.rsadapter.spi.WSRdbXaResourceImpl.start(WSRdbXaResourceImpl.java:927)
at com.ibm.ejs.j2c.XATransactionWrapper.start(XATransactionWrapper.java:1267)
at com.ibm.ws.Transaction.JTA.JTAResourceBase.start(JTAResourceBase.java:164)
at com.ibm.ws.Transaction.JTA.RegisteredResources.startRes(RegisteredResources.java:389)
at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:1903)
at com.ibm.ws.Transaction.JTA.TranManagerSet.enlist(TranManagerSet.java:494)
at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:602)
at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:745)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processInteractionPendingEvent(WSRdbManagedConnectionImpl.java:1446)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:329)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.getMetaData(WSJdbcConnection.java:1037)
at com.ibm.db.db.base.DatabaseConnection.getConnectionMetaData(DatabaseConnection.java)
at com.ibm.db.db.DatabaseConnection.propagateAutoCommit(DatabaseConnection.java)
at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
at com.ibm.db.db.Statement.connect(Statement.java)
at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
at com.rajeev.SeqBeanBean.getNextVal(SeqBeanBean.java:18)
at com.rajeev.EJSRemoteStatelessSeqBean_25304796.getNextVal(EJSRemoteStatelessSeqBean_25304796.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java)
at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:703)
at java.security.AccessController.doPrivileged(AccessController.java:189)
at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:701)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1084)
at $Proxy1.getNextVal(Unknown Source)
at com.rajeev._SeqBean_Stub.getNextVal(_SeqBean_Stub.java:257)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java)
at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:366)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java)
[5/31/04 14:58:59:656 IST] 22502250 XATransaction E J2CA0030E: Method enlist caught javax.transaction.SystemException: Failed to start the transaction association.
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at javax.transaction.SystemException.<init>(SystemException.java:39)
at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:1917)
at com.ibm.ws.Transaction.JTA.TranManagerSet.enlist(TranManagerSet.java:494)
at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:602)
at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:745)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processInteractionPendingEvent(WSRdbManagedConnectionImpl.java:1446)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:329)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.getMetaData(WSJdbcConnection.java:1037)
at com.ibm.db.db.base.DatabaseConnection.getConnectionMetaData(DatabaseConnection.java)
at com.ibm.db.db.DatabaseConnection.propagateAutoCommit(DatabaseConnection.java)
at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
at com.ibm.db.db.Statement.connect(Statement.java)
at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
at com.rajeev.SeqBeanBean.getNextVal(SeqBeanBean.java:18)
at com.rajeev.EJSRemoteStatelessSeqBean_25304796.getNextVal(EJSRemoteStatelessSeqBean_25304796.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java)
at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:703)
at java.security.AccessController.doPrivileged(AccessController.java:189)
at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:701)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1084)
at $Proxy1.getNextVal(Unknown Source)
at com.rajeev._SeqBean_Stub.getNextVal(_SeqBean_Stub.java:257)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java)
at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:366)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java)
while trying to enlist resources from datasource jdbc/ds1 with the Transaction Manager for the current transaction, and threw a ResourceException.
DSRA9002E: ResourceException with error code null: javax.resource.ResourceException: enlist: caught Exception
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at javax.resource.ResourceException.<init>(ResourceException.java:73)
at com.ibm.ejs.j2c.XATransactionWrapper.enlist(XATransactionWrapper.java:703)
at com.ibm.ejs.j2c.ConnectionEventListener.interactionPending(ConnectionEventListener.java:745)
at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processInteractionPendingEvent(WSRdbManagedConnectionImpl.java:1446)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.beginTransactionIfNecessary(WSJdbcConnection.java:329)
at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.getMetaData(WSJdbcConnection.java:1037)
at com.ibm.db.db.base.DatabaseConnection.getConnectionMetaData(DatabaseConnection.java)
at com.ibm.db.db.DatabaseConnection.propagateAutoCommit(DatabaseConnection.java)
at com.ibm.db.db.DatabaseConnection.connect(DatabaseConnection.java)
at com.ibm.db.db.Statement.connect(Statement.java)
at com.ibm.db.db.SelectStatement.execute(SelectStatement.java)
at com.ibm.db.beans.DBSelect.execute(DBSelect.java)
at com.rajeev.SeqBeanBean.getNextVal(SeqBeanBean.java:18)
at com.rajeev.EJSRemoteStatelessSeqBean_25304796.getNextVal(EJSRemoteStatelessSeqBean_25304796.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java)
at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:703)
at java.security.AccessController.doPrivileged(AccessController.java:189)
at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:701)
at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1084)
at $Proxy1.getNextVal(Unknown Source)
at com.rajeev._SeqBean_Stub.getNextVal(_SeqBean_Stub.java:257)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java)
at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:366)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java)
Rgds,
DaveI am facing the same problem..... I always get the answers to my problem by reading the forums.. This time I am really not lucky enough. I am using Oracle 8.1.7. Does it have anything to do with version. I have used both ojdb14.jar and classes12.jar to get the same error output.
Anybody has answer to it? -
Error ORA-06513 in Oracle Application Server
I am Developing a form that have many fields (55 fields), in
submit moment, the Oracle Application Server alert with the
error :
OWS-05101 an oracle error ORA-06513
this error is related with quantity fields of my forms,
What i have do ? I must reduced number of fields of my Forms ?
Thanks,
Suzana
nullHi
The OS is windows XP. The steps are as the following
1. Start Oracle process manager
2. from connections tap; right click on Application server and select new application server connections
3. enter connection name and select type from the list “oracle application server 10g 10.1.3 and press next
4. enter user name and password then next
5. enter hostname which is my PC name='Orbit' , OPMN port = 7777, OC4J instant name = “home” and select ‘single instant ‘
6. test the connection
7. get error
“Error getting OC4J Process for: opmn-home+oc4j-orbit-7777-default:
Error while parsing OPMN dump in XML format: XML Parse Exception: tag=[null] Ran out of data, content []” -
ORA-12154 using Oracle.DataAccess.Client
I am experiencing an ORA-12154 exception when accessing a remote Oracle database using ADO.NET called from c# code running on a Windows 2003 system. The code functions correctly on our internal (remote) database using the Oracle XE 10.2 Client. At the customer site with Oracle 10.1 Client the same code generates the 12154 error.
At the customer site, I can connect without errors with the customer's connection information (Hostname, port, SID) using Navicat 8 Lite for Oracle and SQL-Plus. I can also connect with no problems using ODBC (except I can't use ODBC because it causes other problems when accessed from ASP.NET).
The connection string is correctly formulated i.e. "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=myServerName)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=myServiceName)));User Id=myUserName;Password=myPassword"
When I run TNSPING on the client's system I get the following result (server and SID name altered for confidentiality reasons):
Adapter TNSNAMES zur Auflösung des Alias benutzt
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = myServerName)(PORT = 1521)) (CONNECT_DATA = (SERVER = dedicated) (SERVICE_NAME = myServiceName)))
OK (10 ms)
I can't determine anything about the listener since I don't have access to teh datbase server.
To summarize, my .net code fails when I use the Oracle Data Access Client, but works fine with ODBC, and Navicat, SQL Plus also work fine.
Can anyone suggest the cause and possible solution for this problem? - thanks in advance for any help :)user8609285 wrote:
I am experiencing an ORA-12154 exception when accessing a remote Oracle database using ADO.NET called from c# code running on a Windows 2003 system. The code functions correctly on our internal (remote) database using the Oracle XE 10.2 Client. At the customer site with Oracle 10.1 Client the same code generates the 12154 error.
At the customer site, I can connect without errors with the customer's connection information (Hostname, port, SID) using Navicat 8 Lite for Oracle and SQL-Plus. I can also connect with no problems using ODBC (except I can't use ODBC because it causes other problems when accessed from ASP.NET).
The connection string is correctly formulated i.e. "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=myServerName)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=myServiceName)));User Id=myUserName;Password=myPassword"
When I run TNSPING on the client's system I get the following result (server and SID name altered for confidentiality reasons):
Adapter TNSNAMES zur Auflösung des Alias benutzt
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = myServerName)(PORT = 1521)) (CONNECT_DATA = (SERVER = dedicated) (SERVICE_NAME = myServiceName)))
OK (10 ms)
I can't determine anything about the listener since I don't have access to teh datbase server.
To summarize, my .net code fails when I use the Oracle Data Access Client, but works fine with ODBC, and Navicat, SQL Plus also work fine.
Can anyone suggest the cause and possible solution for this problem? - thanks in advance for any help :)ora-12154 means one thing and one thing only.
[oracle@vmlnx01 ~]$ oerr ora 12154
12154, 00000, "TNS:could not resolve the connect identifier specified"
// *Cause: A connection to a database or other service was requested using
// a connect identifier, and the connect identifier specified could not
// be resolved into a connect descriptor using one of the naming methods
// configured. For example, if the type of connect identifier used was a
// net service name then the net service name could not be found in a
// naming method repository, or the repository could not be
// located or reached.
// *Action:
// - If you are using local naming (TNSNAMES.ORA file):
// - Make sure that "TNSNAMES" is listed as one of the values of the
// NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
// (SQLNET.ORA)
// - Verify that a TNSNAMES.ORA file exists and is in the proper
// directory and is accessible.
// - Check that the net service name used as the connect identifier
// exists in the TNSNAMES.ORA file.
// - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
// file. Look for unmatched parentheses or stray characters. Errors
// in a TNSNAMES.ORA file may make it unusable.
// - If you are using directory naming:
// - Verify that "LDAP" is listed as one of the values of the
// NAMES.DIRETORY_PATH parameter in the Oracle Net profile
// (SQLNET.ORA).
// - Verify that the LDAP directory server is up and that it is
// accessible.
// - Verify that the net service name or database name used as the
// connect identifier is configured in the directory.
// - Verify that the default context being used is correct by
// specifying a fully qualified net service name or a full LDAP DN
// as the connect identifier
// - If you are using easy connect naming:
// - Verify that "EZCONNECT" is listed as one of the values of the
// NAMES.DIRETORY_PATH parameter in the Oracle Net profile
// (SQLNET.ORA).
// - Make sure the host, port and service name specified
// are correct.
// - Try enclosing the connect identifier in quote marks.
// See the Oracle Net Services Administrators Guide or the Oracle
// operating system specific guide for more information on naming.Bottom line is the net service name you presented is not found in the tnsnames that was being used. Which may not be the tnsnames you think was being used.
And since it never resolved that on the client side, there is no need to look to anything (like the listener) on the host side. You never got out of your driveway, so there is no need to see if the entrance to your destination is open. -
Loadjava error: ORA-29540: class oracle/aurora/rdbms/DbmsJava does not exist
Hi,
I'm trying to create a simple Java stored procedure running 8.1.6. When using loadjava (c:\jdk1.2.2\bin\java -classpath .;d:\orant8i\lib\aurora_client.jar;d:\orant8i\javavm\lib\aurora.zip;d:\orant8i\sqlj\lib\translator.zip;d:\orant8i\jdbc\lib\classes111.zip oracle.aurora.server.tools.loadjava.LoadJavaMain -u system/manager -f -v Test.class), I get the above error. The problem: file DbmsJava exists in the included aurora.zip package. To verify this, I checked the zip file, and I successfully compiled a test program importing the class.
Any ideas?
Thanks,
BerndI also tried another approach to create a Java stored procedure, and got an error which I think has the same cause as above:
public class Test { public static void test() {System.out.println("Test");}}
create directory dir as 'C:\Test';
create java class using bfile(dir, 'Test.class');
create procedure test is language java name 'Test.test()';
call test();
ORA-29541: class CM.Test could not be resolved -
Error ORA-12560 using sqlplus.exe SQLPLUSW.exe is working !
hi all,
i have a strange problem using ora 8.1.7 client on windowsnt to connect against db on solaris.
sqlplusw.exe works fine but i need sqlplus, and this is the error
i setted all the variables like oracle-sid in the environment and in registry
please help me, i have absolut no idea !!!!!!
thanks
ORA-12560: TNS:protocol adapter error
nscall: entry
nsmal: entry
nsmal: 140 bytes at 0x475bf0
nsmal: normal exit
nscall: connecting...
nladini: entry
nladini: exit
nladget: entry
nladget: exit
nsc2addr: entry
nlpcaini: entry
nlpcaini: prg =
nlpcaini: arg[0] =
nlpcaini: arg[1] =
nlpcaini: exit
nsc2addr: normal exit
nsopen: entry
nsmal: entry
nsmal: 420 bytes at 0x476aa0
nsmal: normal exit
nsopenmplx: entry
nsmal: entry
nsmal: 1712 bytes at 0x15f3bd0
nsmal: normal exit
nsopenmplx: normal exit
nsopen: opening transport...
ntpcon: entry
ntpcon: toc = 1
sntpcall: entry
snlpcss: entry
ntpcon: exit
nserror: entry
nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=126, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
nsopen: unable to open transport
nsbfr: entry
nsbfr: normal exit
nsmfr: entry
nsmfr: 1712 bytes at 0x15f3bd0
nsmfr: normal exit
nsmfr: entry
nsmfr: 420 bytes at 0x476aa0
nsmfr: normal exit
nsopen: error exit
nsclose: entry
nsclose: normal exit
nladget: entry
nladget: exit
nsmfr: entry
nsmfr: 140 bytes at 0x475bf0
nsmfr: normal exit
nladtrm: entry
nladtrm: exit
nscall: error exit
nioqper: error from nscall
nioqper: nr err code: 0
nioqper: ns main err code: 12560
nioqper: ns (2) err code: 0
nioqper: nt main err code: 530
nioqper: nt (2) err code: 126
nioqper: nt OS err code: 0
niomapnserror: entry
niqme: entry
niqme: reporting NS-12560 error as ORA-12560
niqme: exit
niomapnserror: returning error 12560
niomapnserror: exit
niotns: Couldn't connect, returning 12560
niotns: exit
nsbfrfl: entry
nsbfrfl: normal exit
nigtrm: Count in the NI global area is now 0
nnfgdei: entry
nrigbd: entry
nrigbd: exit
nigtrm: Count in the NL global area is now 0Hello Hemant,
you can't connect via the listener unless the database is up.You mean if we are going to connect @, db must be mount/open? We can'nt connect with @ in nomount state?
But i think we can connect in nomount using @, if we are having an SID name in SID_LIST of listener.ora?
Please correct me, if i am wrong.
Thanks and Regards
Girish -
How to get more detailed error messages when using Oracle JDBC
Here are some typical Oracle error messages that leave you guessing :
"ORA-01722: invalid number"
"ORA-00904: invalid column name"
Is there any way to find out which number or which column name is invalid ?
Why doesn't Oracle include this information in the error messages ? If it knows the number or column is invalid, it must know the number or column name !Launch the query under sqlplus, it'll tell u :
SQL> select user_id, userna from dba_users ;
select user_id, userna from dba_users
ERROR at line 1:
ORA-00904: invalid column name -
Error ORA-02063, using DB LINK
hi,
i've created a DB_LINK from FINANCEIRA.WINXP.LAPTOP Database (_SERVER 01_) to FINANCEIRA.WINXP Database (_SERVER 02_).
The fact is that i have an application connected at the FINANCEIRA.WINXP.LAPTOP side that makes SELECT and INSERT calls to FINANCEIRA.WINXP using the DB_LINK. When an INSERT statement is sent by the application from the FINANCEIRA.WINXP.LAPTOP to the FINANCEIRA.WINXP, i receive an error message: ORA-02063, occurring in the table's Primary Key. When i send the same statement by SQLPLUS from the FINANCEIRA.WINXP.LAPTOP side to the FINANCEIRA.WINXP, it works fine.
somebody can help me ?let's make a note...
at the first time, the INSERT operation works fine, even by Application or by SQLPLUS, both been sent from the FINANCEIRA.WINXP.LAPTOP side to the FINANCEIRA.WINXP side. So, at the first time we have a row inserted successfuly.
At the second time, i have this error mentioned above when executed by Application. If i execute by SQLPLUS, it works.
what conclusion we can have about this ?
Edited by: Paulo_BR on May 30, 2009 8:57 AM -
Error During Install using Oracle DB
Hi All,
I'm trying to use an Oracle database with IDM. Our DBA used the provided script (create_waveset_tables.oracle) to set up the database, we're using the login/password that the DBA set up, I've copied the oraclejdbc.jar file to the /WEB-INF/lib directory before lauching this part of the install wizard. I get the following message:
com.waveset.exception.ConfigurationError: Identity Manager version 5.0 requires a schema update.
It's connecting to the Database. If I change the login or password, I get an error message saying that it can't connect. Any ideas? Am I missing something?
Thanks!
BillHello prabhnag,
U might be getting the this error when trying to connect to the backend oracle database due to the following reasons :
1. You might not have configured the oraclejdbc driver (classes12.zip) properly.
Action : Rename the "classes12.zip" file which can be found within the oracle installation in the ../jdbc/lib/ folder to "oraclejdbc.jar" and place it in the folder ../idm/WEB-INF/lib before proceeding to the Launch Setup screen in Sun IDM.
Note : Sun IDM supports Oracle 8i/9i
U can also download the relevant drivers from the following URL : http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
2. Other possibility might be ........
The database is most likely not running on the Server. A listener alone does not provide a database connection; the database instance must also be started.
Action : Check if all the relevant services are started before proceeding.
3. Other option is
Go thru the entire setup once again by following a proper checklist of all items like
Oracle Service Names u have configured :
Port Numbers :
DB User Name/Password u would like to use for connection :
etc
I hope the above points might help
Thanks
PK -
Database Startup Error - Ora-00600 on Oracle 8.0 in Windows 2000
While Installing I Am getting Error Message Ora-00600
The Database is opened. But the user cannot connect to the database.
While trying to connect the system shows the above error number. It also give SMON error.I think, I already know the answer from Oracle Support. Version 8.0 (Database) was never supported on WIN2000, only 8.0.6 client. Before starting an installation it's always a good idea to check the software and hardware requirements in the installation guide.
-
AS connection error ORA - 03114 to Oracle
Hi all
Since 2 days we are facing an issue with our application server.
B Wed Apr 30 07:23:53 2008
B ***LOG BV4=> reconnect state is set for the work process [dblink#2 @ 1772] [dblink 1772 ]
B ***LOG BYY=> work process left reconnect status [dblink#2 @ 1773] [dblink 1773 ]
In the sqlnet.log we have the following error
***********************************************************************TNS-12541: TNS:no listener
2560
nnecting to:
(DESCRIPTION=(SDU=32768)(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=FRSD0APP01)(PORT=1527))(CONNECT_DATA=(SID=PEB)(GLOBAL_NAME=PEB.WORLD)(CID=(PROGRAM=D:\usr\sap\PEB\D00\exe\disp+work.EXE)(HOST=FRSD0APP07)(USER=SAPServicePEB))))
TNS-12541: TNS:no listener
2560
nnecting to:
(DESCRIPTION=(SDU=32768)(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=FRSD0APP01)(PORT=1527))(CONNECT_DATA=(SID=PEB)(GLOBAL_NAME=PEB.WORLD)(CID=(PROGRAM=D:\usr\sap\PEB\D00\exe\disp+work.EXE)(HOST=FRSD0APP07)(USER=SAPServicePEB))))
ns secondary err code: 12560
nnecting to:
(DESCRIPTION=(SDU=32768)(ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=FRSD0APP01)(PORT=1527))(CONNECT_DATA=(SID=PEB)(GLOBAL_NAME=PEB.WORLD)(CID=(PROGRAM=D:\usr\sap\PEB\D00\exe\disp+work.EXE)(HOST=FRSD0APP07)(USER=SAPServicePEB))))
ns secondary err code: 12560
32-bit Windows: Version 9.2.0.4.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.4.0 - Production
nt main err code: 5115
for 32-bit Windows: Version 9.2.0.4.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.4.0 - Production
nt secondary err code: 61
nt main err code: 5111
Tr 00511: No listener
Tns error struct:TNS-00511: No listener
e:TNS-00511: No listener
Tns error struct: code: 61
nt secondary err code: 61
nt OS err code: 0
nt OS err code: 02541
nt OS err code: 0
ns main err code: 12541
12541: TNS:no listener
ns secondary err code: 12560
nt main err code: 511
TNS-00511: No listener
nt secondary err code: 61
nt OS err code: 0
ns secondary err code: 12560
nt main err code: 511
TNS-00511: No listener
nt secondary err code: 61
nt OS err code: 0
TNS-12541: TNS:no listener
TNS-12541: TNS:no listener
ns secondary err code: 12560
ns secondary err code: 12560
nt main err code: 511
nt main err code: 511
TNS-00511: No listener
TNS-00511: No listenere: 61
nt secondary err code: 61
nt OS err code: 0
After investigation we have see Note 690903 - Problems when you reconnect of work
processes on Oracle
But this error is not relevant for us.
If someone can help us, thanks a lotHi Peter
This is an application server
The listener is running on the CI
But the TNSPING is OK.
After a stop/start of the AS now eveything is working, but I would like to investigate further
Best regards
Maybe you are looking for
-
The message references PID 6192 and says Aero is incompatible with certain visual elements in the previous update. I didn't let it update to the most recent version today because I didn't see my problem addressed and I don't want more issues. I know
-
Not able to open excel file in new window any one plese help me as early
Hi all, I have a imag tag in jsp on click on the image i am submitting the form 1. i have used the below code HSSFWorkbook wb=viewHelper.getExcel(); response.reset(); ServletOutputStream outs = response.getOutputStream(); response.setContentType
-
Using table comparison can we use multiple tables as source?
Using table comparison can we use multiple tables as source? Thank you very much for the helpful info.
-
Hi all, How to use the report RSWUWFML2 for forwarding mails from SAP inbox to external mail. Requirement is the mails should go to external mail box not sap inbox.If the auto forwarding option is clicked. Thanks & Regards, Anjana Rao Moderator messa
-
Can't Open Photoshop Elements 10
My program will no longer open; Best I can tell it stopped working after I ran AVG PC TuneUp. I am running Windows 7 Home Premium - 64-bit Tried uninstalling and reinstalling PE10 Have completed all Windows updates Restared computer several times Wil