BPM throws: "Error while trying to retrieve the task"
Hi,
<br><br>
When clicking on a task(WD-UI) in UWL, BPM throws an error message:<br>
Error while trying to retrieve the task<br><br>
Though, I am able to open up the task when I restart the server ( CE 7.1 EHP1 SP04 patched).
<br><br>
Anyone an idea?
<br><br>
Regards,
<br><br>
Wesley
<br><br>
The log file presents the following information (partially):
<br>
Caused by: java.lang.IllegalStateException: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
at com.sap.bpem.tm.adapter.core.TaskAdapter$TicketSynchronization.beforeCompletion(TaskAdapter.java:581)
at com.sap.engine.services.ts.jta.impl.SynchronizationWrapper.beforeCompletion(SynchronizationWrapper.java:27)
at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:234)
... 86 more
Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:544)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:174)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
at com.sap.bpem.tm.adapter.core.TaskAdapter$TicketSynchronization.beforeCompletion(TaskAdapter.java:579)
... 88 more
Caused by: com.sap.glx.core.kernel.trigger.TriggerLockingException: Cannot acquire lock for update <Context_0_TaskAttributes_ac33d162fa908f8198b3c740708bb6c5{919e4f4b-1581-11df-c72f-02004c4f4f50}(Instance_0_TaskHelloWorld2_ac33d162fa908f8198b3c740708bb6c5{919e4f45-1581-11df-b4f9-02004c4f4f50}(?),Scope_13_TaskHelloWorld2_ac33d162fa908f8198b3c740708bb6c5{919e4f4a-1581-11df-94e6-02004c4f4f50}(?),3,true)|Context_0_TaskAttributes_ac33d162fa908f8198b3c740708bb6c5(Instance_0_TaskHelloWorld2_ac33d162fa908f8198b3c740708bb6c5{919e4f45-1581-11df-b4f9-02004c4f4f50}(Instance_0_bpmboundary_new_24449a1f1a041ff7cd7deb8d764c6405{0d4c2925-157b-11df-b84e-02004c4f4f50}(?),null,Token_0_bpmboundary_new_24449a1f1a041ff7cd7deb8d764c6405{917829a3-1581-11df-b6e0-02004c4f4f50}(?),false),Scope_13_TaskHelloWorld2_ac33d162fa908f8198b3c740708bb6c5{919e4f4a-1581-11df-94e6-02004c4f4f50}(Instance_0_TaskHelloWorld2_ac33d162fa908f8198b3c740708bb6c5{919e4f45-1581-11df-b4f9-02004c4f4f50}(?)),4,*true)>
at com.sap.glx.core.kernel.trigger.node.LockingTreeJoinNode.process(LockingTreeJoinNode.java:638)
at com.sap.glx.core.kernel.trigger.core.BFSController.update(BFSController.java:173)
at com.sap.glx.core.kernel.trigger.impl.TriggerNetworkManagerImpl$SequentialController.update(TriggerNetworkManagerImpl.java:550)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_trigger(AbstractTransaction.java:199)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:170)
... 90 more
Caused by: com.sap.glx.core.kernel.trigger.TriggerLockingException: Cannot acquire read row lock for after image (key = Instance_0_TaskHelloWorld2_ac33d162fa908f8198b3c740708bb6c5{919e4f45-1581-11df-b4f9-02004c4f4f50}(Instance_0_bpmboundary_new_24449a1f1a041ff7cd7deb8d764c6405{0d4c2925-157b-11df-b84e-02004c4f4f50}(?),null,Token_0_bpmboundary_new_24449a1f1a041ff7cd7deb8d764c6405{917829a3-1581-11df-b6e0-02004c4f4f50}(?),false), name = JOIN_CompletionDeadlineWithRealDelayConditionalSequenceConnector_context_join_0_69)
at com.sap.glx.core.kernel.trigger.node.LockingTreeJoinNode.lockAfterRow(LockingTreeJoinNode.java:308)
at com.sap.glx.core.kernel.trigger.node.LockingTreeJoinNode.process(LockingTreeJoinNode.java:636)
... 94 more
Hi,
sounds like an program error. That is an problem which occurs if one or multiple components try to lock the same galaxy object at the same point in time. Did you configured something special on the given task? e.g deadlines?
My proposal is to open an Customer Message so that we can have a detailed look onto the system. If this is not possible could you please provide the complete trace file and some more details about the modeled task?
Best Regards
Andreas
Similar Messages
-
Error while trying to retrieve the task: EventId(complete) does not belong
Hi Experts,
I have created a process composer DC in which i have created a process with two human tasks.
Each tasks is binded with web dynpro Iviews (means followed all the steps neccesary).
I deploed the DC successfully. now i started the process and got a task in my UWL but on click of the task i got the below error.
Error while trying to retrieve the task: EventId(complete) does not belong to referenced component interface of ComponentUsage(com.sap.tc.bpem.wdui.appcontainer.containercomp.ContainerComp:com.infosys.mdm.LoadRepositoryComp, createOnDemand=false, childComponent=com.infosys.mdm.LoadRepositoryComp)
[EXCEPTION]
java.lang.IllegalArgumentException: EventId(complete) does not belong to referenced component interface of ComponentUsage(com.sap.tc.bpem.wdui.appcontainer.containercomp.ContainerComp:com.infosys.mdm.LoadRepositoryComp, createOnDemand=false, childComponent=com.infosys.mdm.LoadRepositoryComp)
I have rechecked the event that i have created in the component controller and Interface controller.
Can you please help me in debunging the error.
thanks
NarendraHi,
sounds like an program error. That is an problem which occurs if one or multiple components try to lock the same galaxy object at the same point in time. Did you configured something special on the given task? e.g deadlines?
My proposal is to open an Customer Message so that we can have a detailed look onto the system. If this is not possible could you please provide the complete trace file and some more details about the modeled task?
Best Regards
Andreas -
Error while trying to retrieve text for error ORA-12162
I'm accessing the VM through Putty. My DB and GGate both reside on the same machine.
I'm trying to connect to DB using GG but It seems to be throwing some Issue. I tried to search for solution over net but couldnt get it fixed. I have set My ORACLE_HOME to the installed dir of Oracle 11g and ORACLE_SID to the one mentioned in my tns. But still no luck. Can some1 guide me.
It says check privileges, but when I try
GGSCI (XXXXXX) 1> dblogin userid sys as sysdba
Password:
ERROR: Did not recognize parameter argument.
Don't work this way, not the other way mentioned below
GGSCI (XXXXXX) 2> dblogin userid sys
Password:
ERROR: Unable to connect to database using user sys. Please check privileges.
Error while trying to retrieve text for error ORA-12162.
I can do a normal Login using SQLPLUS but Not through GGate :(
Please guide meLother wrote:
I'm accessing the VM through Putty. My DB and GGate both reside on the same machine.
I'm trying to connect to DB using GG but It seems to be throwing some Issue. I tried to search for solution over net but couldnt get it fixed. I have set My ORACLE_HOME to the installed dir of Oracle 11g and ORACLE_SID to the one mentioned in my tns. But still no luck. Can some1 guide me.
It says check privileges, but when I try
GGSCI (XXXXXX) 1> dblogin userid sys as sysdba
Password:
ERROR: Did not recognize parameter argument.
Don't work this way, not the other way mentioned below
GGSCI (XXXXXX) 2> dblogin userid sys
Password:
ERROR: Unable to connect to database using user sys. Please check privileges.
Error while trying to retrieve text for error ORA-12162.
I can do a normal Login using SQLPLUS but Not through GGate :(
Please guide mei wouldnt use SYS in the first place and rather create a new user to work with GG, but try this one:
dblogin userid sys, password <password> sysdba -
Error while trying to retrieve text for error ORA-12154
Hello,
I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
I've declare many environnement variables :
- NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
- TNS_ADMIN : E:\...\oracle\instantclient_10_1
- ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
oci8
OCI8 Support enabled
Revision $Revision: 1.269.2.8 $
Active Persistent Connections 0
Active Connections 0
Temporary Lob support enabled
Collections support enabled
Do you have any idea ? Thanks a lotThe web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
These may help:
http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
http://blogs.oracle.com/opal/2006/05/01 -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-24
Hi All,
Am having serious problem with ORA-24327 and the behavior is very very unpredictable. I have couple of environment where the same error comes in different context. The recent one was surprising. I have describe bellow the environment configuration and the stack trace. The error which surprised me was when I use type � 3 driver while starting weblogic I get ORA �24327 but when I use Type �4 it starts properly. If you could kindly provide solution it would be great help. I would also appreciate if u can provide information which driver to use where performance is the major concern. I would also appreciate if u could provide feed-back from the industry about booth the driver. Apart from that I have couple have environment where it occurs when 10/12 user access simultaneously. All the open connection is closed in program properly still am getting the error.
Thanks in anticipation.
Cheers,
Tapas
Environment
OS - SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise
JDK - Solaris VM (build Solaris_JDK_1.2.2_07, native threads, sunwjit)
Weblogic - 5.1.0 Service Pack 9 04/05/2001 14:59:53 #105983
Oracle � 8.1.6
Delaying 10 seconds before making a beuatpool pool connection.
Pool 1 (Type �3 )
weblogic.jdbc.connectionPool.beuatpool=\
url=jdbc:weblogic:oracle,\
driver=weblogic.jdbc.oci.Driver,\
loginDelaySecs=10,\
initialCapacity=10,\
maxCapacity=20,\
capacityIncrement=2,\
allowShrinking=true,\
shrinkPeriodMins=10,\
refreshMinutes=10,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxxx
Pool 2(Type �4)
weblogic.jdbc.connectionPool.thinPool=\
url=jdbc:oracle:thin:@xxx:1521:xxx,\
driver=oracle.jdbc.driver.OracleDriver,\
loginDelaySecs=1,\
initialCapacity=1,\
maxCapacity=10,\
capacityIncrement=1,\
allowShrinking=true,\
shrinkPeriodMins=15,\
refreshMinutes=15,\
testTable=dual,\
props=user=xxx;password=xxx;server=xxx:1521:xxx
allow=everyone
---------- LOGIN ERROR CODE: 24327
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 �
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:149)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
---------- LOGIN ERROR CODE: 24327
---------- LOGIN ERROR CODE: 24327
Fri Aug 31 00:57:22 GMT-05:00 2001:<I> <JDBC Pool> Sleeping in createResource()
Fri Aug 31 00:57:23 GMT-05:00 2001:<E> <JDBC Pool> Failed to create connection p
ool "beuatpool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327 -
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:43)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:172)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java:182)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:109)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at weblogic.common.ResourceException.<init>(ResourceException.java:18)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
nectionEnvFactory.java:125)
at weblogic.common.internal.ResourceAllocator.makeResources(Compiled Cod
e)
at weblogic.common.internal.ResourceAllocator.<init>(Compiled Code)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.j
ava:330)
at weblogic.jdbc.common.internal.JdbcInfo.initPools(Compiled Code)
at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java
:62)Hi,
I guess you can try some of these:
- Make sure you're not missing an entry inside your tnsnames.ora file. Thin driver does not require the information inside that file, as opposed to Weblogic's OCI driver. If you are able to connect to the DB using a thin driver, then the problem is most probably (WL)driver-related.
- Make sure you've properly configured the DB user / password inside your weblogic.properties (config.xml if WL6+).
- Make sure you're able to access all drivers and classes required (PATH, CLASSPATH, etc...)
- Make sure the OCI driver version you are using is fully compatible with the Oracle (server) version you are pointing to.
- Try to access the DB user through some other client (for instance, SQLPlus*).
Hope this is of some help,
Freddy. -
Error while trying to retrieve reports
Hi ,
I am getting the below error while trying to retrieve reports.
"5203:ADM Error proceessing results from query:The dataform grid is invalid. Verify that all members selected are in Essbase. "
Can any one help me know the cause of this error and how to get rid of it?
Thanks in advanceIt sounds like you have a grid (visible or hidden) with an invalid member name in it. IT could be caused by the member being hard coded into a row or column and then the member being deleted or renamed in the outline. The only way to fix it is to check each member anme in the grids and determine what changed.
-
Error while trying to retrieve text for error ORA-03113"
We face an error saying "Error while trying to retrieve text for error ORA-03113" in our Mail trigger application.
This error happens randomly
This is the below error i am getting
I see from the logs
DBD::Oracle::st execute failed: Error while trying to retrieve text for error ORA-03113 (DBD ERROR: OCIStmtExecute) [for State ment " insert into matrix_tbl (created_tm, tran_id, matrix_id, client_id, mailing_id, block_id, slist_id, profile_blob, profil e_id, plist_id, profile_key, email_addr, mail_pref, mail_pref_mask, alt_email_addr, num_ftd, pct_id ) SELECT sysdate, 0 , 619
70818 , 7180280 , 39868792 , ?, 0 , substr( 'MT' || chr(1) || '' || chr(1) || 'PAPER_USAGE' || chr(1) || s.C26 || chr(1) |
| 'GARDEN' || chr(1) || s.C17 || chr(1) || 'TAG' || chr(1) || s.C34 ||
| chr(1) || 'PASS_MAILING' || chr(1) || s.C27 || chr(1) | 'MS' || chr(1) || s.C24 || chr(1) || 'OPTIN_SOURCE' || chr(1) || s.C25 || chr(1) || 'DAILY' || chr(1) || s.C7 || chr(1) || '
PROFILE_LIST' || chr(1) || s.C28 || chr(1) || 'HI' || chr(1) || s.C20 || chr(1) || 'EXIST_MAILING' || chr(1) || s.C11 || chr(1
) || 'RPASS2' || chr(1) || s.C30 || chr(1) || 'FORWARD_MAILING' || chr(1) || s.C15 || chr(1) || 'ACCESS' || chr(1) || s.C1 ||
chr(1) || 'TRAVCON' || chr(1) || s.C35 || chr(1) || 'RPASS1' || chr(1) || s.C29 || chr(1) || 'FINANCE' || chr(1) || s.C12 || c
hr(1) || 'CONFIRM_MAILING' || chr(1) || s.C5 || chr(1) || 'VENT' || chr(1) || s.C38 || chr(1) || 'SRC' || chr(1) || s.C32 || c
hr(1) || 'DELIVERY' || chr(1) || s.C8 || chr(1) || 'SALUTATION' || chr(1) || s.C31 || chr(1) || 'UNTITLEDY' || chr(1) || s.C37 || chr(1) || 'CU18' || chr(1) || s.C6 || chr(1) || 'BIRTH_DATE' || chr(1) || s.C3 || chr(1) || 'BIRTH_YEAR' || chr(1) || s.C4 || chr(1) || 'DOWNLOAD' || chr(1) || s.C9 || chr(1) || 'LN' || chr(1) || s.C22 || chr(1) || 'VIRAL_LIST' || chr(1) || s.C39 |
| chr(1) || 'GENDER' || chr(1) || s.C18 || chr(1) || 'WEEKLY' || chr(1)
| || s.C40 || chr(1) || 'UNTITLEDX' || chr(1) || s.C36 |
| chr(1) || 'ENTERTAINMENT' || chr(1) || s.C10 || chr(1) || 'HEALTH' ||
| chr(1) || s.C19 || chr(1) || 'INCOME' || chr(1) || s.C
21 || chr(1) || 'FN' || chr(1) || s.C13 || chr(1) || 'ZIP' || chr(1) || s.C41 || chr(1) || 'AGE' || chr(1) || s.C2 || chr(1) |
| 'FOOD' || chr(1) || s.C14 || chr(1) || 'SUPPRESS' || chr(1) || s.C33
| || chr(1) || 'FTD_REVAL_DATE' || chr(1) || s.C16 || chr
(1) || 'MOVIE' || chr(1) || s.C23 , 0,3999) , s.profile_id, s.plist_id, s.profile_key, s.email_addr , s.mail_pref, s.mail_pref _mask, s.alt_email_addr, srt.num_ftd, s.block_id FROM subscriber_tbl s, sub_report_tbl srt WHERE s.plist_id = ?
and s.block_id
= ? and srt.plist_id = ? and srt.block_id = ? and s.profile_id = srt.profile_id
and nvl(srt.num_optout, 0) = 0 and nvl(srt.num_ftd, 0) <= 3 and srt.optin_mask like '%N01%'"
with ParamValues: :p5='1941860', :p3='1941860', :p1=1, :p4='28895423', :p2='28895423'] at hcommon.pm line 1277.
AJC MAILTRIGGER STH Error while trying to retrieve text for error ORA-03113 (DBD ERROR: OCIStmtExecute)An ORA-03113 error would mean that the connection to the database no longer exists so any attempt to get the error message from the the database would result in an error. I think the real issue might be why was the session interrupted.
03113, 00000, "end-of-file on communication channel"
Depending on the front-end tool a pointer error or failure to properly terminate a string could result in corrupting the message to Oracle.
There have been numerous bugs over the years that have resulted in this error message being returned. I notice that the Oracle version, platform, edition, and client tool set are not mentioned in the post. All this would potentially be important information for someone to recognize what might be the problem.
I would look very closely at the code " at hcommon.pm line 1277 "
HTH -- Mark D Powell -- -
Error while trying to retrieve text for error ORA-12705
I am getting the message "Error while trying to retrieve text for error ORA-12705" when trying to connect to a remote oracle database on the network.
I can access this database using:
sqlplus username/password@database
from a dos prompt.
For some reason I can't connect when using PHP (through my local Apache2 server on Windows XP).
'phpinfo' says oracle in enabled (installed as per: http://www.oracle.com/technology/pub/notes/technote_php_instant.html), so I'm pretty sure the problem isn't with php itself.
My guess is it's something with Apache, and maybe environment variables or user permissions or instantclient (10).
All the folders, from instantclient to the Apache server have full permissions set for "Everyone" which I would assume includes this mysterious "nobody" user I've read about.
As for instantclient, I have placed that "tnsnames.ora" file from the oracle server there, and that hasn't changed much.
I've tried setting, unsetting, editing (environment variables):
LD_LIBRARY_PATH
ORACLE_HOME
ORACLE_SID
TNS_ADMIN
NLS_LANG
ORA_NLS33
in both the system environment, and even with PHP's "putenv" function. (Note: and restarting each time I changed a system var.)
In PHP i'm using:
$c = oci_connect("username","pasword", "database")
I've tried OCILogon instead of oci_connect
For "database" I've tried:
- using the path to the oracle db: //Oracle1/e/oracle/ora81
- mapping the path to x: drive and using: x:/oracle/ora81
- using the name of the database by itself
- using the name of the database underscored with the database name
- using "(ADDRESS=(PROTOCOL=TCP)(HOST = host)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=database)))"
I have tried everything I can find from:
the Oracle installation page: http://www.oracle.com/technology/pub/notes/technote_php_instant.html
the Oracle troubleshooting page: http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#connect
and these forumswith no results, just the same error.
I have also spent about 16 hours Googling for help, and nothing.
Can someone please tell me, what exactly does a user using:
Windows XP
Apache 2
PHP
intantclient10
Oracle 8i (on a remote server)
need to do to connect to Oracle before jumping off a bridge?Turns out Oracle was previously installed on this company laptop :(
I deleted any 'Oracle' mention in the registry with 'regedit' (from the command line) using the Find option. Not sure if it's always a good idea to do that, but I backed up the important stuff first anyway.
I uninstalled and reinstalled everything using the same guide mentioned above, and then it worked.
Now I can be friends with Oracle again.
Would be nice if the "Deinstall" removed the registry entries that caused this issue... -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
Hi,
I am getting the following error when i tried to connect to Oracle database from
a servlet. This exception is coming at the time of getting connection. And the
same code is working when i used in the standalone java program.
Oracle 8i database and WLS 6.0 are on the same UNIX machine.
---------attempting to connect ------
java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Can any one help me out.
DurgaThe problem is solved after exprting the parameter ORACLE_SID=<database_name>
in Weblogic startup script.
thank u for the suggestions.
Durga
Joseph Weinstein <[email protected]> wrote:
>
>
Durga wrote:
Hi Joe,
I have checked the ORACLE_HOME parameter. There was a differnce. Ichanged to
/oracle/app/product/8.1.7
Now i am getting different exception. But still the standalone codeis working.
any clues why I am getting this exception. I will send the code andthe weblogic
properties file for reference if u need.Good. No, I don't need it. Now make sure the library path that the OS
uses to find
Oracle libraries, and our driver libraries etc., is in the same order
for the
server as for the shell that is successful on it's own. Make sure your
Oracle
client stuff is ahead of any weblogic libraries.
Joe
java.sql.SQLException: ORA-12547: TNS:lost contact
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java,Compiled
C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, CompiledCode)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
piled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
C
ode)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java,Compiled
C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java,Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java,Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.getRuntimeName(ServletStubI
mpl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1631)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java,Compiled
Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, CompiledCode)
Joseph Weinstein <[email protected]> wrote:
The environment for the server probably doesn't have the same ORACLE_HOME
setting as your shell when you succeed in a standalone.
Also, you should be using our connection pools, and you should avoid
making DriverManager calls in any multithreaded app such as WebLogic.
Joe
Durga wrote:
Hi,
I am getting the following error when i tried to connect to Oracledatabase from
a servlet. This exception is coming at the time of getting connection.And the
same code is working when i used in the standalone java program.
Oracle 8i database and WLS 6.0 are on the same UNIX machine.
---------attempting to connect ------
java.sql.SQLException: Error while trying to retrieve text for errorORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java,
Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, CompiledC
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled
Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java,Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, CompiledC
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, CompiledCod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, CompiledCode
at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, CompiledCod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, CompiledCo
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Can any one help me out.
Durga -
Java.sql.SQLException: Error while trying to retrieve text for error ORA-12
Hi,
I am getting the following error when i tried to connect to Oracle database from a servlet on HP-UX. I am using wls 6.0. And the same code is working when i used in the standalone java program.
java.sql.SQLException: Error while trying to retrieve text for error ORA-12545
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java, Compiled
Code)
at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled C
ode)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java, Compiled Code)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java, Com
piled Code)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java, Compiled C
ode)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Cod
e)
at ConnectionPoolServlet.doGet(ConnectionPoolServlet.java, Compiled Code
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Cod
e)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java, Compiled Code)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java, Compiled Code)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java, Compiled Code)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Co
de)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Can any one help me out.
DurgaThis is the text for ORA-12545, there is a problem in your NET8 somewhere.
http://technet.oracle.com/doc/network.815/a67440/ch11.htm#440586 -
Error while trying to retrieve text ......
Hello,
while connecting to Oracle 8i from my VB program i get the following error.
-2147217843[Oracle][ODBC][Ora]
Error while trying to retrieve text for error ORA-12154.
but i get the connection in debug mode.
please give any guidance.
I am using Oracle ODBC Driver.
Thanks in advance.
Subodh Apte
[email protected]Tony,
Can you please post the error details that you are getting while connecting from PL/SQL developer.
The error ORA-12154 is generaly TNS:could not resolve service name .
Also perfrom these steps
1)Verify that a tnsnames.ora file exists.
2)Verify that there are not multiple copies of the tnsnames.ora file.
3)In the tnsnames.ora file, verify that the net service name specified in your connect string is mapped to a connect descriptor.
4)Verify that there are no duplicate copies of the sqlnet.ora file.
5)If you are using domain names, verify that your sqlnet.ora file contains a NAMES.DEFAULT_DOMAIN parameter. If this parameter does not exist, you must specify the domain name in your connect string.
6)If you are not using domain names, and this parameter exists, delete it or disable it by commenting it out.
7)If you are connecting from a login dialog box, verify that you are not placing an "@" symbol before your connect net service name.
Hope this helps.
Thanks
Rajeev -
Error while trying to retrieve text for error ORA-32101
Hello!
I have Aix 5.1 and ORacle 9.2. I have compiled a little program as in samples and when i run it, it gives me an error:
Error while trying to retrieve text for error ORA-32101
The error comes from the Enevironment::createEnvironment().
Can someone tell me if i need an client to be installed to run applications on the same machine as server or not?
Why this error, i didnt't do anything special than samples. It is not my environment ok set , did i miss something (is the cleine required even in this case?)
thanks.
CristinaFor any release prior to 10g, you need a database client install to use OCCI.
With 10g you can use the instant client to deploy applications making use of OCI/OCCI without having to install the entire client.
Have a look at
http://otn.oracle.com/tech/oci/instantclient/instantclient.html -
Error while trying to retrieve text for error ORA-24327
Hi,
I'm using Weblogic OCI driver to connect to Oracle 9.2.0.3 DB. WLS version
is 7.0 SP3. I'm encountering an error when I try to start the WLS " Error while
trying to retrieve text for error ORA-24327".
I've set the LD_LIBRARY_PATH to $ORACLE_HOME/lib32:$ORACLE_HOME/lib in addition
to $WL_HOME/lib/solaris/oci_920_8 as I read in other newsgroup.
Thanks in advance.
Cheers,
Kanda.VHi Mitesh,
Thanks for your suggestion. Looks like ORACLE_HOME and ORACLE_BASE need to
set in the $CLASSPATH variable. It's working now. Thanks once again.
Cheers,
Kanda.
Mitesh Patel <[email protected]> wrote:
Hi Kanda!
Also, use lib32 directory instead of $ORACLE_HOME/lib32:$ORACLE_HOME/lib
in
your environment for 920 jDdriver.
Then try java utils.dbping oracle user passwd databasename to see if
it is
successful meaning your environment is set for weblogic 920 jDriver.
Also,
make sure you have entry in your tnsnames.ora file for the database.
Thanks,
Mitesh
Kanda wrote:
Actually I've set it to oci920_8 which is correct isn't ?
Please advise.
Thanks.
Kanda.V
Mitesh Patel <[email protected]> wrote:
$WL_HOME/lib/solaris/oci_920_8 as I read in other newsgroup.
This should be oci920_8.
thanks,
Mitesh
Kanda wrote:
Hi,
I'm using Weblogic OCI driver to connect to Oracle 9.2.0.3 DB.
WLS
version
is 7.0 SP3. I'm encountering an error when I try to start the WLS
Error while
trying to retrieve text for error ORA-24327".
I've set the LD_LIBRARY_PATH to $ORACLE_HOME/lib32:$ORACLE_HOME/libin addition
to $WL_HOME/lib/solaris/oci_920_8 as I read in other newsgroup.
Thanks in advance.
Cheers,
Kanda.V -
SQL Server Import Export Wizard fails while trying to retrieve the data from FastObjects Database
When trying to import data from FastObjects database to SQL Server 2008 R2 using import/ export wizard we get the following error message :
"Column information for the source and the destination data could not be retrieved, or the data types of source columns were not mapped correctly to those available on the destination provider."
Clicked on View button, the source data is retrieved correctly.
Clicked on Edit Mapping button, the Import Export Wizard failed with the below error message:
===================================
Column information for the source and destination data could not be retrieved.
"Test" -> [dbo].[Test]:
- Cannot find column -1.
(SQL Server Import and Export Wizard)
===================================
Cannot find column -1. (System.Data)
at System.Data.DataColumnCollection.get_Item(Int32 index) at System.Data.DataRow.get_Item(Int32 columnIndex) at Microsoft.DataTransformationServices.Controls.ProviderInfos.MetadataLoader.LoadColumnsFromTable(IDbConnection myConnection, String[] strRestrictions)
at Microsoft.SqlServer.Dts.DtsWizard.OLEDBHelpers.LoadColumnsFromTable(MetadataLoader metadataLoader, IDbConnection myConnection, String[] strRestrictions, DataSourceInfo dsi)at Microsoft.SqlServer.Dts.DtsWizard.TransformInfo.PopulateDbSourceColumnInfoFromDB(IDbConnection
mySourceConnection) at Microsoft.SqlServer.Dts.DtsWizard.TransformInfo.PopulateDbSourceColumnInfo(IDbConnection mySourceConnection, ColumnInfoCollection& sourceColInfos)Hi Chennie,
Thank you for the post.
Does the issue persists after you use the "Write a query to specify the data to transfer" option instead of “Copy data from one or more tables or views” option? If so, the issue may occur due to incorrect data type matching between the FastObjects database
data types and SSIS data types. In this condition, I don’t think it is necessary to upgrade the SQL Server version. Since you can open the Column Mappings dialog box, please try to modify the data type mapping manually.
In addition, the issue seems to be the same as the issue described in the following blog:
http://blogs.msdn.com/b/dataaccesstechnologies/archive/2010/09/09/sql-server-import-export-wizard-fails-while-trying-to-retrieve-the-data-from-pervasive-database.aspx
Regards,
Mike Yin
TechNet Community Support -
Instant client and Error while trying to retrieve text for error ORA-01019
For an older Windows app, I am exploring using Windows 32 bit IC instead of a full Oracle client installation:
IC 10.1.0.5 works fine for me but has the problem of not being able to connect if run from a folder containing parens (). ie., C:\Program Files (x86).
IC 10.2.0.3 gives the error "Cannot load any communication DLLs, network may not be installed". SQL+ works.
IC 10.2.0.4 gives the error "Error while trying to retrieve text for error ORA-01019". SQL+ works.
Does someone know why these three versions of IC would behave this differently on the same environment?
I have tried all sorts of things with ORACLE_HOME and TNS_ADMIN with IC 10.2.0.4.
Do you know which client version is the first to have the fix for the known C:\Program Files (x86) connect problem?
Or are their patches to IC 10.1.0.5 that I could implement ?
Any help or enlightenment would be appreciated.The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
These may help:
http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
http://blogs.oracle.com/opal/2006/05/01
Maybe you are looking for
-
How to Delete the dimension from the cube ?
Hi , how to Delete the dimension from the cube ? i have added the new dimension by assiging one characteristic to that dimension . now i want to delete it , but system saying that Dimension ZXXX contains InfoObjects; deletion not possible . how t
-
After updating to Mavericks, I tried to update iWork apps, The app store asked me to sign in, but gave me a comunication error when signing in. I changed my apple id password, now my airport wants the new password, but it is giving me the same error.
-
Lost all content and now my lectures are reduced to slides with some text and question marks were images/content used to be. Incredibly frustrating. How can I get my content back?
-
Errors when trying to get a Database connection
We resolved the JSP page not found issue and now the Iview seems to be able to access the JSP page . Now we are getting a Portal runtime error when we try to access the Iview : An exception occurred while processing a request for : iView : pcd:portal
-
Java Reflection: NoClassDefFoundError again
Hi everyone, I've search the forum about my problems but none of it seems to have solution to me, so I have to post this new topic, please understand for me. I'm writing a program that will parse java.class file to get their public methods, I'm using