Exception Msg = -1
Hi -
The following statement compiles perfectly and intellisense showa all the objects properly but in run time we get an exception:
Code - wdThis.wdGetCCreateCustController().wdGetContext().currentGp_Detl_008AElement().setForm_Code("008");
Exception - msgMgr.reportException(ex.getLocalizedMessage(), false);
Output shows:
-1
Help please
Thanks
Shahid
Hi Fellows -
No body has answered this yet. May be I have not provided enuogh details:
An action item in our guided procedure through CO calls WD form this works fine we see a form. The form has a submit method which executes the following code:
public void onActionSubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionSubmit(ServerEvent)
IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
String uniqueKey = null;
String returnMsg = null;
String message = "One";
try {
message = "two";
//wdThis.wdGetCCreateCustController().wdGetContext().currentGp_Detl_008AElement().setForm_Code("008");
String proj_num = wdContext.currentProjectInfoElement().getProjectNumber();
message = wdContext.currentProjectInfoElement().getProjectNumber();
wdThis.wdGetCCreateCustController().wdGetContext().currentGp_Detl_008AElement().setProj_Num(message);
message = "three";
wdThis.wdGetCCreateCustController().callZ_Gp_Save_008_Input();
wdThis.wdGetCCreateCustController().callBapi_Commit();
returnMsg = wdThis.wdGetCCreateCustController().wdGetContext().currentOutputElement().getReturn();
if (returnMsg != null) {
uniqueKey = wdThis.wdGetCCreateCustController().wdGetContext().currentOutputElement().getUnique_Key();
wdThis.wdGetCCreateInterfaceController().wdGetContext().currentContextElement().setUniqueKey(uniqueKey);
wdThis.wdGetCCreateInterfaceController().complete();
} catch (Exception ex) {
msgMgr.reportException(ex.getLocalizedMessage(), false);
msgMgr.reportSuccess(message);
//@@end
When we submit the form the exception shows -1 and our message shows[Proj_num] that means execution fails before this line
message = "three";
Any help or if you can guide us how to debug from GP into WD we are on SP10 all the bedug documents show the debugging in SP12.
Thanks
Shahid
Similar Messages
-
Dear Experts,
I am Having a commercial Item : 5047645, we have a production plant ZXX and distribution plant ZYY, when i execute the MD04 for this particular item with plant ZXX - production plant i am not getting any exception message 82, but when i am executing the same with the distribution plant i am getting the exeception messaage 82.. please let me know the reason for it.
And the exception message says Item is blocked - whether it means the item is blocked for procurement, how and where to check in these case, and can we remove this exception messgaes from MD04.
Kindly suggest.
Thanks & Regards,
SampathSampath,
If you received an MRP message, it means the item is blocked for MRP. It could also be blocked for other functions.
This is controlled by the "Plant-sp Mat'l status" in the Material Master (MRP1). Use MM02, remove any status code here, or substitute another code of your choice, one that allows MRP.
Best Regards,
DB49 -
Get parent JFrame for displaying exception msg
I have a problem.
Lots of my application components are classes that extends JPanel
In these classes lot's of different exception could be raised.
Some of them I want[b] to show to user (invalid input, no DB connection error e.t.c.)
I make may GUI with help of GUI-builder + I write own classes As I said. Then I initialize them on my form in code.
How can I reach parent form and send message to user?
Is there any common method like:
getParentForm.showMessageDialog(String mesage);
Did I explain my problem clearly...?No, FAQ - is pretty useless thing.
I suggest this one idea:
see visualization:
http://foto.mail.ru/mail/ice_holod/114/s-494.jpg
no read my idea. I hope you will undestand me.
Excuse me for offtopic.
I suggest to develop "wisdom master.
This master will give user solution for his problem.
It will look like interactive dialog.
For example, I have a question: �I want to put JComboBox into JTable�.
I open �wisdom master�
There I see list of topics:
1.SWING/AWT
Database
Java language basics
I choose �SWING�.
2.The I see lest of SWING components, which were discussed million times:
JFrame
JTable
JComboBox
e.t.c.
I choose �JTable�.
3.Then I see list of ready solutions divided into categories:
Embed something (embed checkboxes, comboboxes e.t.c.)
Control data in JTable (add/delete row)
e.t.c.
I choose �Embed something�
4.Then I see description and links to several threads:
Embed combobox (several links to most valuable threads)
Embed checkbox (several links to most valuable threads)
e.t.c.
BUT!
If I would choose JComboBox instead of JTable on step #2 anyway I will get JComboBox + JTable solutions through master.
See this chain: SWING->JComboBox (I did not choose JTable)->Embed somewhere->Embed into JTable
Of course, such �wisdom master� will not help starters. Sometimes they even can�t understand what they need and what to search (I am a starter and sometimes I do not know what exactly to read, and where to search�)
But, I think such service will help users which familiar with Java technology. The y will not have to read �search results� and million topics.
The way to solution will be shorter.
The MAIN PROBLEMS are
1. Separate food solutions and useful threads
2. Develop categories. We do not have to create many categories, user can lost in these categories, we can�t reduce their quantity. We have to find gold middle.
3. Develop good graph (graph branches = search chains). Categories=nodes of Graph -
How to identify correct action to aleviate all 62 exception msg?
Hi experts,
I would like to ask, when I try to run MRP (MD02) system generated planned order will always has an error message "62: Scheduling: Master data inconsistent".
How to aleviate all 62 exception messages that appearing on plant xxxx materials.
I did checked on the routing data, and I am very sure that the routing is there and is valid. When I go into the planned order (display mode), I can see that the planned order has selected a routing (under the Detailed Scheduling window).
I really have no idea why system telling me my master data is incorrect.
Can anyone give me a hand?
Many thanks.
Regards,Hi
Answer is pure assumption
Pls check the OSS note - Note 88505 - Planned order upload generates exception message 62
Pls take opinion from SAP / Basis team, if you want to implement the note
Regards
Madhan -
Exception message during planned order creation
I am coming across a situation wherein am creating a planned order for Semi-fininsh good, but the problem is that am getting an exception msg "15" against the planned order created whihc states that "Reschedule out". Can somebody tell me the significance of this message, when am reviewing the overview tree for that order am not seeing any message for the downlevel components. Expecting a positive response.
Regards,
J K TharwaniHi Jitendra
Logic behin EM 15
It means to postpone the operation i.e. reschedule out the process if the receipts lies before my requirement.
Rescheduling horizon is also linked to it. Check in OPPQ
It defines the period for bringing the reciepts inwards i.e. prepone the receipts which are required to be considered for rescheduling.
If your receipts come before your requirements system will give this EM 15.
Opposite to above is EM 10 i.e. if receipts lie after your requirements
Go the dates of your planned orders and compare it with your receipt date. U will get idea
Rgds
Edited by: Vicky Khabrani on Mar 5, 2008 7:38 AM -
RE: GR Processing Time not showing in MD04 and Exception List
Hi,
Just a quick question on GR Processing Time.
A sales order has been raised and delievery day is for lets say 05/04/2010. MRP runs and it creates a planned order to be finished on the 05/04/2010 but it should finish on 04/04/2010 and as I have a GR time for 1 days.
All data is correct but it doesn't seem to give an exception message saying reschedule in for the 04/04/2010 based on the GR Lead time build in material master.
Regards
Adeel SarwarDear ,
Please note that while you are Carrying out MRP in MD02 you might have selected scheduling indicator -2 which triggered Lead times Scheduling based on the sales Order Delievery date , Scheduling Margin Key Timings , GR Processing Time with an infinite capacity (MRP system does not carry out any Capacity Avalibility check where as does it does Scheduling for Planned Order considering infitinte capacity in WCs) .As the system calcualtes the Planned order Deleivery date based on those parametrs with in the planning and re-scheduling horzon , so result is not exceptional from MRP scheduling ponit of view .
Now if you re-schedule the order as per your delivery requirement date , you will get the exeception messgae as applicable in MD04.
Otherwise , please check in SPRO-Material Requirement Planning ---Evalution -Exception Msg -Select Key U1-MSG 10-Double click on that -Check wether the "No Exception Msg " is ticked .Remove the same .
Regards
JH -
Hi,
Is it possible to define multiple error-pages for exceptions such that some of them process specific exceptions and one processes the all others;
<error-page>
<exception-type>MyException</exception-type>
<location>/MyExceptionHandler</location>
</error-page>
<error-page>
<exception-type>java.sql.SQLException</exception-type>
<location>/SQLExceptionHandler</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/DefaultExceptionHandler</location>
</error-page>
All the locations map to servlets/jsps, MyException derives from java.lang.Exception.
Is such a configuration possible? If yes what am I doing wrong?
Thanks.Hi Priyanka
B2B operates in two modes for default internal queue communication - AQ and JMS. This is controlled in the Admin/Configuration page "use JMS queues" checkbox.
In AQ, the queue to which the exception message is delivered would be IP_IN_QUEUE
In JMS the queue to which the exception message is delivered would be B2B_IN_QUEUE. Since you speak about reading error message from the JMS queue directly, am thinking this would be the one of interest to you.
In addition to the above we can create custom JMS internal delivery queue and this can be associated to the Exception Queue which can be assigned in the Admin/Configuration page.
With regards to reading the exception msg specific to the trading partner from the JMS Queue directly, this can be done by adding a check on the dequeue process. Each exception message is populated with From_Party and To_Party information. In the outbound delivery case, the exception message should have To_Party set as the partner's name. This can be checked.
Hope that helps.
Regards
Arun -
ESB Invokation failed "exception on JaxRpc invoke: received empty response"
I have a async bpel-process invoking an esb-routing-service whicht routes to an db-adapter-service for executing a select statement running about 2 minutes.
Sometimes this invoke of the esb-service failes with this fault:
<fault>
<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
<part name="summary">
<summary>exception on JaxRpc invoke: received empty response</summary>
</part>
</remoteFault>
</fault>If i look inside the esb-console the instance completes successfully.
Then i look at the logfile /opt/oracle/soa/as_1/j2ee/home/log/home_default_group_1/oc4j/log.xml and see this errormessages:
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-02-07T15:30:40.118+01:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE DS-00181</MSG_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>QRZ1275.kabeldeutschland.de</HOST_ID>
<HOST_NWADDR>10.32.7.156</HOST_NWADDR>
<MODULE_ID>datasource</MODULE_ID>
<THREAD_ID>42</THREAD_ID>
<USER_ID>soa</USER_ID>
<SUPPL_ATTRS>
<ATTR NAME="J2EE_MODULE.name">provider-war</ATTR>
<ATTR NAME="J2EE_APP.name">esb-rt</ATTR>
<ATTR NAME="WEBSERVICE_PORT.name">__soap_RSreadServiceOrderIDsWithChangedStatus_RSreadServiceOrderIDsWithChangedStatus</ATTR>
<ATTR NAME="WEBSERVICE.name">ESB_RSreadServiceOrderIDsWithChangedStatus_Service</ATTR>
</SUPPL_ATTRS>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.32.7.156:63112:1202394509070:3176</UNIQUE_ID><SEQ>5</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Commit failed.</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-02-07T15:30:40.118+01:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE DS-00190</MSG_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>QRZ1275.kabeldeutschland.de</HOST_ID>
<HOST_NWADDR>10.32.7.156</HOST_NWADDR>
<MODULE_ID>datasource</MODULE_ID>
<THREAD_ID>42</THREAD_ID>
<USER_ID>soa</USER_ID>
<SUPPL_ATTRS>
<ATTR NAME="J2EE_MODULE.name">provider-war</ATTR>
<ATTR NAME="J2EE_APP.name">esb-rt</ATTR>
<ATTR NAME="WEBSERVICE_PORT.name">__soap_RSreadServiceOrderIDsWithChangedStatus_RSreadServiceOrderIDsWithChangedStatus</ATTR>
<ATTR NAME="WEBSERVICE.name">ESB_RSreadServiceOrderIDsWithChangedStatus_Service</ATTR>
</SUPPL_ATTRS>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.32.7.156:63112:1202394509070:3176</UNIQUE_ID><SEQ>5</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Setting auto commit on the connection failed. Exception: 'java.sql.SQLException: Closed Connection'</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-02-07T15:30:40.119+01:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE JTA-00901</MSG_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>QRZ1275.kabeldeutschland.de</HOST_ID>
<HOST_NWADDR>10.32.7.156</HOST_NWADDR>
<MODULE_ID>transaction</MODULE_ID>
<THREAD_ID>42</THREAD_ID>
<USER_ID>soa</USER_ID>
<SUPPL_ATTRS>
<ATTR NAME="J2EE_MODULE.name">provider-war</ATTR>
<ATTR NAME="J2EE_APP.name">esb-rt</ATTR>
<ATTR NAME="WEBSERVICE_PORT.name">__soap_RSreadServiceOrderIDsWithChangedStatus_RSreadServiceOrderIDsWithChangedStatus</ATTR>
<ATTR NAME="WEBSERVICE.name">ESB_RSreadServiceOrderIDsWithChangedStatus_Service</ATTR>
</SUPPL_ATTRS>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.32.7.156:63112:1202394509070:3176</UNIQUE_ID><SEQ>5</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Coordinator caught XAException thrown from resource during Action: ACTION_COMMIT. Exception Msg: javax.transaction.xa.XAException: Commit failed. - Error Code: XA_RBROLLBACK - Branch: [oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740, Branch Id 40.d6.ea.48.00.00.00.00.00.00.00.00.00.00.00.00), oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, state={PREPARED}, exception error code=] - Thread: HTTPThreadGroup-66 . This XAException may be expected during recovery) </MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-02-07T15:30:40.121+01:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE JTA-99999</MSG_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>QRZ1275.kabeldeutschland.de</HOST_ID>
<HOST_NWADDR>10.32.7.156</HOST_NWADDR>
<MODULE_ID>transaction</MODULE_ID>
<THREAD_ID>42</THREAD_ID>
<USER_ID>soa</USER_ID>
<SUPPL_ATTRS>
<ATTR NAME="J2EE_MODULE.name">provider-war</ATTR>
<ATTR NAME="J2EE_APP.name">esb-rt</ATTR>
<ATTR NAME="WEBSERVICE_PORT.name">__soap_RSreadServiceOrderIDsWithChangedStatus_RSreadServiceOrderIDsWithChangedStatus</ATTR>
<ATTR NAME="WEBSERVICE.name">ESB_RSreadServiceOrderIDsWithChangedStatus_Service</ATTR>
</SUPPL_ATTRS>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.32.7.156:63112:1202394509070:3176</UNIQUE_ID><SEQ>5</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>ProtocolError : Branch [oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740, Branch Id 40.d6.ea.48.00.00.00.00.00.00.00.00.00.00.00.00), oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, state={PREPARED}, exception error code=] in transaction Global Transaction Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740), type=esb-rt, state=COMMITTING, time in completion or recovering=16)
[oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740, Branch Id 40.d6.ea.48.00.00.00.00.00.00.00.00.00.00.00.00), oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, state={PREPARED}, exception error code=],
[oracle.oc4j.sql.xa.EmulatedXAResource@1eb09a1, Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740, Branch Id 40.d6.ea.48.00.00.00.00.00.00.00.00.00.00.00.01), oracle.oc4j.sql.xa.EmulatedXAResource@1eb09a1, state={PREPARED}, exception error code=]
} returned RB* during commit.</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-02-07T15:30:40.122+01:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE JTA-00113</MSG_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>QRZ1275.kabeldeutschland.de</HOST_ID>
<HOST_NWADDR>10.32.7.156</HOST_NWADDR>
<MODULE_ID>transaction</MODULE_ID>
<THREAD_ID>42</THREAD_ID>
<USER_ID>soa</USER_ID>
<SUPPL_ATTRS>
<ATTR NAME="J2EE_MODULE.name">provider-war</ATTR>
<ATTR NAME="J2EE_APP.name">esb-rt</ATTR>
<ATTR NAME="WEBSERVICE_PORT.name">__soap_RSreadServiceOrderIDsWithChangedStatus_RSreadServiceOrderIDsWithChangedStatus</ATTR>
<ATTR NAME="WEBSERVICE.name">ESB_RSreadServiceOrderIDsWithChangedStatus_Service</ATTR>
</SUPPL_ATTRS>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.32.7.156:63112:1202394509070:3176</UNIQUE_ID><SEQ>5</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Could not reconstruct transaction from store after protocol error: oracle.as.j2ee.transaction.tpc.Store$StoreException: Can not recover transaction as logging is not enabled in transaction-manager.xml xid : Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740)
xid : Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740)</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-02-07T15:30:40.124+01:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>QRZ1275.kabeldeutschland.de</HOST_ID>
<HOST_NWADDR>10.32.7.156</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.soap</MODULE_ID>
<THREAD_ID>42</THREAD_ID>
<USER_ID>soa</USER_ID>
<SUPPL_ATTRS>
<ATTR NAME="J2EE_MODULE.name">provider-war</ATTR>
<ATTR NAME="J2EE_APP.name">esb-rt</ATTR>
<ATTR NAME="WEBSERVICE_PORT.name">__soap_RSreadServiceOrderIDsWithChangedStatus_RSreadServiceOrderIDsWithChangedStatus</ATTR>
<ATTR NAME="WEBSERVICE.name">ESB_RSreadServiceOrderIDsWithChangedStatus_Service</ATTR>
</SUPPL_ATTRS>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.32.7.156:63112:1202394509070:3176</UNIQUE_ID><SEQ>5</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Error constructing SOAPFault</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.as.j2ee.transaction.tpc.ProtocolErrorWithNotification: Branch [oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740, Branch Id 40.d6.ea.48.00.00.00.00.00.00.00.00.00.00.00.00), oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, state={PREPARED}, exception error code=] in transaction Global Transaction Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740), type=esb-rt, state=COMMITTING, time in completion or recovering=16)
[oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740, Branch Id 40.d6.ea.48.00.00.00.00.00.00.00.00.00.00.00.00), oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, state={PREPARED}, exception error code=],
[oracle.oc4j.sql.xa.EmulatedXAResource@1eb09a1, Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740, Branch Id 40.d6.ea.48.00.00.00.00.00.00.00.00.00.00.00.01), oracle.oc4j.sql.xa.EmulatedXAResource@1eb09a1, state={PREPARED}, exception error code=]
} returned RB* during commit.
at oracle.as.j2ee.transaction.tpc.Coordinator$Action.processRB(Coordinator.java:1133)
at oracle.as.j2ee.transaction.tpc.Coordinator$Action.interpretException(Coordinator.java:1090)
at oracle.as.j2ee.transaction.tpc.Coordinator$Action.processException(Coordinator.java:1049)
at oracle.as.j2ee.transaction.tpc.Coordinator$Action.act(Coordinator.java:1013)
at oracle.as.j2ee.transaction.tpc.Coordinator.doAction(Coordinator.java:687)
at oracle.as.j2ee.transaction.tpc.Coordinator.actOnEligibleBranch(Coordinator.java:676)
at oracle.as.j2ee.transaction.tpc.Coordinator.actOnEligibleBranchForDoCommit(Coordinator.java:533)
at oracle.as.j2ee.transaction.tpc.Coordinator.doCommit(Coordinator.java:520)
at oracle.as.j2ee.transaction.tpc.Coordinator.doResolve(Coordinator.java:317)
at oracle.as.j2ee.transaction.tpc.Coordinator.resolve(Coordinator.java:104)
at oracle.as.j2ee.transaction.tpc.TwoPhaseCommitEngine.commit(TwoPhaseCommitEngine.java:111)
at com.evermind.server.ApplicationServerTransaction.twoPhaseCommit(ApplicationServerTransaction.java:780)
at com.evermind.server.ApplicationServerTransaction.commitBasedOnResourceCount(ApplicationServerTransaction.java:609)
at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:279)
at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
at oracle.tip.esb.server.common.JTAHelper.commitTransaction(JTAHelper.java:148)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1473)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:333)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvider.java:200)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
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 com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:370)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvider.java:200)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
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 com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.as.j2ee.transaction.tpc.ProtocolErrorWithNotification: Branch [oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740, Branch Id 40.d6.ea.48.00.00.00.00.00.00.00.00.00.00.00.00), oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, state={PREPARED}, exception error code=] in transaction Global Transaction Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740), type=esb-rt, state=COMMITTING, time in completion or recovering=16)
[oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740, Branch Id 40.d6.ea.48.00.00.00.00.00.00.00.00.00.00.00.00), oracle.oc4j.sql.xa.EmulatedXAResource@1034dd5, state={PREPARED}, exception error code=],
[oracle.oc4j.sql.xa.EmulatedXAResource@1eb09a1, Xid( Global Id df.c8.fe.d9.ff.ff.ff.ff.a4.28.8c.f3.17.01.00.00.fe.28.00.00.00.00.00.00, Format Id 1330790740, Branch Id 40.d6.ea.48.00.00.00.00.00.00.00.00.00.00.00.01), oracle.oc4j.sql.xa.EmulatedXAResource@1eb09a1, state={PREPARED}, exception error code=]
} returned RB* during commit.
at oracle.as.j2ee.transaction.tpc.Coordinator$Action.processRB(Coordinator.java:1133)
at oracle.as.j2ee.transaction.tpc.Coordinator$Action.interpretException(Coordinator.java:1090)
at oracle.as.j2ee.transaction.tpc.Coordinator$Action.processException(Coordinator.java:1049)
at oracle.as.j2ee.transaction.tpc.Coordinator$Action.act(Coordinator.java:1013)
at oracle.as.j2ee.transaction.tpc.Coordinator.doAction(Coordinator.java:687)
at oracle.as.j2ee.transaction.tpc.Coordinator.actOnEligibleBranch(Coordinator.java:676)
at oracle.as.j2ee.transaction.tpc.Coordinator.actOnEligibleBranchForDoCommit(Coordinator.java:533)
at oracle.as.j2ee.transaction.tpc.Coordinator.doCommit(Coordinator.java:520)
at oracle.as.j2ee.transaction.tpc.Coordinator.doResolve(Coordinator.java:317)
at oracle.as.j2ee.transaction.tpc.Coordinator.resolve(Coordinator.java:104)
at oracle.as.j2ee.transaction.tpc.TwoPhaseCommitEngine.commit(TwoPhaseCommitEngine.java:111)
at com.evermind.server.ApplicationServerTransaction.twoPhaseCommit(ApplicationServerTransaction.java:780)
at com.evermind.server.ApplicationServerTransaction.commitBasedOnResourceCount(ApplicationServerTransaction.java:609)
at com.evermind.server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:279)
at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
at com.evermind.server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
at oracle.tip.esb.server.common.JTAHelper.commitTransaction(JTAHelper.java:148)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1473)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:333)
... 19 more
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>I am getting also similar exceptions in logs for JMS connections over AQ.
It looks like problematic JDBC connections (database is down), however it is not true database was running (confirmed by alert.logs from DB)
Following Exceptions were seen in log.xml:
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-04-18T10:09:04.084+02:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>l0340.kpnnl.local</HOST_ID>
<HOST_NWADDR>10.68.7.92</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
<THREAD_ID>72</THREAD_ID>
<USER_ID>oracle</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.68.7.92:99044:1208331963242:25573</UNIQUE_ID><SEQ>23</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>JCA: ORABPEL-12165
ERRJMS_PROVIDER_ERR.
Could not produce message due to JMS provider error.
Please examine the log file to determine the problem.
</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[ORABPEL-12165
ERRJMS_PROVIDER_ERR.
Could not produce message due to JMS provider error.
Please examine the log file to determine the problem.
at oracle.tip.adapter.jms.JMS.JMSMessageProducer.produce(JMSMessageProducer.java:233)
at oracle.tip.adapter.jms.outbound.JmsProducer.execute(JmsProducer.java:143)
at oracle.tip.adapter.jms.JmsInteraction.executeProduce(JmsInteraction.java:197)
at oracle.tip.adapter.jms.JmsInteraction.execute(JmsInteraction.java:156)
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:485)
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:736)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:429)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:443)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:727)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:366)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3672)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1650)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:276)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5658)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1082)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:535)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.jms.AQjmsException: Io exception: Connection reset
at oracle.jms.AQjmsProducer.enqueue(AQjmsProducer.java:1180)
at oracle.jms.AQjmsProducer.send(AQjmsProducer.java:633)
at oracle.jms.AQjmsProducer.send(AQjmsProducer.java:459)
at oracle.tip.adapter.jms.JMS.JMSMessageProducer.produce(JMSMessageProducer.java:219)
... 62 more
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
then we get:
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-04-18T10:09:04.087+02:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>l0340.kpnnl.local</HOST_ID>
<HOST_NWADDR>10.68.7.92</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
<THREAD_ID>72</THREAD_ID>
<USER_ID>oracle</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.68.7.92:99044:1208331963242:25573</UNIQUE_ID><SEQ>23</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>JCA: file:/u01/app/oracle/product/10.1.3.1/mtsoa/bpel/domains/default/tmp/.bpel_UpdateCustomerSiebelJMSProducer_1.0_e980896db0c26e753eca73525e1235e7.tmp/enqueueJMSBillProfile.wsdl [ Produce_Message_ptt::Produce_Message(ListOfCmuAccsyncBillingProfileIo) ] - Rolling back JCA LocalTransaction</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-04-18T10:09:04.087+02:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>l0340.kpnnl.local</HOST_ID>
<HOST_NWADDR>10.68.7.92</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
<THREAD_ID>72</THREAD_ID>
<USER_ID>oracle</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.68.7.92:99044:1208331963242:25573</UNIQUE_ID><SEQ>23</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>JCA: file:/u01/app/oracle/product/10.1.3.1/mtsoa/bpel/domains/default/tmp/.bpel_UpdateCustomerSiebelJMSProducer_1.0_e980896db0c26e753eca73525e1235e7.tmp/enqueueJMSBillProfile.wsdl [ Produce_Message_ptt::Produce_Message(ListOfCmuAccsyncBillingProfileIo) ] - Unable to roll back JCA LocalTransaction due to: </MSG_TEXT>
<SUPPL_DETAIL><![CDATA[ORABPEL-12102
ERRJMS_TRX_ROLLBACK.
CCI Local Transaction ROLLBACK failed due to: ERRJMS_ROLLBACK_FAIL.
Unable to rollback transaction.
Please examine the log file to determine the problem.
Please examine the log file to determine the problem.
at oracle.tip.adapter.jms.JmsCciLocalTransactionImpl.rollback(JmsCciLocalTransactionImpl.java:115)
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:601)
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:736)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:429)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:443)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:727)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:366)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3672)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1650)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:276)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5658)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1082)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:535)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.jms.IllegalStateException: JMS-131: Session is closed
at oracle.jms.AQjmsError.throwIllegalStateEx(AQjmsError.java:464)
at oracle.jms.AQjmsSession.checkSessionStarted(AQjmsSession.java:4309)
at oracle.jms.AQjmsSession.rollback(AQjmsSession.java:832)
at oracle.tip.adapter.jms.JmsTransactionImpl.rollback(JmsTransactionImpl.java:114)
at oracle.tip.adapter.jms.JmsCciLocalTransactionImpl.rollback(JmsCciLocalTransactionImpl.java:110)
... 59 more
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
and finally
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-04-18T10:22:26.332+02:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>l0340.kpnnl.local</HOST_ID>
<HOST_NWADDR>10.68.7.92</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
<THREAD_ID>96</THREAD_ID>
<USER_ID>oracle</USER_ID>
<SUPPL_ATTRS>
<ATTR NAME="J2EE_MODULE.name">startup</ATTR>
<ATTR NAME="J2EE_APP.name">orabpel</ATTR>
<ATTR NAME="WEBSERVICE_PORT.name">ProcessSalesOrderSiebelJMSProducerPort</ATTR>
<ATTR NAME="WEBSERVICE.name">ProcessSalesOrderSiebelJMSProducer</ATTR>
</SUPPL_ATTRS>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>1208506946:10.68.7.92:4646:0:11533</UNIQUE_ID><SEQ>1</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>JCA: JmsProducer_execute: A resource exception occured while producing message</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-04-18T15:34:44.126+02:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE DS-00266</MSG_ID>
<MSG_TYPE TYPE="NOTIFICATION"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>l0340.kpnnl.local</HOST_ID>
<HOST_NWADDR>10.68.7.92</HOST_NWADDR>
<MODULE_ID>datasource</MODULE_ID>
<THREAD_ID>74</THREAD_ID>
<USER_ID>oracle</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.68.7.92:99044:1208332596547:25852</UNIQUE_ID><SEQ>64</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Fatal error code : '17,008' detected handling SQLException : 'java.sql.SQLException: Closed Connection'.</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-04-18T15:34:44.156+02:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE DS-00264</MSG_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>l0340.kpnnl.local</HOST_ID>
<HOST_NWADDR>10.68.7.92</HOST_NWADDR>
<MODULE_ID>datasource</MODULE_ID>
<THREAD_ID>23</THREAD_ID>
<USER_ID>oracle</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.68.7.92:99044:1208272357214:163</UNIQUE_ID><SEQ>96</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Attempt to use an invalid handle : 'oracle_jdbc_driver_LogicalConnection_Proxy@14c0017'.</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-04-18T15:34:44.368+02:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE JTA-00901</MSG_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>l0340.kpnnl.local</HOST_ID>
<HOST_NWADDR>10.68.7.92</HOST_NWADDR>
<MODULE_ID>transaction</MODULE_ID>
<THREAD_ID>74</THREAD_ID>
<USER_ID>oracle</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.68.7.92:99044:1208332596547:25852</UNIQUE_ID><SEQ>97</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Coordinator caught XAException thrown from resource during Action: ACTION_COMMIT. Exception Msg: javax.transaction.xa.XAException: Commit failed. - Error Code: XA_RBROLLBACK - Branch: [oracle.oc4j.sql.xa.EmulatedXAResource@124cec1, Xid( Global Id d3.66.25.bf.ff.ff.ff.ff.de.9e.9d.52.19.01.00.00.a8.80.01.00.00.00.00.00, Format Id 1330790740, Branch Id e3.c1.de.e1.00.00.00.00.00.00.00.00.00.00.00.01), oracle.oc4j.sql.xa.EmulatedXAResource@124cec1, state={PREPARED}, exception error code=] - Thread: WorkExecutorWorkerThread-52 . This XAException may be expected during recovery) </MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-04-18T15:34:44.371+02:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE JTA-99999</MSG_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>l0340.kpnnl.local</HOST_ID>
<HOST_NWADDR>10.68.7.92</HOST_NWADDR>
<MODULE_ID>transaction</MODULE_ID>
<THREAD_ID>74</THREAD_ID>
<USER_ID>oracle</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.68.7.92:99044:1208332596547:25852</UNIQUE_ID><SEQ>97</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>ProtocolError : Branch [oracle.oc4j.sql.xa.EmulatedXAResource@124cec1, Xid( Global Id d3.66.25.bf.ff.ff.ff.ff.de.9e.9d.52.19.01.00.00.a8.80.01.00.00.00.00.00, Format Id 1330790740, Branch Id e3.c1.de.e1.00.00.00.00.00.00.00.00.00.00.00.01), oracle.oc4j.sql.xa.EmulatedXAResource@124cec1, state={PREPARED}, exception error code=] in transaction Global Transaction Xid( Global Id d3.66.25.bf.ff.ff.ff.ff.de.9e.9d.52.19.01.00.00.a8.80.01.00.00.00.00.00, Format Id 1330790740), type=orabpel, state=COMMITTING, time in completion or recovering=4)
[oracle.oc4j.sql.xa.EmulatedXAResource@181f80e, Xid( Global Id d3.66.25.bf.ff.ff.ff.ff.de.9e.9d.52.19.01.00.00.a8.80.01.00.00.00.00.00, Format Id 1330790740, Branch Id e3.c1.de.e1.00.00.00.00.00.00.00.00.00.00.00.00), oracle.oc4j.sql.xa.EmulatedXAResource@181f80e, state={COMPLETED_COMMITTED}, exception error code=],
[oracle.oc4j.sql.xa.EmulatedXAResource@124cec1, Xid( Global Id d3.66.25.bf.ff.ff.ff.ff.de.9e.9d.52.19.01.00.00.a8.80.01.00.00.00.00.00, Format Id 1330790740, Branch Id e3.c1.de.e1.00.00.00.00.00.00.00.00.00.00.00.01), oracle.oc4j.sql.xa.EmulatedXAResource@124cec1, state={PREPARED}, exception error code=]
} returned RB* during commit.</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-04-18T15:34:44.371+02:00</TSTZ_ORIGINATING>
<COMPONENT_ID>j2ee</COMPONENT_ID>
<MSG_ID>J2EE JTA-00113</MSG_ID>
<MSG_TYPE TYPE="WARNING"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>l0340.kpnnl.local</HOST_ID>
<HOST_NWADDR>10.68.7.92</HOST_NWADDR>
<MODULE_ID>transaction</MODULE_ID>
<THREAD_ID>74</THREAD_ID>
<USER_ID>oracle</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>10.68.7.92:99044:1208332596547:25852</UNIQUE_ID><SEQ>97</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Could not reconstruct transaction from store after protocol error: oracle.as.j2ee.transaction.tpc.Store$StoreException: Can not recover transaction as logging is not enabled in transaction-manager.xml xid : Xid( Global Id d3.66.25.bf.ff.ff.ff.ff.de.9e.9d.52.19.01.00.00.a8.80.01.00.00.00.00.00, Format Id 1330790740)
xid : Xid( Global Id d3.66.25.bf.ff.ff.ff.ff.de.9e.9d.52.19.01.00.00.a8.80.01.00.00.00.00.00, Format Id 1330790740)</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
However database is up and there was no outage.
Do you have an idea what can be wrong?
Thanks
Peter -
Re: Exception in thread main.
While running this prg i am getting some err msg and the prg stops while getting input for the no variable the 2nd time. The exception msg is as below.
Enter Contestant No:Exception in thread "main" java.lang.NumberFormatException:For input string ""
at java.lang.NumberFormatException.forInputString(unknown source)
at java.lang.Integer.parseInt(unknown source)
at java.lang.Integer.parseInt(unknown source)
at election.main(election.java: 10)
Kindly tell me where the problem is?
import java.io.*;
class election
public static void main(String ar[]) throws IOException
DataInputStream in =new DataInputStream(System.in);
int count[]=new int[6];
char ano='y';
for(int i=0;i<6;i++)
count=0;
while(ano=='y'||ano=='Y')
System.out.println("Contestant's (1 to 5)");
System.out.print("Enter Contestant No:");
int no=Integer.parseInt(in.readLine());
switch (no)
case 1:
count[0]=count[0]++;
break;
case 2:
count[1]=count[1]++;
break;
case 3:
count[2]=count[2]++;
break;
case 4:
count[3]=count[3]++;
break;
case 5:
count[4]=count[4]++;
break;
default:
count[5]=count[5]++;
break;
System.out.print("Next (y/n) :");
ano=(char) System.in.read();
for(int i=0;i<5;i++)
System.out.println("Contestant No: "+(i+1)+" Secured " + count + " Votes");
System.out.println("Spoiled Ballot :"+ count[5]);
}Its simple... u r casting the input to integer when u give 'y' as input so its throwing numberformatexception... i have modified ur code.. check this...
import java.io.*;
class Class1
public static void main(String ar[]) throws IOException
DataInputStream in =new DataInputStream(System.in);
int count[]=new int[6];
String ano="y";
for(int i=0;i<6;i++)
count[0]=0;
while(ano=="y"||ano=="Y")
System.out.println("Contestant's (1 to 5)");
System.out.print("Enter Contestant No:");
int no=Integer.parseInt(in.readLine());
switch (no)
case 1:
count[0]=count[0]++;
break;
case 2:
count[1]=count[1]++;
break;
case 3:
count[2]=count[2]++;
break;
case 4:
count[3]=count[3]++;
break;
case 5:
count[4]=count[4]++;
break;
default:
count[5]=count[5]++;
break;
System.out.print("Next (y/n) :");
ano= in.readLine();
for(int i=0;i<5;i++)
System.out.println("Contestant No: "+(i+1)+" Secured " + count + " Votes");
System.out.println("Spoiled Ballot :"+ count[5]);
}Hope this helps...
Ciya -
Default Exception Handling in B2B
Hi All,
Need your help and advise on the below requirement we have currently:
Source system sends an XML input to MW and therein, we transform it into PO_850 XSD and sends it to B2B. We are validating the XSD in B2B and then generating an EDI_PO_850 file and sending it to the Trading Partner. We are going to have 5 different Target Trading Partner. I have 2 questions w.r.t the default exception handling in place for Oracle B2B:
1. Which Queue will have the Error Information for the above case? B2B_IN_Queue/B2B_OUT_Queue/B2B_IP_IN_Queue
2. We would like to consume the error messages specific to a trading partner from the JMS Queue directly, how can we achieve it?
Appreciate your help in this regard.
Thanks in Advance
PriyankaHi Priyanka
B2B operates in two modes for default internal queue communication - AQ and JMS. This is controlled in the Admin/Configuration page "use JMS queues" checkbox.
In AQ, the queue to which the exception message is delivered would be IP_IN_QUEUE
In JMS the queue to which the exception message is delivered would be B2B_IN_QUEUE. Since you speak about reading error message from the JMS queue directly, am thinking this would be the one of interest to you.
In addition to the above we can create custom JMS internal delivery queue and this can be associated to the Exception Queue which can be assigned in the Admin/Configuration page.
With regards to reading the exception msg specific to the trading partner from the JMS Queue directly, this can be done by adding a check on the dequeue process. Each exception message is populated with From_Party and To_Party information. In the outbound delivery case, the exception message should have To_Party set as the partner's name. This can be checked.
Hope that helps.
Regards
Arun -
Displaying .msg attachments
Hi ,
I have referred to Brian McKellar's excellent blog( Handling of non-html documnets) to create and display attachments. It is working perfectly for all file types,except .msg(outlook) files.In this case lt_content is of type
application-octet\stream.When I am trying to open the attachment from my BSP application it doesnot open with Microsoft Outlook .Why is this happening. Please help me out.Thanks in advance.
Thanks®ards
Ananyause the following code in oninputprocessing.
fileupload ?= cl_htmlb_manager=>get_data(
request = request
id = 'myUpload'
name = 'fileUpload' ).
file_name = fileupload->file_name.
file_mime_type = fileupload->file_content_type.
file_length = fileupload->file_length.
file_content = fileupload->file_content.
IF XSTRLEN( file_content ) > 0.
CREATE OBJECT cached_response TYPE cl_http_response EXPORTING add_c_msg = 1.
cached_response->set_data( file_content ).
cached_response->set_header_field( name = if_http_header_fields=>content_type
value = file_mime_type ).
cached_response->set_status( code = 200 reason = 'OK' ).
cached_response->server_cache_expire_rel( expires_rel = 180 ).
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_32 = guid.
CONCATENATE runtime->application_url '/' guid '.msg' INTO display_url.
cl_http_server=>server_cache_upload( url = display_url
response = cached_response ).
RETURN.
ENDIF.
in your layout open this url (display_url) using window.open
<% if not display_url is initial . %>
<script language="Javascript">
window.open("<%= display_url%>");
</script>
<% endif . %>
Regards
Raja
I have tesed this and it works. you will be prompted to either open or save -
Differences between Exception 20 and 10 in MD04
Hello experts,
Depending on the material, I have two scenarios:
Sometimes MRP says to reschedule the PO (message 10):
And other times MRP says to cancel a PO and create a new one (message 20):
Why does this happen? According to which data does occur one behavior or another?? Is there any value in the material master??
Thanks in advance.
LauraHi Laura,
10, 15 and 20 are Rescheduling Exception messages.
10- Rescheduling In
15- Rescheduling out and
20- Cancel Process.
If the PIR meets future date demand ie production order then the status would be 10.
Ex: if the PIR is 100 for 01/07/2014 month, and a Production order for 50 in a same month or with in the rescheduling horizon.
If the production order is meets by a future dated PIR ie planned order then the status would be 15.
Ex: if the Production order is 50 for 10/07/2014 month, and a PIR ie planned order for 100 in a same month or with in the rescheduling horizon.
If the Production order created on 10/07/2014 and the PIR in future or within the rescheduling horizon then Exception message is 15.
if the order date is not within the rescheduling horizon days then the exception msg is 20 (cancel process).
Please check the rescheduling horizon - OMDW
hope your clear Laura,
Regards,
Prashanth -
JDeveloper 3.1 and JDK1.2.2: are they REALLY compliant?
Hi,
I've already been developing in JDev 3.0 using Java 1.1.8 for a few months and have a number of EJB's deployed in an Oracle8i 8.1.5 database. These are accessed by a servlet which is called from a C++ application in order to populate the db tables. I'm using Java Webserver 2.0 and everything works fine.
I've been upgrading to Java 2 with JDev 3.1, Oracle 8i R2, and JDK1.2.2. Everything again works fine when I am testing and debugging in the JDev 3.1 IDE but when I deploy to the Web server, my context lookup for the EJB published name freezes, returns an error status to the C++ app but does not display any error/exception msgs in the server console/log files.
On investigating I found that the java.exe bundled with JDev 3.1 as the JDK1.2.2 version is actually NOT the java.exe that has been dispatched with the release version of JDK1.2.2! There are however two files in the bin directory of the JDK1.2.2 called oldjava.exe and oldjavaw.exe which correspond to the ones bundled with JDev 3.1?
Could someone please explain what is going on? As it stands at the moment the version of java.exe with JDK1.2.2 does not work for my EJB's but if I replace it with the oldjava.exe, it works fine. Does this mean that JDev 3.1 is NOT actually JDK1.2.2 compliant or have I done something wrong?
This is potentially a major problem for our projects so if anyone at Oracle has any info it would be greatly appreciated.
Cheers
DaveDavid,
I changed Sun Java 1.2.2 VM to JDeveloper 3.0 1.1.8 VM and now I get this:
[Root exception is java.lang.ClassNotFoundException: EJBBibles.BibleSearchHomeHelper]javax.naming.Na
mingException: Unknown reasons
at oracle.aurora.jndi.sess_iiop.SessionCtx._activate(SessionCtx.java:82)
at oracle.aurora.jndi.sess_iiop.SessionCtx.activate(SessionCtx.java:276)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.lookup(ServiceCtx.java:320)
at oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(sess_iiopURLContext.java:215)
at oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(sess_iiopURLContext.java:201)
at javax.naming.InitialContext.lookup(InitialContext.java:288)
at EJBBiblesServlet.Servlet1.init(Servlet1.java:36)
at org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:445)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHand
ler.java:160)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:466)
If I use JDev 1.2 VM, I get this:
javax.naming.NotContextException: fumaca:2481:eatg/test/BibleSearchRemote
java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(javax.naming.Name)
java.lang.Object oracle.aurora.jndi.sess_iiop.sess_iiopURLContext.lookup(java.lang.String)
java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
void EJBBiblesServlet.Servlet1.init(javax.servlet.ServletConfig)
void org.apache.tomcat.core.ServletWrapper.initServlet()
void org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.Request, org
.apache.tomcat.core.Response)
void org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.HttpServletR
equestFacade, org.apache.tomcat.core.HttpServletResponseFacade)
void org.apache.tomcat.servlets.InvokerServlet.service(javax.servlet.http.HttpServletRequest
, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.Serv
letResponse)
void org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.Request, org
.apache.tomcat.core.Response)
void org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request, org.apach
e.tomcat.core.Response)
void org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.apache.tomca
t.service.TcpConnection, java.lang.Object[])
void org.apache.tomcat.service.TcpConnectionThread.run()
void java.lang.Thread.run()
Which means that there is a difference relative to the VM version.
All the names are correct on 8i deployment. And all necessary files are on classpath, (including the EJB source and generated jars, that are also in the /lib on the context dochome).
Any thoughts?
Thanks,
Eduardo
null -
Not allowing totaling of a field in alv output
hi,
I had made a ALV in which i have to hide 1 field for getting it totaling.
i.e. if somebody try to make total of it ,it should not be allowed on dat field . is dere any solution for this problem?
plzz provide me guidelines for it.Please please it this. I made the total for every field other than RACCT and SUM_COMM.
*& Form sub_prepare_display_output
Display output
--> No Parameter
FORM sub_prepare_display_output .
Local variables
DATA: l_lead_col TYPE char25, " Lead column
l_progname TYPE sy-repid, " Program name
Local internal tables
l_oref_layout TYPE REF TO cl_salv_layout, "Layout
Local work area
l_wa_key TYPE salv_s_layout_key, "Work area for key
l_except1 TYPE REF TO cx_salv_msg,"Exception
l_text1 TYPE string. "Exception msg
If profit center is checked
IF p_prfctr = c_check.
l_lead_col = 'Profit Center'(041).
If product catagory is checked
ELSEIF p_prodc = c_check.
l_lead_col = 'Product Category'(042).
If material is checked
ELSEIF p_smatnr = c_check.
l_lead_col = 'Material No.'(043).
ENDIF.
Create ALV instance with class-method cl_salv_table=>factory
TRY.
CALL METHOD cl_salv_table=>factory
EXPORTING
list_display = if_salv_c_bool_sap=>false
IMPORTING
r_salv_table = v_oref_table
CHANGING
t_table = i_final.
CATCH cx_salv_msg INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
Make header of the report
PERFORM sub_header_report USING v_oref_table.
Get the toolbar
v_oref_functions = v_oref_table->get_functions( ).
For activating application toolbar
v_oref_functions->set_all( abap_true ).
v_oref_columns = v_oref_table->get_columns( ).
It populate the key fields which are always displayed
PERFORM sub_fill_fields_of_fcatalog USING:
'SUM_COMM' l_lead_col ' ',
'RACCT' 'Account Number'(035) ' ',
'FOBAC' 'FOB Acrual'(023) 'X',
'EXCESS' 'Excess'(024) 'X',
'OBSOLE' 'Obsolescence'(025) 'X',
'PPV' 'Puchachse Price Var'(026) 'X',
'FR_VAR' 'Freight Variance'(027) 'X',
'PROD_OR_VAR' 'Produc Ord Var'(028) 'X',
'DEP_VAR' 'Dept. Variance'(029) 'X',
'OTH_PROD_VAR' 'Other Prod Var'(030) 'X',
'PR_OR_SCRP_VAR' 'Scrap Variance'(031) 'X',
'COST_OF_ACC' 'Cost of Sales Accnt'(032) 'X',
'INV_ACC' 'Inventory Account'(033) 'X'.
Optimize the columns
v_oref_columns->set_optimize( value = 'X' ).
Setting the layout
get the LAYOUT object
l_oref_layout = v_oref_table->get_layout( ).
set the layout key
l_progname = sy-repid.
l_wa_key-report = l_progname.
l_oref_layout->set_key( value = l_wa_key ).
set save restriction:
none / only user-dependent / only user-independent
l_oref_layout->set_save_restriction(
value = if_salv_c_layout=>restrict_none ).
set: setting of default layout is allowed / isnu2019t allowed
l_oref_layout->set_default( value = 'X' ).
Dispaly the output
v_oref_table->display( ).
ENDFORM. " sub_prepare_display_output
*& Form sub_header_report
Create the header of the report
-->P_v_oref_TABLE table name
FORM sub_header_report USING p_v_oref_table TYPE REF TO
cl_salv_table .
DATA : l_oref_grid TYPE REF TO cl_salv_form_layout_grid.
CREATE OBJECT l_oref_grid.
Add text items for top of page
l_oref_grid->create_text( row = 1 column = 1 text = 'Program'(022)
l_oref_grid->create_text( row = 1 column = 2 text = sy-repid ).
l_oref_grid->create_text( row = 2 column = 1
text = 'User Name'(021) ).
l_oref_grid->create_text( row = 2 column = 2 text = sy-uname ).
l_oref_grid->create_text( row = 3 column = 1 text = 'Date'(020) ).
l_oref_grid->create_text( row = 3 column = 2 text = sy-datum ).
l_oref_grid->create_text( row = 3 column = 3 text = 'Time'(019) ).
l_oref_grid->create_text( row = 3 column = 4 text = sy-uzeit ).
l_oref_grid->create_text( row = 4 column = 1 text = 'System'(018) ).
l_oref_grid->create_text( row = 4 column = 2 text = sy-sysid ).
l_oref_grid->create_text( row = 4 column = 3 text = 'Client'(017) ).
l_oref_grid->create_text( row = 4 column = 4 text = sy-mandt ).
Declare grid as header of list
p_v_oref_table->set_top_of_list( value = l_oref_grid ).
ENDFORM. " sub_header_report
*& Form sub_fill_fields_of_fcatalog
This subroutine populates the field catalog excluding
period fields
-->P_FIELDNAME Table field name
-->P_NAME Field description
-->P_DEC Decimal value flag
FORM sub_fill_fields_of_fcatalog USING p_fieldname TYPE lvc_fname
p_name TYPE c
p_dec TYPE c.
DATA: l_char_l TYPE scrtext_l, "For short text
l_char_m TYPE scrtext_m, "For medium text
l_char_s TYPE scrtext_s, "For long text
l_except1 TYPE REF TO cx_salv_not_found,"Exception
l_text1 TYPE string, "Exception msg
l_orf_aggregs TYPE REF TO cl_salv_aggregations.
Getting the text long/short/medium into variables
l_char_l = p_name.
l_char_m = p_name.
l_char_s = p_name.
Setting the long/short/medium text and fix the key fileds
TRY.
CALL METHOD v_oref_columns->get_column
EXPORTING
columnname = p_fieldname
RECEIVING
value = v_oref_column1.
CATCH cx_salv_not_found INTO l_except1.
l_text1 = l_except1->get_text( ).
MESSAGE i000 WITH l_text1.
LEAVE LIST-PROCESSING.
ENDTRY.
v_oref_column ?= v_oref_column1.
v_oref_column->set_long_text( l_char_l ).
v_oref_column->set_medium_text( l_char_m ).
v_oref_column->set_short_text( l_char_s ).
v_oref_column->set_key( value = 'X' ).
v_oref_columns->set_key_fixation( value = 'X' ).
Set the decimal length
IF p_dec = 'X'.
v_oref_column->set_decimals( value = '2' ).
ENDIF.
IF p_fieldname = 'RACCT' AND p_gl <> c_check.
v_oref_column->set_visible( value = space ).
ENDIF.
IF p_gl = c_check.
v_oref_columns->set_column_position( columnname = 'RACCT'
position = 2 ).
ENDIF.
IF p_fieldname NE 'RACCT' AND p_fieldname NE 'SUM_COMM'.
l_orf_aggregs = v_oref_table->get_aggregations( ).
l_orf_aggregs->add_aggregation( columnname = p_fieldname
aggregation = if_salv_c_aggregation=>total ).
ENDIF.
ENDFORM. " sub_fill_fields_of_fcatalog -
Install on MacBook Pro end of 2011 with logic Pro 9.1.8 and Apogee GIO interface guitar
The wha wha pedal work well with GarageBand but not working with Logic Pro
Only the red light turning on and off at the screnn of the MBPro and on my Apogee GIO (Guitar Interface Midi) switch button but the effect wha wha won't work.
HOPE YOU UNDERSTAND MY ENGLISHPancenter...
Yes... but I have come across some setups that came with a native SL (and even one Lion!) installation.. that somehow had a corrupted or older Prokit installed for some unknown reason... and given it's a quick fix to try.. I thought I'd mention it..
I frankly don't think it is entirely a Prokit issue itself, but it wouldn't do any harm to try and install v7 just in case it is part of the problem...
+1 on the UAD stuff....
Also, at the time it crashed... according to the logs...the OP was running Ableton Live at the same time, presumably rewired with Logic... so add all that together with UAD plugins... and that's quite a load on the system...
Finally in thread 32 there is a weird exception msg relating to the Trash2 plugin.. that I haven't seen before...
Thread 32:
0 libSystem.B.dylib
0x94c29afa mach_msg_trap + 10
1 libSystem.B.dylib
0x94c2a267 mach_msg + 68
2 ...tope.audioplugins.AU.Trash2
0x667bd57a catch_exception_raise + 250
3 libSystem.B.dylib
0x94c57259 _pthread_start + 345
4 libSystem.B.dylib
0x94c570de thread_start + 34
That might be nothing... but as i said, I haven't seen that one before and given what else is going on.. it might be involved too... or nothing to do with that at all!
Maybe you are looking for
-
How to make the password stay in the process form
Hi, I am working in OIM 10g. When ever we are changing any fields in process form the password field is getting blank.How do we make the password stay in the field after updating other fields in process form Thanks in advance
-
WLS proxy plugin does not load balance
I have a cluster created with two app servers in separate boxes and a Weblogic proxy plug-in to forward the client requests to the servers. However, the proxy doesn't distribute the load equally. Very often 90% of the user sessions go to one server a
-
InDesign CS4 Mac upgrade (CS5 won't work)
Does anyone know how or where I can get an upgrade license for Mac InDesign CS4 (from CS3)? I have the CS4 trial version installed, but when I click to purchase a license, it goes to CS5 page. I have a Macintosh G5 which is not supported by CS5. I co
-
i just bought some new audio CD's i went to import them as i have loads of others i click the import button and it claims its importing the tracks it takes a total of 8 seconds to import a full CD and creates a load of 2-3kb mp3's with the right file
-
Is there way to transfer invoice and supplier number to GL?
We just upgraded to release 12.1.2. We transfer AP to GL in detail mode. In 11i, system use to store invoice number, supplier info in reference field. Reference fields in R12 store ae_header_id,line number etc. Is there a way to setup SLA to transfer