Exceptions in Substep:Rules Error
Hi Friends,
I am new to this portal and I seek you guys help to resolve the below error its very urgent.
I have encountered an error while updating the data from PSA to Infocube i.e. Purchasing Data Cube 0PUR_C01 from the Data Source 2LIS_02_ITM in R3 extraction.
The Error is-
"Exceptions in Substep: Rules".
"Messages for 101 data records saved: request is RED according to configuration."
"Processing Terminated."
Data Package2: Errors during processing.
"RSDS 2LIS_02_ITM........."
:Error- Messages for 60 records saved:request is Red according to configuration."
Updating to Infocube 0PUR_C01
"Error while updating to target 0PUR_C01(type Infocube)"
"Messages for 41 data records saved:request is Red according to configuration."
"Processing Terminated".
The above in RED is the entire error.
When I explored the error message to see the long text then following was appeared---
" Run time error while executing rule-->see long text RSTRAN 301"
Diagnosis
An error occurred while executing a transformation rule: The exact error message is:
The argument 'X' can not be interpreted as a number.
The error was triggered at the following point in the program: GPCRTJMK2HFEFVHGT8LWAALN9K1 734
System Response
Processing the data record has been terminated.
Procedure
The following additional information is included in the higher-level node for the monitor:
- Transformation ID
- Data record number of the source record.
- Number and name of the rule which produced the error.
Procedure for System Administration.
Kindly anybody can help me out to resolve the above error and explain why this error occurred.
Thanks
Prasad
Hi Prasad,
This clearly says that error is in Routine in the transformation.
Can you check the any routines maintained in the transformation? The issue is that some logic is performed in the routine and exceptions are not handled in it properly.
Go to SE38 tcode and display program 'GPCRTJMK2HFEFVHGT8LWAALN9K1' and go to line 734. This should give you a hint of ABAP code which is not handled properly.
Let me know your findings and then we can have further look.
Thanks
Amit
Similar Messages
-
ERROR : "Exceptions in Substep: Rules" while loading data from DSO to CUBE
Hi All,
I have a scenario like this.
I was loading data from ODS to cube daily. everything was working fine till 2 days before. i added some characteristic fields in my cube while i didn't do any change in my key figures. now i started reloading of data from ODS to cubes. i got the following error "Exceptions in Substep: Rules" after some package of data loaded successfully.
I deleted the added fields from the infocube and then i tried toreload data again but i am facing the same error again "Exceptions in Substep: Rules".
Can any one tell me how to come out from this situation ?
Regards,
Komik ShahDear,
Check some related SDN posts:
zDSo Loading Problem
Re: Regarding Data load in cube
Re: Regarding Data load in cube
Re: Error : Exceptions in Substep: Rules
Regards,
Syed Hussain. -
Error in data upload : "Exceptions in Substep: Rules"
Hi friends,
Data is loaded upto PSA but from PSA to cube it shows "Exceptions in Substep: Rules" when i runs DTP. and it shows following abap code.
cube : zsd_c03
No of records : 10
data source: 2LIS_12_VCITM
========
if l_rc ne 0 and l_t006flag = ruom_c_t006_mode-t006_iobj. " conversion_not_found
uom_iobj( exporting i_objvers = i_objvers
i_uomnm = i_uomnm
i_input_value = i_input_value
i_unit_in = IS_UOM_val-unit_in
i_unit_out = IS_UOM_val-unit_out
is_uom_val = ls_uom_val
is_uom_prop = is_uom_prop
ir_msg = ir_msg
importing es_output = es_output
changing cs_buffer = cs_buffer ).
endif.
if l_rc ne 0.
Keine Mengenumrechnung möglich
message e065(rsuom) into l_dummy_msg.
->>>> raise exception type cx_rs_msg exporting msgid = sy-msgid msgno = sy-msgno msgty = sy-msgty msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4.
endif.
========
points will be assigned for the ans.
suyashHi Experts
I have received the error message at the step
RSDS Y_VIC_SAP_PRIM_CNTR_GRP ZISSCOM -> IOBJ YECTNRTPM
Error: Exceptions in Substep: Transformation Start
When i clicked on the red exclamation mark. i was taken into the following code. is this start routine and do we have any problem in this?
METHOD get_object_ref.
DATA:
l_cx_root TYPE REF TO cx_root,
l_seconds TYPE i,
lr_exe TYPE REF TO object,
ls_tranid TYPE ty_s_tranid,
lr_model TYPE REF TO cl_rstran_model,
l_uid TYPE rssguid25,
l_prog_class TYPE rssg_progclass,
l_progname TYPE sy-repid.
READ TABLE gt_r_tranid INTO ls_tranid
WITH KEY tranid = i_tranid.
IF sy-subrc <> 0.
TRY.
CALL METHOD cl_rstran_model=>factory
EXPORTING
i_tranid = i_tranid
i_with_cto_check = rs_c_false
i_with_authority = rs_c_false
RECEIVING
r_r_model = lr_model.
CATCH cx_rstran_exception INTO l_cx_root.
RAISE EXCEPTION TYPE cx_rs_error
EXPORTING
previous = l_cx_root.
ENDTRY.
IF rs_c_false = lr_model->check_expert( ).
l_prog_class = gc_tran_progclas.
ELSE.
l_prog_class = gc_tran_progclas_expert.
ENDIF.
*-- Get program_UID for TRANID
CALL METHOD lr_model->get_progid
IMPORTING
e_progid = l_uid.
CALL FUNCTION 'RSS_PROGRAM_GET_NAME'
EXPORTING
i_uni_idc25 = l_uid
i_program_class = l_prog_class
IMPORTING
e_program_name = l_progname
EXCEPTIONS
invalid_unique_id = 1
invalid_program_class = 2
template_not_found = 3
OTHERS = 4.
IF sy-subrc <> 0.
DATA: l_r_exception TYPE REF TO cx_rs_failed,
l_r_root TYPE REF TO cx_root.
CALL FUNCTION 'RS_SYMESSAGE_TO_EXCEPTION'
EXPORTING
i_exception = 'CX_RS_FAILED'
IMPORTING
e_r_exception = l_r_root.
l_r_exception ?= l_r_root.
RAISE EXCEPTION l_r_exception.
ENDIF.
l_seconds = 120.
CALL FUNCTION 'RSS_PROGRAM_GENERATE'
EXPORTING
i_uni_idc25 = l_uid
i_program_class = l_prog_class
I_CLIENT =
I_PROGRAM_TITLE =
I_MAX_GENSTATUS = '00'
I_TIMESTAMP =
I_FORCE_GENERATION = RSSG_C_FALSE
I_DEBUG_LEVEL =
I_NO_SYNTAX_CHECK = RSSG_C_FALSE
I_NO_PRETTY_PRINTER = RSSG_C_FALSE
i_db_commit = rssg_c_true
i_seconds_to_wait = l_seconds
I_NO_RDIR_CHECK = RSSG_C_FALSE
I_BUFFERED = RSSG_C_FALSE
i_use_metaclass = rssg_c_true
I_GENFLAG =
I_WITH_HEADER_COMMENT = RSSG_C_FALSE
I_PROGRAM_NAME =
I_FORCE_RELOAD = RSSG_C_FALSE
I_SCOPE = '2'
IMPORTING
E_PROGRAM_NAME =
E_PROGRAM_GENERATED =
E_ERROR_LINE =
E_ERROR_MESSAGE =
E_CLSNAME =
E_TEMPLATE =
EXCEPTIONS
invalid_program_class = 1
invalid_unique_id = 2
generation_error = 3
template_not_found = 4
template_syntax_error = 5
program_syntax_error = 6
foreign_lock = 7
system_failure = 8
internal_error = 9
load_program_invalid = 10.
IF sy-subrc <> 0.
RAISE EXCEPTION TYPE cx_rs_error.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM get_runtime_ref IN PROGRAM (l_progname)
CHANGING lr_exe.
*-- Get ref to local runtime class
ls_tranid-tranid = i_tranid.
ls_tranid-ref = lr_exe.
APPEND ls_tranid TO gt_r_tranid.
ENDIF.
r_ref_runtime = ls_tranid-ref.
ENDMETHOD. -
Can't load data to cubes - same error for all DTPs "exception in substep write to fact table"
Hi Experts,
This initial DTP error is:
Data package processing terminated Message no. RSBK229
Error while updating to target <cubename> (type INFOCUBE) Message no. RSBK241
If I drill down to the specific package in the process monitor the error is: "exception in substep write to fact table" .
No more details for why the error is being generated.
SAP BW 307 service pack 8.
I have run the debugger without success, an ABAPer also ran debug mode to get more details on the error without success
We checked teh termination point and the ABAP stack
No error stack is available
No short dumps
I have reactivated the DTP
The data looks fine
The server crashed the day before the DTPs started to fail
One cube is standard content and the other is a Z version of the same cube.
Please let me know if anyone has resolved this issue before and what steps were necessary.Hello Russell,
We have got the similar situation and we later found that it was a data issue only.
We tried to enable the error stack, but as the data issue was due to a lookup which is bringing the invalid data, its not captured in the error stack and throwing short dump with the message u mentioned.
so my suggestion, just put a break point if there are any lookups and check the data in internal tables if everything is as expected.
Hope this helps.
Thanks,
Venkata Naresh -
Exceptions in Substep: Write Data Package
Hi All,
Has anyone encountered this error message in BI7? We just recently applied SP12 and it solved an ABAP dump (SAPSQL_ARRAY_INSERT_DUPREC) we were seeing while trying to load an ODS. However, I'm now seeing a new error message while loading:
Exceptions in Substep: Write Data Package
We have some custom ABAP in an End Routine that is doing some additional processing while loading extractor 2LIS_13_VDKON.
All of this code is working perfectly as a Start Routine in our BW 3.x system, but in BI7, we first had the above SQL error and now this data package error. It appears that it executes the transformation, rules and end routine successfully, (everything is green in the DTS Monitor) but while trying to insert the data into the ODS, it errors out.
I don't know how or what to debug -- I can't even get an Error Stack. Does anyone have any insight or recommendations?
Thanks,
-MelHi Mel,
1. on which Database is your BI system running.
2. Debugging a DTP is possible:
Open the DTP, choose Execute
Processing mode (Serially in the Dialog Process ... for Debugging
a) start a simulation request directly from the DTP-Monitor of the erroneous request
b) Selections (including source requests) are copied from the original request
c) Selections can be changed in a UI similar to the DTP filter
d) Selections can be stored as variants for later use (e.g. in a different support level)
e) Temporary storages and breakpoints can be switched on and off
--> you can set the Breakpoints
--> you can choose "Expertenmodus" (modus for experts), here you can choose the request ID ...
I hope this helps,
Michael
SAP NetWeaver RIG -
Duplicate Facts found : Business Rule Error
Hi ,
I am trying to invoke the bunisess rules in loop, that means it has call the business rules decision service several times,
from BPEL, In BPEL it loops correctly and first time it gives proper results , when looping second time I am getting
the following error, I am not getting proper clue anywhere for this, plz chck this and let me know the solution for this
asap. Thank you very much in advance.
**ERROR**
/xmlns.oracle.com/CheckXXX_BPEL/DecisionService_CheckXXX_PL">Error while executing a rule session unit of work, duplicate facts found.
The rule session CheckXXX_BPEL:270012 failed because duplicate fact objects of the fact po.rules.BRSXXXValidation exists, cant identify which one to take.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
</ns0:errorMessage>
</ns0:errorInfo>
</part></operationErroredFault>Hi
Please note that you create rules using some facts . Those rules gets executed whenever it encounters those facts, intern they create more facts. These new facts generated as a result of executing the first rules, can be used in next rule and so on.... So, rules create facts, and those facts will willl fire new rules.
The issue you have is due to having duplicate facts created and the rule not coded properly.
You may refer : C.6 How Do I Correctly Use an RL Language Cross Product? in http://download.oracle.com/docs/cd/B31017_01/web.1013/b28965/faq.htm
Hope this helps!
Cheers
Anirudh Pucha -
SOA Suite Business Rules: Error caching the Decision Services metadata
hi ofm users
im currentntly trying
SOA Suite 11.1.1.1.0
on Oracle XE
on Windows XP Pro
what im trying is a simple use case of business rule component,
my service is getWorkStatusByDay, that i implement using
business rules component using decision table.
my rule model is (conceptually):
Day{
String id;
String code;//mon,tue,wed,...,sat,sun
WorkStatus{
String id;
String code;//holiday, work
WorkStatus getWorkStatusByDay(Day):
is rule service that decides WorkStatus code by Day code,
eg:
if Day.code=mon,tue,wed,...,fri then we got WorkStatus.code=work
if Day.code=sat,sun then we got WorkStatus.code=holiday
i've successfully created the composite project, using
rule component, mediator, and exposed it as a webservice
compiled and deployed ok.
but when i try to run the service using soapUI WS tester,
i'm getting error in the console, see stacktrace below.
im able to reproduce the error by deploying the project
to another computer with a same spec as above.
So is there any solution to this ? how to fix this issue,
as this is a very basic sample scenario.
Any information will be appreciated,
as im looking forward to evaluating Oracle Business for a client project :)
[2010-08-11T14:07:14.593+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> Error caching the Decision Services metadata.[[
Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
ORABPEL-36109
Error caching the Decision Services metadata.
Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:359)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.rules.rl.exceptions.ParseException: encountered 'rule' when expecting one of:
<XML_IDENTIFIER> ...<IDENTIFIER> ...
at line 10 column 49 in main
at oracle.rules.rl.exceptions.ExceptionFactory.createParseException(ExceptionFactory.java:577)
at oracle.rules.rl.analyze.RulesetParser.generateParseException(RulesetParser.java:25)
at oracle.rules.rl.parse.RLParser.jj_consume_token(RLParser.java:5430)
at oracle.rules.rl.parse.RLParser.Symbol(RLParser.java:697)
at oracle.rules.rl.parse.RLParser.Qname(RLParser.java:672)
at oracle.rules.rl.parse.RLParser.ClassName(RLParser.java:795)
at oracle.rules.rl.parse.RLParser.Type(RLParser.java:729)
at oracle.rules.rl.parse.RLParser.Parameter(RLParser.java:886)
at oracle.rules.rl.parse.RLParser.Parameters(RLParser.java:860)
at oracle.rules.rl.parse.RLParser.Function(RLParser.java:1005)
[2010-08-11T14:07:14.718+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> [[
oracle.fabric.common.BusinessFaultException
at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:359)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
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)
-----hi ofm users
im currentntly trying
SOA Suite 11.1.1.1.0
on Oracle XE
on Windows XP Pro
what im trying is a simple use case of business rule component,
my service is getWorkStatusByDay, that i implement using
business rules component using decision table.
my rule model is (conceptually):
Day{
String id;
String code;//mon,tue,wed,...,sat,sun
WorkStatus{
String id;
String code;//holiday, work
WorkStatus getWorkStatusByDay(Day):
is rule service that decides WorkStatus code by Day code,
eg:
if Day.code=mon,tue,wed,...,fri then we got WorkStatus.code=work
if Day.code=sat,sun then we got WorkStatus.code=holiday
i've successfully created the composite project, using
rule component, mediator, and exposed it as a webservice
compiled and deployed ok.
but when i try to run the service using soapUI WS tester,
i'm getting error in the console, see stacktrace below.
im able to reproduce the error by deploying the project
to another computer with a same spec as above.
So is there any solution to this ? how to fix this issue,
as this is a very basic sample scenario.
Any information will be appreciated,
as im looking forward to evaluating Oracle Business for a client project :)
[2010-08-11T14:07:14.593+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> Error caching the Decision Services metadata.[[
Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
ORABPEL-36109
Error caching the Decision Services metadata.
Error caching the decision services metadata for path default/TestRule!1.0*91126208-425e-4d35-bca3-d2585ec941ea/mapWorkStatusByDay.
Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:359)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.rules.rl.exceptions.ParseException: encountered 'rule' when expecting one of:
<XML_IDENTIFIER> ...<IDENTIFIER> ...
at line 10 column 49 in main
at oracle.rules.rl.exceptions.ExceptionFactory.createParseException(ExceptionFactory.java:577)
at oracle.rules.rl.analyze.RulesetParser.generateParseException(RulesetParser.java:25)
at oracle.rules.rl.parse.RLParser.jj_consume_token(RLParser.java:5430)
at oracle.rules.rl.parse.RLParser.Symbol(RLParser.java:697)
at oracle.rules.rl.parse.RLParser.Qname(RLParser.java:672)
at oracle.rules.rl.parse.RLParser.ClassName(RLParser.java:795)
at oracle.rules.rl.parse.RLParser.Type(RLParser.java:729)
at oracle.rules.rl.parse.RLParser.Parameter(RLParser.java:886)
at oracle.rules.rl.parse.RLParser.Parameters(RLParser.java:860)
at oracle.rules.rl.parse.RLParser.Function(RLParser.java:1005)
[2010-08-11T14:07:14.718+07:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IdVyLm30nnWFLzmJOA1CO^J500000D,0] [WEBSERVICE_PORT.name: getWorkStatusByDayPT_pt] [APP: soa-infra] [composite_name: TestRule] [component_name: mapWorkStatusByDay] [component_instance_id: c984b23f-0370-478b-99e1-83b651e2e35c] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: getWorkStatusByDay] [J2EE_APP.name: soa-infra] [composite_instance_id: 40001] <.> [[
oracle.fabric.common.BusinessFaultException
at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:359)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:1164)
at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:570)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:144)
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)
----- -
SAP BPC 7.5 NW business rules error
Hi,
I am facing business rules error in BPC 7.5 NW SP 01 client. When i click on any business rules for ex- carry forward rules to fill in the information, it's giving error like " Application has genarated an exception that could not be handled" Process id = 10x104c (4172) Thread id = 0x1170
No recent changes happend in the servers. Any suggestions plz.Hi,
I am facing business rules error in BPC 7.5 NW SP 01 client. When i click on any business rules for ex- carry forward rules to fill in the information, it's giving error like " Application has genarated an exception that could not be handled" Process id = 10x104c (4172) Thread id = 0x1170
No recent changes happend in the servers. Any suggestions plz. -
11g SOA Composite Rules Error - Rule session pool object does not exist
Hi all,
I'm hoping someone has experienced this and found a way through it. We're looking at exposing Oracle Rules DecisionFunctions via the automagically created web services in JDeveloper. We've tried several Rules examples, including the OrderApproval one available online, and are getting errors everytime we try and test the web service.
Firstly we get this error:
[2010-09-01T09:47:24.249+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ45P0FwI5yrDCiW1CV7Dc000AwY,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 04c3bc86-9452-4755-9bbf-51591f1c7fff] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002aae] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130022] <.> Error caching the Decision Services metadata.[[
Error caching the decision services metadata for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1.
Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
Error caching the Decision Services metadata.
Error caching the decision services metadata for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1.
Check the underlying exception and correct the error. This is most likely due to a rule modeling isssue. Validate the rule dictionary in rule designer and fix any errors and warnings. If the error persists, contact Oracle Support Services.
at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:362)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:221)
at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:609)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy248.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NullPointerException
at oracle.rules.sdk2.datamodel.DecisionFunction.getGlobalTypeIDs(DecisionFunction.java:860)
at oracle.rules.sdk2.datamodel.DecisionFunction.validate(DecisionFunction.java:342)
at oracle.rules.sdk2.dictionary.DictionaryComponentTable.validate(DictionaryComponentTable.java:221)
at oracle.rules.sdk2.datamodel.DataModel.validate(DataModel.java:92)
at oracle.rules.sdk2.dictionary.RuleDictionary.validate(RuleDictionary.java:1093)
at oracle.rules.sdk2.dictionary.RuleDictionary.update(RuleDictionary.java:835)
at oracle.rules.sdk2.datamodel.DataModel.generateFactClasses(DataModel.java:115)
at oracle.rules.sdk2.dictionary.RuleDictionary.dataModelRL(RuleDictionary.java:1398)
at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1141)
... 44 more
And then we get the following error:
[2010-09-01T09:47:24.390+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ45P0FwI5yrDCiW1CV7Dc000AwY,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 04c3bc86-9452-4755-9bbf-51591f1c7fff] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002aae] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130022] <.> [[
oracle.fabric.common.BusinessFaultException
at oracle.bpel.services.rules.impl.DecisionServiceCache.cacheDecisionServiceMetadata(DecisionServiceCache.java:1211)
at oracle.bpel.services.rules.impl.DecisionServiceCache.prepare(DecisionServiceCache.java:362)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.preProcess(DecisionServiceImpl.java:221)
at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:609)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy248.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
And lastly this one:
[2010-09-01T09:47:30.437+10:00] [soa_server1] [ERROR] [] [oracle.soa.services.rules] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IfAZ5iO0FwI5yrDCiW1CV7Dc000Awd,0] [WEBSERVICE_PORT.name: IDecisionService_pt] [APP: soa-infra] [composite_name: CR] [component_name: OracleRules1] [component_instance_id: 08f3eaa8-ce61-4ec9-a646-af821be06420] [J2EE_MODULE.name: fabric] [dcid: 761c1dbb0eb1dbdc:-33082b47:12ac627683f:-7ffd-0000000000002ab0] [WEBSERVICE.name: OracleRules1_DecisionService_1_ep] [J2EE_APP.name: soa-infra] [composite_instance_id: 130023] <.> Rule session pool object does not exist.[[
The requested rule session pool object for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1 and key OracleRulesSDK$OracleRules1 does not exist.
Check the underlying exception and correct the error. This is most likely due to a rules validation error. Validate the rule dictionary in Rule Designer and correct the validation error. If the error persists, contact Oracle Support Services.
Rule session pool object does not exist.
The requested rule session pool object for path default/CR!1.0*soa_f8581f86-106e-4f47-825f-89148db6663b/OracleRules1 and key OracleRulesSDK$OracleRules1 does not exist.
Check the underlying exception and correct the error. This is most likely due to a rules validation error. Validate the rule dictionary in Rule Designer and correct the validation error. If the error persists, contact Oracle Support Services.
at oracle.bpel.services.rules.rpi.oracle.RuleSessionPool.getSession(RuleSessionPool.java:528)
at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.execute(OracleRuleSession.java:260)
at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:331)
at oracle.bpel.services.rules.fabric.BusinessRulesServiceEngine.request(BusinessRulesServiceEngine.java:634)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
at sun.reflect.GeneratedMethodAccessor1197.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy248.request(Unknown Source)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1169)
at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:768)
at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1168)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:562)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:185)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:477)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Has anyone had any luck actually getting this to work? If so, how? It simply seems like this particular aspect of the product is broken!
Your help would be VERY much appreciated!
Regards,
RhianHi SR,
Thanks for your response. I attempted what you've suggested (1=1 - asset new fact in output), however nothing has changed.
This is occurring across several Composite Rules projects, including the Oracle provided Chapter 5 Order Approval example. Unless someone can suggest a solution to this issues, it looks like we're going to have to shelf our plans to utilize the Business Rules component via the composite service.
Very frustrating couple of days, that's for sure! :{
Regards,
Rhian -
Is there an exception to the rule "vlans cannot be created or modified" in client mode in vtp
Is there an exception to the rule "vlans cannot be created or modified" in client mode in vtp
Vipul,
Not sure what your interviewer was expecting as an answer. But yes your understanding is perfectly correct that you cannot create/modify/delete the vlans from client mode as it would through you the error saying: " VTP vlan configuration ont allowed when the device is in CLIENT mode.".
The only difference I can think of: As a _user_ in VTP client mode you have restrictions on_what you can do_ (create,delete,modify) to the vlan.dat file whereas in Server mode you(the user) have none of those restrictions. But from the _switches'_ own perspective it doesn't make the distinction between the two modes. In other words the switch is not aware of the mode the other switches are in.
A switch would not advertise to another switch like "hey I am a client/server" but will advertise "hey this is my revision number" and the other switch will then compare to it's own. The one with the highest revision number will be the one who gets the privelege to 'sync' its vlan.dat to the other switch.
HTH -
Dear Guru's,
I am not able to solve the above issue for last couple of days.
I am newbie to the webservice
My Issue...
I am using Jdeveloper 11.1.2.4.0 Release 2
1. Using Jdev I built one small Web Service with two methods.
While testing the Webservice...
I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
2. I created another application to consume the web service i created.
1. I added the webservice SOAP and added the method.
2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
3. While executing the created jsf page I received the error message as below
"oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
Can anybody help to solve this issue.
Thanks and Regards,
Durai S EDear Guru's,
I am not able to solve the above issue for last couple of days.
I am newbie to the webservice
My Issue...
I am using Jdeveloper 11.1.2.4.0 Release 2
1. Using Jdev I built one small Web Service with two methods.
While testing the Webservice...
I passed User Id as Parameter and it successfully return the values (user id, user name and description) from fnd_user table
2. I created another application to consume the web service i created.
1. I added the webservice SOAP and added the method.
2. Created a jsf page and drag and drop the parameter and return values to the jsf page.
3. While executing the created jsf page I received the error message as below
"oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25058. Error message parameters are {0=Attribute, 1=UserName, 2=UserName}"
Even I know that this issue is repeated one in our forum, I was not able to solve this issue.
Can anybody help to solve this issue.
Thanks and Regards,
Durai S E -
MS SQL server is going down frequently(10 days of gap) with exception message: "A severe error occurred
on the current command. The results, if any, should be discarded". We are facing this issue for past two month.But funny thing is server will be up automatically with out any service restart manually. Also if we try to restart the SQL
server service manually then SQL server will be in a dead lock situation and it will not come up even if we wait for long time. Then we should do a windows server machine restart to
make the SQL sever up. As a suggestion from Microsoft to fix this kind of similar issue,
we have installed service pack 3 for SQL Server. But even after we are facing same issue.
Server Details:
Server OS: Windows Server 2008 R2
Two type of database servers are installed on server:
1. MS SQL Server 2008 R2
2. My SQL
Also Reporting server is configured for the purpose of generating SSRS report from a dot net website.
NOTE:Immediately after the data retrieval/save, we are closing the connection explicitly by the
application.
we have checked the windows event log and below are the details:
Log Name: Application
Source: ASP.NET 4.0.30319.0
Application information:
Application domain: /LM/W3SVC/5/ROOT-1-130718142067856406
Trust level: Full
Application Virtual Path: /
Application Path: E:\WebSpaceFolder\ACSQuiK\Production\
Machine name: DBSERVER
Process information:
Process ID: 148
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: SqlException
Exception message: A severe error occurred on the current command. The results, if any, should be discarded.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
Log Name: Application
Source: Report Server Windows Service (MSSQLSERVER)
Description:
Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Report Server Windows Service (MSSQLSERVER)" />
<EventID Qualifiers="0">107</EventID>
Could anybody can suggest any kind of fix for this issue? Thanks in advance.Hi YesYemPee,
I have tried but still not clear about your issue, I would like you provide more details information about your issue based on below points to better analysis about the issue:
What action did you do and caused the error "A severe error occurred on the current command. The results, if any, should be discarded", did you run report on the web application or something else then the error happen?
If you rendering the report and got the error, please try to provide us more error information in the log files which path like:
C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
If it is not the case in step1, Please try to provide SQL Server Error log(SQL Server Logs) and more details information.
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
I have adobe photoshop CS6 and I am trying to use the analysis tools but all of them except for the ruler tool are unavailable. Am I missing certain plug ins?
Which operating system?
If I recall, some features were not fully supported on XP.
Nancy O. -
Problem accessing exception object in jsp error page - Apache Tomcat 5.0.25
Hi all,
I'm thoroughly confused and need some help. I've deployed a very simple web application in Apache Tomcat 5.0.25 to test exception handling - errortest.jsp and error.jsp. errortest.jsp throws a divide by zero exception if executed with default values in text fields.
When I put the directive IsErrorPage="true" in error.jsp i get a HTTP 500 error when error.jsp is accessed. If I remove it error.jsp is displayed but I cant access the exception object - if I try to I get an exception below:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 5 in the jsp file: /error.jsp
Generated servlet error:
[javac] Compiling 1 source file
E:\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\mywebapp\org\apache\jsp\error_jsp.java:46: cannot resolve symbol
symbol : variable exception
location: class org.apache.jsp.error_jsp
out.print(exception.getMessage());
^
1 error
Below is the code for the two jsp pages:
errortest.jsp:
<%@ page errorPage="error.jsp" %>
<html>
<head><title>Error test</title></head>
<body>
<form action="errortest.jsp" method="post">
Enter first number:<input type="text" name="first" value="5"/><br>
Enter second number:<input type="text" name="second" value="0"/><br>
<input type="submit"/>
</form>
<%
if (request.getMethod().equals("POST")) {
int first = Integer.parseInt( request.getParameter( "first" ) );
int second = Integer.parseInt( request.getParameter( "second" ) );
int answer = first/second;
%>
</body>
</html>
NB: I am able to catch and display the exception if I use a try/catch block around the division as shown below.
try {
int answer = first/second;
} catch( Exception e) {
e.printStackTrace( new PrintWriter(out) );
error.jsp (first draft)
NB: HTTP 500 error occurs when directive "isErrorPage" is added:
<%@ page isErrorPage="true" %>
<html>
<head><title>Error Page</title></head>
<body>
</body>
</html>
error.jsp (second draft)
NB: directive is removed but exception thrown when implicit exception object is accessed. error.jsp displays if exception object is not accessed:
<%@ page %>
<html>
<head><title>Error Page</title></head>
<body>
<%=exception.getMessage()%>
</body>
</html>
Web server specs:
Apache Tomcat 5.0.25
Machine specs:
Windows XP Pro
Java environments:
j2sdk1.4.2_03
J2EE 1.4This works for me:
throwError.jsp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ page language="java" errorPage="/error.jsp"
contentType="text/html; charset=utf-8" %>
<html>
<head>
<title>Throw Exception</title>
</head>
<body>
Throwing exception....
<%
// throw ArithmeticException
int badInt = 12/0;
%>
</body>
</html>
error.jsp
<%@ page language="java" isErrorPage="true" %>
<head><title>Doh!</title></head>
An Error has occurred in this application.
<% if (exception != null) { %>
<pre><% exception.printStackTrace(new java.io.PrintWriter(out)); %></pre>
<% } else { %>
Please check your log files for further information.
<% } %> -
Program Compiles, but Exception in thread "main" error is thrown
Hello everybody,
I am getting the following error when I try to run my program. It compiles fine, but a Exception in thread "main" error is given when I try to run the program. This is the full error:
Exception in thread "main" java.lang.Error: Do not use KonnectHelpdeskFrame.add(
) use KonnectHelpdeskFrame.getContentPane().add() instead
at javax.swing.JFrame.createRootPaneException(JFrame.java:446)
at javax.swing.JFrame.addImpl(JFrame.java:472)
at java.awt.Container.add(Container.java:298)
at KonnectHelpdesk.main(KonnectHelpdesk.java:15)
Press any key to continue . . .The code that I beleive contributes to the error is below. I'm not sure what is causing the problem, so any help will be greatly appreciated. Thanks.
class VoiceMailEntryDialog extends JDialog
public VoiceMailEntryDialog(JFrame owner)
super(owner, "New Voicemail Entry", true);
Container contentPane = getContentPane();
GridBagLayout layout = new GridBagLayout();
contentPane.setLayout(layout);
JLabel numberLabel = new JLabel("Phone Number: ");
JLabel dayCalledLabel = new JLabel("Day Customer Called: ");
JLabel timeCalledLabel = new JLabel("Time Customer Called: ");
JLabel firstNameLabel = new JLabel("First Name: ");
JLabel lastNameLabel = new JLabel("Last Name: ");
JLabel messageLabel = new JLabel("Message: ");
JTextField phoneNumber = new JTextField(20);
JTextField firstName = new JTextField(20);
JTextField lastName = new JTextField(30);
JTextArea message = new JTextArea(8, 30);
message.setLineWrap(true);
message.setBorder(BorderFactory.createEtchedBorder());
JComboBox dayCalled = new JComboBox(new String[]
"Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday", "Monday"
JComboBox timeCalled = new JComboBox(new String[]
"9:30am - 9:59am", "10:00am - 10:59am", "11:00am - 11:59am", "12:00pm - 12:59pm",
"1:00pm - 1:59pm", "2:00pm - 2:59pm", "3:00pm - 3:59pm", "4:00pm - 4:59pm",
"5:00pm - 5:59pm", "6:00pm - 6:59pm", "7:00pm - 7:59pm", "8:00pm - 8:59pm",
"9:00pm - 9:59pm", "10:00pm - 9:29am"
ActionListener noMsgListener = new NoMessageChecked();
JCheckBox noMessageCheckbox = new JCheckBox("Left no message");
noMessageCheckbox.addActionListener(noMsgListener);
JButton ok = new JButton("OK");
ok.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent evt)
setVisible(false);
JButton cancel = new JButton("Cancel");
cancel.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent evt)
setVisible(false);
GridBagConstraints constraints = new GridBagConstraints();
constraints.fill = GridBagConstraints.NONE;
constraints.anchor = GridBagConstraints.EAST;
constraints.weightx = 0;
constraints.weighty = 0;
add(numberLabel, constraints, 0, 0, 1, 1);
add(dayCalledLabel, constraints, 0, 2, 1, 1);
add(timeCalledLabel, constraints, 0, 4, 1, 1);
setSize(400, 700);
public void add(Component c, GridBagConstraints constraints, int x, int y, int w, int h)
constraints.gridx = x;
constraints.gridy = y;
constraints.gridwidth = w;
constraints.gridheight = h;
getContentPane().add(c, constraints);
private class NoMessageChecked implements ActionListener
public void actionPerformed(ActionEvent event)
}atmguy,
Thanks. It turns out the the line that was causing the problem was in the error message. I guess it helps to pay attention. You are correct in what the line says and changing it made the program run, but caused some other minor problems that I'll work out later. Thanks again for you help.
jerryrika
Maybe you are looking for
-
Post Author: scott123 CA Forum: General I want to take the information in a simple excel table and recreate it 3 times, each time sorting/grouping on a different columnHere is the tableAnd here is the report that I'm trying to generate (first sorted
-
Managed servers dies regularly
Hello, we have two managed servers on two different machines (not running in a cluster) and both of them die regularly, i.e. they simply stop. There is nothing in the log files at all that hints at any problems. Both managed servers are started via n
-
Can i adjust the length each slide plays in keynote
can i adjust the length each slide plays in keynote. im trying to make a keraoke style slideshow with lyrics, and music. can i adjust the length of each slide.
-
Currently using the nightly 39.0a2 (2015-04-07) and my active tab styles are gone. I have no idea which tab is the currently opened one. I have tried with two different themes and same issue on both. Now tab mix plus offers active tab style but they
-
How come most people think it's an isolated Alu iMac issues?
My old PC couldn't do what I needed it to do anymore so I desperately needed a new computer for my project. I was going to go Apple's London store and move a new Alu iMac home immediately, but before I did that I came to this forum ... And that's how