Mapping LookupAPI- Error closing accessor
Hi All,
We are using Mapping Lookup API to get some data from the ABAP stack.
We are using it in a userdefined function.
However we are getting foll error after the value is fetched :
Error while closing accessor Technical error when calling an adapter remotely. The HMI method with the ID close was called with an incorrect session status. The system accessor object is missing.
Does anybody know wht is this about?
Any help would be appreciated.
Regards,
Sulakshana
I really could not make out what the problem was...your code was working correctly for me...i used the RFC FM STFC_CONNECTION to test....
since you were getting the error saying system accessor missing..it might bw worth while trying to use the system accessor instead of the rfc accessor.....
pls se the changes to be made in BOLD.
String rfcOutput = "";
MappingTrace importanttrace;
importanttrace = container.getTrace();
// filling the string with RFC-XML
String sRfcxml = "<?xml version="1.0" encoding="UTF-8"?><ns0:STFC_CONNECTION xmlns:ns0="urn:sap-com:document:sap:rfc:functions"><REQUTEXT>TEST ME</REQUTEXT></ns0:STFC_CONNECTION>";
<b>SystemAccessor accessor = null;</b> ByteArrayOutputStream out = null;
try {
// 1. Determine a channel (Business system, Communication channel)
Channel channel = LookupService.getChannel("BS_DEV_XI_401_NA","CC_RFCXI401NA");
// 2. Get a RFC accessor for a channel. accessor = LookupService.getRfcAccessor(channel);
<b>accessor = LookupService.getSystemAccessor(channel);</b>
<b>accessor.setOperationName("STFC_CONNECTION");
accessor.setOperationNamespace("urn:sap-com:document:sap:rfc:functions");</b>
// 3. Create a xml input stream representing the function module request message.
InputStream inputStream = new ByteArrayInputStream(sRfcxml.getBytes());
// 4. Create xml payload
XmlPayload payload = LookupService.getXmlPayload(inputStream);
// 5. Execute lookup.
Payload rfcResult = accessor.call(payload);
InputStream in = rfcResult.getContent();
out = new ByteArrayOutputStream(1024);
byte[] buffer = new byte[1024];
for (int read = in.read(buffer); read > 0; read = in.read(buffer))
out.write(buffer, 0, read);
importanttrace.addInfo(out.toString());
rfcOutput = out.toString();
} catch(LookupException e)
importanttrace.addWarning("Error while lookup " + e.getMessage() );
return e.toString();
} catch(IOException e)
importanttrace.addWarning("Error " + e.getMessage() );
return e.toString();
finally {
if (out!=null)
try {
out.close();
catch (IOException e)
importanttrace.addWarning("Error while closing stream " + e.getMessage() );
return e.toString();
// 7. close the accessor in order to free resources.
if (accessor!=null)
try {
accessor.close();
catch (LookupException e)
importanttrace.addWarning("Error while closing accessor " + e.getMessage() );
//e.printStackTrace();
//importanttrace.addWarning("Error while closing " + e.printStackTrace() );
importanttrace.addWarning("Error while " + e.getRootCause());
importanttrace.addWarning("Error while " + e.getCause());
return e.toString();
//returning the result RFC-XML.response
//final String STARTTAG = "<Y_FILENAME>";
//final String ENDTAG = "</Y_FILENAME>";
//int Y_FILENAME_START = rfcOutput.indexOf(STARTTAG);
//int Y_FILENAME_END = rfcOutput.indexOf(ENDTAG);
//Extract generation Number
//String generationNumber = rfcOutput.substring(Y_FILENAME_START+STARTTAG.length() , Y_FILENAME_END);
//result.addValue(generationNumber);
return rfcOutput;
Similar Messages
-
RuntimeException in Message-Mapping transformatio error in txt to txt fcc
hi
in my design part i executed my mapping program , it executed successfully
my src is
<?xml version="1.0" encoding="UTF-8"?>
<ns0:mt_sarat_txttxt_sender xmlns:ns0="http://Sarat">
<Company>
<Header>
<Key1>H</Key1>
<RecordId>123</RecordId>
<PlantName>abc</PlantName>
</Header>
<Item>
<Key2>I</Key2>
<MaterialId>456</MaterialId>
<Quantity>def</Quantity>
</Item>
</Company>
</ns0:mt_sarat_txttxt_sender>
IN SXMB_MONI i got RuntimeException in Message-Mapping transformatio error
i reffered some blog according to their sugessition do as follows
Go to SXMB_MONI and get the source xml from there and test it in the IR->Mapping Editor
my source xml is
<?xml version="1.0" encoding="utf-8" ?>
- <ns:mt_sarat_txttxt_sender xmlns:ns="http://Sarat">
- <Company>
- <Header>
<Key1>H</Key1>
<RecordId>123</RecordId>
<PlantName>abc</PlantName>
</Header>
- <Item>
<Key2>I</Key2>
<materialId>456</materialId>
<Quantity>def</Quantity>
</Item>
</Company>
</ns:mt_sarat_txttxt_sender>
when i executed in mapping editor it gives fatal error
Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:130) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:68) Root Cause: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3)(:main:, row=2, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) at com.sap.engine.lib.xml.parser.XMLParser.scanProlog(XMLParser.java:2668) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2713) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:162) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:132) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:142) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:245) at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:276) at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:338) at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:128) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:68) -
at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:144) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:128) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:68) Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3) at com.sap.engine.lib.xml.parser.XMLParser.scanProlog(XMLParser.java:2668) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2713) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:162) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:132) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:142) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:245) at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:276) at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:338) at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) ... 3 more Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 2d, 20, 3c(:main:, row:2, col:3)
but i have mapped main nodes in message message mapping.
waiting for answers,
maheshgot it maheshwar
in FCC you have given small "m" .
<materialId>456</materialId>
but in data type its caps..
<MaterialId>456</MaterialId>
change it in sender comm channel and it will work..
dont forget to award points..
regards
pushkar -
ABAP Mapping Programm error Urgent
I am getting mapping error in ABAP Mapping programm. plz help me how to solve
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--
Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">APPLICATION_PROGRAM_ERROR</SAP:Code>
<SAP:P1>Z_HBS_PAYROLL_MAPPING</SAP:P1>
<SAP:P2>SAP-ABAP</SAP:P2>
<SAP:P3>UNCAUGHT_EXCEPTION</SAP:P3>
<SAP:P4>Program Z_HBS_PAYROLL_MAPPING=========CP Include Z_HBS_PAYROLL_MAPPING=========CM001 Line 1</SAP:P4>
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error in mapping program Z_HBS_PAYROLL_MAPPING (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause Dereferencing of the NULL reference</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>Hi,
I think this exception you need to catch it in the ABAP..
This may help u- http://help.sap.com/saphelp_47x200/helpdata/en/55/bff20efe8c11d4b54a006094b9456f/content.htm
just cross verify with this guide-
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
Regards,
moorthy -
Jboss/tomcat mapping configuration error
I can't even get the combination to serve a .jsp file or .html file. Regardless of the URL that I attempt, I only get a No Context configured to process this request error from tomcat and INFO [Engine] StandardHost[localhost]: MAPPING configuration error for request URI from JBoss. I've tried to access all of the various webapps under the catalina directory and can't get to any of them. I know that catalina is started because the log file shows
<Service name="JBoss-Tomcat">
<Engine name="MainEngine" defaultHost="localhost">
<Logger className="org.jboss.web.catalina.Log4jLogger" verbosityLevel="trace" category="org.jboss.web.localhost.Engine" />
<Host name="localhost">
<Valve className="org.apache.catalina.valves.AccessLogValve" prefix="localhost_access" suffix=".log" pattern="common" directory="../server/default/log" />
<DefaultContext cookies="true" crossContext="true" override="true" />
</Host>
</Engine>
<!-- A HTTP Connector on port 8080 -->
<Connector className="org.apache.catalina.connector.http.HttpConnector" port="8080" minProcessors="3" maxProcessors="10" enableLookups="true" acceptCount="10" debug="0" connectionTimeout="60000" />
</Service>
</Server> in jboss.web:service=EmbeddedCatalinaSX
2002-06-12 23:29:44,760 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Creating
2002-06-12 23:29:44,760 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Created
2002-06-12 23:29:44,760 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying tomcat4-service.xml
2002-06-12 23:29:44,760 DEBUG [org.jboss.deployment.MainDeployer] start step for deployment file:/D:/JBoss3.0/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml
2002-06-12 23:29:44,760 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, start step: url file:/D:/JBoss3.0/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.xml
2002-06-12 23:29:44,760 INFO [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Starting
2002-06-12 23:29:44,760 INFO [org.jboss.deployment.MainDeployer] Adding deployer: org.jboss.web.catalina.EmbeddedCatalinaServiceSX@7dadcd
2002-06-12 23:29:44,760 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Setting catalina debug level to: 0
2002-06-12 23:29:44,760 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Setting catalina.home to: ../catalina
2002-06-12 23:29:44,760 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Setting catalina.base to: ../catalina
with no errors. I'm confused because I was able to consistently work with previous versions of JBoss with no problem. The configuration seems to have changed radically, is this some recent change that I just can't find a reference to? Thanks for any help.Hi
For Tomcat 3.x you need to use one of the following options:
(Note: this is with JBoss/Tomcat OR JBoss/Jetty)
Place you .war files in the following location:
C:\jboss-3.0.3\server\default\deploy and the app is automatically available.
If my app's name is DavidOnline.war, when deployed, I can access it at
http://localhost:8080/DavidOnline..
OR
Copy your entire development directory to the deploy direction above, RENAME your
directory from say C:\JspApps to C:\JspApps.war and you can work from that location and see your changes immeadiatly.
There is a file called jboss-service.xml that has some config options, also for the Tomcat bundle there is a file named tomcat-service.xml that has the standard server.xml section.. I suggest you check out the JBoss website, free docs and forums.. http://www.jboss.org.
Thanks, Hope this helps. -
MAPPING MAPPING configuration error
I am getting MAPPING configuration error while running this code using Tomcat 4.1 on my website whereas it is running at my local webserver
Please HELP
ERROR LOG
StandardHost[site.winwinhosting.net]:MAPPING configuration error for request URI /
NewsFile read: java.lang.NullPointerException:name can:+t be null NewsFile read: java.lang.NullPointerException: name can:+t be null NewsFile read:
java.lang.NullPointerException: name can:+t be null
Bunty
<%@ page import = "java.io.*, java.util.*,java.net.URL,java.awt.*" %>
<HTML>
<head></head>
<body>
<%
// Read in the text file newsfile.txt
ServletContext context = getServletContext();
String file = (context.getRealPath("news.txt"));
//String file = "news.txt";
StringBuffer stringbuffer = new StringBuffer("");
FontMetrics fm;
Font f1;
String str;
String s;
String tmp;
String param;
int i;
int disp;
int tot;
int pos;
int pos1;
int ImageDepth;
int TextDepth;
int fmW;
int dd;
int width;
int height;
int j;
char ch;
str = new String(" * Online : News * Ticker * ");
tmp = new String("");
param = new String("");
String s3,s2,s1, news = new String();
try {
DataInputStream in = new DataInputStream(new BufferedInputStream(new FileInputStream(file)));
//DataInputStream in = new DataInputStream((new URL( file)).openStream());
//stringbuffer.append(in.readLine());
//stringbuffer.append(" * ");
//s1 = stringbuffer.toString();
//out.println(s1);
while((in.readLine())!= null)
s2=in.readLine()+ "\r";
stringbuffer.append(s2);
stringbuffer.append(" * ");
//news += s2 + "\n";
//out.println(s2);
in.close();
catch(Exception e) {
System.out.println("NewsFile read: " + e);
%>
<%
news=stringbuffer.toString();
//out.println(news);
%>
<marquee><%=news%></marquee>
</body>
</html>I think it is not able to locate your source file(New.txt). Try putting an output statement and see what is the patth it is printing and check whether it is the correct path where is your news.txt is located.
Bye -
SXMB_MONI : Mapping exception error - cause unknown
Hi! ALL
I am getting a mapping exception error....
However, if i copy the payload and run it through my test tab it is getting processed successfully.
Is there any other way i can debug this issue....as i do not see any problem with payload or the message mapping and I am getting the following error...
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_mm_204: RuntimeException in Message-Mapping transformatio</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Your help is greatly appreciated!!
Thank you,
Patrick.Dear Patrick,
As our experts told you can trace by using ST01 and select your ID and start the trace then again test be editing and reactivating the scenario and test it again then you ill came to know if in case any issues.
1. Other way to test the scenario is Goto RWB--> Component Monitoring --> Select Adapter Monitoring --> Then select the TEST MESSAGE TAB and give Interface details inputs or copy or take your pay load from MONI and past here and check and changes are to be made and then test the message there itself .
2. Also as u can test the message in Message Mapping TEST TAB and test the mapping and also parallely do Cache Refresh in SXI_CACHE.
3. You can also check the status of the message in SYSEM STACK of message monitoring this is different from RWB message moni
[http://Host name:PORT/MessagingSystem/monitor/systemStatus.jsp]
4. YOu can also trace the message through this system stack also.
Regards:
Amar Srinivas Eli
Edited by: Amar Srinivas Eli on Jan 30, 2009 8:53 AM -
Runtime Mapping Transformation Error
Hi Experts,
I am doing a file to idoc scenario in which the sender system is MDM and the Idocs are to be received in the R/3 system.
I have generated XSD from the IDOC itself , that is MATMAS05 and used it as the source structure by importing in External Definition and the targer is of course the Idoc.
In SXMB_MONI i get the Runtime Mapping Transformation error. What can be the reason for this.I read somewhere that the XSD and the xml file that is being picked might have different structures.
But i checked and they are same.
Only the problem can be with the encoding part.
In the XML structure of the Idoc , it is UTF-8 and also after exporting it to file it is UTF-8. But after importing it in the External Definition,it becomes ISO-8859-1 and we are unable to change it.
Also, the xml file that is given from the MDM system has encoding as UTF-8.
Kindly help.
Thanks in Advance.
-Shweta.Hi,
1) check out imported xsd is correct , valid. Hope while importing you have used Type as "XSD" and then after importing, check out the messages tab to know this
2) In the mapping, did you map all the madatory fields ? like some of the attributes like BEGIN? For this BEGIN attribute map with constant value. also check all the mandatory nodes/fields
3) check the mapping in the mapping editor independently in Repository by picking the input xml from the SXMB_MONI. So that you can test the mapping
Hope this will solve the mapping problem. btw, it is prefer to have exact error posted here.
Regards, Moorthy -
Map loader / error loading catalog
Hi there,
i have a problem with the "map loader" and my Nokia 5800 XM.
... the map loader worked as i bought the phone some months ago. Everything worked fine. Today i had to do a reset. The map is still working, but i cant get the map loader to work.
After the start of the program and sync with the 5800 XM im getting an errormsg (in german but im trying to translate).. "cannot load the catalog of the 5800 xm"
Thats it. I googled whole day, but found no solution... so this forum is my last help right now.
It worked (today) before i have done the reset so im thinking that its not my OS (Windows7 64bit).
thx in advance
Murtone more thing.. i have updated the FW today to the newest available. 50.0.005
found also another thread here /t5/Maps-Navigation-and-GPS/Map-Loader-error-while-loading-catalogue/td-p/624895/page/2
might be an FW problem then? -
Acrobat Pro form getting MAPI spooler error
I have a form created in Acrobat Pro. The users are using Reader 9.3.1. When the user clicks the Submit button, they get a MAPI Spooler error. For some Windows Services closes Reader. Any thoughts on what is causing this and how to fix?
Thanks,
MDawnHi Lon ,
I would request you to get in touch with the support team to get your issue fixed.
http://helpx.adobe.com/x-productkb/global/service-b.html
Regards
Sukrit Dhingra -
FDM Conditional Map Script Error
Hi all,
we trying importing data from EBS to HFM though ERPI by using FDM.
We used conditional based scripts to importing data from ebs to FDM.
this scripts used in FDM for ICP dimension between conditional mapping script.script logic is some particular account are related to Intercomapny transaction accounts we have to map to ICP member
can anyone help me on this:
this is error :
** Begin FDM Runtime Error Log Entry [2011-12-12 15:10:18] **
ERROR:
Code............................................. 1014
Description...................................... Conditional Map Script Error: Expected 'End' at line(2)
Script:
If varValues(14)="113401" Then Result="21_ADNIP"
Else Result="[ICP NONE]"
End if
Rule=I1
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 13888
IDENTIFICATION:
User............................................. admin
Computer Name.................................... ADNIPHYPUAT01
App Name......................................... FDMHFM
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... HYPUAT
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... HFMGLLOAD
Location ID...................................... 750
Location Seg..................................... 4
Category......................................... WLCAT
Category ID...................................... 12
Period........................................... May - 2011
Period ID........................................ 5/31/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
Thanks.
SriniHi, please try the mapping script again having the "Result=" statement on a separate line, like:
If varValues(14)="113401" Then
Result="21_ADNIP"
Else
Result="[ICP NONE]"
End if
Kind regards,
Jeroen -
Mapping debbuging error:DBG1006: Error while initializing test data
Hi,
I have created a mapping in which I am trying to delete data from a table based on exisitence of rows in another table with a filter condtion in between them.When i try to run the debbugger, it throws following error:
============
Analyzing map for debug...
Retrieving Control Center connection info...
Connecting to Control Center schema...
Checking character set of Control Center schema...
Configuring sources and targets...
Mapping Debugger Error:
oracle.wh.service.sdk.mapping.debugger.WBMappingDebuggerException: DBG1006: Error while initializing test data for sources and targets:
oracle.wh.repos.sdk.CMPException: Trying to access invalid Object.
Element ID: 110138
Status: 4
Owning FCO: 98409
==================
Any idea what could be the possible cause?
Query which I am trying to simulate is of following type:
Delete from TableA t1
where exits(select 1 from TableB t2 where t1.col1 = t2.col1 and t2.col2 = 'delete')
Thanks
AJ.Oops..thats weird.
Tell me one thing...then how gud is the code generated in terms of working...if someone has to really test the code pre-hand for expected business logicWhy i am raising this concern is becoz there are many features for which OWB provides support in indirect way(workaround) like exists/not exists.
Do we need to deploy mapping each time and then test through a run from Control centre?
Other thing, As far i understand, the code generated is not in such a format that one can directly copy paste it in any sql/plsql editor and test it...
Regards
AJ. -
OraOLEDB error '80040e4b' : Accessor is not a parameter accessor
Hi!
I'm seeing the following error, inconsistently, in my ASP application:
OraOLEDB error '80040e4b'
Accessor is not a parameter accessor
The database is an Oracle 9i database - the web server has an Oracle 9i
client installation on it. Not sure as to the MDAC version as my
company firewall prevents me downloading the Component Checker. Is
there another way to determine the version?
If I refresh the page, the error will disappear and the page will load
correctly. I've notice that, although it occurs on and off, it always
occurs on the following line of code:
start_date = rstProb("start_date")
In context:
Set cnnDB = Server.CreateObject("ADODB.Connection")
strConn = "Provider=OraOLEDB.Oracle;User
ID=USER_SCHEMA;Password=password; Data Source=SOURCE"
cnnDB.Open(strConn)
Set rstProb = SQLQuery(cnnDB, "SELECT * FROM PROBLEMS WHERE ID = 10)
start_date = rstProb("start_date")
You get the picture.
The column PROBLEMS.START_DATE is of type DATE
Any thoughts? I can't understand why this doesn't fail consistently,
even though the data does not change...
Thanks in advance for your thoughts.
Regards,
mroshawThe same error "accessor is not ..." on a 10g R2
database, The Application is a VB6 application.
When using the 10g r2 client (the natural choice) the
problem occours, when a dynamic sql with calculated
fields are tried to fetch. The problem is, that the
calculated field has more figures in the scale than
ADO can handle, and this problem is actually
documented. The workaround is to get this calculated
field rounded by ORACLE and then served to ADO.
The weird thing is, 10g R1 client, used with the same
r2 database, same computer, same code, produce no
errors. So using r1 client seems to cure the
problem.
These workarounds found, we still look for a solution
with r2 database and r2 client.The same error "accessor is not ..." on a 10g R2 database, The Application is a VB6 application.
When using the 10g r2 client (the natural choice) the problem occours, when a dynamic sql with calculated fields are tried to fetch. The problem is, that the calculated field has more figures in the scale than ADO can handle, and this problem is actually documented. The workaround is to get this calculated field rounded by ORACLE and then served to ADO.
The weird thing is, 10g R1 client, used with the same r2 database, same computer, same code, produce no errors. So using r1 client seems to cure the problem.
These workarounds found, we still look for a solution with r2 database and r2 client.
Does anyone know the link to the acutual documentation? Thank you. -
What values in EBM Header maps to error notification entry in AIA console
Hi Guys,
Can any one tell me which values of EBM Header maps to error notification entry in AIA console for sending notification to user created ?
What elements in EBM Header maps to this fields *(SYSTEM CODE, ERROR CODE, SERVICE NAME, and PROCESS_NAME)* in Error notification in AIA Console for sending notification to a particular user other than AIAIntegrationAdmin?Hi Gerhard,
I tried to send notification using feature available in AIA FP whenever remote and binding fault happened to user SysAdmin creatred in Admin console under user & groups.
I have done the below configuration
1. Made entry in AIA console under error notification (Error code : blank service name: SampleBpel system code : sys process name: SampleBpel Role: SysAdmin FYIRole: SysAdmin).
2. configured email driver properties and work flow notification properties.
3. made entry in http://localhost:7001/sdpmessaging/userprefs-ui/ with user logged in SysAdmin and entered mail-id.
4. Populated EBM Header with the below values
<part name="AIAFault">
<Fault>
<EBMReference>
<BusinessScopeReference>
<InstanceID>SampleBpel</InstanceID>
</BusinessScopeReference>
<SenderReference>
<ID>SYS</ID>
<ObjectCrossReference/>
<Application/>
</SenderReference>
</EBMReference>
<B2BMReference/>
<FaultNotification>
<FaultMessage>
<Code/>
<Text></Text>
<Stack></Stack>
<IntermediateMessageHop/>
</FaultMessage>
<FaultingService>
<ID>SampleBpel</ID>
<ImplementationCode>BPEL</ImplementationCode>
<InstanceID>10011</InstanceID>
<ExecutionContextID>480626c0ac4cb5bd:-64972e88:13bb690ac70:-8000-0000000000010746</ExecutionContextID>
</FaultingService>
</FaultNotification>
</Fault>
</part>
5.Included fault-policies and fault-bindings.xml in project.
when testing the project with negative scenario generates the remote fault. I am able to see fault data i.e EBM Header in AIAReadJMSNotificationProcess.
But it is unable to send notification for the user created (SysAdmin).
It is showing the default user values
Message ID (Recipient) b89bc86bc0a805f10110c4aa3d93719f (USER:AIAIntegrationAdmin)
Operation Send
Overall Status Failed
Status Code ENGINE_PROCESSING_FAILURE
Status Message User could not be resolved to device addresses. Please see the log file for details.
Timestamp Dec 20, 2012 7:28:56 PM IST
Gateway Message ID
Sender
Recipient USER:AIAIntegrationAdmin
Driver Instance Name
Engine /Farm_base_domain/base_domain/AdminServer/usermessagingserver
Application Name soa-infra
Application Instance Name
It is unable to send notification to the user SysAdmin
Can you provide solution how can i send notification to user created (SysAdmin)?
what are the EBM Header values that need to be populated for sending notification to user created (SysAdmin)? -
Nokia Map Loader Error in connection
Hi Guys,
I have an N80 and have the MAPS software installed on my phone and the Nokia Map Loader software on my Laptop. However, in order for me to download the maps I have to connect my N80 to my laptop in Data Transfer Mode and then run Nokia Map Loader. This should then allow me to download the Maps. I get an error when connecting to my laptop in Data Transfer Mode. It just says Invalid usb connection or something like that. No I don't think it is the maps software but I would like to know if any of you had the same problem before and how it can be resolved. I sent a note to Nokia Tech team to see if they know but it takes a while for them to get back to you.
So, does anybody know how I can get past this or get the MAPS downloaded?
Any advice would be greatly appreciated.
Cheerscan´t connect nokia map loader, error, won´t work?
I had this same problem, found your post looking for an answer (lol), and I just SOLVED the problem ; )
First, you don´t connect in data transfer mode. You must use pc suite mode, or it won´t work.
Second, (and this is the tricky part), YOU HAVE TO INSTALL nokia maps on your smartphone (so far ok, we all know this), but then you have to RUN THE PROGRAM ONCE.
Don´t ask me why, but if you just install nokia maps, then try to connect with nokia map loader, it won´t work. You have to install the program then run it once. Exit the program, then connect to you pc (nokia map loader) with pc suite mode.
BTW, do NOT install nokia maps on your smartphone on the phone memory. ALWAYS USE THE CARD MEMORY, install nokia maps on your memory card, because the maps are so huge. Most phones won´t have enough internal space.
So this is it, no more suffering. Damn, I´m good ; )
Message Edited by unsterblich on 17-Jan-2009 03:54 PM -
Fpga -Re:ERROR MESSAGE INDICATIN X-FLOW PROGRAM MAP RETURNED ERROR CODE
sir,
I am working on a project using ni rio-7831R uaing labview fpga1.1, on compiling on to the device i am encountering a error giving follow message:
Problem encountered during the packing phase.
ERROR:Xflow - Program map returned error code 2. Aborting flow execution...
so please, recommend me the action so that i could compile my project without error.
vamsiHi Vamsi,
The information you are looking for is in this KB: Why Does My FPGA Compile Give An OVERMAPPED Error When Compiling? < http://digital.ni.com/public.nsf/websearch/060BA89FE3A0119E48256E850048FFFE?OpenDocument >
I think you are running out of space on your FPGA. You can either purchase a 3 million gate fpga(7833R) or Optimize your code to use less space. Have a great day!
Regards,
Prashanth
Maybe you are looking for
-
Not able to print reverse video field using Smartform with Zebra printer. Help required. Regards.
-
Reading form data using javascript
Hello. I want to go over the data received from the context to the PDF file using JavaScript, without binding it to any elements on the form. How can I access the data? I've tried using xfa.data or xfa.dataset, but didn't manage to get to it. How can
-
Long running Process chain for less Number of records
Hello Experts, I have a problem with a process chain which is taking very long time ( To load around 20 records) Problem Description: 1) I have one base ODS and First level ODS and the data uo to this point is loaded with out any problem. 2) When the
-
JNLP FileSaveService and File Exists
In all the examples I've seen on saving a file with FileSaveService, if the file already exists it is overwritten. Does anyone know how to implement code that would ask the user something like "File exists. Overwrite?" With JNLP it seems there's no w
-
S.O.S - Design Tab
People, good night! Help me on something: Why the design tab appear on my flash builder? How can I put it?