Adapter Engine: Test Enviroment
Hello,
I installed a stand-alone Adapter engine in my pc that interconect with the XI server.
I configure the SMB parameters but when i use the test enviroment options i have this result:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.sap.aii.messaging.net.ClientHttpImpl.call(ClientHttpImpl.java:101)
at com.sap.aii.messaging.adapter.SinglePayloadClient.doPost(SinglePayloadClient.java:218)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.aii.messaging.adapter.Zone.service(ModuleGUIBrowserEngine.java:1072)
at com.sap.aii.messaging.adapter.HTTPRequest.run(ModuleGUIBrowserEngine.java:370)
What could be happening?
Thanks a lot,
Enrique.
Hi Enrique,
Check the targetURL parameter in the message header you are sending. Are the host name and port number correct?
A "connection refused" exception occurs when there is no service listening at the host and port you are trying to connect to.
Regards,
Thorsten
Similar Messages
-
Hello guys!
During performing PI 7.1 Readiness Check I have to perform a test message under Runtime Workbench\Adapter Engine\Test Message.
After processing i receive following error:
Error while sending message: 403 Forbidden.
Does anybody know the cause?
Many thanks in advance!
JochenHi Sreeni!
Direct hit!
This was the problem! Missing role!
Many thanks to you!
Additional Information for all:
Readiness Check (PDF)
A compilaton of simple and advanced checks for Process Integration 7.1 (PI 7.1)
Page 44
SAP Note 817920 - XI Readiness Check 3.0/7.0, 7.1
Regards,
Jochen -
Under Adapter engine Test buttion option
Hi Gurus,
I Have small doubt we have option like Test message at RWB
RWB--->COMPONENT MONITORING--->Adapter engine --->Test message ,what is the purpose of this test message option at Adapter engine.
It is same as sending data from Integration engine if so when ever we are sending data from AE we are getting some issue .Can any body clarify this.
Thanks
MadhuHi Madhu,
Check out the below thread:
https://scn.sap.com/thread/1402225
You can also check out this excellent blog for extra information:
http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/02/17/howto--send-test-messages-to-the-adapter-engine-to-an-integrated-configuration
Regards
Bikash -
Adapter Engine test tool doesnt work
Hello
I try to send a message from runtimeworkbench
I chose Component Monitoring -> Integration server -> Adapter Engine
And I put the paramets of the message ( message interface,namespace..etc.)
then I put user and password
and the url is
http://server_name:52000/MessagingSystem/receive/AFW/XI
I click on send,I get a message "Messasge sent"
but the message doesnt appear on sxmb_moni
any idea how to solve it?
thx
ShaiHi,
As you state, check the user you're sending the message has necessary authorizations. You probably got an HTTP error 403: unauthorized. For overview of http errors, you can refer here:
Try with user PISUPER for example. If you get past the authorization, the message should get to the IE.
Post any other problems if arised.
Regards,
Gökhan -
Adapter Engine URL missing in RWB
Hi All,
In my newly configured PI 7.0 system, the Adapter Engine URL is missing at the fol. location:
RWB -> Component Monitoring -> Adapter Engine -> Test Message.
But when I open SXI_CACHE -> AE Cache, I am able to see the url http://pidev:50000/MessagingSystem/receive/AFW/XI
I think that this means that my ABAP stack is configured properly, but JAVA stack has some problem for Adaptr engine.
Please confirm if I am right and how to resolve this.
regards,
PiyushHi,
Are you using the FQHN?
Check also note #764176 if you have components missing on SLD.
Last, you may want to configure your system in order to check each of the steps.
Use this link -> Wizard-Based Basic Configuration:
http://help.sap.com/saphelp_nw70/helpdata/en/a0/40084136b5f423e10000000a155106/frameset.htm
Regards,
Caio Cagnani -
CPALookupException while sending a Test message to Adapter engine
Hello Experts,
I am getting following exception while sending a test message to Adapter engine through Runtime Workbench.
Error while sending message: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=<Configured Party>;TP=;FS=<Configured Communication component>;TS=;AN=<Configured Outbound Interface>;ANS=<Configured Namespace>
This scenario works fine when I submits the message through Integration engine. So ID configuration is perfect. Also cache contents are upto date.
Thanks in advance.
Regards
RajeevError is clearly saying that it is unable to find receiver agreement for that particular interface.
Please check your receiver agreement for the interface.
If your receiver agreement is fine then do CPA cache refresh using following URL:-
http://<host>:<port>/CPACache/refresh?mode=full -
J2SE adapter engine and SSL testing
Hi there,
We are currently doing a B2B scenario whereby SAP XI sends a message to the J2SE adapter engine in the DMZ and then that sends the message via HTTPS / SSL to the receiving service....
In order to test that the HTTPS / certificate etc worked I wrote a small Java application and dialled out of the network. I inserted the DER file into my CACERTS file on my local machine using the keytool as a "trusted certificate". The Java application worked 100% and did the SSL handshake fine and POSTED the data fine as well......
Now I am no expert in the J2SE adapter engine but decided to try testing the same SSL connection using the J2SE adapter engine from my LOCAL machine with me dialled out onto the Internet.
I logged into the J2SE adapter engine and imported the same DER file into the engine (actually inserted into the "truststore.jks" file). I them went into the "Test Environment" of the J2SE adapter and have been trying to test.....
I have a few questions:
1. Do I have to use a P12 or PFX file for this sort of communication? Reason I ask is that with the Java application all I needed was the DER file?
2. In the full blown scenario do I have to have SSL configured between XI and the J2SE adapter engine as well? Or can that stay as HTTP?
My basic config for the test is roughly:
WS.targetURL=https://someserver:4433/soap/someInbox
WS.SOAPAction=CustomSoapAction
SSLauthentication=true
Do I really need the following two?
SSLcertificate=somecert.p12
SSLcertificatePassword=somepassword
From my logic all I should need if the DER file loaded into the J2SE adapter which I have done......
Has anyone done successfull SSL / HTTPS testing from the J2SE adapter engine using the "Test Environment"?
Any advise would be greatly appreciated
Kind regards
LyntonHi
Not a answer to your question but why use the J2SE adapter engine in the DMZ and why not the J2EE Decentral Adapter Engine?
Regards
Bhavesh -
Difference between Testing Message in Integarion Engine and Adapter Engine
Hi Experts,
in project, we always test message in runtime workbench>component monitoring>integration engine-->Test Messge
however, i also find that in runtime workbench>component monitoring>adapter engine also exists a Test Message tab.
we don't have access to test messages in this tab, so can anyone tell that what is the difference between testing message in integration engine and adapter engine?
thanks in advance.The usual flow of messages in scenarios which use adapters at both sender and receiver end is as follows
Sender system -> Adapter Engine -> Integration Engine -> Adapter Engine -> Receiver system
When you use the testing option in IE, then you are basically posting the message directly to the Integration Engine.
When you use the testing option in AE, then you are trying to post the message to the adapter engine, which will then forward the message to the Integration Engine. IN this testing, you are also testing the sender adapter also.
Regards,
Ravi Kanth Talagana -
Testing through RWB under Adapter Engine
Hi All
I know i can test my scenario through RWB through Test tab.
The problem i am facing is---- when i am testing using Integration Engine after providing necessary details i am getting a message in moni thats fine but when i am testing the same scenario using Adapter Engine by giving same details i am getting error "Error when sending message: 403 Forbidden"
what could be the problem?
Regards
Dheeraj KumarHi Aamir
the test Tab under adapter engine in RWB is used when you have de-centralized adapter engine.
check this page http://help.sap.com/saphelp_nw04/helpdata/en/25/9c2f3ffed33d67e10000000a114084/frameset.htm its saying This Adapter Engine is a central Adapter Engine its not related to de-central Adapter Engine.
This Adapter Engine resides under Integration Server.
so i believe the prob is because of authorization, if i am not correct please correct me, by this answer i am not telling you that you are wrong i am just putting my view.
Please check and if i am wrong correct me.
Regards
Dheeraj Kumar -
Adapter Engine self-test status red / Error
Hi.
Im having trouble figuring out what to do about this error.
In Runtime Workbench --> Component Monitoring --> Integration Server --> Adapter Engine, the Adapter Engine self-test (and ping status) are in error.
The error message is: HTTP Request failed. Error code: "403". Error Message: "Forbidden [http://<server>:<port>/AdapterFramework/rtc]".
Anyone have an idea?
Regards...
PeterHi again.
Looking in the default trace I get this Info:
Hope it contribute to a solution.
Regards...
Peter
ACCESS.ERROR:
Authorization check for caller assignment to J2EE security role [sap.com/com.sap.aii.af.app*AdapterFramework : xi_af_rtc].
Exception when reading settings:
Thrown:
MESSAGE ID: com.sap.aii.rwb.exceptions.rb_CommunicationException.HttpReqFailed
com.sap.aii.rwb.exceptions.RequestFailedException: HTTP request failed. Error code: "403". Error message: "Forbidden [http://<server>:<port>/AdapterFramework/rtc]"
at com.sap.aii.rwb.exceptions.RequestFailedException.forHttpErrorCode(RequestFailedException.java:79)
at com.sap.aii.rwb.rtcheck.rtcclient.GrmgConnector.request(GrmgConnector.java:238)
at com.sap.aii.rwb.rtcheck.rtcclient.GrmgConnector.getSettings(GrmgConnector.java:105)
at com.sap.aii.rwb.core.XIRTCComponent.refreshConfigParameters(XIRTCComponent.java:279)
at com.sap.aii.rwb.web.componentmonitoring.model.CmMainModel.getConfigParameterCategoriesForSelectedXIComponent(CmMainModel.java:424)
at jsp_component_monitoring1209546798419._jspService(jsp_component_monitoring1209546798419.java:579)
at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:566)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:68)
at com.sapportals.htmlb.page.PageProcessorServlet.doPost(PageProcessorServlet.java:22)
at com.sap.aii.rwb.web.componentmonitoring.viewcontroller.CmPageProcessor.doPost(CmPageProcessor.java:35)
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.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at jsp_FC_Secure1209546795341._jspService(jsp_FC_Secure1209546795341.java:15)
at com.sap.engine.services.servlets_jsp.server.jsp.JspBase.service(JspBase.java:112)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:566)
at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:190)
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)
User XIRWBUSER, IP address
HTTP request processing failed. HTTP error [403] will be returned. The error is [You are not authorized to view the requested resource.No details available]. -
Adapter Engine : Cache Connectivity Test
Hi,
We have recently migrated our PI system's database from one host to the other and as a result there were some duplicate entries for exchange infrastructure components in SLD.
At this besides other problems we have noticed the Adapter Cache Connectivity test is failing.
We have deleted these entries and check that all the required entries are there and they are correct.
After this we did the Adapter Engine Cache connectivity test it still failed. But after some time we noticed that the connectivty test is successfully happening without doing any changes.
We see green bulbs with cache notification from integration server received successfully and cache data fetched successfully and update.
We are just wondering how it happened ? appreciate if anybody can help us understand.
Thanks & regards
Mrutyunjayhi,
check the below blog....
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
check the point 4 (troubleshooting) in the above link
reward points if helpfull
regards
kummari -
RWB - Cache Connectivity Test - Adapter Engine shows error
Hello Friends,
In our one production system (PI 7.1), while do 'Cache Connectivity Test' from RWB -> Component Monitoring, it shows the following error for Adapter Engine under Integration Directory.
Error:
Cache notification from Integration Directory failed Error when accessing the System Landscape Directory.
No SLD elements of type SAP_XIAdapterFramework found
But, Integration Server - ABAP, Integration Server - JAVA shows green color. The messages are flowing through the Adapter Engine fine. i.e I am seeing 2 Adapter Engines under Integration Server in Component Monitoring. One Adapter Engine is in grey and another Adapter Engine shows green color.
When I click the grey color adapter engine, it immediately turns to red color and some different host name url is displayed (http://<wronghost>:53000/AdapterFramework/rtc).
So, what could be the problem ?
Kindly clarify, friends.
Thanking you.
Kind regards,
Jegathees P.Hello Jegathees
Apply the solution in note #804124 HTTP communication with XI Adapter Engine fails. Set the parameters:
SLD.selfregistration.hostName
SLD.selfregistration.httpPort
SLD.selfregistration.httspPort
as described in the note.
Regards
Mark -
How to set main host for Adapter Engine in the HA enviroment
Hi, all.
Our XI env. is like the following.
XI 3.0 SP11 on Windows 2003 + SQL Server.
Central Instance(ABAP + J2EE Addon) is running on Host A,
Dialog Instances(ABAP + J2EE Addon) are running on Host B and Host C.
Our design was to have J2EE Adapter engine mainly running on Host A(CI). But after installation, Adapter Engine is running on Host C(one of DIs). When we check from the Runtime WorkBench. It shows Adapter Engine is running on Host C while IS is running on the Host A(CI).
Where can we change this configuration? We want the J2EE AE running on the Central Instance Host.
Any advice appreciated.
Best Regards.Hi Sejoon,
when we changed the host of XI server in one of our projects one of the things we had to change was the exchange profile entries
http://server:port/exchangeProfile/index.html
to see how your adapter engine is configured
http://server:port/sld
SLD -> Content Maintenance
then
Subset: landscape description
Class: XI Adapter Framework
buth check the exchange profile entries first
Regards,
michal -
PI 7.11 Central Adapter Engine is not started
Hi Experts,
After active objects list, in the central adapter engine: ache update not yet started.
Looking for this error, is possible that is the RFC INTEGRATION_DIRECTORY_HMI because responde 403 forbidden,
Did you have any tips?
Thank you!
BrunoAre you sure supplied credentials are valid for PIISUSER?
1) HTTP response does not contain a valid XML root tag or Error 'HTTP status code 400 Bad Request' while executing HTTP request (calling method 'get_status')
The error 'HTTP response does not contain a valid XML root tag' occurs when path prefix of the destination is '/dir/hmi_cache_refresh_service/ext'.
The error 'Error 'HTTP status code 400 Bad Request' while executing HTTP request (calling method 'get_status')' when path prefix is '/dir/CacheRefresh'.
Solution: Go to transaction sm59 and open destination of type 'H' INTEGRATION_DIRECTORY_HMI. Select "Connection Test". The connection test should return HTTP response 200.
Now go to "Logon & Security" tab and ensure that username and password are stored in the system. Fixing credentials should fix the problem.
Note: Credentials cannot be tested via "Connection Test" tool. If used credentials are wrong, the server simply returns login html page (using HTTP response code 200). As the login html page is not a valid cache refresh xml document, an error is shown in sxi_cache. -
Adapter engine e Monitor de serviço da SEFAZ NFE 4.0 OFF
Sap Gears! Estou com um problema depois da atualização para NFE 4.0
Antes da atualização, o monitor de status estava ok
Foi feito atualização dos SPK, TPZ files no XI, Atualização JSPM (JAVA)
Também foi atualizado o APP do NFE e aplicado as notas correspondente ao SPK 16 (ainda não disponível )
Algum santo aqui teria um rumo pra eu seguir?
Agradeço ai pessoal!!!
<< Elabore melhor a questão e dê detalhes que sejam suficientes para entendermos o problema >>
Editado pela Moderação: Fernando Ros on Sep 29, 2010 5:36 PM
Veja Regras de Comportamento item 2Raphael,
Quando você diz "Monitor de serviço da SEFAZ" você quer dizer o monitor do GRC (http://:80/sap/bc/webdynpro/xnfe/nfe_main)? Se sim, quando você tenta acessar, ocorre um erro?
Se sim, verifique na transação SICF se os servicos do nó default_host -> sap -> bc -> webdynpro (e seus sub-nós) estão ativos.
Quando você diz Adapter Engine, significa que, ao entrar no RWB, Component Monitoring, o Status dele aparece como vermelho, indicando no "Self-test" que o item "Is the Adapter Engine running?" está vermelho?
Se sim, dê uma olhada no defaultTrace em busca de erros.
BTW, poste mais detalhes dos problemas para que fique mais claro onde é o problema.
[]'s
Maybe you are looking for
-
JNI Invocation: open file in Java, write file in CPP
Hello, Warning: I am a dunce, bad CPP code ahead! Using JNI invocation, I am trying to read a binary file in Java and write it in CPP. Everything compiles and runs without error, but the input and output jpg files are of course different. TIA to any
-
In a PrC, how to delete data from the PSA that have been loaded in Prcs Chn
Hello, In a process chain, how can I delete the data from the PSA that have been loaded within that process chain. I don't want to delete data that belongs to other business units that use the same datasource. Thanks, Andre
-
How to see weeks in the calendar on iPhone 3GS?
I want to see weeks in the iPhone Calendar. How can I do this?
-
Function Module to modify MARC table
Hi all, Is There any Function Module which modifys the table MARC. please suggest. regards, chandra.
-
When I tried to upgrade to the latest iTunes version yesterday it made my computer crash. Now when I click on the iTunes icon on the desktop I get the error message "This action is only valid for products that are currently installed." When I connect