Oracle dbxml2.5.16:crash with query execute()
Hi,
I encountered following crash while using DBXML 25.16 with C++ in multi-threaded environment:
#0 0x0fa28704 in DbXml::NsDomElement::NsDomElement(DbXml::NsNode*, DbXml::NsDoc*) () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#1 0x0fa29928 in DbXml::NsDomElement::getElemParent() () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#2 0x0fa01b50 in DbXml::ElementDescendantAxis::nextNode(DynamicContext*) () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#3 0x0f9ff6cc in DbXml::DbXmlAxis::next(DynamicContext*) () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#4 0x0fad68d0 in DbXml::SortingStepIterator::next(DynamicContext*) () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#5 0x0fac5f98 in DbXml::DecisionPointIterator::next(DynamicContext*) () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#6 0x0fabcef0 in DbXml::QueryPlanToASTResult::next(DynamicContext*) () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#7 0x0f31e958 in ResultImpl::nextOrTail(Result&, DynamicContext*) () from /usr/MotoAgent/thirdparty/lib/libxqilla.so.5
#8 0x0f31ea48 in ResultImpl::next(DynamicContext*) () from /usr/MotoAgent/thirdparty/lib/libxqilla.so.5
#9 0x0fb49644 in DbXml::LazyDIResults::next(DbXml::XmlValue&) () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#10 0x0fb739fc in DbXml::XmlResults::next(DbXml::XmlValue&) () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#11 0x0fb43798 in DbXml::ValueResults::init(DbXml::XmlResults&) () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#12 0x0fb48ebc in DbXml::ValueResults::ValueResults(DbXml::Results*, DbXml::XmlManager&, DbXml::Transaction*) () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#13 0x0fb4cb48 in DbXml::QueryExpression::execute(DbXml::Transaction*, DbXml::Value*, DbXml::XmlQueryContext&, unsigned int) ()
from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
#14 0x0fb725a4 in DbXml::XmlQueryExpression::execute(DbXml::XmlTransaction&, DbXml::XmlQueryContext&, unsigned int) const () from /usr/MotoAgent/thirdparty/lib/libdbxml-2.5.so
Any patch or workaround to get rid of this issue?
my program crashed without any execption.
I'm running multiple queries from mutiple threads to simualte a scenaio seen in production environment and got his crash 3 times.
I've 9 threads running where 5 threads are reading one XML entry in one document and 1 thread is adding entry into smae document and 2 threads trying to delete the XML entries from the same document. The last thread is reading metadata.
3 crashes with same crash signature seen in reading thread. Below is the code which does perform query:
int performQuery(DbXml::XmlManager *&m_manager_, string & p_queryResult,
const string & p_query,
const map < string, string > *p_pExternalValues)
// Check the input params
if (p_query.empty())
cout << ("Empty XQuery/XQueryUpdate expression");
return MA_GENERAL_ERROR;
u_int32_t my_txn_flags = DB_READ_COMMITTED | DB_TXN_NOSYNC |
DB_TXN_NOWAIT;
if (p_queryResult == C_BDBXML_PERFORM_UPDATE)
my_txn_flags = DB_TXN_SYNC | DB_TXN_NOWAIT;
XmlResults my_results;
int retry_count = 0;
XmlTransaction my_txn;
while (retry_count < C_BDBXML_MAX_RETRIES)
try
// The query context
XmlQueryContext my_qc = m_manager_->createQueryContext();
my_qc.setEvaluationType(XmlQueryContext::Eager);
// Set external variables
if (p_pExternalValues != NULL)
map < string, string >::const_iterator it;
for (it = p_pExternalValues->begin();
it != p_pExternalValues->end(); ++it)
my_qc.setVariableValue(it->first, it->second);
// cout << "external " << it->first << " " << it->second << endl;
// Start transaction
my_txn = m_manager_->createTransaction(my_txn_flags);
// Compile the query
XmlQueryExpression my_query_expr =
m_manager_->prepare(my_txn, p_query, my_qc);
// Perform the query
my_results = my_query_expr.execute(my_txn, my_qc, 0);
// If the method is performing XQuery, parse the results
if (p_queryResult != C_BDBXML_PERFORM_UPDATE)
p_queryResult.clear();
// Parse the results
XmlValue my_value;
while (my_results.next(my_value))
p_queryResult += my_value.asString();
my_txn.commit();
return CNEOMI_SUCCESS;
catch(const XmlException & xe)
bool ret = handleXmlException(xe, my_txn, retry_count);
if(ret != CNEOMI_SUCCESS)
CL_LOG_ERROR_STREAM("Failed to execute the XQuery: " <<
p_query);
if(ret != CNEOMI_SUCCESS)
CL_LOG_ERROR_STREAM("Failed to execute the XQuery: " <<
p_query);
return ret;
CL_LOG_ERROR("Exceeded retry limit. Giving up");
return 2;
And here is my read xquery that crashed:
string docid = string("dbxml:/ma.dbxml/") + (char *)arg;
string query = string("declare variable $self as xs:string external;doc($self)//*//*:") + "clAgentClientOperation";
map<string,string> myexternalValues;
myexternalValues.insert(make_pair<string,string>("self",
docid));
string queryResult;
performQuery(myManager,queryResult,
query,
&myexternalValues);
Similar Messages
-
Query off of Oracle using WinSql - Need help with query
I am trying to query off of Oracle using program WinSql.
I have a table(tticpr200110) that has the following sample data:
ITEM CODE T$AMNT
23500076 ACL .0049
23500076 APM 0
23500076 APO .0093
23500076 EXP .0001
23500076 RES .0072
and what I want it to look like is:
ITEM ACL APM APO EXP RES
23500076 0.0049 0 0.0093 0.0001 0.0072
(actually I need the last 2 columns added together to be MATL-but can deal with that down the road).
Seems simple enough, but I don't know to put into the columns.
Any help would be GREATLY appreciated as soon as possible would be even better.My table - tticpr200110 when it runs I get the following sample data for part number 23500076:
The first coloumn ITEM is the part number.
The second column CODE is 1 of 5 different cost codes
The third column is the cost for that code for that part.
ITEM CODE AMNT
23500076 ACL 0.0049
23500076 APM 0.0000
23500076 APO 0.0093
23500076 EXP 0.0001
23500076 RES 0.0072
I want to make a query that makes the data look like this:
ITEM ACL APM APO EXP RES
23500076 0.0049 0.0000 0.0093 0.0001 0.0072
(similar to a pivot table in excel or acess)
I hope this helps better.
Thanks! -
How to find exact query executed by reports with parameters
Hi,
I am running a report which errors out with below log messages.
REP-0004: Warning: Unable to open user preference file.
REP-0300: ORACLE error occurred.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-300: ORACLE error occurred.
In toad, the query is not giving any error message.
I want to know what exact query is being executed by oracle report server.
How can I find exact query executed?
Abdul WahidHi Bobby,
I had already tried to enable trace. But when I enable trace, report builder crashes!!
I created SR also, and oracle says that they do not support 10.1.2.0.2. I should update to 10.1.2.3.
I installed the 10.1.2.0.2 in xp mode and tried to update with 10.1.2.3. However, the updgrade failed saying that there is no update patch required/found or something like that.
Abdul Wahid -
Exporting report as PDF and CSV formats same time with out executing DB query twice
Post Author: cpriyanka
CA Forum: Exporting
I am using Crystal Report 9.0 version and Java.
I am getting "PrintOutputController" from "ReportClientDocument"
And then by calling export(ReportExportFormat.PDF) generating PDF format report.
Now I need to generate both PDF and CSV format files same time. How can it be done?
My understanding is when we call "export" it does the DB query execution and other functionality.
In that case, if I call "export" two times with two different formats, then DB query will be executed twice and that takes lot of time.
To avoid, is there a way I can all some API so DB query executed once, but I can export report in to multiple formats?
I appreciate your help.
Thanks.Post Author: cjmorris1201
CA Forum: Exporting
Hello,
Are you using the "pull" or "push" method for your crystal reports? If you are using the "pull" method (the report itself executes the sql) then I believe there is no way around having the query execute twice since it is fired off each time you open and export the report.
If you use the "push" method, however, then you can just create the recordset/dataset and then set the datasouce once for the report.
Here's a broad overview of push and pull though the Crystal Report Viewer is used. The viewer may or may not be applicable in your case:
http://aspalliance.com/265_Crystal_Report_for_Visual_Studio_NET#Page5
Regards, Carl -
My web page uses a Java Applet to allow my visitors to replay chess games; the Chess Viewer Deluxe applet was written by Nikolai Pilafov some time ago and has been working properly for some time (until recently). I don't monitor this part of my site regularly so I am not sure when it began to fail. On his web site [http://chesstuff.blogspot.com/2008/11/chess-viewer-deluxe.html] he has a link to check LiveConnect object functionality (which fails for OBJECT tags). His recommendation is to "seek platform specific support which might be available from the JRE developers for your platform".
I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Until I checked the LiveConnect object functionality, I was unable to identify the source of the console error messages. This does seem to be the smoking gun.
Is Apple aware of this problem? Are these classes no longer supported? Has anyone else had this problem? You can attempt to recreate the problem locally by going to my web page: http://donsmallidge.com/DonSmallidgeChess.html
Thanks in advance for any help you can provide!
Abbreviated Java Console output:
Java Plug-in 1.6.0_26
Using JRE version 1.6.0_26-b03-384-10M3425 Java HotSpot(TM) 64-Bit Server VM
load: class ZeroApplet.class not found.
java.lang.ClassNotFoundException: ZeroApplet.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:680)
load: class JavaToJS.class not found.
java.lang.ClassNotFoundException: JavaToJS.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
at sun.applet.AppletPanel.run(AppletPanel.java:368)
at java.lang.Thread.run(Thread.java:680)I just went up to check the LiveConnect object functionality page AND IT WORKED THIS TIME! I must confess, this is very mysterious. I will do some more checking and reply here if I can determine why it is working now (and more importantly, why it didn't work before).
-
SAP oracle database crash with errore:ORA-00490: PSP process terminated
Hi ALL,
Our oracle database crash with errore code in trace : ORA:00490; i started database again and it working fine; but could not fine reason of down and what is this erroe all about
can some help me
Errors in file /oracle/SRD/saptrace/background/srd_pmon_28096.trc:
ORA-00490: PSP process terminated with error
Tue Nov 25 09:00:57 2008
PMON: terminating instance due to error 490
Instance terminated by PMON, pid = 28096
Thanks,
DineshHi stefen,
please find the trace file as below
/oracle/SRD/saptrace/background/srd_pmon_28096.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options
ORACLE_HOME = /oracle/SRD/102_64
System name: SunOS
Node name: nzlsfn23
Release: 5.10
Version: Generic_137111-01
Machine: sun4u
Instance name: SRD
Redo thread mounted by this instance: 1
Oracle process number: 2
Unix process pid: 28096, image: oracle@nzlsfn23 (PMON)
2008-11-25 09:00:57.497
SERVICE NAME:(SYS$BACKGROUND) 2008-11-25 09:00:56.210
SESSION ID:(24.1) 2008-11-25 09:00:56.194
Background process PSP0 found dead
Oracle pid = 6
OS pid (from detached process) = 28098
OS pid (from process state) = 28098
dtp = 38000afd8, proc = 497000860
Dump of memory from 0x000000038000AFD8 to 0x000000038000B020
38000AFD0 00000005 00000000 [........]
38000AFE0 00000004 97000860 00000000 00000000 [.......`........]
38000AFF0 00000000 50535030 00020000 00000000 [....PSP0........]
38000B000 00006DC2 00000000 00000000 48E50DA4 [..m.........H...]
38000B010 00000001 000E3273 00040081 00000000 [......2s........]
Dump of memory from 0x0000000497000860 to 0x0000000497001048
497000860 02010000 00000000 00000000 00000000 [................]
497000870 00000000 00000000 00000000 00000000 [................]
497000880 00000004 97042570 00000004 97047810 [......%p......x.]
497000890 00000004 97028E68 00000004 97045BE8 [.......h......[.]
4970008A0 00000000 00000000 00000004 97045C70 [..............\p]
4970008B0 00000004 97045C70 00000004 97047800 [......\p......x.]
4970008C0 01060000 00000000 00000004 97025ED8 [..............^.]
4970008D0 00000004 97028E68 00000006 00000000 [.......h........]
4970008E0 00000000 00000000 00000000 00000000 [................]
4970008F0 00000000 00000000 00000004 97042490 [..............$.]
497000900 00000004 970425A0 00000000 00000000 [......%.........]
497000910 00000000 00000000 00000000 00000000 [................]
Repeat 3 times
497000950 00000003 00000000 00000000 00000000 [................]
Repeat 1 times
497000970 00000000 00000000 00000000 00000000 [................]
497000980 00000004 00000000 00000000 00000000 [................]
497000990 00000003 00000000 00000000 00000000 [................]
Repeat 1 times
4970009B0 00000004 00000000 00000000 00000000 [................]
4970009C0 00000005 00000000 00000000 00000000 [................]
4970009D0 00000003 00000000 00000000 00000000 [................]
4970009E0 00000000 00000000 00000000 00000000 [................]
Repeat 8 times
497000A70 00000000 00000000 00000004 97000A78 [...............x]
497000A80 00000004 97000A78 00000000 00000000 [.......x........]
497000A90 00000000 00000000 00000004 97000A98 [................]
497000AA0 00000004 97000A98 00000000 00000000 [................]
497000AB0 00000000 00000000 00000000 00000000 [................]
Repeat 2 times
497000AE0 00000000 00000000 00000018 00000030 [...............0]
497000AF0 00000001 00000B3D 00000004 970037D0 [.......=......7.]
497000B00 00000004 580096B0 00000001 00000000 [....X...........]
497000B10 00000000 00000000 00000000 00000000 [................]
Repeat 2 times
497000B40 00006DC2 00000000 00000000 00000000 [..m.............]
497000B50 00000000 00000000 00000000 00000000 [................]
Repeat 2 times
497000B80 00000004 97000860 00000000 00000000 [.......`........]
497000B90 00000000 00000000 00000000 00000000 [................]
Repeat 7 times
497000C10 00000004 97000C10 00000004 97000C10 [................]
497000C20 00000000 00000000 00010000 00000000 [................]
497000C30 00000000 00000117 0000000A 00000000 [................]
497000C40 00006DC2 00000000 00000000 48E50DA4 [..m.........H...]
497000C50 00000001 00000000 00000000 00000000 [................]
497000C60 00000000 00000000 00000000 00000000 [................]
Repeat 2 times
497000C90 00000000 00000000 00000003 FFFFFFFF [................]
497000CA0 00000000 00000000 00000000 00000000 [................]
Repeat 13 times
497000D80 73726461 646D0000 00000000 00000000 [srdadm..........]
497000D90 00000000 00000000 00000000 00000000 [................]
497000DA0 00000000 00000006 6E7A6C73 666E3233 [........nzlsfn23]
497000DB0 00000000 00000000 00000000 00000000 [................]
Repeat 2 times
497000DE0 00000000 00000000 00000000 00000008 [................]
497000DF0 554E4B4E 4F574E00 00000000 00000000 [UNKNOWN.........]
497000E00 00000000 00000000 00000000 00000000 [................]
497000E10 00000000 00000008 32383039 38000000 [........28098...]
497000E20 00000000 00000000 00000000 00000000 [................]
497000E30 00000000 00000005 6F726163 6C65406E [........oracle@n]
497000E40 7A6C7366 6E323320 28505350 30290000 [zlsfn23 (PSP0)..]
497000E50 00000000 00000000 00000000 00000000 [................]
497000E60 00000000 00000000 00000000 00000016 [................]
497000E70 00000000 00000002 00000000 00000000 [................]
497000E80 00000000 00000000 00000000 00000000 [................]
Repeat 8 times
497000F10 00000000 00000000 00000000 00020000 [................]
497000F20 00000000 00000000 00000000 00000000 [................]
497000F30 00000000 00000000 00000003 9E1F6748 [..............gH]
497000F40 00000004 97001728 00000004 97000758 [.......(.......X]
497000F50 00000000 00000000 00000003 9E26B5B0 [.............&..]
497000F60 00000000 00000000 00000000 00000000 [................]
Repeat 1 times
497000F80 00000004 97000F80 00000004 97000F80 [................]
497000F90 00000000 00040000 00000000 00000000 [................]
497000FA0 00000000 00031A55 00000000 0004D7DD [.......U........]
497000FB0 00000000 00071A55 00000000 00000000 [.......U........]
497000FC0 00000000 00000000 00000000 00000000 [................]
497000FD0 00000000 00000828 00000000 000000E0 [.......(........]
497000FE0 00000000 00000828 00000000 00000000 [.......(........]
497000FF0 00000000 00000000 00000000 00000000 [................]
Repeat 4 times
497001040 00000002 00000000 [........]
error 490 detected in background process
ORA-00490: PSP process terminated with error -
Oracle VM server crashes with disk corruption using SATA 2
Created OEL 5 x86_64 on a HVM and occassionally the VM server crashes with the following messages on the console:
ata1.0.0 tag 0 cmd 0x25 Emask 0x4 stat 0x40 err 0x0 timeout (frozen)
failed to recover some devices retrying in 5 seconds
comreset failed to respond in 30 seconds
port is too slow to respond, delay is known to occur on vacant sata ports
BMDMA stat 0x24
hardreset failed retry in 5 secs
After this I've no other option but to perform a hard reboot of the system. Down the road I installed oracleasmlib-2.0.3-1.el5.x86_64 and the above problem was persistent when the oel5 virtual machine boots up. I just couldn't get the virtual machine to start. I tried many workarounds but didn't work. I finally disabled SATA2 in the bios and enabled SATA1 and the system has been stable for the past 2 days. Originally my bios was set to SATA1+2.
I guess there's a bug with OEL 5 kernel on VM's using SATA 2 driver.If it was a hardware issue I'd imagine that this problem would have been occuring only on one machine. I had this problem on all my 3 machines where I had setup VM and OEL5. Prior to this, I had OEL 4u4 running on all these machines and everything worked fine.
-
NullPointerException with passing null param to query.execute() ?
Hi!
I seem to get this error when passing a null param to query.execute().
Shouldn't I be able to do this?
Thanks,
Nic.
kodo.util.UserException: java.lang.NullPointerException
NestedThrowables:
java.lang.NullPointerException
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:728)
at kodo.query.AbstractQuery.executeWithArray(AbstractQuery.java:640)
at kodo.query.AbstractQuery.execute(AbstractQuery.java:622)
at com.transmachina.idiomatica.db.DbSession.get(DbSession.java:536)
at
com.transmachina.idiomatica.app.WebDictionaryManager.hasBeenPreviouslyLookedUp(WebDictionaryManager.java:26)
at
com.transmachina.idiomatica.app.WebDictionaryManager.doLookup(WebDictionaryManager.java:39)
at
com.transmachina.idiomatica.utils.WordSearch.lookupAndReturnMatches(WordSearch.java:374)
at
com.transmachina.idiomatica.utils.WordSearch.getWordMatches(WordSearch.java:345)
at
com.transmachina.idiomatica.utils.WordSearch.getMatchesWithPosTrimming(WordSearch.java:546)
at
com.transmachina.idiomatica.engine.parser.ambiguity.WordAmbiguity.setupWordAmbiguity(WordAmbiguity.java:98)
at
com.transmachina.idiomatica.engine.parser.ambiguity.TextAmbiguity.setupTextAmbiguity(TextAmbiguity.java:271)
at
com.transmachina.idiomatica.engine.parser.ambiguity.ParsedText.setupParsedText(ParsedText.java:141)
at
com.transmachina.idiomatica.engine.presentation.Parser.parseToVectorOfWords(Parser.java:92)
at
com.transmachina.idiomatica.engine.presentation.Parser.getWord(Parser.java:377)
at
com.transmachina.idiomatica.engine.presentation.Parser.getPassage(Parser.java:193)
at
com.transmachina.idiomatica.engine.presentation.Parser.getPassage(Parser.java:158)
at
com.transmachina.idiomatica.adminTool.frame.translation.FrameTranslation$5.run(FrameTranslation.java:231)
Caused by: java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at
kodo.jdbc.meta.InClassNameClassIndicator.loadSubclasses(InClassNameClassIndicator.java:79)
at
kodo.jdbc.runtime.JDBCStoreManager.loadSubclasses(JDBCStoreManager.java:1207)
at
kodo.jdbc.runtime.JDBCStoreManager.addClassConditions(JDBCStoreManager.java:959)
at
kodo.jdbc.runtime.JDBCStoreManager.selectMappings(JDBCStoreManager.java:922)
at kodo.jdbc.runtime.JDBCStoreManager.access$300(JDBCStoreManager.java:32)
at
kodo.jdbc.runtime.JDBCStoreManager$SelectImpl.selectInternal(JDBCStoreManager.java:1333)
at kodo.jdbc.sql.AbstractSelect.select(AbstractSelect.java:313)
at kodo.jdbc.sql.AbstractSelect.select(AbstractSelect.java:304)
at
kodo.jdbc.query.JDBCExpressionFactory.select(JDBCExpressionFactory.java:137)
at kodo.jdbc.query.JDBCQuery.executeQuery(JDBCQuery.java:111)
at
kodo.query.JDOQLQuery$DataStoreQueryExecutor.executeQuery(JDOQLQuery.java:474)
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:693)
... 16 more
NestedThrowablesStackTrace:
java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at
kodo.jdbc.meta.InClassNameClassIndicator.loadSubclasses(InClassNameClassIndicator.java:79)
at
kodo.jdbc.runtime.JDBCStoreManager.loadSubclasses(JDBCStoreManager.java:1207)
at
kodo.jdbc.runtime.JDBCStoreManager.addClassConditions(JDBCStoreManager.java:959)
at
kodo.jdbc.runtime.JDBCStoreManager.selectMappings(JDBCStoreManager.java:922)
at kodo.jdbc.runtime.JDBCStoreManager.access$300(JDBCStoreManager.java:32)
at
kodo.jdbc.runtime.JDBCStoreManager$SelectImpl.selectInternal(JDBCStoreManager.java:1333)
at kodo.jdbc.sql.AbstractSelect.select(AbstractSelect.java:313)
at kodo.jdbc.sql.AbstractSelect.select(AbstractSelect.java:304)
at
kodo.jdbc.query.JDBCExpressionFactory.select(JDBCExpressionFactory.java:137)
at kodo.jdbc.query.JDBCQuery.executeQuery(JDBCQuery.java:111)
at
kodo.query.JDOQLQuery$DataStoreQueryExecutor.executeQuery(JDOQLQuery.java:474)
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:693)
at kodo.query.AbstractQuery.executeWithArray(AbstractQuery.java:640)
at kodo.query.AbstractQuery.execute(AbstractQuery.java:622)
at com.transmachina.idiomatica.db.DbSession.get(DbSession.java:536)
at
com.transmachina.idiomatica.app.WebDictionaryManager.hasBeenPreviouslyLookedUp(WebDictionaryManager.java:26)
at
com.transmachina.idiomatica.app.WebDictionaryManager.doLookup(WebDictionaryManager.java:39)
at
com.transmachina.idiomatica.utils.WordSearch.lookupAndReturnMatches(WordSearch.java:374)
at
com.transmachina.idiomatica.utils.WordSearch.getWordMatches(WordSearch.java:345)
at
com.transmachina.idiomatica.utils.WordSearch.getMatchesWithPosTrimming(WordSearch.java:546)
at
com.transmachina.idiomatica.engine.parser.ambiguity.WordAmbiguity.setupWordAmbiguity(WordAmbiguity.java:98)
at
com.transmachina.idiomatica.engine.parser.ambiguity.TextAmbiguity.setupTextAmbiguity(TextAmbiguity.java:271)
at
com.transmachina.idiomatica.engine.parser.ambiguity.ParsedText.setupParsedText(ParsedText.java:141)
at
com.transmachina.idiomatica.engine.presentation.Parser.parseToVectorOfWords(Parser.java:92)
at
com.transmachina.idiomatica.engine.presentation.Parser.getWord(Parser.java:377)
at
com.transmachina.idiomatica.engine.presentation.Parser.getPassage(Parser.java:193)
at
com.transmachina.idiomatica.engine.presentation.Parser.getPassage(Parser.java:158)
at
com.transmachina.idiomatica.adminTool.frame.translation.FrameTranslation$5.run(FrameTranslation.java:231)Hi Marc!
I think you are right! My database had been corrupted.
Thanks,
Nic.
Marc Prud'hommeaux wrote:
Nic-
Can you show us the code you use to build the query?
A casual look at the stack trace indicates that the problem might
actually be that you are using the in-class-name subclass identifier,
but there is a row in the database for which that column is null. Can
you check to see if this is the case?
In article <[email protected]>, Nic Cottrell wrote:
Hi!
I seem to get this error when passing a null param to query.execute().
Shouldn't I be able to do this?
Thanks,
Nic.
kodo.util.UserException: java.lang.NullPointerException
NestedThrowables:
java.lang.NullPointerException
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:728)
at kodo.query.AbstractQuery.executeWithArray(AbstractQuery.java:640)
at kodo.query.AbstractQuery.execute(AbstractQuery.java:622)
at com.transmachina.idiomatica.db.DbSession.get(DbSession.java:536)
at
com.transmachina.idiomatica.app.WebDictionaryManager.hasBeenPreviouslyLookedUp(WebDictionaryManager.java:26)
at
com.transmachina.idiomatica.app.WebDictionaryManager.doLookup(WebDictionaryManager.java:39)
at
com.transmachina.idiomatica.utils.WordSearch.lookupAndReturnMatches(WordSearch.java:374)
at
com.transmachina.idiomatica.utils.WordSearch.getWordMatches(WordSearch.java:345)
at
com.transmachina.idiomatica.utils.WordSearch.getMatchesWithPosTrimming(WordSearch.java:546)
at
com.transmachina.idiomatica.engine.parser.ambiguity.WordAmbiguity.setupWordAmbiguity(WordAmbiguity.java:98)
at
com.transmachina.idiomatica.engine.parser.ambiguity.TextAmbiguity.setupTextAmbiguity(TextAmbiguity.java:271)
at
com.transmachina.idiomatica.engine.parser.ambiguity.ParsedText.setupParsedText(ParsedText.java:141)
at
com.transmachina.idiomatica.engine.presentation.Parser.parseToVectorOfWords(Parser.java:92)
at
com.transmachina.idiomatica.engine.presentation.Parser.getWord(Parser.java:377)
at
com.transmachina.idiomatica.engine.presentation.Parser.getPassage(Parser.java:193)
at
com.transmachina.idiomatica.engine.presentation.Parser.getPassage(Parser.java:158)
at
com.transmachina.idiomatica.adminTool.frame.translation.FrameTranslation$5.run(FrameTranslation.java:231)
Caused by: java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at
kodo.jdbc.meta.InClassNameClassIndicator.loadSubclasses(InClassNameClassIndicator.java:79)
at
kodo.jdbc.runtime.JDBCStoreManager.loadSubclasses(JDBCStoreManager.java:1207)
at
kodo.jdbc.runtime.JDBCStoreManager.addClassConditions(JDBCStoreManager.java:959)
at
kodo.jdbc.runtime.JDBCStoreManager.selectMappings(JDBCStoreManager.java:922)
at kodo.jdbc.runtime.JDBCStoreManager.access$300(JDBCStoreManager.java:32)
at
kodo.jdbc.runtime.JDBCStoreManager$SelectImpl.selectInternal(JDBCStoreManager.java:1333)
at kodo.jdbc.sql.AbstractSelect.select(AbstractSelect.java:313)
at kodo.jdbc.sql.AbstractSelect.select(AbstractSelect.java:304)
at
kodo.jdbc.query.JDBCExpressionFactory.select(JDBCExpressionFactory.java:137)
at kodo.jdbc.query.JDBCQuery.executeQuery(JDBCQuery.java:111)
at
kodo.query.JDOQLQuery$DataStoreQueryExecutor.executeQuery(JDOQLQuery.java:474)
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:693)
... 16 more
NestedThrowablesStackTrace:
java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at
kodo.jdbc.meta.InClassNameClassIndicator.loadSubclasses(InClassNameClassIndicator.java:79)
at
kodo.jdbc.runtime.JDBCStoreManager.loadSubclasses(JDBCStoreManager.java:1207)
at
kodo.jdbc.runtime.JDBCStoreManager.addClassConditions(JDBCStoreManager.java:959)
at
kodo.jdbc.runtime.JDBCStoreManager.selectMappings(JDBCStoreManager.java:922)
at kodo.jdbc.runtime.JDBCStoreManager.access$300(JDBCStoreManager.java:32)
at
kodo.jdbc.runtime.JDBCStoreManager$SelectImpl.selectInternal(JDBCStoreManager.java:1333)
at kodo.jdbc.sql.AbstractSelect.select(AbstractSelect.java:313)
at kodo.jdbc.sql.AbstractSelect.select(AbstractSelect.java:304)
at
kodo.jdbc.query.JDBCExpressionFactory.select(JDBCExpressionFactory.java:137)
at kodo.jdbc.query.JDBCQuery.executeQuery(JDBCQuery.java:111)
at
kodo.query.JDOQLQuery$DataStoreQueryExecutor.executeQuery(JDOQLQuery.java:474)
at kodo.query.AbstractQuery.executeWithMap(AbstractQuery.java:693)
at kodo.query.AbstractQuery.executeWithArray(AbstractQuery.java:640)
at kodo.query.AbstractQuery.execute(AbstractQuery.java:622)
at com.transmachina.idiomatica.db.DbSession.get(DbSession.java:536)
at
com.transmachina.idiomatica.app.WebDictionaryManager.hasBeenPreviouslyLookedUp(WebDictionaryManager.java:26)
at
com.transmachina.idiomatica.app.WebDictionaryManager.doLookup(WebDictionaryManager.java:39)
at
com.transmachina.idiomatica.utils.WordSearch.lookupAndReturnMatches(WordSearch.java:374)
at
com.transmachina.idiomatica.utils.WordSearch.getWordMatches(WordSearch.java:345)
at
com.transmachina.idiomatica.utils.WordSearch.getMatchesWithPosTrimming(WordSearch.java:546)
at
com.transmachina.idiomatica.engine.parser.ambiguity.WordAmbiguity.setupWordAmbiguity(WordAmbiguity.java:98)
at
com.transmachina.idiomatica.engine.parser.ambiguity.TextAmbiguity.setupTextAmbiguity(TextAmbiguity.java:271)
at
com.transmachina.idiomatica.engine.parser.ambiguity.ParsedText.setupParsedText(ParsedText.java:141)
at
com.transmachina.idiomatica.engine.presentation.Parser.parseToVectorOfWords(Parser.java:92)
at
com.transmachina.idiomatica.engine.presentation.Parser.getWord(Parser.java:377)
at
com.transmachina.idiomatica.engine.presentation.Parser.getPassage(Parser.java:193)
at
com.transmachina.idiomatica.engine.presentation.Parser.getPassage(Parser.java:158)
at
com.transmachina.idiomatica.adminTool.frame.translation.FrameTranslation$5.run(FrameTranslation.java:231)
>>
>>
>>
>>
>>
>>
>>
>>
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com -
Hi All,
I am using jdev 11.1.2.0
I am having a VO and VC. when i am executing View criteria .There is no error in it. That query is executing within seconds in TOAD.But in application it is taking lot of time.
And after some time web logic got crashed and message came that query didnt not executed with in 600 seconds or something.
Can we increase server time out for query execution. How to resolve this issue?Hi All,
I am getting this error.Don't know why?Any help
Referer: http://127.0.0.1:7101/OMSApp/faces/InspectionTaskHome.jspx?_adf.ctrl-state=120t0k0j42_3
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=kkpvRYybkvsTypwLp1q2lfMtqHlk8LZ8XdCksSlKT5Z2xH6hdhrq!679123754
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)
oracle.net.nt.MetricsEnabledInputStream.read(TcpNTAdapter.java:718)
oracle.net.ns.Packet.receive(Packet.java:295)
oracle.net.ns.DataPacket.receive(DataPacket.java:106)
oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:317)
oracle.net.ns.NetInputStream.read(NetInputStream.java:262)
oracle.net.ns.NetInputStream.read(NetInputStream.java:187)
oracle.net.ns.NetInputStream.read(NetInputStream.java:104)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:126)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:82)
oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1177)
oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1153)
oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:312)
oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1228)
oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:893)
oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7154)
oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1227)
oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1413)
oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1319)
oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1304)
oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:7083)
oper.model.module.AppModuleAMImpl.executeInstanceNoVc(AppModuleAMImpl.java:857)
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)
oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:655)
oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2161)
oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3051)
oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:266)
oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1626)
oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2168)
oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
oper.view.PreInspectionBean.ShowSRInstance(PreInspectionBean.java:127)
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)
com.sun.el.parser.AstValue.invoke(Unknown Source)
com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1535)
org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)
org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:479)
oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:105)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
java.security.AccessController.doPrivileged(Native Method)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -
CMS crash with core files and multiple report output generation
Happy new year to everyone,
Our BOXIR3.1SP6FP2 env has recently started behaving weirdly by triggering multiple output to users inbox and email notification out of scheduled reports. Also we have noticed the CMS crash with core file (almost 4GB) generation at the time of multiple report output.
Most of the times, CMC crashes and recycles itself. At few times, CMS services alone went shut down.
OS details: RHEL 5.5, 32 GB RAM, 8 core processor on each of the clustered node, Oracle 10GR2.4 CMS DB server, 11GR2.4 oracle reporting DB server and oracle 11.1.0.6 client.
2015/01/21 23:54:37.946|>=| | |28123|1534131088|{|||||||||||||||DBQueue::Read
2015/01/21 23:54:37.946|==| | |28123|1496185744|
|||||||||||||||(OracleStatement.cpp:156) Prepare: SQL: SELECT ObjectID,
Version, LastModifyTime, CRC, Properties FROM CMS_InfoObjects6 WHERE ObjectID
IN (1004050) ORDER BY ObjectID
2015/01/21 23:54:37.946|==| | |28123|1496185744| ||||||||||||||(OracleStatement.cpp:183) Prepared statement Execute
2015/01/21 23:54:37.965|==| | |28123|1496451984| |||||||||||||||SResourceSource::LoadString 50293
2015/01/21 23:54:37.966|==| | |28123|1496451984| |||||||||||||||SResourceSource::LoadString Unknown exception in database thread
2015/01/21 23:54:37.967|==| | |28123|1496451984| |||||||||||||||SResourceSource::LoadString 33007
2015/01/21 23:54:37.967|==| | |28123|1496451984| |||||||||||||||SResourceSource::LoadString CMS is unstable and will shut down immediately. Reason: %1...
2015/01/21 23:54:38.506|==| | |28123|1496185744| |||||||||||||||(OracleStatement.cpp:156) Prepare: SQL: SELECT ObjectID,
Version, LastModifyTime, CRC, Properties FROM CMS_InfoObjects6 WHERE ObjectID IN (1009213) ORDER BY ObjectID
2015/01/21 23:54:38.506|==| | |28123|1496185744| |||||||||||||||(OracleStatement.cpp:183) Prepared statement Execute
2015/01/21 23:54:38.512|==| | |28123|1455592672| |||||||||||||||(sidaemon.cpp:549) SUNIXDaemon::run: server restart flag is 1..
2015/01/21 23:54:38.513|==| | |28123|1455592672| |||||||||||||||(sidaemon.cpp:552) SUNIXDaemon::run: in abort ...
2015/01/21 23:54:38.513|==| | |28123|1455592672| |||||||||||||||(sidaemon.cpp:555) SUNIXDaemon::run: doing the WithAbort case ...
2015/01/21 23:54:38.520|==| | |28123|1496185744| |||||||||||||||(dbq.cpp:1357) DBQ: Time required to read 1 objects: 20.000000 ms
Thank you,
KarthikHi Denis,
I'm trying my best for the last few weeks to understand the core issue along with SAP however it is still a mystery.
>Ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 270335
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 270335
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Below is the observation as part of troubleshooting:
1. CMS breaks at threshold of 3.9 G.
2. CMS DB sits in a different Linux server than BOE server.
3. All core files were generated by boe_cmsd process and are almost 4GB in size (same as max threshold which it breaks).
4. Shell script which I've added in the BOE servers shows that the CMS DB is available/connecting at the time of CMS crash.
5. SAP analysed the Core files and skeptical about the below lines.
#3 0x58687b80 in skgesigCrash ()
from /opt/oracle/product/11.1.0/client_1/lib32/libclntsh.so
#4 0x58687e0d in skgesig_sigactionHandler ()
I'll continue troubleshooting with a hope to fix it at the earliest.
Thanks,
Karthik -
JVM crashes with jdeveloper 11g and jrockit 6
When i run my application its al going well, when i call some to show data, then all is going well,
but when i would like to save some, then the jvm crashes, and i have no idea, i've added arguments in the jvm run configuration, etc nothing seems to work, has anybody any idea, because im getting very desperate.
[JRockit] ERROR: The JVM has crashed. Writing crash information to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\DefaultDomain\jrockit.6136.dump.
===== BEGIN DUMP =============================================================
JRockit dump produced after 0 days, 00:01:35 on Thu Aug 20 16:02:44 2009
* If you see this dump, please go to *
* http://edocs.bea.com/jrockit/go2troubleshooting.html *
* for troubleshooting information. *
Additional information is available in:
C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\DefaultDomain\jrockit.6136.dump
C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\DefaultDomain\jrockit.6136.mdmp
Error Message: Illegal memory access. [54]
Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x00000000 - memory at 0x00000000 could not be read.
Minidump : Wrote mdmp. Size is 527MB
SafeDllMode : -1
Version : BEA JRockit(R) R27.6.3-40_o-112056-1.6.0_11-20090318-2104-windows-ia32
CPU : Intel Core 2 SSE SSE2 SSE3 SSSE3 SSE4.1 Core Intel64
Number CPUs : 2
Tot Phys Mem : 3715284992 (3543 MB)
OS version : Microsoft Windows XP version 5.1 Service Pack 3 (Build 2600) (32-bit)
Thread System: Windows Threads
Java locking : Lazy unlocking enabled (class banning) (transfer banning)
State : JVM is running
Command Line : -Xms256m -Xmx512m -Djbo.debugoutput=console -Xmx512M -XX:MaxPermSize=512M -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~2\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~2\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~2\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~2\JDEVEL~1\system\SYSTEM~1.05\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\Oracle\MIDDLE~2\JDEVEL~1\system\SYSTEM~1.05\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~2\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~2\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~2\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~2\WLSERV~1.3\server\lib\weblogic.policy -Dsun.java.launcher=SUN_STANDARD weblogic.Server
java.home : C:\PROGRA~1\Java\JROCKI~1.0_1
j.class.path : ;C:\Oracle\MIDDLE~2\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~2\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~2\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JROCKI~1.0_1\lib\tools.jar;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~2\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~2\modules\ORGAPA~1.5/lib/ant-all.jar;C:\Oracle\MIDDLE~2\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\Oracle\MIDDLE~2\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\lib\xqrl.jar;;
j.lib.path : C:\PROGRA~1\Java\JROCKI~1.0_1\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Oracle\MIDDLE~2\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~2\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~2\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~2\modules\ORGAPA~1.5\bin;C:\PROGRA~1\Java\JROCKI~1.0_1\jre\bin;C:\PROGRA~1\Java\JROCKI~1.0_1\bin;C:\Oracle\OraClient10g\bin;C:\Oracle\DevSuite10G\bin;C:\Oracle\DevSuite10G\jdk\jre\bin\classic;C:\Oracle\DevSuite10G\jdk\jre\bin;C:\Oracle\DevSuite10G\jdk\jre\bin\client;C:\Oracle\DevSuite10G\jlib;C:\Oracle\DevSuite10G\jre\1.4.2\bin\client;C:\Oracle\DevSuite10G\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\TortoiseSVN\bin;C:\Oracle\jdevstudio10133\jdk\bin;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\QuickTime\QTSystem\;Z:.;;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\32\oci920_8
JAVA_HOME : C:\PROGRA~1\Java\JROCKI~1.0_1
JAVAOPTIONS: <not set>
PATH : C:\PROGRA~1\Java\JROCKI~1.0_1\bin;C:\Oracle\MIDDLE~2\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~2\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~2\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~2\modules\ORGAPA~1.5\bin;C:\PROGRA~1\Java\JROCKI~1.0_1\jre\bin;C:\PROGRA~1\Java\JROCKI~1.0_1\bin;C:\Oracle\OraClient10g\bin;C:\Oracle\DevSuite10G\bin;C:\Oracle\DevSuite10G\jdk\jre\bin\classic;C:\Oracle\DevSuite10G\jdk\jre\bin;C:\Oracle\DevSuite10G\jdk\jre\bin\client;C:\Oracle\DevSuite10G\jlib;C:\Oracle\DevSuite10G\jre\1.4.2\bin\client;C:\Oracle\DevSuite10G\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\TortoiseSVN\bin;C:\Oracle\jdevstudio10133\jdk\bin;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\QuickTime\QTSystem\;Z:.;;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\32\oci920_8
StackOverFlow: 0 StackOverFlowErrors have occured
OutOfMemory : 0 OutOfMemoryErrors have occured
C Heap : Good; no memory allocations have failed
GC Strategy : Mode: throughput. Currently using strategy: genparpar
GC Status : OC is not running. Last finished OC was OC#9.
: YC is not running. Last finished YC was YC#15.
OC History : Strategy genparpar was used for OC#1 to OC#6.
: Strategy singleparpar was used for OC#7.
: Strategy genparpar was used for OC#8 to OC#9.
YC History : Ran 1 YCs before OC#5.
: Ran 0 YCs before OC#6.
: Ran 0 YCs before OC#7.
: Ran 1 YCs before OC#8.
: Ran 4 YCs before OC#9.
: Ran 1 YCs since last OC.
YC Promotion : Last YC successfully promoted all objects
Heap : 0x00C00000 - 0x10C00000 (Size: 256 MB)
Compaction : 0x0BC00030 - 0x0CC00038 (Current compaction type: external)
NurseryList : 0x0289B2D8 - 0x0A5D4488
KeepArea : 0x085ADA80 - 0x0A5D4488
NurseryMarker: [ 0x06479790, 0x085ADA80 ]
CompRefs : References are 32-bit.
Registers (from ThreadContext: 0x2562E340 / OS context: 0x2562E72C):
eax = 00000000 ecx = 00000000 edx = 2562e998 ebx = 07ab6220
esp = 2562e9f8 ebp = 07ab6220 esi = 2562ea18 edi = 242bae4c
es = 00000023 cs = 0000001b ss = 00000023 ds = 00000023
fs = 0000003b gs = 00000000
eip = 00000000 eflags = 00010212
Loaded modules:
(* denotes the module causing the exception)
00400000-00412fff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\java.exe
7c900000-7c9b4fff C:\WINDOWS\system32\ntdll.dll
7c800000-7c8fffff C:\WINDOWS\system32\kernel32.dll
77f40000-77feafff C:\WINDOWS\system32\ADVAPI32.dll
77da0000-77e31fff C:\WINDOWS\system32\RPCRT4.dll
77f10000-77f20fff C:\WINDOWS\system32\Secur32.dll
77be0000-77c37fff C:\WINDOWS\system32\MSVCRT.dll
7c340000-7c395fff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\msvcr71.dll
00420000-006c6fff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\jrockit\jvm.dll
76af0000-76b1dfff C:\WINDOWS\system32\WINMM.dll
77e40000-77e88fff C:\WINDOWS\system32\GDI32.dll
7e390000-7e420fff C:\WINDOWS\system32\USER32.dll
71a30000-71a46fff C:\WINDOWS\system32\WS2_32.dll
71a20000-71a27fff C:\WINDOWS\system32\WS2HELP.dll
6d860000-6d86bfff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\verify.dll
6d3d0000-6d3eefff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\java.dll
6d330000-6d337fff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\hpi.dll
6d8a0000-6d8aefff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\zip.dll
6d6c0000-6d6d2fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\net.dll
719d0000-71a0ffff C:\WINDOWS\system32\mswsock.dll
61200000-61258fff C:\WINDOWS\system32\hnetcfg.dll
71a10000-71a17fff C:\WINDOWS\System32\wshtcpip.dll
23750000-23776fff C:\WINDOWS\system32\DNSAPI.dll
23780000-23787fff C:\WINDOWS\System32\winrnr.dll
23790000-237bcfff C:\WINDOWS\system32\WLDAP32.dll
66210000-66218fff C:\WINDOWS\system32\netware\NWWS2NDS.DLL
50d50000-50d84fff C:\WINDOWS\system32\NETWIN32.DLL
50d00000-50d15fff C:\WINDOWS\system32\CLNWIN32.DLL
50df0000-50e14fff C:\WINDOWS\system32\LOCWIN32.dll
50db0000-50de4fff C:\WINDOWS\system32\NCPWIN32.dll
71a50000-71a59fff C:\WINDOWS\system32\WSOCK32.dll
66220000-6622bfff C:\WINDOWS\system32\netware\NWWS2SLP.DLL
66250000-66256fff C:\WINDOWS\system32\NWSRVLOC.dll
23850000-23855fff C:\WINDOWS\system32\rasadhlp.dll
6d610000-6d618fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\management.dll
6d6e0000-6d6e8fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\nio.dll
68000000-68035fff C:\WINDOWS\system32\rsaenh.dll
76970000-76a24fff C:\WINDOWS\system32\USERENV.dll
6ff20000-6ff74fff C:\WINDOWS\system32\netapi32.dll
00ba0000-00baafff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\jmapi.dll
22490000-2249dfff C:\Oracle\Middleware\wlserver_10.3\server\native\win\32\wlfileio2.dll
24fe0000-24ff8fff C:\WINDOWS\system32\iphlpapi.dll
25bc0000-25bd7fff C:\WINDOWS\system32\MPRAPI.dll
77c90000-77cc1fff C:\WINDOWS\system32\ACTIVEDS.dll
25be0000-25c04fff C:\WINDOWS\system32\adsldpc.dll
76ad0000-76ae0fff C:\WINDOWS\system32\ATL.DLL
774a0000-775dcfff C:\WINDOWS\system32\ole32.dll
25c10000-25c9afff C:\WINDOWS\system32\OLEAUT32.dll
25ca0000-25cadfff C:\WINDOWS\system32\rtutils.dll
71b80000-71b92fff C:\WINDOWS\system32\SAMLIB.dll
778e0000-779d6fff C:\WINDOWS\system32\SETUPAPI.dll
25cf0000-25cf4fff C:\Oracle\Middleware\wlserver_10.3\server\native\win\32\wlntio.dll
6d840000-6d847fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\sunmscapi.dll
77a40000-77ad5fff C:\WINDOWS\system32\CRYPT32.dll
77ae0000-77af1fff C:\WINDOWS\system32\MSASN1.dll
76bb0000-76bbafff C:\WINDOWS\system32\psapi.dll
6d0b0000-6d1e7fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\awt.dll
72f70000-72f95fff C:\WINDOWS\system32\WINSPOOL.DRV
76330000-7634cfff C:\WINDOWS\system32\IMM32.dll
5d4e0000-5d579fff C:\WINDOWS\system32\comctl32.dll
6d7b0000-6d7b5fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\rmi.dll
33230000-33342fff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\dbghelp.dll
Stack:
(* marks the word pointed to by the stack pointer)
2562e9f8: 2562ea34* 00000000 242bace8 0059a501 242bae4c 2562ea34
2562ea10: 00000000 21941522 242bae4c 2562ea34 0d3829b8 2cfb78c0
2562ea28: 2194151d 242bb0b4 2562ea18 0d1018b8 242bace8 07ab6220
2562ea40: 07ab6220 21bfb985 0d1018b8 00000001 07ab6220 051988d8
Code:
(* marks the word pointed to by the instruction pointer)
ffffffd0: Unreadable
ffffffe8: Unreadable
00000000: Unreadable
00000018: Unreadable
"[ACTIVE] ExecuteThread: '0' for" id=15 idx=0x3c tid=6000 lastJavaFrame=0x2562EA24
Stack 0: start=0x255F0000, end=0x25630000, guards=0x255F3000 (ok), forbidden=0x255F1000
Thread Stack Trace:
at RJNI_jrockit_vm_Locks_monitorEnterUnmatched+17(rnilocks.c:65+17)@0x0059A501
-- Java stack --
at jrockit/vm/Locks.monitorEnterUnmatched(Ljava/lang/Object;)V(Native Method)
at oracle/jbo/server/ViewRowSetIteratorImpl.next(ViewRowSetIteratorImpl.java:1690)
at oracle/jbo/server/ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1548)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetImpl.first(ViewRowSetImpl.java:3202)
at oracle/jbo/server/ViewObjectImpl.first(ViewObjectImpl.java:8123)
at oracle/jbo/uicli/binding/JUCtrlListBinding.initFromServerBinding(JUCtrlListBinding.java:524)
at oracle/jbo/uicli/binding/JUCtrlListBinding.setupListItems(JUCtrlListBinding.java:630)
at oracle/jbo/uicli/binding/JUCtrlListBinding.findListIndex(JUCtrlListBinding.java:1783)
at oracle/jbo/uicli/binding/JUCtrlListBinding.setValueAt(JUCtrlListBinding.java:2686)
at oracle/jbo/uicli/binding/JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:2118)
at oracle/jbo/uicli/binding/JUCtrlValueBinding.updateNavigated(JUCtrlValueBinding.java:268)
at oracle/jbo/uicli/binding/JUIteratorBinding.navigated(JUIteratorBinding.java:302)
^-- Holding lock: oracle/jbo/uicli/binding/JUApplication@0x0CECD4F0[biased lock]
at oracle/jbo/common/RowSetHelper.fireNavigationEvent(RowSetHelper.java:268)
at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3624)
at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3595)
at oracle/jbo/server/ViewRowSetIteratorImpl.next(ViewRowSetIteratorImpl.java:1744)
at oracle/jbo/server/ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1548)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetImpl.first(ViewRowSetImpl.java:3202)
at oracle/jbo/server/ViewObjectImpl.first(ViewObjectImpl.java:8123)
at oracle/adf/model/binding/DCIteratorBinding.setupRSIstate(DCIteratorBinding.java:755)
at oracle/adf/model/binding/DCIteratorBinding.refreshControl(DCIteratorBinding.java:655)
at oracle/jbo/uicli/binding/JUIteratorBinding.refreshControl(JUIteratorBinding.java:475)
at oracle/adf/model/binding/DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:861)
at oracle/jbo/common/RowSetHelper.fireRangeRefreshed(RowSetHelper.java:179)
at oracle/jbo/server/ViewRowSetIteratorImpl.notifyRangeRefreshed(ViewRowSetIteratorImpl.java:3559)
at oracle/jbo/server/ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2776)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2996)
at oracle/jbo/server/ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2453)
at oracle/jbo/server/ViewRowSetImpl.execute(ViewRowSetImpl.java:1047)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetImpl.execute(ViewRowSetImpl.java:873)
at oracle/jbo/server/ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2738)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2996)
at oracle/jbo/server/ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2453)
at oracle/jbo/server/ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:6106)
at oracle/jbo/server/ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3493)
at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3635)
at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3595)
at oracle/jbo/server/ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3378)
at oracle/jbo/server/ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1551)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetImpl.first(ViewRowSetImpl.java:3202)
at oracle/jbo/server/ViewObjectImpl.first(ViewObjectImpl.java:8123)
at oracle/adf/model/binding/DCIteratorBinding.setupRSIstate(DCIteratorBinding.java:755)
at oracle/adf/model/binding/DCIteratorBinding.refreshControl(DCIteratorBinding.java:655)
at oracle/jbo/uicli/binding/JUIteratorBinding.refreshControl(JUIteratorBinding.java:475)
at oracle/adf/model/binding/DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:861)
at oracle/jbo/common/RowSetHelper.fireRangeRefreshed(RowSetHelper.java:179)
at oracle/jbo/server/ViewRowSetIteratorImpl.notifyRangeRefreshed(ViewRowSetIteratorImpl.java:3559)
at oracle/jbo/server/ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2776)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2996)
at oracle/jbo/server/ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2453)
at oracle/jbo/server/ViewRowSetImpl.execute(ViewRowSetImpl.java:1047)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetImpl.execute(ViewRowSetImpl.java:873)
at oracle/jbo/server/ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2738)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2996)
at oracle/jbo/server/ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2453)
at oracle/jbo/server/ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:6106)
at oracle/jbo/server/ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3493)
at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3635)
at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3595)
at oracle/jbo/server/ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3378)
at oracle/jbo/server/ViewRowSetIteratorImpl.setCurrentRow(ViewRowSetIteratorImpl.java:1018)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3955)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:6228)
at oracle/jbo/server/ViewObjectImpl.activateIteratorState(ViewObjectImpl.java:16120)
at oracle/jbo/server/ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3874)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:6228)
at oracle/jbo/server/ViewObjectImpl.activateIteratorState(ViewObjectImpl.java:16120)
at oracle/jbo/server/ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3874)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:6228)
at oracle/jbo/server/ViewObjectImpl.activateIteratorState(ViewObjectImpl.java:16120)
at oracle/jbo/server/ApplicationModuleImpl.activateVOs(ApplicationModuleImpl.java:7675)
at oracle/jbo/server/ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:7421)
at oracle/jbo/server/ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:7453)
at oracle/jbo/server/ApplicationModuleImpl.doActivateAMState(ApplicationModuleImpl.java:7400)
at oracle/jbo/server/Serializer.activate(Serializer.java:284)
at oracle/jbo/server/DBSerializer.activateRootAM(DBSerializer.java:331)
at oracle/jbo/server/ApplicationModuleImpl.activateFromStack(ApplicationModuleImpl.java:6063)
at oracle/jbo/server/ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:5923)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at oracle/jbo/server/ApplicationModuleImpl.activateStateForUndo(ApplicationModuleImpl.java:8308)
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at nl/nak/iva/RuleFrameTransactionImpl.activateStateForUndo(RuleFrameTransactionImpl.java:262)
at nl/nak/iva/RuleFrameTransactionImpl.handleSQLError(RuleFrameTransactionImpl.java:130)
at nl/nak/iva/RuleFrameTransactionImpl.doCommit(RuleFrameTransactionImpl.java:86)
at oracle/jbo/server/DBTransactionImpl.commitInternal(DBTransactionImpl.java:2244)
at oracle/jbo/server/DBTransactionImpl.commit(DBTransactionImpl.java:2382)
^-- Holding lock: nl/nak/iva/RuleFrameTransactionImpl@0x0E986690[biased lock]
^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
at nl/nak/iva/RuleFrameTransactionImpl.commit(RuleFrameTransactionImpl.java:103)
at oracle/adf/model/bc4j/DCJboDataControl.commitTransaction(DCJboDataControl.java:1565)
at oracle/adf/model/binding/DCDataControl.callCommitTransaction(DCDataControl.java:1407)
at oracle/jbo/uicli/binding/JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1293)
at oracle/adf/model/binding/DCDataControl.invokeOperation(DCDataControl.java:2126)
at oracle/jbo/uicli/binding/JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:697)
at oracle/adf/controller/v2/lifecycle/PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:392)
at oracle/adfinternal/view/faces/model/binding/FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:159)
at oracle/adfinternal/view/faces/model/binding/FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:118)
at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;) Ljava/lang/Object;(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 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:1227)
at org/apache/myfaces/trinidad/component/UIXCommand.broadcast(UIXCommand.java:183)
at oracle/adf/view/rich/component/fragment/ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:70)
at oracle/adf/view/rich/component/fragment/ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:274)
at oracle/adf/view/rich/component/fragment/ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:74)
at javax/faces/component/UIViewRoot.broadcastEvents(UIViewRoot.java:458)
at javax/faces/component/UIViewRoot.processApplication(UIViewRoot.java:763)
at oracle/adfinternal/view/faces/lifecycle/LifecycleImpl._invokeApplication(LifecycleImpl.java:640)
at oracle/adfinternal/view/faces/lifecycle/LifecycleImpl._executePhase(LifecycleImpl.java:275)
at oracle/adfinternal/view/faces/lifecycle/LifecycleImpl.execute(LifecycleImpl.java:175)
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:292)
at weblogic/servlet/internal/TailFilter.doFilter(TailFilter.java:26)
at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle/adf/model/servlet/ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle/adfinternal/view/faces/webapp/rich/RegistrationFilter.doFilter(RegistrationFilter.java:85)
at org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
at org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
at org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
at org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
at org/apache/myfaces/trinidad/webapp/TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle/security/jps/wls/JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
at oracle/security/jps/ee/http/JpsFilter.doFilter(JpsFilter.java:65)
at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic/servlet/internal/RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic/security/service/SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Unknown Source)
at weblogic/servlet/internal/WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic/servlet/internal/WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic/servlet/internal/ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic/work/ExecuteThread.execute(ExecuteThread.java:201)
at weblogic/work/ExecuteThread.run(ExecuteThread.java:173)
at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
-- end of trace
* If you see this dump, please go to *
* http://edocs.bea.com/jrockit/go2troubleshooting.html *
* for troubleshooting information. *
===== END DUMP ===============================================================Core dumps are usually a bug, so I suggest filing a Service Request with support.
-
Application crashes with timesten database over OCI connection
Application crashes with timesten database over OCI connection
#0 0x405e09f8 in kpudsany () from /home/oracle/TimesTen/ratingtt1121/ttoracle_home/instantclient_11_1/libclntsh.so.10.1
#1 0x405728d0 in OCIDescribeAny () from /home/oracle/TimesTen/ratingtt1121/ttoracle_home/instantclient_11_1/libclntsh.so.10.1
#2 0x43748a5a in GDBociDriver::StoredProcArgumentList () from /home/omni/library/libgfr_dboci.so
#3 0x4374e865 in GDBociDriver::StoredProcCallFormat () from /home/omni/library/libgfr_dboci.so
#4 0x4376ec9a in GDBociDriver::ExecuteStmtBind () from /home/omni/library/libgfr_dboci.so
#5 0x4376fc69 in GDBociDriver::Execute () from /home/omni/library/libgfr_dboci.so
#6 0x436ba240 in GDBstatement::Execute () from /home/omni/library/libgfr_dblayer.so
#7 0x43736106 in GDBociDriver::SetModule () from /home/omni/library/libgfr_dboci.so
#8 0x4366cb22 in GDBconnectionPool::GetConnection () from /home/omni/library/libgfr_dblayer.so
#9 0x4367a9db in GDBdriver::LoginConnectionGet () from /home/omni/library/libgfr_dblayer.so
#10 0x4373dbaa in GDBociDriver::Login () from /home/omni/library/libgfr_dboci.so
#11 0x4377380f in CreateOCIDriver () from /home/omni/library/libgfr_dboci.so
#12 0x4367bb2a in GDBdriverLoader::CreateDriver () from /home/omni/library/libgfr_dblayer.so
#13 0x436d423d in IGDBdriverMgr::GetDriverAndLogin () from /home/omni/library/libgfr_dblayer.so
#14 0x436d4da1 in IGDBdriverMgr::GetDriver () from /home/omni/library/libgfr_dblayer.so
#15 0x436a5071 in GDBserverDef::InitialLogin () from /home/omni/library/libgfr_dblayer.so
#16 0x433247cc in CcapAdbAccess::Init (this=0x9e85a88) at CcapAdbAccess.C:161
#17 0x43331c44 in CcapMain::Run (this=0x434eeb80, sdpId=2, processName=0x9dae29c "URE61_O2") at CcapMain.C:132
#18 0x080947d1 in ccap_thread (arg=0x0) at main.C:1588
#19 0x080e7bd2 in ThreadManager::WrapperRoutine (ipArg=0x9e84fc0) at ThreadManager.C:176
#20 0x0035f44a in start_thread () from /lib/libpthread.so.0
Timesten has some limitations and it says:
Describing objects with OCIDescribeAny() is supported only by name. Describing PL/SQL objects is not supported.
home/omni/library/libgfr_dblayer.so
Cloud you please tell us whit might be the reason for thisAre you able to provide exact details of the OCIDescribeAny call being made by the application (including parameter values)?
Chris -
Strange error in query executed via DBLink
Hi,
I am running below big query(existing code in my project) on a oracle database(DB1) schema which accesses data from tables located in a remote oracle database(DB2) schema.
But I am getting error:
ORA-00904: "CERMA"."EFFECTIVE_TO": invalid identifier
ORA-02063: preceding line from <DB_LINK_NAME>
The concerned table is present in remote database and simple "select * from" on the concerned table from DB1 is working properly but when used in below query it is giving the above error.
The system design is as follows:
DB2 - In this database ,Views are created in SCHEMA1 of this database which refer the underlying tables in SCHEMA2 of same database.
e.g. view name = clm_claims_basic_info_vw
DB1 - In this database , synonyms are created(with name same as underlying tables) to access the underlying table data via the views created in DB2.
e.g. synonym name = clm_claims_basic_info
DB1 - Query executed in this database which uses all the synonyms.
e.g.
select ..... from clm_claims_basic_info,clm_claim_scheme_dtl
Also this query was working fine few days back and now suddenly failing without any code-changes, but we don't know what else has changed.
Can you please suggest what could be the reason?
SELECT ccbi.claim_number claim_no, npm.policy_no policy_no,
cgm.group_no company_ref_no, cgm.NAME company_name
FROM clm_claims_basic_info ccbi,
nbs_policy_mst npm,
com_group_mst cgm,
com_product_mst cpm,
clm_member_dtl cmd,
clm_assessment ca,
clm_claim_scheme_dtl ccsd,
clm_plan_dtl cpd,
(SELECT mem_escal.member_escalation_type_vid,
mem_escal.member_max_escal_rate,
mem_escal.member_min_escal_rate,
mem_escal.member_escal_rate,
mem_escal.claim_basic_info_id,
mem_escal.member_esclation_basis_vid,
add_escal.additional_escalation_type_vid,
add_escal.additional_max_escal_rate,
add_escal.additional_min_escal_rate,
add_escal.additional_escal_rate,
add_escal.additional_esclation_basis_vid,
mem_escal.first_escal_dt, mem_escal.escal_dt
FROM (SELECT cerm.escalation_type_vid
member_escalation_type_vid,
cerm.max_escal_rate member_max_escal_rate,
cerm.min_escal_rate member_min_escal_rate,
cerm.escalation_rate member_escal_rate,
ccbi.claims_basic_info_id claim_basic_info_id,
cerm.escalation_basis_vid
member_esclation_basis_vid,
mi_claims_pkg.clm_get_escalation_date_fnc
(ccbi.claims_basic_info_id,
cpd.escal_applies_to_vid,
1,
cpd.escal_applies_to_day,
cpd.escal_applies_to_month_vid,
ccbi.event_dt,
ccbi.clm_acceptance_dt
) first_escal_dt,
NULL escal_dt
FROM clm_claims_basic_info ccbi,
clm_claim_scheme_dtl ccsd,
clm_plan_dtl cpd,
clm_escalation_dtl cede,
com_escalation_rate_mst cerm
WHERE ccbi.claims_basic_info_id =
ccsd.claim_basic_info_id
AND ccsd.plan_id = cpd.plan_id
AND cede.claim_basic_info_id(+) =
ccbi.claims_basic_info_id
AND cede.escal_dt IS NULL
AND cpd.is_escal_apply_id = 'Y'
AND ccbi.product_id = 4
AND cerm.product_id = ccbi.product_id
AND cerm.escalation_basis_vid =
cpd.escal_memben_rate_vid
AND ( ( ccbi.claim_status_vid = 2880
AND ccbi.event_dt
BETWEEN cerm.effective_from
AND NVL (cerm.effective_to,
TO_DATE ('31122999',
'DDMMYYYY'
OR ( ccbi.claim_status_vid != 2880
AND cede.first_escal_dt
BETWEEN cerm.effective_from
AND NVL (cerm.effective_to,
TO_DATE ('31122999',
'DDMMYYYY'
AND ( ( cpd.escal_memben_rate_vid = 2334
AND cpd.escal_memben_perc =
cerm.escalation_rate
OR ( cerm.escalation_type_vid IN
(3962, 3963, 4442)
AND cerm.escalation_value_by_vid = 4299
OR ( cpd.escal_memben_rate_vid != 2334
AND cerm.escalation_type_vid = 3961
OR (cerm.escalation_type_vid IS NULL)
AND ccbi.record_status = 'A'
AND cpd.record_status = 'A'
AND ccsd.record_status = 'A'
AND cede.record_status(+) = 'A'
AND cerm.record_status = 'A'
AND NOT EXISTS (
SELECT 'X'
FROM clm_escalation_dtl ced1
WHERE escal_dt IS NOT NULL
AND ccbi.claims_basic_info_id =
ced1.claim_basic_info_id
AND ced1.record_status = 'A')) mem_escal,
(SELECT cerma.escalation_type_vid
additional_escalation_type_vid,
cerma.max_escal_rate
additional_max_escal_rate,
cerma.min_escal_rate
additional_min_escal_rate,
cerma.escalation_rate additional_escal_rate,
ccbi.claims_basic_info_id claim_basic_info_id,
cerma.escalation_basis_vid
additional_esclation_basis_vid,
mi_claims_pkg.clm_get_escalation_date_fnc
(ccbi.claims_basic_info_id,
cpd.escal_applies_to_vid,
1,
cpd.escal_applies_to_day,
cpd.escal_applies_to_month_vid,
ccbi.event_dt,
ccbi.clm_acceptance_dt
) first_escal_dt,
NULL escal_dt
FROM clm_claims_basic_info ccbi,
clm_claim_scheme_dtl ccsd,
clm_plan_dtl cpd,
clm_escalation_dtl cede,
com_escalation_rate_mst cerma
WHERE ccbi.claims_basic_info_id =
ccsd.claim_basic_info_id
AND ccsd.plan_id = cpd.plan_id
AND cede.claim_basic_info_id(+) =
ccbi.claims_basic_info_id
AND cede.escal_dt IS NULL
AND cpd.is_escal_apply_id = 'Y'
AND ccbi.product_id = 4
AND cerma.product_id = ccbi.product_id
AND cerma.escalation_basis_vid =
cpd.escal_addben_rate_vid
AND ( ( ccbi.claim_status_vid = 2880
AND ccbi.event_dt
BETWEEN cerma.effective_from
AND NVL (cerma.effective_to,
TO_DATE ('31122999',
'DDMMYYYY'
OR ( ccbi.claim_status_vid != 2880
AND cede.first_escal_dt
BETWEEN cerma.effective_from
AND NVL (cerma.effective_to,
TO_DATE ('31122999',
'DDMMYYYY'
AND ( ( cpd.escal_addben_rate_vid = 2334
AND cpd.escal_addben_perc =
cerma.escalation_rate
OR ( cerma.escalation_type_vid IN
(3962, 3963, 4442)
AND cerma.escalation_value_by_vid = 4299
OR ( cpd.escal_addben_rate_vid != 2334
AND cerma.escalation_type_vid = 3961
OR (cerma.escalation_type_vid IS NULL)
AND ccbi.record_status = 'A'
AND cpd.record_status = 'A'
AND ccsd.record_status = 'A'
AND cede.record_status(+) = 'A'
AND cerma.record_status = 'A'
AND NOT EXISTS (
SELECT 'X'
FROM clm_escalation_dtl ced1
WHERE escal_dt IS NOT NULL
AND ccbi.claims_basic_info_id =
ced1.claim_basic_info_id
AND ced1.record_status = 'A')) add_escal
WHERE mem_escal.claim_basic_info_id = add_escal.claim_basic_info_id(+)
UNION ALL
SELECT cedo.member_escalation_type_vid
member_escalation_type_vid,
cedo.member_max_escal_rate member_max_escal_rate,
cedo.member_min_escal_rate member_min_escal_rate,
cedo.member_escal_rate member_escal_rate,
cedo.claim_basic_info_id claim_basic_info_id,
cedo.member_esclation_basis_vid
member_esclation_basis_vid,
cedo.additional_escalation_type_vid
additional_escalation_type_vid,
cedo.additional_max_escal_rate
additional_max_escal_rate,
cedo.additional_min_escal_rate
additional_min_escal_rate,
cedo.additional_escal_rate additional_escal_rate,
cedo.additional_esclation_basis_vid
additional_esclation_basis_vid,
cedo.first_escal_dt first_escal_dt,
cedo.escal_dt escal_dt
FROM clm_escalation_dtl cedo
WHERE (cedo.escal_dt, cedo.claim_basic_info_id) =
(SELECT MAX (cedi.escal_dt),
cedi.claim_basic_info_id
FROM clm_escalation_dtl cedi
WHERE cedi.escal_dt IS NOT NULL
AND cedi.escal_dt <= '24-OCT-2013'
AND cedi.claim_basic_info_id =
cedo.claim_basic_info_id
AND cedi.record_status =
'A'
GROUP BY cedi.claim_basic_info_id)
AND cedo.record_status = 'A') ced
WHERE ccbi.policy_id = npm.policy_id
AND ccbi.GROUP_ID = cgm.GROUP_ID
AND ccbi.product_id = cpm.product_id
AND ccbi.claims_basic_info_id = cmd.claims_basic_info_id(+)
AND ccbi.claims_basic_info_id = ca.claim_basic_info_id(+)
AND ccbi.claims_basic_info_id = ccsd.claim_basic_info_id(+)
AND ccsd.plan_id = cpd.plan_id(+)
AND ccbi.claims_basic_info_id = ced.claim_basic_info_id(+)
AND ccbi.record_status = 'A'
AND npm.record_status = 'A'
AND cgm.record_status = 'A'
AND cpm.record_status = 'A'
AND cmd.record_status(+) = 'A'
AND ca.record_status(+) = 'A'
AND cpd.record_status(+) = 'A'
And Ccsd.record_status(+) = 'A'
AND ccbi.claim_number = 'DAX001';I would assume this means that it can't find that column in that table.
Usually this is because the column isn't there, the table/view isn't there, or there's no select permissions to the table/view.
To try to narrow this down try:
SELECT CERMA.EFFECTIVE_TO FROM com_escalation_rate_mst cerma
SELECT CERMA.EFFECTIVE_TO FROM com_escalation_rate_mst@db2 cerma
If the synonym and view names are the same, try the first query in both databases or adjust as necessary.
It could also be a permissions issue, like maybe the schema the link uses to DB2 doesn't have select permissions to that view?
As far as to why it stopped working, I have no idea.
You can approach this from bottom up (start with the tables on DB2 and move up)
or top down (start with the synonyms on DB1 and move down)
That will give you an idea of where the issue lies. -
Hello,
I have to export three tables out of my database with a query. I started the export with following command (on a Windows testing machine).
exp.exe userid=ccq/xxx@KDG file=C:\download\export\NEW.dmp tables= qem_message, qem_messagestatlog, qw_text query=””"where qem_message.messagebody > 739409 AND qem_message.pkey = qem_messagestatlog.pkey AND qem_message.messagebody = qw_text.qwkey" log=C:\download\export\NEW.log
I have got the following error:
. . Export of the table QEM_MESSAGE
EXP-00056: ORACLE-error 904 found
ORA-00904: Unknown columnname
I think the problem is the query statement. All the columns are written right. Is there an error in the statement or is it impossible to execute such statement in an export?Hi,
you have to use export one time at a time with query parameter
consider
SQL> host type d:\query.txt
query="where emp.deptno = dept.deptno
and emp.sal > 1000
or dept.deptno = 40"
SQL> host exp scott/tiger file=d:\tt.dmp tables=(EMP,DEPT) PARFILE=d:\query.txt
Export: Release 10.1.0.2.0 - Production on Thu Feb 1 17:11:11 2007
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
tion
With the Partitioning, OLAP and Data Mining options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
. . exporting table EMP
EXP-00056: ORACLE error 904 encountered
ORA-00904: "DEPT"."DEPTNO": invalid identifier
. . exporting table DEPT
EXP-00056: ORACLE error 904 encountered
ORA-00904: "EMP"."SAL": invalid identifier
Export terminated successfully with warnings.
SQL>regards
Taj -
Problems with Query Panel with Table
Hi. I'm having a problems with this component in runtime. I'm using JDev 11.1.1.1 with ADFBC.
The query uses three optional parameters. When i put a value for the first and leave other blank and execute query, following error is produced:
03/11/2009 04:02:28 AM oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
GRAVE: Server Exception during PPR, #6
javax.el.ELException: java.lang.ClassCastException: oracle.jbo.common.ViewCriteriaImpl cannot be cast to oracle.jbo.ViewCriteriaRow
at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1282)
at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:115)
I couldn't find any reference about this. Please help....
ThanksFrank,
I am also getting the same error. The version I am using is 11g Release 1(11.1.1.2.0)
Here is what I did:
1. created a view criteria on a view object
2. all are optional
3. Dragged the view criteria as a query component (query panel with query table) on to the design layout
and the error when I clicked the Search button is:
javax.el.ELException: java.lang.ClassCastException: oracle.jbo.common.ViewCriteriaImpl cannot be cast to oracle.jbo.ViewCriteriaRow
at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1289)
at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:115)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
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:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at sni.foundation.facesextensions.filters.FoundationFilter.doFilter(FoundationFilter.java:92)
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.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
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)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
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:2202)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.ClassCastException: oracle.jbo.common.ViewCriteriaImpl cannot be cast to oracle.jbo.ViewCriteriaRow
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._clearFilterCriteriaRows(FacesCtrlSearchBinding.java:4549)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._addFilterCriteria(FacesCtrlSearchBinding.java:4603)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:423)
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 com.sun.el.parser.AstValue.invoke(AstValue.java:157)
Thanks
Venkatesh
Maybe you are looking for
-
How do I prevent a song from being added to iTunes from an iPhone?
Ok this is kind of a strange question. I recently bought a song from iTunes, but I don't want it in my library or on any of my devices anymore. I delete it from the library, however when I sync with my iPhone (which has the song on it for some reason
-
Why doesn't my MacBook Pro have iMessage?
I have a Macbook Pro and it doesn't have iMessage on it. ????? Why???
-
Problem in selecting the count
This the query which gives output as select substr(c.department_edesc,1,15)Department , substr(a.employee_code,1,8)Code, substr(b.employee_edesc,1,20)Name , SUBSTR(min(a.log_time),1,8) INTIEM, SUBSTR(max(a.log_time),1,8) OUTTIEM,
-
ITunes Store Will Not Open with Safari 4.0.4
When I attempt to access the iTunes store I get a message that says "iTunes requires Safari 4.0.3 or later to be installed to use the iTunes store within iTunes. Use software update to download and install the latest version of Safari." I am running
-
Unable to install flash installer
My memory is a little fuzzy on the series of events but I'm pretty sure this is what happened: Flash was working fine last week. Got a notification that I could update Flash so I did. Got an error during installation (was probably this one but can't