Auto scaling takes time to execute the rules
Hi,
I am using the windows azure application. In that I am using the scaling feature provided into the azure portal. Here, I have configured the rule to scale up my web role instance by 1 if CPU load increases up to certain limit. and the reverse rule that for
decrementing the role instance.
However, I tried to increase my system load. and checked the scaling feature. So, here I observed that the rules gets satisfied to auto scale the role instance by 1 but it took around 12-15 min to execute it.
NOTE: I have set the rule checking time duration to 5 min.
Please help me.
Thank you for your response.
But I guess this will not solve my problem. Let me elaborate my problem in detail.
I have a site hosted on azure environment. To make the site performance better we are doing some research out of that one attempt we did is the performance test. So in that we are increasing the load on our site to check how it works with heavy user load.
And we observed that when web roles CPU usage goes beyond 50% then we gets lower response from our site. So get the better performance we have used the scaling feature from azure portal. and configured the rule that if CPU usage goes beyond 50% then scale
up the web role instance. Here, we observed that when CPU usage goes beyond 50% at the same time scaling doesn't triggered and we got lower response from our site and then after 12-15 min scaling rules got executed and at that time CPU usage was around 70%
but the triggered in auto scaling was for the 50% condition. In short we are experiencing delay in executing rule. Please help.
Similar Messages
-
Error while executing the rule session
Hi, I am using Oracle Business Rules Engine 10.1.3.3.0.I am developing rules using XML Facts.I am using a complex type array schema and binding it to define XML facts.Earlier the depth of the schema is 1 and it worked fine,now our schema's depth is 2 and while binding this schema is also working fine.The sample structure of the present schema I am binding is
<xsd:schema>
<xsd:element name = 'ruleRepository' type = 'RuleRepositoryType'/>
<xsd:complexType name='RuleRepositoryType'>
<xsd:sequence>
<xsd:element ='ruleFacts' type='RuleFactsType' minOccurs='0' maxOccurs='unbounded'/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name='RuleFactsType'>
<xsd:sequence>
<xsd:element name='fact1' type='xsd:string'/>
<xsd:element name='fact2' type='xsd:string'/>
<xsd:element name='fact3' type='xsd:string'/>
<xsd:element name='fact4' type='Fact4' minOccurs='0' maxOccurs='unbounded'/>
<xsd:sequence/>
</xsd:complexType>
<xsd:complexType name='Fact4'>
<xsd:sequence>
<xsd:element name='element1' type='xsd:string'/>
<xsd:element name='element2' type='xsd:string'/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
Earlier I have binded the similar schema as above but without 'fact4'.It went well and the rules were executing fine.
However when I am trying to bind a similar schema like the above one, its binding fine but when executing from the BPEL Process,its giving errors like,
"Error Caching Decision Services metadata,fact3 is undefined in DM,line6,Column 12",
Please note that I am using fact1 and fact2 only for defining the rules , I am niether using fact3 which is a simple type nor fact4 which is a complex type.
I have asserted Package.RuleRepositoryType in the definitions of the rule author.I have tried with different combinations of assertions but no one worked.
The above error(
"Error Caching Decision Services metadata,fact3 is undefined in DM,line6,Column 12") is coming for the first run of the decision service only,in the next runs its giving another error,which is like
<2008-04-10 07:52:30,772> <ERROR> <default.collaxa.cube.services> <::> ORABPEL-36333
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::>
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> Error while executing the rule session.
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> The rule session {0} failed to execute.
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::>
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:251)
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
<2008-04-10 07:52:30,773> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateless(DecisionServiceImpl.java:546)
<2008-04-10 07:52:30,774> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.BookOrderDecisionSOAPBinding_Tie.invoke_assertExecuteWatchStateless(BookOrderDecisionSOAPBinding_Tie.java:162)
<2008-04-10 07:52:30,774> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.BookOrderDecisionSOAPBinding_Tie.processingHook(BookOrderDecisionSOAPBinding_Tie.java:457)
<2008-04-10 07:52:30,774> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
<2008-04-10 07:52:30,774> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
<2008-04-10 07:52:30,783> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
<2008-04-10 07:52:30,784> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
<2008-04-10 07:52:30,801> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at java.lang.Thread.run(Thread.java:595)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> Caused by: java.lang.NullPointerException
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.RuleSessionPool.getSession(RuleSessionPool.java:463)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:224)
<2008-04-10 07:52:30,802> <ERROR> <default.collaxa.cube.services> <::> ... 26 more
<2008-04-10 07:52:30,803> <ERROR> <oracle.bpel.services> <::>
java.lang.NullPointerException
at oracle.bpel.services.rules.rpi.oracle.RuleSessionPool.getSession(RuleSessionPool.java:463)
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:224)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateless(DecisionServiceImpl.java:546)
at oracle.bpel.services.rules.runtime.BookOrderDecisionSOAPBinding_Tie.invoke_assertExecuteWatchStateless(BookOrderDecisionSOAPBinding_Tie.java:162)
at oracle.bpel.services.rules.runtime.BookOrderDecisionSOAPBinding_Tie.processingHook(BookOrderDecisionSOAPBinding_Tie.java:457)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
08/04/10 07:52:30 pFaultMessage is org.collaxa.thirdparty.apache.wsif.base.WSIFDefaultMessage@6e0e5f name:operationErroredFault
08/04/10 07:52:30 QName string is operationErroredFault
where 'BookOrderDecision' is the name of the decision service I am using in BPEL.
I dont understand why I am getting two errors for the same BPEL Process.
Kindly help me in this problem.I am stuck with this for about a week but could not get to the solution.
Thanks in advance.
Regards,
Venkat.Hi Venkat,
Whenever you do schema changes, you need to go through the cycle of
re-importing the XML schema in the rule repository, re-create the decision
service partnerlink, re-deploy the decision service.
I suspect you have maybe imported the entire XML fact type model (with fact3 and
fact4) instead of just fact1 and fact2 (might want to check in rule author).
So even if you don't use fact3 and fact4 in decision service, they are part of the rules
datamodel.
Regards,
Ralf -
In using mail with my mackbook air with maverick, to open a message takes time as if the message is downloaded & its same every time I want to open the message from inbox.
WoW! I'm surprised by the speed you reply and how serious you are with your answers! Thank you very much guys!!!
Replying to Toad-Hall:
I have a proper mailing list created as the manual says. It's a small group of contacts that exist in the address book. I do not type them as CC I just write "clients" and before I finish the word the name of the list appears.
How can I stop Avast from scanning out going mail? It's the free version and I haven't found a real solution. I also tried to totally turn off the "mail shield" but I kept facing the same issues. However, I just turned it off and tried to send the mail, I didn't restart windows or thunderbird
The idea with ipage server was fantastic! It would never come to my mind!!! As far as I see, the limit is 250 mails per hour. I doubt if I have ever reached the 50% of it. I also don't reach the bandwith limits... Besides that, if I had exceeded the limit I would get multi responses that "mail was not delivered".
I want to thank you both for your excellent help so far. I'm sad to say that I still haven't solved the issue. When I made smaller lists, with the same addresses chosen from the address book I could send the messages, having a short delay. I would blame Avast but I tried the same on another laptop with my favourite NOD32 and had the same problem.
What else should I check? Should I focus on Avast? -
Difference between DB time OLAP time frontend time when execute the query
hi all,
can you any one explain the difference between DB time, OLAP time, frontend time when execute the queryEach BEx quey form a SQL query which is called query execution plan.
So,
DB Time is the time taken to read the record from data base by the SQL statement.
OLAP time is the time taken to process the calculations/formula involved.
Frontend Time is the time taken to present the output. For ex: while displaying the data in Bex analyser if your query involves a hierarchy, then the presentation time will be more. It also includes the time user taken to enter the query selection input. -
I am creating a jsp application . . . .I am retreiving some values from my database oracle 10g..my query taking time to execute even in isql plus..am uisng tomcat5 and oracle 10gR2..can anyone pls tell me why it happens...my query fetches data from four tables...i dont know exactly why its taking so muc time say 50seconds...when i run the application in my local host it retrievs fast when i do that in server it creates a problem..
Actually it works fine when i deployed in my client server it takes time sometimes it takes atmost one minute
1.pls tell me how can i test my query about the performance
2.is der any command in oracle to test
3.how much bytes it takesLook at this thread...
When your query takes too long ... -
FM SWW_WI_ADMIN_CANCEL takes time to execute
Hi All,
I have used FM SWW_WI_ADMIN_CANCEL in a report to logically delete workitems. When i execute the FM through SE37 it completes execution within seconds. However when i execute the report , time taken for execution of the FM is very high ( almost 3-4 minutes for a single workitem).
Please advise how this issue can be fixed.
Thanking you in anticipation,
ChinmayYou should post this in the workflow forum and not in this one. This one is for SRM related issues. You can find the workflow forum [here.|SAP Business Workflow;
Regarding your problem, I don't think it is a problem with the Fm but with the workflow. Search here on SDN for a document on upgrading from 4.6C to ECC for workflow. There are some actions which should be performed I think.
Regards,
Martin -
Auto Drag-and-Drop after execute the exteral program
I execute a program and provide the pathname.
The external program support Drag-and-Drop and also Open files by clicking Menu.
I have to open file after executing the program.
Is it possible to do that?>
What actually happens when you browse to a file of type 'TS video' (e.g. using Windows Explorer) and double click on it?>It* opens in VLC media player here, my default player for AVI's.
>
Does it open in the 'software that find the TV station information'?
If not, it probably means that filetype is not 'associated' with that program. If that is the case, it will not work using the Desktop class (as I understand the Desktop class).
What happens when you try to Desktop.browse(URI) to the video?>
>
[http://lmc4b5b.com/temp_stop/123322113213.avi] >
* this file..
>
It seems to be no response.....>That seemed odd, since Desktop.browse() throws a whole mess of exceptions if it cannot do what you ask for. This is the output I got here, for both browse() and open().
Exception in thread "main" java.io.IOException:
Failed to open file:/C:/.../123322113213.avi.
Error message: The parameter is incorrect.
at sun.awt.windows.WDesktopPeer.ShellExecute(WDesktopPeer.java:59)
at sun.awt.windows.WDesktopPeer.open(WDesktopPeer.java:36)
at java.awt.Desktop.open(Desktop.java:254)
...So - I was wrong in thinking any double clickable file would open in the correct program using Desktop. That is a pity.
On a side noted, related to exec().
Can you ..
a) launch the program from the command line?
b) launch the program form the command line, specifying a file to work with?
e.g.
C:>program path/to/the.avi
If so, why not simply add the file name as an argument to exec()? Or indeed (since I notice you are willing to use 1.6) swap the 'exec()' for ProcessBuilder - introduced in 1.5. -
Query takes time to execute. Review this query and give me a possible quere
SELECT DISTINCT A.REFERENCE_NUMBER
FROM A,B,C
WHERE DF_N_GET_CONTRACT_STATUS (A.REFERENCE_NUMBER, TRUNC (SYSDATE)) = 1
AND ( B.CHQ_RTN_INDICATOR IS NULL AND B.CHALLAN_NUMBER IS NULL
AND C.INSTRUMENT_TYPE IN (1, 2) AND C.MODULE_CODE = 5 )
AND ( A.HEADER_KEY = B.HEADER_KEY AND C.HEADER_KEY = B.HEADER_KEY);
This query takes 3 minutes to execute. I want to improve the performance so that it can execute with in seconds.
Table A has 10 lakhs record.
Table B has 3.7 lakhs record.
Table C has 5.3 lakhs record. Consider DF_N_GET_CONTRACT_STATUS as function. REFERENCE_NUMBER is the type of Varchar2(20).
Plz give me a correct logical and fastest execution query for the same.
Thanks in advance.I would agree with the post from Santosh above that you should review the guidelines for posting a tuning request. This is VERY important. It is impossile to come up with any useful suggestions without the proper information.
In the case of your query, I would probably focus my attention on the function that you have defined. What happens if the condition using the DF_N_GET_CONTRACT_STATUS function is removed? Does it still take 3 minutes?
SELECT reference_number
from (
SELECT DISTINCT A.REFERENCE_NUMBER
FROM A,B,C
WHERE ( B.CHQ_RTN_INDICATOR IS NULL AND B.CHALLAN_NUMBER IS NULL
AND C.INSTRUMENT_TYPE IN (1, 2) AND C.MODULE_CODE = 5 )
AND ( A.HEADER_KEY = B.HEADER_KEY AND C.HEADER_KEY = B.HEADER_KEY)
where DF_N_GET_CONTRACT_STATUS(reference_number, trunc(sysdate)) = 1;Of course, the query above really depends on the cardinality of the returned data..... which is impossible to know without following the posting guidelines. This query could return anywhere between 0 rows and 2x10^17 rows. And in the latter case evaluating the function at the end wouldn't make any difference.
Also, do you really need the distinct? Does it make any difference? Most of the time that I see distinct, to me it either means the query is wrong or the data model is wrong. -
Hi All,
We are facing one strange issue for one particular user id ( i.e for top management) ,when this user executes any of the report by in putting his own selection parameters say date 15.09.2009 and plant 1111 the output of the report is coming as 15.06.2009 to 19.06.2009 and the plant is also coming as 2222 instead of 1111.
I have checked it there are variants for this user id .
When i checked in the filters in portal it is showing for the cal day15.06.2009 to 19.06.2009,plant 2222,Materials Xyz,Keyfigures say Net amount only, nd more over its getting filtered onalso..... something there is a problem its taking automatic filter values.
What could be the issue does any one faced this kind of problem?
Pl help me out by providing your valuable inputs.
Rgds,
Rakeshclosed
-
Report is taking time to execute the following query
Hi All,
I have one query using in reports6i,which i am describing down,its taking half an hour to execute.
I need to tune the query,if any one could help or any suggestions...........highly appreciable.
SELECT +ALL_ROWS
DISTINCT sm.orgn_code,
sm.sample_no,
-- DECODE (sm.batch_id, NULL, 'Item/Locn', 'Production') AS sample_type,
NVL2(sm.batch_id, 'Production', 'Item/Locn') AS sample_type,
sm.date_drawn,
su.user_name AS drawn_by,
im.item_no,
lm.lot_no,
im.inv_type,
qt.test_code,
rm.user_name AS result_by,
rm.result_date,
qt.test_type,
qv.min_value_num,
qv.max_value_num,
DECODE(qt.test_type, 'N', TO_CHAR(qv.min_value_num) || ' - ' || TO_CHAR(qv.max_value_num), NULL) AS the_range,
DECODE(qt.test_type, 'N', TO_CHAR(qv.target_value_num), qv.target_value_char) AS the_spec,
DECODE(qt.test_type, 'N', TO_CHAR(rm.result_value_num), rm.result_value_char) AS the_result,
DECODE(qt.test_unit, 'N/A', NULL, qt.test_unit) AS qc_uom,
DECODE(sm.sample_disposition,
'0RT',
'RETAIN',
'1P',
'PENDING',
'2I',
'IN PROGRESS',
'3C',
'COMPLETE',
'4A',
'ACCEPT',
'5AV',
'ACCEPT WITH VARIANCE',
'6RJ',
'REJECT',
'7CN',
'CANCEL',
NULL) AS disposition
FROM gmd.gmd_samples sm,
-- gmd.gmd_results rm,
gmd.gmd_qc_tests_b qt,
gmd.gmd_specifications_b sp,
gmd.gmd_spec_tests_b qv,
gmi.ic_lots_mst lm,
apps.ic_item_mst im,
applsys.fnd_user su,
(SELECT gr.result_date,
gr.sample_id,
gr.test_id,
gr.result_value_num,
gr.result_value_char,
ru.user_name
FROM gmd_results gr,
applsys.fnd_user ru
WHERE (to_date(to_char(gr.result_date,'mm/dd/yyyy'),'mm/dd/yyyy') BETWEEN
to_date(to_char(:p_2_start_date,'mm/dd/yyyy'),'mm/dd/yyyy') AND
to_date(to_char(:p_3_end_date,'mm/dd/yyyy'),'mm/dd/yyyy'))
AND gr.result_date IS NOT NULL
AND ru.user_id = gr.last_updated_by) rm
WHERE 1 = 1 --rm.result_date IS NOT NULL
-- AND TO_DATE (TO_CHAR (rm.result_date, 'mm/dd/yyyy'), 'mm/dd/yyyy') >=TO_DATE (TO_CHAR (:p_2_start_date, 'mm/dd/yyyy'), 'mm/dd/yyyy')
-- AND TO_DATE (TO_CHAR (rm.result_date, 'mm/dd/yyyy'), 'mm/dd/yyyy') <=TO_DATE (TO_CHAR (:p_3_end_date, 'mm/dd/yyyy'), 'mm/dd/yyyy')
AND im.inv_type = NVL (UPPER (:p_inv_type), im.inv_type)
AND sm.orgn_code = UPPER (:p_1_orgn)
AND sm.item_id = lm.item_id --double
AND sm.lot_id = lm.lot_id
AND sm.item_id = lm.item_id --double
AND sm.item_id = im.item_id
AND sp.item_id = im.item_id
AND rm.sample_id = sm.sample_id
AND su.user_id = sm.sampler_id
-- AND ru.user_id = rm.last_updated_by
AND rm.test_id = qt.test_id
AND qt.test_id = qv.test_id
AND qv.spec_id = sp.spec_id
AND sp.spec_status = 700
AND qt.test_code LIKE NVL(:p_test, '%')
AND ( ( qt.test_type = 'N'
AND ( rm.result_value_num < qv.min_value_num
OR rm.result_value_num > qv.max_value_num))
OR ( qt.test_type <> 'N'
AND rm.result_value_char <> 'OK'
AND rm.result_value_char <> qv.target_value_char)
Thanks in AdvanceYou may want to consider demoralization views/tables or create indexes etc. to improve performance. Post it to
PL/SQL
to get more and quicker responses. -
FETCH is taking lot of time when executing the program
Hi,
A program is lot of time in production though code looks ok.
Only one select statement is there which fetches data from BKPF.
Cost of the statement is as below:
SELECT STATEMENT ( Estimated Costs = 51 , Estimated #Rows = 1 )
2 TABLE ACCESS BY INDEX ROWID BKPF
( Estim. Costs = 51 , Estim. #Rows = 1 )
Estim. CPU-Costs = 1,938,416 Estim. IO-Costs = 51
Filter Predicates
1 INDEX RANGE SCAN BKPF~Z1
( Estim. Costs = 51 , Estim. #Rows = 1 )
Search Columns: 4
Estim. CPU-Costs = 1,936,841 Estim. IO-Costs = 50
Access Predicates Filter Predicates
And in Se30 Execution time in Data base is 98.7% and Abap is 1.2%
When I checked the Trace I found that the 2,487,732 & 84720,805 secs is being taken in the FETCH stage.
27 BKPF REOPEN 0 SELECT WHERE "MANDT" = '600' AND "GJAHR" = 2003 AND "BUKRS" = '0301' AND "BLART" = 'ZA' AND "BUDAT" = 20030319 AND "STBLG" = ' '
2,487,732 BKPF FETCH 406 0
84,720,805 BKPF FETCH 377 1403
Can you please let me know what wrong in this? And what can I do to tune this fetch statement?
Regards,
PoojaHi,
so we can only use
(MANDT)?
BUKRS
BLART
as access predicates and
STBLG
as filter predicate.
BUDAT schould be part of the access predicates i think.
Watch out for an index where BUDAT can be used as access predicate....
Kind regards,
Hermann -
Query take more time to execute
Hi
I am using in sql select statement two non exist statements it is taken more time to execute the query ,non exist is any impact query performance
thank's[email protected] wrote:
I am using in sql select statement two non exist statements it is taken more time to execute the query ,non exist is any impact query performanceI have a query that is using even more time to execute. Do I win? -
Cancelling a dashboard report to execute still executes the query behind
All,
We have some reports thats takes time to execute like 3-4 minutes. My problem is if I cancel any report to execute, it still executes the query. I can see the query thru sessions under nqsserver.exe as ACTIVE.
Because of this user are thinking that they cancel the reports and move on to new one but oracle is still spending time to execute that query.
ThanksHello.
I have exactely the same need, can you please let us know how you solved your problem?
Thanks
Best Regards. -
Script Logic taking a lot of time to execute
Hi,
I have a script logic which does the currency translation
But it takes a lot of time to execute the same. can anyone suggest me to write a effective script logic to reduce the
performance .
I am using the input schedule that uses the script logic to execute with 6000 records.
below is the script logic
*LOOKUP RATE
*DIM R_ACCT=[ACCOUNT].RATETYPE
*DIM FX_LC1:R_CURRENCY ="LC1"
*DIM FX_LC2:R_CURRENCY ="LC2"
*DIM FX_LC3:R_CURRENCY ="LC3"
*DIM FX_LC4:R_CURRENCY ="LC4"
*DIM FX_LRC:R_CURRENCY ="LRC"
*DIM R_ENTITY =GLOBAL
*DIM SCENARIO =[SCENARIO]
*DIM TIME =[TIME]
*ENDLOOKUP
*WHEN ACCOUNT.RATETYPE
*IS "AVG","END"
//TRANSLATE
*WHEN CURRENCY
*IS LC1
*WHEN COMPANY.LC1
*IS <> "NUL"
*REC(FACTOR=LOOKUP(FX_LC1),CURRENCY=USD)
*REC(FACTOR=LOOKUP(FX_LC1)/LOOKUP(FX_LRC),CURRENCY=LRC)
*ENDWHEN
*IS LC2
*WHEN COMPANY.LC2
*IS <> "NUL"
*REC(FACTOR=LOOKUP(FX_LC2),CURRENCY=USD)
*REC(FACTOR=LOOKUP(FX_LC2)/LOOKUP(FX_LRC),CURRENCY=LRC)
*ENDWHEN
*IS LC3
*WHEN COMPANY.LC3
*IS <> "NUL"
*REC(FACTOR=LOOKUP(FX_LC3),CURRENCY=USD)
*REC(FACTOR=LOOKUP(FX_LC3)/LOOKUP(FX_LRC),CURRENCY=LRC)
*ENDWHEN
*IS LC4
*WHEN COMPANY.LC4
*IS <> "NUL"
*REC(FACTOR=LOOKUP(FX_LC4),CURRENCY=USD)
*REC(FACTOR=LOOKUP(FX_LC4)/LOOKUP(FX_LRC),CURRENCY=LRC)
*ENDWHEN
*IS LC_USD
*REC(FACTOR=1,CURRENCY=USD)
*REC(FACTOR=1/LOOKUP(FX_LRC),CURRENCY=LRC)
*ENDWHEN
*ENDWHEN
*COMMIT
Kindly help as soon as possbile
Edited by: Deepak_Hegde on Feb 2, 2012 4:58 PMWhy wouldn't you use standard functionality with *RUN_PROGRAM CURR_CONVERSION?
You'll have to call it multiple times since you want to translate into different currencies, but I think it will still be faster than this script. -
Applying p5665750_10131_GENERIC.zip doesnt solve the rules change problem
Hi,
Please suggest a solution to the below problem.
Initial problem : whenever user changed rules in rules repository(WebDAV repository) they are not getting reflected in the BPEL process which contains decision service.
Solution : redeploying the BPEL process or restarting SOA suite will affect BPEL process with the changes in rules repository.
But we need to solve the above problem without redeploying the BPEL process. For this we have been provided a patch (p5665750_10131_GENERIC.zip)
Installation of above patch
%soa_home%opmn\bin>Opmnctl stopall
Then I installed the patch.
And restart the SOA suite
%soa_home%opmn\bin>Opmnctl startall
Now when I am trying to access the application I am getting Promotion Status as null and the following is the stack trace of the error
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> ORABPEL-36334
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> Error while executing a rule session unit of work.
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> The rule session DuvalRules06:390024 failed to execute a unit of work.
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:497)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:245)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:231)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateful(DecisionServiceImpl.java:719)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.invoke_assertExecuteWatchStateful(NewDecisionServiceSOAPBinding_Tie.java:60)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.processingHook(NewDecisionServiceSOAPBinding_Tie.java:451)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
<2007-04-27 18:39:14,912> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at java.lang.Thread.run(Thread.java:595)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Caused by: oracle.rules.rl.exceptions.EngineException: Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.exceptions.ExceptionFactory.createEngineException(ExceptionFactory.java:797)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.handleJessException(Engine.java:3245)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.callFunction(Engine.java:382)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.RuleSession.callFunctionWithArgumentList(RuleSession.java:404)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.RuleSession.callFunctionWithArgument(RuleSession.java:328)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:368)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ... 28 more
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Caused by: Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.DefinstanceList.assertObject(DefinstanceList.java:564)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.Rete.assertObject(Rete.java:1554)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.AssertObject.call(ReflectFunctions.java:1554)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.FunctionHolder.call(FunctionHolder.java:30)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.Funcall.execute(Funcall.java:280)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.callFunction(Engine.java:360)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ... 31 more
<2007-04-27 18:39:14,928> <ERROR> <oracle.bpel.services> <::> Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.
oracle.rules.rl.exceptions.EngineException: Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.
at oracle.rules.rl.exceptions.ExceptionFactory.createEngineException(ExceptionFactory.java:797)
at oracle.rules.rl.engine.Engine.handleJessException(Engine.java:3245)
at oracle.rules.rl.engine.Engine.callFunction(Engine.java:382)
at oracle.rules.rl.RuleSession.callFunctionWithArgumentList(RuleSession.java:404)
at oracle.rules.rl.RuleSession.callFunctionWithArgument(RuleSession.java:328)
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:368)
at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:245)
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:231)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateful(DecisionServiceImpl.java:719)
at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.invoke_assertExecuteWatchStateful(NewDecisionServiceSOAPBinding_Tie.java:60)
at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.processingHook(NewDecisionServiceSOAPBinding_Tie.java:451)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.
at jess.DefinstanceList.assertObject(DefinstanceList.java:564)
at jess.Rete.assertObject(Rete.java:1554)
at jess.AssertObject.call(ReflectFunctions.java:1554)
at jess.FunctionHolder.call(FunctionHolder.java:30)
at jess.Funcall.execute(Funcall.java:280)
at oracle.rules.rl.engine.Engine.callFunction(Engine.java:360)
... 31 more
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ORABPEL-36333
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Error while executing the rule session.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> The rule session DuvalRules06:390024 failed to execute.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:263)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:231)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateful(DecisionServiceImpl.java:719)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.invoke_assertExecuteWatchStateful(NewDecisionServiceSOAPBinding_Tie.java:60)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.processingHook(NewDecisionServiceSOAPBinding_Tie.java:451)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at java.lang.Thread.run(Thread.java:595)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Caused by: ORABPEL-36334
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Error while executing a rule session unit of work.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> The rule session DuvalRules06:390024 failed to execute a unit of work.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::>
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:497)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:245)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ... 27 more
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Caused by: oracle.rules.rl.exceptions.EngineException: Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.exceptions.ExceptionFactory.createEngineException(ExceptionFactory.java:797)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.handleJessException(Engine.java:3245)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.callFunction(Engine.java:382)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.RuleSession.callFunctionWithArgumentList(RuleSession.java:404)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.RuleSession.callFunctionWithArgument(RuleSession.java:328)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:368)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ... 28 more
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Caused by: Jess reported an error in routine DefinstanceList.definstance
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> while executing (assert-object duvalCounty.StudentImpl@795486).
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> Message: Object is not instance of duvalCounty.StudentImpl.
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.DefinstanceList.assertObject(DefinstanceList.java:564)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.Rete.assertObject(Rete.java:1554)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.AssertObject.call(ReflectFunctions.java:1554)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.FunctionHolder.call(FunctionHolder.java:30)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at jess.Funcall.execute(Funcall.java:280)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> at oracle.rules.rl.engine.Engine.callFunction(Engine.java:360)
<2007-04-27 18:39:14,928> <ERROR> <default.collaxa.cube.services> <::> ... 31 more
<2007-04-27 18:39:14,928> <ERROR> <oracle.bpel.services> <::> Error while executing a rule session unit of work.
The rule session DuvalRules06:390024 failed to execute a unit of work.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
ORABPEL-36334
Error while executing a rule session unit of work.
The rule session DuvalRules06:390024 failed to execute a unit of work.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:497)
at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:245)
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.execute(OracleRuleSession.java:231)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1385)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.assertExecuteWatchStateful(DecisionServiceImpl.java:719)
at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.invoke_assertExecuteWatchStateful(NewDecisionServiceSOAPBinding_Tie.java:60)
at oracle.bpel.services.rules.runtime.NewDecisionServiceSOAPBinding_Tie.processingHook(NewDecisionServiceSOAPBinding_Tie.java:451)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.rules.rl.exceptions.EngineException: Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.
at oracle.rules.rl.exceptions.ExceptionFactory.createEngineException(ExceptionFactory.java:797)
at oracle.rules.rl.engine.Engine.handleJessException(Engine.java:3245)
at oracle.rules.rl.engine.Engine.callFunction(Engine.java:382)
at oracle.rules.rl.RuleSession.callFunctionWithArgumentList(RuleSession.java:404)
at oracle.rules.rl.RuleSession.callFunctionWithArgument(RuleSession.java:328)
at oracle.bpel.services.rules.rpi.oracle.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:368)
... 28 more
Caused by: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.
at jess.DefinstanceList.assertObject(DefinstanceList.java:564)
at jess.Rete.assertObject(Rete.java:1554)
at jess.AssertObject.call(ReflectFunctions.java:1554)
at jess.FunctionHolder.call(FunctionHolder.java:30)
at jess.Funcall.execute(Funcall.java:280)
at oracle.rules.rl.engine.Engine.callFunction(Engine.java:360)
... 31 more
07/04/27 18:39:14 pFaultMessage is [email protected]9 name:operationErroredFault
07/04/27 18:39:14 QName string is operationErroredFaultHi everybody,
Wondering if we could categorize a little bit so that we can put together some kind of tech-note. So far i have seen the following errors:
1. Something along
at line 3 column 1 in main
Caused by: FactClassException: fact class for 'loanoffer.LoanApplicationType' should be declared earlier in rule session
at line 3 column 1 in main
This one is usually caused by a RL function having above fact class as one
of its parameters. The workaround to avoid this is either use 'loanoffer.LoanApplication' as the parameter type or enable 'assertXPath' for the fact 'loanoffer.LoanApplicationType'.
2. Something like (see above)
<2007-04-27 18:39:14,928> <ERROR> <oracle.bpel.services> <::> Internal error: Function assert-object: error in call: Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
Message: Object is not instance of duvalCounty.StudentImpl.Jess reported an error in routine DefinstanceList.definstance
while executing (assert-object duvalCounty.StudentImpl@795486).
This usually indicates a classloader issue in the decision service itself and it can
happen if you put the fact class files into some directory which is in the classpath
of BPEL PM (like ?/bpel/system/classes)
I'm following up with "soruganti" on the second issue (the one originally posted)
and we'll post the outcome here.
Juan: Can you confirm that the issue you're seeing is one of above (1.) or (2.) ?
Any stack trace available ?
Nevertheless i'm sure it is somehow unrelated to patch p5665750.
Best Regards,
Ralf
Maybe you are looking for
-
PXI not showing up properly in MAX
Hey everyone, I'm new to setting up remote systems in MAX and I'm having some difficulty. I'm using all LabVIEW 2011 versions of software with FPGA and RT modules. I'll start by listing the hardware I am using: PXI-1042 Chassis PXI-8110 Embeeded Co
-
I have a 64GB iPad2 and selected to "Automatically fill free space with songs".... will it have to download that 60GB of music to my ipad everytime I sync? It took about 8 hours to sync the music to it. I did this last night at 10pm thinking it woul
-
Hi all, I created a new condition type for pricing, but the first test the systems added the new line but without any data and only for display. I deleted and created again, but this time I had the following error: Does not matter if I Create
-
Assigning user accounts on small network
We are setting up a business where people with "subscriptions" can come in and work, in a setup that has wireless. When the subscription runs out we want to disable their ability to access the network. Doing that through the router's key would be a
-
How to solve no service in the carrier
Anyone know how to solve 'no service' in the carrier? I never do jailbreak and encounter this problems frequently. I requested to get replacement of iphone4 and stil having the same problem. I gotta reset all setting frequently as well. Is the sim ca