Sup Error While Sending Date Parameter to SUP server?
Hi Every one,
I am developing an iOS app using Sybase Unwired Platform 2.1.3 I am getting error While sending Date parameter to Database. How to send DATE format to the sales_order table for order_date column from iOS.
I tried like this..
@try {
SUP105Sales_order *insertRow =[[SUP105Sales_order alloc]init];
int32_t idValue =2671;
int32_t custID =103;
int32_t sales =506;
insertRow.id_=idValue;
insertRow.cust_id=custID;
insertRow.order_date=[NSDate date];
insertRow.fin_code_id=@"r1";
insertRow.region=@"Hyd";
insertRow.sales_rep=sales;
[insertRow save];
[insertRow submitPending];
[SUP105SUP105DB synchronize];
@catch (NSException *exception) {
NSLog(@"Exception---%@",exception.description);
In server log:
2014-02-28 16:39:41.833 WARN Other Thread-182 [SUP105.server.SUP105DB]{"_op":"C","level":5,"code":412,"eisCode":"257","message":"com.sybase.jdbc3.jdbc.SybSQLException:SQL Anywhere Error -157: Cannot convert '' to a timestamp","component":"Sales_order","entityKey":"3210004","operation":"create","requestId":"3210005","timestamp":"2014-02-28 11:09:41.646","messageId":0,"_rc":0}
I strongly believe the above error for because of Date format..i have tried different ways to send Date to Sup server ..but i didn't get any solution.. Can any one help me me how to send date to database in SUP in iOS??
Message was edited by: Michael Appleby
Hi Jitendra,
Thanks for your Quick reply..Any way i have tried what you said,but i didn't get any solution.
Here is my Code:
NSDateFormatter *formatter = [[[NSDateFormatter alloc] init] autorelease];
[formatter setDateFormat:@"dd-MM-YYYY HH:mm:ss"];
NSDate *tempDate =(NSDate *) [formatter stringFromDate:[NSDate date]];
NSLog(@"%@",tempDate);
@try {
SUP105Sales_order *insertRow =[[SUP105Sales_order alloc]init];
int32_t idValue =2671;
int32_t custID =103;
int32_t sales =506;
insertRow.id_=idValue;
insertRow.cust_id=custID;
insertRow.order_date =tempDate;
insertRow.fin_code_id=@"r1";
insertRow.region=@"Hyd";
insertRow.sales_rep=sales;
[insertRow save];
[insertRow submitPending];
[SUP105SUP105DB synchronize];
@catch (NSException *exception) {
NSLog(@"Exception---%@",exception.description);
Error is :
Exception---SUPPersistenceException: exception is in createCore: unexpected null value for 'order_date'
Similar Messages
-
Error while sending data from XI to BI System
Hello Friends,
I m facing an error while sending data from XI to BI. XI is successfully recived data from FTP.
Given error i faced out in communication channel monitoring:-
Receiver channel 'POSDMLog_Receiver' for party '', service 'Busys_POSDM'
Error can not instantiate RfcPool caused by:
com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner '10.1.45.35:sapgw01' not reached
TIME Fri Apr 16 08:15:18 2010
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2823
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUNTER 2
Error displaying in message monitoring:-
Exception caught by adapter framework: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached TIME Fri Apr 16 08:15:18 2010 RELEASE 70
Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached TIME.
Kindly suggest me & provide details of error.
Regards,
NarendraHi Narendra,
Message is clearly showing that your system is not reachable
102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.1.45.35 SYSNR=01 GWHOST=10.1.45.35 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.1.45.35:sapgw01' not reached
Please check to ping the BI server IP 10.1.45.35 from your XI server , in case its working you can check telnet to SAP standard port like 3201/3601/3301/3901 etc.
It seems to be connectivity issue only.
Make sure your both the systems are up and running.
Revert back after checking above stuff.
Regards,
Gagan Deep Kaushal -
Post Author: dmface15
CA Forum: Administration
I am working in a new enviorment and i am trying to save a report to the Crystal Server via the CMC. I am uploading the report from the objects tab and attempting to save to a folder. The report has 1 static defined parameter and that's it. When i click submit to save the report i receive the following error message: "There was an error while writing data back to the server: Failed to commit objects to server : Duplicate object name in the same folder." There is not a anothe report within the folder with that name. What could be causing this error message and equally important, what is the solution.hte message you received about duplicate user probably means something hadn't fully updated yet. Once it did then it worked...
Regards,
Tim -
Error while sending data to supplier
Hi All,
We are facing the errors while sending transaction to our supplier.Actually we send 60 transactions to our supplier in which 15 are errored out in B2B with the below error.
Please help me in resolving this.
2010.06.09 at 16:40:04:876: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Calling Send to transmit the message
2010.06.09 at 16:40:04:879: Thread-10: B2B - (DEBUG) Protocol Name: HTTP
2010.06.09 at 16:40:04:883: Thread-10: B2B - (DEBUG) Version Name: 1.1
2010.06.09 at 16:40:04:887: Thread-10: B2B - (DEBUG) Endpoint: http://interchange-stg.apl.com:4090/as2/interface
2010.06.09 at 16:40:04:891: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send URL: HTTP://INTERCHANGE-STG.APL.COM:4090/AS2/INTERFACE
http://interchange-stg.apl.com:4090/as2/interface
2010.06.09 at 16:40:04:903: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send TO Endpoint: 501 http://interchange-stg.apl.com:4090/as2/interface
2010.06.09 at 16:40:04:906: Thread-10: B2B - (DEBUG)
Protocol = HTTP
Version = 1.1
Transport Header
Content-Transfer-Encoding:binary
Message-ID:<131982@EMRSNS>
MIME-version:1.0
ACTION_NAME:Process_X12_5020_850
From:EMRSNS
Disposition-Notification-To:[email protected]
AS2-To:ZZACSLTEST
User-Agent:AS2 Server
Date:Wed, 09 Jun 2010 16:39:54 GMT
Disposition-Notification-Options:signed-receipt-protocol=required, pkcs7-signature; signed-receipt-micalg=required, sha1
DOCTYPE_NAME:850
FROM_PARTY:EMRSNS
DOCTYPE_REVISION:5020
TO_PARTY:ZZACSLTEST
AS2-From:EMRSNS
AS2-Version:1.1
Content-Type:application/pkcs7-mime; smime-type="enveloped-data"
Parameters
-- listing properties --
http.sender.timeout=0
2010.06.09 at 16:40:04:910: Thread-10: B2B - (DEBUG) scheme null userName null realm null
2010.06.09 at 16:41:05:162: Thread-10: B2B - (WARNING)
Message Transmission Transport Exception
Transport Error Code is OTA-HTTP-SEND-1000
StackTrace oracle.tip.transport.TransportException: [IPT_HttpSendError] HTTP encounters send error :.
at oracle.tip.transport.TransportException.create(TransportException.java:91)
at oracle.tip.transport.basic.HTTPSender.createTransportResponse(HTTPSender.java:754)
at oracle.tip.transport.basic.HTTPSender.send(HTTPSender.java:598)
at oracle.tip.transport.b2b.B2BTransport.send(B2BTransport.java:311)
at oracle.tip.adapter.b2b.transport.TransportInterface.send(TransportInterface.java:1034)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1758)
at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:976)
at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:1167)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:833)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at HTTPClient.BufferedInputStream.fillBuff(BufferedInputStream.java:192)
at HTTPClient.BufferedInputStream.read(BufferedInputStream.java:112)
at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:281)
at HTTPClient.RespInputStream.read(RespInputStream.java:157)
at HTTPClient.RespInputStream.read(RespInputStream.java:116)
at HTTPClient.Response.readResponseHeaders(Response.java:997)
at HTTPClient.Response.getHeaders(Response.java:713)
at HTTPClient.Response.getStatusCode(Response.java:262)
at HTTPClient.RetryModule.responsePhase1Handler(RetryModule.java:83)
at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:739)
at HTTPClient.HTTPResponse.getStatusCode(HTTPResponse.java:196)
at oracle.tip.transport.basic.HTTPSender.createTransportResponse(HTTPSender.java:721)
... 9 more
2010.06.09 at 16:41:05:163: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:send Error in sending message
2010.06.09 at 16:41:05:166: Thread-10: B2B - (INFORMATION) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab Request Message Transmission failed
2010.06.09 at 16:41:05:168: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Enter
2010.06.09 at 16:41:05:171: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Transaction.begin()
2010.06.09 at 16:41:05:173: Thread-10: B2B - (DEBUG) DBContext beginTransaction: Leave
2010.06.09 at 16:41:05:176: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab [IPT_HttpSendError] HTTP encounters send error :.
Read timed out
2010.06.09 at 16:41:05:186: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:notifyApp retry value <= 0, so sending exception to IP_IN_QUEUE
2010.06.09 at 16:41:05:191: Thread-10: B2B - (DEBUG) Engine:notifyApp Enter
2010.06.09 at 16:41:05:202: Thread-10: B2B - (DEBUG) Enqueue Engine AQJMSCorrelationID = 889C8E2466211E6DE0440015178ED696
2010.06.09 at 16:41:05:205: Thread-10: B2B - (DEBUG) notifyApp:notifyApp Enqueue the ip exception message:
<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<correlationId>131982</correlationId>
<b2bMessageId>131982</b2bMessageId>
<errorCode>AIP-50079</errorCode>
<errorText>Transport error: [IPT_HttpSendError] HTTP encounters send error :.
Read timed out</errorText>
<errorDescription>
<![CDATA[Machine Info: (usmtnz-sinfwi02)
Transport error: [IPT_HttpSendError] HTTP encounters send error :.
Read timed out ]]>
</errorDescription>
<errorSeverity>2</errorSeverity>
</Exception>
Regards
sekharHi Sekhar,
2010.06.09 at 16:41:05:176: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab [IPT_HttpSendError] HTTP encounters send error :.
Read timed outIt seems that either your TP's server is not accepting these requests (due to heavy load)/ message size is too large that HTTP timout has occured. Possibility for later case is low because only 25% messages are erroring out. Anyways, you may like to tune your B2B system and test again -
http://www.b2bgurus.com/2007/10/oracle-as-b2b-performance-best.html
If no change happens, ask your TP to check his server settings.
Regards,
Anuj -
Error while sending data to TP
Hi B2B Gurus,
While I am sending data to our trading partner, I am getting the below error. Its very high priority. Please help me to resolve this.
Machine Info: (essapt020-u009.emrsn.com)
Transport error: [IPT_HttpSendError] HTTP encounters send error :502
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>The proxy server received an invalid
response from an upstream server.
</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
[IPT_HttpSendError] HTTP encounters send error :502
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>The proxy server received an invalid
response from an upstream server.
</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
.Hi Anuj,
I send you a log files to your mail id.
Actually I able to connect to the tp's url.Still i am getting this error.
Machine Info: (essapt020-u009.emrsn.com)
Transport error: [IPT_HttpSendError] HTTP encounters send error :502
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>The proxy server received an invalid
response from an upstream server.
</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
[IPT_HttpSendError] HTTP encounters send error :502
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>The proxy server received an invalid
response from an upstream server.
</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
. -
Error while passing date parameter to the XML data definition
Hi All,
I have developed a BI publisher report using XML data definition & RTF template.
This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
What we did ?
Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
Looking for any available solution for the same.
Thanks.Hi All,
I have developed a BI publisher report using XML data definition & RTF template.
This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
What we did ?
Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
Looking for any available solution for the same.
Thanks. -
Error While Sending Data for Currency Translation
Hello Experts,
I am trying to send data via template. Data is getting saved but I am getting following error displayed.
1.) When I try to enter data for a particular month then, error as FX-200.
2.) When I try to enter data accross months of more than year then , FX-045 and FX-310 error.
I had look on various SAP Notes available for the errors.
As per them, I ran Full optimization, I checked rates are maintained for previous year too, I checked for LC Currency Type Property is maintained as L.
But nothing Worked.
Currently only the 3 members are maintained in Rate Dimension, so exceeding the size limit cannot be an issue.
Kindly Suggest, what could be another possible reason for the errors.
Regards,
Apoorva GargHello,
1.) I am getting issues for example for 2010.Mar, 2010.Dec, 2013.Dec, 2012.Dec
2.) Business Rules Maintained
3.) Business Rule called via Default Script Logic
// Default base level logic - applies to all base members in all dimensions
*INCLUDE system_constants.lgl
//Process_Each_Member = TIME
*RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','KPI_Working_Act_FX','','GLOBAL','%SCOPETABLE%','%LOGTABLE%')
*COMMIT
//*RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','KPI_Working_AOP_FX','','GLOBAL','%SCOPETABLE%','%LOGTABLE%')
//*COMMIT
Regards,
Apoorva -
Error while sending data to a subroutine in script
Hi,
While passing a currency field for calculation to a subroutine through perform statement iam getting runtime error saying "unable ti interpret 5000.00 as a number. 5000.00 is nothing but the first currency value which iam sending for calculation.in the code the error is raised on the bold line .
rf140-wrshb has value 5000.00 .the code which i have written in subroutine is as follows.
READ TABLE I_IN WITH KEY NAME = 'RF140-WRSHB'.
MOVE I_IN-VALUE TO LV_SUM1.
CLEAR I_IN.
DATA: SUM_C TYPE N.
SUM1 = SUM1 + LV_SUM1.
READ TABLE I_OUT WITH KEY NAME = 'LV_BALANCE'.
MOVE SUM1 TO I_OUT-VALUE.
MODIFY I_OUT TRANSPORTING VALUE WHERE NAME = 'LV_BALANCE'.
CLEAR I_OUT.
lv_balance is the one which receives the output value.
can anyone tell me what is the mistake i have done nd how to rectify it.
Thanks,
Rose.Hi,
I have done something similar so below is the code while passing currency fields to subroutines:
Actually I was retrieving 2 fields from scripts and then substract them and then send back the result to the script. Hope it works out for you, try it out and REWARD POINTS IF HELPFUL!! (also for your prev post!!)
FORM get_pay TABLES in_tab STRUCTURE itcsy out_tab STRUCTURE itcsy.
DATA: lv_var(255) TYPE c, "dmbtr,
lv_var1(255) TYPE c, "qsshb,
lv_var2(255) TYPE c, "dmbtr.
var(20) TYPE c,
var1(25) TYPE c,
var2(25) TYPE c,
var3(25) TYPE c,
var4(25) TYPE c,
var5(25) TYPE c,
var6(25) TYPE c,
vari TYPE ztemp,
vari2 TYPE ztemp,
vari3 TYPE ztemp.
DATA: lv_var4 TYPE dmbtr,
lv_var5 TYPE qsshb,
lv_var6 TYPE dmbtr,
len TYPE i,
len1 TYPE i,
dot TYPE c.
READ TABLE in_tab WITH KEY 'REGUP-DMBTR'.
IF sy-subrc EQ 0.
lv_var = in_tab-value.
len = STRLEN( lv_var ).
len1 = len - 3.
dot = lv_var+len1(1).
IF dot = ','.
SPLIT lv_var AT ',' INTO var1 var2.
REPLACE '.' IN var1 WITH ','.
CONCATENATE '.' var2 INTO var2.
CONCATENATE var1 var2 INTO var.
CONDENSE var.
vari = var1.
SHIFT vari LEFT DELETING LEADING '0'.
CONCATENATE vari var2 INTO vari.
lv_var4 = vari.
ELSE.
SPLIT lv_var AT '.' INTO var1 var2.
REPLACE '.' IN var1 WITH ','.
CONCATENATE '.' var2 INTO var2.
CONCATENATE var1 var2 INTO var.
CONDENSE var.
vari = var1.
SHIFT vari LEFT DELETING LEADING '0'.
CONCATENATE vari var2 INTO vari.
lv_var4 = vari.
ENDIF.
CLEAR: dot, len, len1.
ENDIF.
lv_var = vari.
CALL FUNCTION 'CHAR_NUMC_CONVERSION'
EXPORTING
input = lv_var
IMPORTING
numcstr = lv_var4.
READ TABLE in_tab WITH KEY 'REGUP-QBSHB'.
IF sy-subrc EQ 0.
lv_var1 = in_tab-value.
len = STRLEN( lv_var1 ).
len1 = len - 3.
dot = lv_var1+len1(1).
IF dot = ','.
SPLIT lv_var1 AT ',' INTO var3 var4.
REPLACE '.' IN var3 WITH ','.
CONCATENATE '.' var4 INTO var4.
CONDENSE var.
vari2 = var3.
SHIFT vari2 LEFT DELETING LEADING '0'.
CONCATENATE vari2 var4 INTO vari2.
lv_var6 = vari2.
ELSE.
SPLIT lv_var1 AT '.' INTO var3 var4.
REPLACE '.' IN var3 WITH ','.
CONCATENATE '.' var4 INTO var4.
CONDENSE var.
vari2 = var3.
SHIFT vari2 LEFT DELETING LEADING '0'.
CONCATENATE vari2 var4 INTO vari2.
lv_var6 = vari2.
ENDIF.
CLEAR: dot, len, len1.
ENDIF.
lv_var1 = vari2.
CALL FUNCTION 'CHAR_NUMC_CONVERSION'
EXPORTING
input = lv_var1
IMPORTING
numcstr = lv_var6.
lv_var5 = lv_var4 - lv_var6.
lv_var2 = lv_var5.
var = lv_var5.
WRITE lv_var5 TO var CURRENCY 'SG'.
READ TABLE out_tab WITH KEY 'LV_PAY'.
IF sy-subrc EQ 0.
out_tab-value = var.
MODIFY out_tab INDEX 1.
ENDIF.
ENDFORM. "get_PAY
Regards,
Narendra. -
Error while setting date parameter to an RFC
Hi,
I am getting the following error when i am setting a parameter od Date type to an RFC
java.lang.ArrayIndexOutOfBoundsException: -1
at com.sap.mw.jco.JCO$MetaData.getType(JCO.java:9201)
at com.sap.aii.proxy.framework.core.JcoBaseTypeData.setElementValue(JcoBaseTypeData.java:731)
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValueAsDate(DynamicRFCModelClass.java:568)
at com.telstra.ctawa.models.mainmodel.Zct_Wd_Demcat_Details_Input.setI_Tsk_Compldte(Zct_Wd_Demcat_Details_Input.java:387)
at com.telstra.ctawa.apps.wdp.IPublicAddWorkCustomController$IZct_Wd_Demcat_Details_InputElement.setI_Tsk_Compldte(IPublicAddWorkCustomController.java:1759)
at com.telstra.ctawa.apps.AddWorkCustomController.executeZct_Wd_Demcat_Details_Input(AddWorkCustomController.java:208)
at com.telstra.ctawa.apps.wdp.InternalAddWorkCustomController.executeZct_Wd_Demcat_Details_Input(InternalAddWorkCustomController.java:367)
at com.telstra.ctawa.apps.AddWorkAppView.executeGetDetails(AddWorkAppView.java:172)
at com.telstra.ctawa.apps.AddWorkAppView.wdDoInit(AddWorkAppView.java:101)
at com.telstra.ctawa.apps.wdp.InternalAddWorkAppView.wdDoInit(InternalAddWorkAppView.java:172)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:274)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:198)
at com.sap.tc.webdynpro.clientserver.window.InternalWindow.open(InternalWindow.java:45)
at com.telstra.ctawa.apps.TaskListView.onActionAddWork(TaskListView.java:402)
at com.telstra.ctawa.apps.wdp.InternalTaskListView.wdInvokeEventHandler(InternalTaskListView.java:369)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:100)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Regards
PrakashHi Rohit,
public void executeZct_Wd_Demcat_Details_Input( java.lang.String indicator )
//@@begin executeZct_Wd_Demcat_Details_Input()
//$$begin Service Controller(145786950)
if(indicator.equals("CNTR"))
wdContext.nodeTemp_DemCat().invalidate();
if(indicator.equals("CNTR") || indicator.equals("DEMCAT"))
wdContext.nodeTemp_WorkType().invalidate();
if(indicator.equals("CNTR") || indicator.equals("DEMCAT") || indicator.equals("WRKTYP"))
wdContext.nodeTemp_ProdSkill().invalidate();
if(indicator.equals("CNTR") || indicator.equals("DEMCAT") || indicator.equals("WRKTYP") || indicator.equals("PRDSK"))
wdContext.nodeTemp_CsgLoc().invalidate();
IWDMessageManager manager = wdComponentAPI.getMessageManager();
try{
String contractType = wdContext.currentContextElement().getContractType();
String demCat = wdContext.currentContextElement().getDemcat();
String wrkType = wdContext.currentContextElement().getWorktype();
String prodSkill = wdContext.currentContextElement().getProdskill();
String csgLoc = wdContext.currentContextElement().getCsgcat();
//setting all to null first
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type("");
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Demand_Cat("");
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Work_Type("");
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Product_Skill("");
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Csg_Loc("");
//wdContext.currentContextElement().get
if(indicator.equals("CNTR")){
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type(contractType);
if(indicator.equals("DEMCAT")){
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type(contractType);
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Demand_Cat(demCat);
wdContext.currentContextElement().setProdskill("");
wdContext.currentContextElement().setWorktype("");
wdContext.currentContextElement().setCsgcat("");
wdContext.currentContextElement().setPoints(new BigDecimal("0.00"));
if(indicator.equals("PRDSK")){
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type(contractType);
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Demand_Cat(demCat);
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Product_Skill(prodSkill);
wdContext.currentContextElement().setWorktype("");
wdContext.currentContextElement().setCsgcat("");
wdContext.currentContextElement().setPoints(new BigDecimal("0.00"));
if(indicator.equals("WRKTYP")){
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type(contractType);
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Demand_Cat(demCat);
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Product_Skill(prodSkill);
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Work_Type(wrkType);
wdContext.currentContextElement().setCsgcat("");
wdContext.currentContextElement().setPoints(new BigDecimal("0.00"));
if(indicator.equals("CSGCT")){
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type(contractType);
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Demand_Cat(demCat);
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Work_Type(wrkType);
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Product_Skill(prodSkill);
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Csg_Loc(csgLoc);
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Task_Complte(new Date(System.currentTimeMillis()));
wdContext.currentZct_Wd_Demcat_Details_InputElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
if(indicator.equals("CNTR")){
//copy data from CSG_DEM_CAT to nodeTempDemCat
for(int i=0;i<wdContext.nodeDem_Cat_Output().size();i++){
IPublicAddWorkCustomController.ITemp_DemCatElement demCatElem = wdContext.createTemp_DemCatElement();
WDCopyService.copyCorresponding(wdContext.nodeDem_Cat_Output().getDem_Cat_OutputElementAt(i) ,demCatElem);
wdContext.nodeTemp_DemCat().addElement(demCatElem);
IPublicAddWorkCustomController.ITemp_DemCatElement demCatElem = wdContext.createTemp_DemCatElement();
demCatElem.setDemand_Cat("Select");
wdContext.nodeTemp_DemCat().addElement(demCatElem);
wdContext.currentContextElement().setDemcat("Select");
if(indicator.equals("DEMCAT")){
for(int i=0;i<wdContext.nodeProduct_Skill_Output().size();i++){
IPublicAddWorkCustomController.ITemp_ProdSkillElement prdSkillElem = wdContext.createTemp_ProdSkillElement();
WDCopyService.copyCorresponding(wdContext.nodeProduct_Skill_Output().getProduct_Skill_OutputElementAt(i) ,prdSkillElem);
wdContext.nodeTemp_ProdSkill().addElement(prdSkillElem);
IPublicAddWorkCustomController.ITemp_ProdSkillElement prdSkillElem = wdContext.createTemp_ProdSkillElement();
prdSkillElem.setProduct_Skill("Select");
wdContext.nodeTemp_ProdSkill().addElement(prdSkillElem);
wdContext.currentContextElement().setProdskill("Select");
if(indicator.equals("WRKTYP")){
//copy data from CSG_LOC to nodeCsgloc
for(int i=0;i<wdContext.nodeCsg_Cat_Output().size();i++){
IPublicAddWorkCustomController.ITemp_CsgLocElement csgLocElem = wdContext.createTemp_CsgLocElement();
WDCopyService.copyCorresponding(wdContext.nodeCsg_Cat_Output().getCsg_Cat_OutputElementAt(i) ,csgLocElem);
wdContext.nodeTemp_CsgLoc().addElement(csgLocElem);
IPublicAddWorkCustomController.ITemp_CsgLocElement csgLocElem = wdContext.createTemp_CsgLocElement();
csgLocElem.setCsg_Loc("Select");
wdContext.nodeTemp_CsgLoc().addElement(csgLocElem);
wdContext.currentContextElement().setCsgcat("Select");
if(indicator.equals("PRDSK")){
//copy data from WRK_TYPE to nodeTempWrkTyp
for(int i=0;i<wdContext.nodeWork_Type_Output().size();i++){
IPublicAddWorkCustomController.ITemp_WorkTypeElement wrkTypElem = wdContext.createTemp_WorkTypeElement();
WDCopyService.copyCorresponding(wdContext.nodeWork_Type_Output().getWork_Type_OutputElementAt(i) ,wrkTypElem);
wdContext.nodeTemp_WorkType().addElement(wrkTypElem);
IPublicAddWorkCustomController.ITemp_WorkTypeElement wrkTypElem = wdContext.createTemp_WorkTypeElement();
wrkTypElem.setWork_Type("Select");
wdContext.nodeTemp_WorkType().addElement(wrkTypElem);
wdContext.currentContextElement().setWorktype("Select");
if(indicator.equals("CSGCT")){
BigDecimal points = wdContext.currentOutputElement().getPay_Points();
if(points.equals(new BigDecimal("0")))
wdContext.currentContextElement().setChkPointsInp(false);
else{
wdContext.currentContextElement().setChkPointsInp(true);
wdContext.currentContextElement().setPoints(wdContext.currentOutputElement().getPay_Points());
ISimpleTypeModifiable demCatSimpleType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("demcat");
IModifiableSimpleValueSet demCatList = demCatSimpleType.getSVServices().getModifiableSimpleValueSet();
//wdContext.nodeDem_Cat_Output()
for(int i = 0 ;i < wdContext.nodeTemp_DemCat().size();i++){
String demCatListElem = wdContext.nodeTemp_DemCat().getTemp_DemCatElementAt(i).getDemand_Cat();
demCatList.put(demCatListElem, demCatListElem);
ISimpleTypeModifiable wrkTypSimpleType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("worktype");
IModifiableSimpleValueSet wrkTypList = wrkTypSimpleType.getSVServices().getModifiableSimpleValueSet();
//wdContext.nodeDem_Cat_Output()
wrkTypList.clear();
for(int i = 0 ;i < wdContext.nodeTemp_WorkType().size();i++){
String wrkTypListElem = wdContext.nodeTemp_WorkType().getTemp_WorkTypeElementAt(i).getWork_Type();
wrkTypList.put(wrkTypListElem, wrkTypListElem);
}//for
ISimpleTypeModifiable prodSkillSimpleType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("prodskill");
IModifiableSimpleValueSet prodSkillList = prodSkillSimpleType.getSVServices().getModifiableSimpleValueSet();
prodSkillList.clear();
//wdContext.nodeDem_Cat_Output()
for(int i = 0 ;i < wdContext.nodeTemp_ProdSkill().size();i++){
String prodSkillListElem = wdContext.nodeTemp_ProdSkill().getTemp_ProdSkillElementAt(i).getProduct_Skill();
prodSkillList.put(prodSkillListElem, prodSkillListElem);
ISimpleTypeModifiable csgCatSimpleType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("csgcat");
IModifiableSimpleValueSet csgCatList = csgCatSimpleType.getSVServices().getModifiableSimpleValueSet();
csgCatList.clear();
//wdContext.nodeDem_Cat_Output()
for(int i = 0 ;i < wdContext.nodeTemp_CsgLoc().size();i++){
String csgCatListElem = wdContext.nodeTemp_CsgLoc().getTemp_CsgLocElementAt(i).getCsg_Loc();
csgCatList.put(csgCatListElem, csgCatListElem);
} catch(WDDynamicRFCExecuteException ce) {
manager.reportException(ce.getMessage(), false);
//$$end
//@@end
this line
wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Task_Complte(new Date(System.currentTimeMillis()));
before the modelobject is executed is giving error.
Regards
Prakash -
Getting error while sending data to OIM through SPMLWS
[11/12/10 4:12:29:834 EST] 00000040 SystemOut O ERROR,12 Nov 2010 04:12:29,830,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: tcUtilityFactory/getPropertyValue encounter some problems: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
java.lang.ClassCastException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:372)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.lookupHome(Unknown Source)
at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.getHome(Unknown Source)
at Thor.API.tcUtilityFactory.getUnauthenticatedOperations(Unknown Source)
at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.oracle.xl.spmlws.oim.eventhandler.OIMCallFactory.<init>(Unknown Source)
at com.oracle.xl.spmlws.framework.eventhandler.OIMEventHandler.handleRequest(Unknown Source)
at com.oracle.xl.spmlws.framework.event.EventMediator.executeEventHandlerSequence(Unknown Source)
at com.oracle.xl.spmlws.framework.event.EventMediator.processEvent(Unknown Source)
at com.oracle.xl.spmlws.framework.engine.Engine.process(Unknown Source)
at com.oracle.xl.spmlws.framework.engine.Engine.provision(Unknown Source)
at com.oracle.xl.spmlws.ws.server.websphere.HttpSoap11BindingImpl.processRequest(Unknown Source)
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:585)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeMethod(JavaDispatcher.java:178)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeOperation(JavaDispatcher.java:141)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processRequestResponse(SoapRPCProcessor.java:453)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processMessage(SoapRPCProcessor.java:414)
at com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.processMessage(BasicDispatcher.java:134)
at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.invoke(SessionDispatcher.java:204)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:152)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:336)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:831)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1075)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:550)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3391)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:556)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:606)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:979)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1064)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
[11/12/10 4:12:29:857 EST] 00000040 SystemOut O ERROR,12 Nov 2010 04:12:29,856,[SPMLWS.ENGINE],Provisioning Failed
[11/12/10 4:12:29:863 EST] 00000040 SystemOut O ERROR,12 Nov 2010 04:12:29,857,[ EXCEPTION WHILE PROCESSING PAYLOAD ],SPMLWS.Utility
com.oracle.xl.spmlws.framework.engine.EngineException: com.oracle.xl.spmlws.framework.engine.EngineException: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.oim.eventhandler.OIMEventException: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.oracle.xl.spmlws.framework.engine.Engine.provision(Unknown Source)
at com.oracle.xl.spmlws.ws.server.websphere.HttpSoap11BindingImpl.processRequest(Unknown Source)
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:585)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeMethod(JavaDispatcher.java:178)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeOperation(JavaDispatcher.java:141)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processRequestResponse(SoapRPCProcessor.java:453)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processMessage(SoapRPCProcessor.java:414)
at com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.processMessage(BasicDispatcher.java:134)
at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.invoke(SessionDispatcher.java:204)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:152)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:336)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:831)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1075)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:550)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3391)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:556)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:606)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:979)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1064)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
Caused by: com.oracle.xl.spmlws.framework.engine.EngineException: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.oim.eventhandler.OIMEventException: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.oracle.xl.spmlws.framework.engine.Engine.process(Unknown Source)
... 40 more
Caused by: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.oim.eventhandler.OIMEventException: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.oracle.xl.spmlws.framework.event.EventMediator.processEvent(Unknown Source)
... 41 more
Caused by: com.oracle.xl.spmlws.framework.event.EventException: com.oracle.xl.spmlws.oim.eventhandler.OIMEventException: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.oracle.xl.spmlws.framework.eventhandler.OIMEventHandler.handleRequest(Unknown Source)
at com.oracle.xl.spmlws.framework.event.EventMediator.executeEventHandlerSequence(Unknown Source)
... 42 more
Caused by: com.oracle.xl.spmlws.oim.eventhandler.OIMEventException: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at com.oracle.xl.spmlws.oim.eventhandler.OIMCallFactory.<init>(Unknown Source)
... 44 more
Caused by: Thor.API.Exceptions.tcAPIException: Unable to load class: com.thortech.xl.ejb.interfaces._tcUnauthenticatedOperationsHome_Stub
at Thor.API.tcUtilityFactory.getPropertyValue(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
... 45 more
[11/12/10 4:12:29:918 EST] 00000040 SystemOut O DEBUG,12 Nov 2010 04:12:29,917,[ WEBSERVICE METHOD PROCESSREQUEST ENDS ],SPMLWS.UtilityFollow these steps..
http://download.oracle.com/docs/cd/E14899_01/doc.9102/e14764/toc.htm#BGBJIIID
If you are using IBM WebSphere Application Server as the application server, then update the xlDataObjectBeans.jar file as follows:
Note:
Ensure that you perform these steps after you have performed the procedure described in "Upgrading Oracle Identity Manager on IBM WebSphere Application Server".
1.
In a Web browser, connect to the WebSphere administrative console by using a URL of the following format:
http://HOST_NAME:PORT/admin
2.
Log in by using the Oracle Identity Manager administrator account that you specified during installation.
3.
Click Applications, and then select Enterprise Applications.
4.
Select Xellerate application.
5.
Click Export.
6.
Save the xellerate.ear file to a temporary directory.
7.
Extract the xlDataObjectBeans.jar file from the xellerate.ear file.
Note:
Ensure that you extract the xlDataObjectBeans.jar file and not the xlDataObjects.jar file.
8.
Copy the xlDataObjectBeans.jar file into the OIM_DC_HOME\xlclient\lib directory. -
Error while sending data thru excel addin
Hi John,
When we tried pushing the data using excel addin, it gives an error
Your software license does not include the ability to update the data thru the spread sheet.Please contact your administrator.
We are also unable to save the data thru forms.Hi,
In 9.3.1 the products that are enabled for use are usually set by the registry.properties—in <Hyperion_Home>\common\config
Have a look at http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/hsys9_install_start_here.pdf
Page 54 - About registry.properties
Cheers
John
http://john-goodwin.blogspot.com/ -
Details...
New install
vCenter 5.5 build 2026576 in a distributed install, Server A MS SQL only, Server B SSO and web client, Server C Update manager and inventory, Server D vCenter service
VIN 5.8.3.140 build 2170967
I looked at and tried the recommendations in KB2044117 https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCAQFjAA&url=http%3A%2F%2Fkb.vmware.com%2Fkb%2F2044117&ei=LZ2dVP_4BcOnNum9gNAK&usg=AFQjCNFJUvvafrHpq5CluejRiVwWD0ZgCQ&sig2=dbADxFpPJ5giAHdYEz_vkA&bvm=bv.82001339,d.eXY
No good.
I did take a look at /var/log/vadm on the VIN and see several lines of "TCP Connection(xxxx)-Server B's IP com.vmware.vcext.vim.VcConnection -- Connecting to vCenter at Server D's IP" So it looks like it sees the request from the WWW client but then is trying to go to the vCenter service and not back to the WWW client.
I ran into the support assistant not being supported in a distributed vCenter install, and am left wondering if the same is true with VIN...
It also leaves me in a "tough spot" in that the uninstall instructions require access to a working web client interface to VIN which I do not have...
Any ideas as to what else I might try here?Solved but not happy!
VIN is not compatible with a web UI that uses standard ports, i.e. TCP 80 and 443. No notes (at least that I seen) in the documents stating this as a requirement.
KB 2065986
VMware KB: VMware vRealize Infrastructure Navigator is not accessible when the vSphere Web Client is not running on … -
403 forbidden error received at Trade Partner side while sending data to XI
Hi XI Experts,
We have a B2B scenario from TP1 to another TP2 via XI in our production system. The interface is working fine and messages are flowing successfully. However, the Trade Partner HUB has decided to implement a new eCommerce Business Platform at their end. That's why they have provided AS2 ID of sender and Receiver to us to make the changes in Quality environment. I have done the same in our Quality system.
Flow: We are able to send the data successfully to the AS2 ID provided by Hubgroup. Where as we are not able to receive any data from HUB.
Last Friday, Hubgroup has received the error while sending data to XI. And in our Sender AS2 channel, we also received the following error.
a) HUB Side error:
Here is a copy of the MDN Message send to HUB:
The message you sent on "Thu, 14 Oct 2010 07:14:51 GMT" from "XXXXXXXX" to
"XXXXXXXXX" with subject "Integrator Message" has been received on 14 Oct
2010 19:14:52 GMT, but cannot be processed because message authentication
failed.
b) XI AS2 channel error:
Error type: PANIC >> Error date: 10/14/10 11:48 AM >> Description: Initiate
Error:com.seeburger.util.configuration.ConfigurationException: Failed to lookup report channel for failed inbound
message. Reason : com.seeburger.xi.config.ConfigException: No matching inbound binding (report) found for
FromParty: ToParty: subject:Integrator Message [10/14/10 11:48 AM]
I have done the following things: 1) Cache refreshed 2) Recreated the 1st part from HUB to XI. 3) Checked the Agreements and Receiver Determination and also the AS2 ID's 4) Also checked the URL in communication channel. I have created the scenario with out any mapping. I want to receive the data from HUBGROUP with out any changes. For that, I will be using a dummy interface and dummy namespace in configuration.
When we test last night, HUB side they have received 403 forbidden error message and we didn;t receive any message to XI.
Note: XI3.0 version we are using currently. We are upgrading to PI 7.11 in the next month.
Please help me on this.
Thanks & Regards,
Abdullah Shaik.
Edited by: Abdullah Shaik on Oct 20, 2010 9:06 AMHi Abdullah ,
here are a few things that you can check:
1) Message authentication failed
- Check the authentication certificate settings.
- Disable the u201Cauthentication requiredu201D flag, if messages without authentication are to be received.
2) Partner received HTTP Error 403 u201Cforbiddenu201D.
This error may have different reasons:
a) You or your partner has entered an incorrect AS2 ID for one of the involved parties.
b) A valid sender agreement is missing.
c) There are more then one AS2 sender agreements with the same sender AND receiver party.
d) The corresponding inbound channel is set to inactive.
regards,
Daniel -
Hi,
I am doing one scenario in which SAP sends Material Number to Oracle and in turn Oracle fetches data for that Material Number and send it back to SAP.
Here when I am executing the scenatio in SAP with Material Number as 1* . I am getting an error in XI as "Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. java.sql.SQLException: No more data to read from socket"
I am getting this error while sending data from SAP to oracle.i tried the same scenario with 2 or 3 records.It is working fine.
I tried many options increasing the polling interval and restricting the records.But I am getting the same error.Please help me in this case.
Thanks,
Gunasree.Most of the debugging links say: Connection with database server is lost, and Use a new connection to come out this problem with code so that if again the session goes expired the connection automatically get establised.
Have a look:
Troubleshooting: No more data.....
1.http://www.chemaxon.com/forum/ftopic904.html
2.http://elandingstest.alaska.gov/confluence/display/IERS/TroubleshootingDatabaseConnection+Problems
3. http://www.orafaq.com/forum/t/35084/0/
4. BAPI_PO_CHANGE
5. http://www.junlu.com/msg/314591.html
BR,
Alok -
Error while passing date parameters in procedure and commit issue
Hi
1) I am doing a archiveing records and pls find my code below and i have couple of issue,pls find my code and want to ensure the commit is happening every 100000 rows inserted but i am archeiving a huge table but when i checks the table frequently it shows 0 records and after it shows count the actual rows around 20 million records.How can i ensure it commiting on every 100000 records. pls find my code my db version is 10g on windows
CREATE OR REPLACE PROCEDURE doins as
cnt number:=0;
FOR x IN (select * from Call_log
where trunc(c_date) = to_date('11-Aug-2008','DD-MON-YYYY'))
LOOP
INSERT INTO call_arch
select * from Call_log
where trunc(c_date) = to_date('11-Aug-2008','DD-MON-YYYY');
cnt := cnt + 1;
IF( cnt = 10000 )
THEN
cnt := 0;
commit;
END IF;
commit;
END LOOP;
2) Error while passing date as parameter i am getting following errors while passing date parameter pls find my code and errors
CREATE OR REPLACE PROCEDURE doins(p_date date) as
cnt number:=0;
begin
FOR x IN (select * from Call_log
where trunc(c_date) = to_char(p_date,'DD-MON-YYYY'))
LOOP
INSERT INTO call_arch
select * from Call_log
where trunc(c_date) = to_char(p_date,'DD-MON-YYYY');
cnt := cnt + 1;
IF( cnt = 10000 )
THEN
cnt := 0;
commit;
END IF;
commit;
END LOOP;
end;
exec doins(11-Aug-2008) then gives
SQL> exec doins(11-Aug-2008);
BEGIN doins(11-Aug-2008); END;
ERROR at line 1:
ORA-06550: line 1, column 16:
PLS-00201: identifier 'AUG' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
if i gave exec doins(11-08-2008) it gaves
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'DOINS'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
rgds
roshCREATE OR REPLACE PROCEDURE doins(p_date varchar2) as
cnt number:=0;
begin
FOR x IN (select A.rowid,A.* from Call_log A
where trunc(c_date) = to_date(p_date,'DD-MON-YYYY'))
--hope that's c_date columne is DATE datatype
LOOP
INSERT INTO call_arch
select * from Call_log
where rowid=x.rowid;
cnt := cnt + 1;
IF( cnt = 10000 )
THEN
cnt := 0;
commit;
END IF;
commit;
END LOOP;
end;
thats your correct procedure - but NOT CORRECT ISSUE.
You should use bulk collect with limit clause and forall clause to do it faster!!! Or Merge clause.
Maybe you are looking for
-
import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.Dimension; import java.awt.event.MouseEvent; import java.awt.event.MouseMotionListener; import javax.swing.JFrame; import javax.swing.JPanel; public class G { CardLayout ca
-
HP Officejet Pro 8500 Pro 8500 A910 black will not print, says printhead is OK
I have an HP OfficeJet Pro 8500 A910. It no longer prints black, even with a new toner cartridge. Have followed all procedures recommended to solve problem. Printhead diagnostics says black/yellow printhead is OK. Any suggestions?
-
Why can't I copy text from ibooks?
I have just downloaded Mavericks and I am looking into the desktop version of ibooks. It seems like I can copy text from free books but not from a book that I bought. It is the first and only book that I have bought on ibooks. I would like to start u
-
Usage of Conversion Classes During Unicode Conversion
Hi, I have code "TRANSLATE BBKF-SGTXT FROM CODE PAGE '0100' TO '0120'" Now During Unicode i need to Use the Conversion classes Can any one help to proceede further on this Actually I am using CL_ABAP_CONV_OUT_CE and I am getting the Data in Binary
-
How to fetch movie(mpg) file from repository.
Hi All, I have uploaded a mpg(video) file in content repositoy. But I am not able to fetch it and display it using embed tag. is anybody aware of a right method to do the same? I am using weblogic 8.1. Thanks in advance.