on 09-03-2008 3:24 PM
Hi friends,
I am working on simple file to file scenario, by refering the blog
[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5766] [original link is broken] [original link is broken] [original link is broken];
here i did all the configuration n setting as mantioned in this, but i am not getting result.
I have confusion in giving the location of sener and receiver directory,
should that folder be on xi server or local machine.?
do we need some type of trigerring so that XI will pick file from sender directory?
Thanks.
brij...
(Points wll be rewarded for helpful answer)
for your question:
do we need some type of trigerring so that XI will pick file from sender directory?
ans:
when the communication channel is active, the channel will poll the sender directory for the specified sender file name every x seconds where x is the polling interval which you specify.
if it finds the file, it will pick up.
since the processing mode is "delete", once it picks up the file, it will delete it from the source directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi yashaswee,
i checked in RWB, and under adapter engine under status tab i am getting the
0 communication channels have an error status
0 communication channels inactive
0 communication channels not providing any status information
0 adapters logging communication-channel-independent processing errors
so does it means that communication chanels are working ok?.
Also whn I clickd on communication channel Monitoring, it is not providing me any value in input help.
Edited by: brijesh soni on Sep 4, 2008 9:37 AM
Hi soni..
We can test it in another way..
What is the error u are getting in SXMB_MONI and try to trace there.. if every thing is fine there
then go to RWB in that choose message monitoring
in that choose Adapter engine -
> Display
in the Start/End Date choose Today for the messges that are processed today and choose ur scenario and from there we have a button called DETAILS there and when u click that details button u will be seeing the log file containg the reason to cause error..
reply if any quries..
regards,
Kishore
It does not show input help. you have to copy paste or key in the details.Please check in Integration directory if your channels are active and all objects are activated.
Also, go to environment in integration directory -> Cache notification -> check if all objects you have created have a Green status, refresh if not.
You are right, there its showing error in cache notification
In cache notification,
for cache instance Integration Server(Central Adapter Engine)
cache updated status is red for all and , in the pronlems tab it is showing this,
com.sap.aii.ib.server.abapcache.CacheRefreshException: Attempt to access the 18 requested objects on 4 failed. Detailed information:
com.sap.aii.ib.core.roa.RoaObjectAccessException: Attempt to read object Adapter Metadata XIRA | http://sap.com/xi/XI/System (SAP BASIS 7.00), type AdapterMetaData from application REPOSITORY on system REPOSITORY failed. Object does not exist. Detailed informatio n: Object Adapter Metadata XIRA | http://sap.com/xi/XI/System not found
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata IDOC123 | urn:test-com: (1b4f8d70-4843-11dd-afaa-ee64c0a80411) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 1b4f8d70-4843-11dd-afaa-ee64c0a80411 does not exist
com.sap.aii.ib.core.roa.RoaObjectAccessException: Attempt to read object Adapter Metadata XIConnectivity | http://sap.com/xi/XI/System (SAP BASIS 7.00), type AdapterMetaData from application REPOSITORY on system REPOSITORY failed. Object does not exist. Detailed informatio n: Object Adapter Metadata XIConnectivity | http://sap.com/xi/XI/System not found
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata METADATA | http://sap.com (0175ec20-4a99-11dd-c925-ee64c0a80411) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 0175ec20-4a99-11dd-c925-ee64c0a80411 does not exist
at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:482)
at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:155)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:388)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:326)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:145)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
at com.sap.aii.ibdir.web.abapcache.HmiMethod_CacheRefresh.process(HmiMethod_CacheRefresh.java:67)
at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl1_0.process(HmisLocalLocalObjectImpl1_0.java:144)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
at com.sap.aii.utilxi.hmis.web.workers.HmisExternalClient.doWork(HmisExternalClient.java:75)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
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:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
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:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
com.sap.aii.ib.core.serialization.gen.SerializationException: Attempt to access the 18 requested objects on 4 failed. Detailed information:
com.sap.aii.ib.core.roa.RoaObjectAccessException: Attempt to read object Adapter Metadata XIRA | http://sap.com/xi/XI/System (SAP BASIS 7.00), type AdapterMetaData from application REPOSITORY on system REPOSITORY failed. Object does not exist. Detailed informatio n: Object Adapter Metadata XIRA | http://sap.com/xi/XI/System not found
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata IDOC123 | urn:test-com: (1b4f8d70-4843-11dd-afaa-ee64c0a80411) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 1b4f8d70-4843-11dd-afaa-ee64c0a80411 does not exist
com.sap.aii.ib.core.roa.RoaObjectAccessException: Attempt to read object Adapter Metadata XIConnectivity | http://sap.com/xi/XI/System (SAP BASIS 7.00), type AdapterMetaData from application REPOSITORY on system REPOSITORY failed. Object does not exist. Detailed informatio n: Object Adapter Metadata XIConnectivity | http://sap.com/xi/XI/System not found
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata METADATA | http://sap.com (0175ec20-4a99-11dd-c925-ee64c0a80411) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 0175ec20-4a99-11dd-c925-ee64c0a80411 does not exist
at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.serializeAdapterMetadata(CacheCPA.java:706)
at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:422)
at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:155)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:388)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:326)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:145)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
at com.sap.aii.ibdir.web.abapcache.HmiMethod_CacheRefresh.process(HmiMethod_CacheRefresh.java:67)
at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl1_0.process(HmisLocalLocalObjectImpl1_0.java:144)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
at com.sap.aii.utilxi.hmis.web.workers.HmisExternalClient.doWork(HmisExternalClient.java:75)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
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:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
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:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
com.sap.aii.ib.core.roa.RoaMultiObjectAccessException: Attempt to access the 18 requested objects on 4 failed. Detailed information:
com.sap.aii.ib.core.roa.RoaObjectAccessException: Attempt to read object Adapter Metadata XIRA | http://sap.com/xi/XI/System (SAP BASIS 7.00), type AdapterMetaData from application REPOSITORY on system REPOSITORY failed. Object does not exist. Detailed informatio n: Object Adapter Metadata XIRA | http://sap.com/xi/XI/System not found
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata IDOC123 | urn:test-com: (1b4f8d70-4843-11dd-afaa-ee64c0a80411) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 1b4f8d70-4843-11dd-afaa-ee64c0a80411 does not exist
com.sap.aii.ib.core.roa.RoaObjectAccessException: Attempt to read object Adapter Metadata XIConnectivity | http://sap.com/xi/XI/System (SAP BASIS 7.00), type AdapterMetaData from application REPOSITORY on system REPOSITORY failed. Object does not exist. Detailed informatio n: Object Adapter Metadata XIConnectivity | http://sap.com/xi/XI/System not found
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata METADATA | http://sap.com (0175ec20-4a99-11dd-c925-ee64c0a80411) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 0175ec20-4a99-11dd-c925-ee64c0a80411 does not exist
at com.sap.aii.ib.core.roa.RoaMultiObjectAccessException.newObjectAccessNotCompleted(RoaMultiObjectAccessException.java:98)
at com.sap.aii.ib.core.roa.RoaServiceImpl.createObjectArrayFromRoaOutput(RoaServiceImpl.java:317)
at com.sap.aii.ib.core.roa.RoaServiceImpl.readObjectsImpl(RoaServiceImpl.java:231)
at com.sap.aii.ib.core.roa.RoaServiceImpl.readObjectsImpl(RoaServiceImpl.java:127)
at com.sap.aii.ib.core.roa.RoaServiceImpl.readObjects(RoaServiceImpl.java:86)
at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.serializeAdapterMetadata(CacheCPA.java:688)
at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:422)
at com.sap.aii.ibdir.server.abapcache.content.CacheCPA.addContent(CacheCPA.java:155)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:388)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.addContent(CacheRefreshRequest.java:326)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.processHTTPRequest(CacheRefreshRequest.java:145)
at com.sap.aii.ibdir.server.abapcache.CacheRefreshRequest.handleHTTPRequest(CacheRefreshRequest.java:103)
at com.sap.aii.ibdir.web.abapcache.HmiMethod_CacheRefresh.process(HmiMethod_CacheRefresh.java:67)
at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl1_0.process(HmisLocalLocalObjectImpl1_0.java:144)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
at com.sap.aii.utilxi.hmis.web.workers.HmisExternalClient.doWork(HmisExternalClient.java:75)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
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:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
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:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
I think your adapters are not configured properly - It is trying to read metadata for your file adapter.
I will tell you simple steps to do this scenario.
Create Data Type - dt_send and dt_rcv (*** look at the mapping structure)
Create Message Type - mt_send and mt_rcv - chose respective data types.
Create Message Interface - mi_send and mi_rcv and choose async for both and message types
Come to the mapping section - mm_test and select both message types.
***Structure of data type
dt send dt_rcv
Contact -
> Contact
Employeedetail----
> Employeedetail
Name string -
> Name string
Place string -
> Place string
Click on Test tab - if it works or not.
Create Interface mapping - Choose sender and receiver and mapping as mm_test
activate all..
You are done with the Design and repository
Open directory
Create new scenario - cs_file2file
Create new business service - file_sender
add new - Communication channel - file
just choose nfs for now dont use any ftp..unless needed
file path : c/sender/send.xml ( make sure you get this send.xml from the test of the mapping..just copy the xml code and create a file send.xml in your c:/sender folder)
make sure your file path has "/" not c:\
mode - test mode
Do the same for receiver too and put file name - rcv.xml
create all receiver / sender agreement ..receiver determination and interface determination.
activate all..
If you see file coming out - means I got some points for sure.
Dear Brijesh,
The source and receiver directory should be in XI server only according to your scenario. The file path you have to give like
XIServername\FolderName for both. Here the "FolderName" should be accessible for you. The input file name should be same as the file you put in that folder. For example (Input.xml)
Regards,
Jagan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Folder should be in xi server .
or
If u r local machine had a shared folder give the shared folder like
systemname\sharedfolder
Regards,
Jayasimha jangam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brijesh,
Please go through all these instructions you will be able to solve your problem.
1.>Please follow the instructions given to you for providing the sender and receiver files locations.
2.>But do check the input whether you have given in xml format or not.
3.>Go to RWB(runtime workbench) and check the comunication channels under component monitoring->adapter engine->communication channel monitoring. Provide the details required there and do check whether your channels are working properly or not.
Regards,
Nutan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi nutan,
I checkd the component monitor,in that under status tab, its showing
0 communication channels have an error status
0 communication channels inactive
0 communication channels not providing any status information
0 adapters logging communication-channel-independent processing errors
after this i clicked on communication channel monitoring , but in that , in input help nothing is coming.
please tell me where to check?
While dealing with files you have 2 options;
1. FTP - process files from a FTP server. you can have your own server running on a remote desktop for testing purposes:
2. NFS - these are to access files on the XI server itself.
in case you have access to the NFS directory use it, else better configure a FTP server (ref. blog) and use it for test purposes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There are two ways to accomplish the file to file scenario:
If you are using FTP then you can save the input file on your local machine. use a local FTP server like
CERBERUS FTP server and make sure the folder you place the file in, the server has upload and download rights for it .
If you are using NFS protocol, place the file on the server.
go to transaction al11 (in XI) and upload the input file on to a folder.(You could do that using transaction SXDA_TOOLS see the link mentioned below:
[https://www.sdn.sap.com/irj/sdn/wiki?path=/display/community/uploading%2bfiles%2bto%2bsap%2bservers%2bfrom%2blocal%2bmachine%2bfrom%2bwithin%2bsap%2bgui])
In both the cases, put the entire path in the communication channel.
award points if useful.
if you have palced the file in the desired folder,
you dont need to use SXDA_TOOLS. it is used to place the file from your local machine ont to the server.
If you have managed to place the file on the server,you need not use it.
Try testing the scenario, under component monitoring -> Integration Engine -> Test
Put in all your details, And put input payload
and see if the file is getting craeted. ii not try checking the error message in SXMB_MONI
Edited by: yashaswee mane on Sep 4, 2008 9:05 AM
Hi..
Use Filter option which is available in the communication channel monitoring..
For Communicationchannel Monitoring..
RWB --> Component Monitoring --> Adapter -->
Choose Communication channel monitoring and u have an option of choosing the Filter butoon there just click it and u can see the list of adapters which u configured w.r.t the scenario.. else try to type directly the adapter name and see the log..
regards
Kishore
Hi Brijesh,
XI cannot access shared file drives. I.e. the directory for the files must be on the XI server.
Furthermore check if XI (or better the XIUSER) has sufficient permissions to read resp. write the files from / to the directories.
Regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi peter,
I had made that perticular folder shared on server,with all rights, bt its nt working, cn u gve me example, how can i give its address? i mean the format of giving address in communication channel?
I am giving addresss like "
192.168.1.36\c$\XIFILES\sender " as my folder is on c: of server
and also wan to knw, how xi triggers? or does it keep searching for the file in Sender folder?
Hi,
If it is on the XI server itself you need not mention the hostname or IP address you can directly provide the path to access the directory for ex: it will be like C:\test_dir
and the file name has to be mentioned seperately in file name column and also check whether you have set the processing mode to delete.
Check whether you you have any error message in communication channel monitoring or in sxmb_moni.
Regards,
Nithiyanandam
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.