J2SE Adapter Monitoring

Hi
Is there any way of activating native monitoring from within the J2SE Adapter engine? How do we monitor errors on the J2SE Adapter engine automatically?
Can it notify us automatically if an error occurs?
Thanks!

Hi Riaz,
>>>I would like specific alerts based on the type of error on the adapter to be sent to recipients in a mail distribution list for instance.
You can call SALERT_CREATE RFC from the Java adapter module and raise alerts based on the error.
Refer:
/people/amol.joshi2/blog/2006/11/27/alerts-from-adapter-modules--the-jra-way
Regards,
Aravind

Similar Messages

  • J2SE adapter engine monitoring.

    Hi,
    I have setup GRMG monitoring for a J2SE adapter engine in our landscape. I have set up a HTTP RFC destination in SM59. In the HTTP RFC destination, type H, I have specified the "Target Host" (FQHN) the "Service No." (8200 default J2SE installation port) and a "Path Prefix" (/rtc). The security is set to Basic and I have used a PIRWBUSER that I have setup on the J2SE Adapter Engine with role Administator. In the GRMG template I insert the RFC destination.
    I have also inserted the ID, ESR, RWB, SLD and the Central Adapter framework of the PI system in the GRMG template, then deployed the template on the monitoring server. I am able to successfully monitor the other components except for the J2SE adapter.
    I have to concede that when I test the RFC destination to the J2SE adapter it does not work. I think the J2SE adapter is up, as I can connect to the administrator. Even when I put the url ("host:port/rtc") for the J2SE adapter in my browser, it then request to login. After I have logged in, it gives a error "The Page can not be found".
    It would be most appreciated if someone can shed some light on this issue.
    Regards
    Willie Hugo

    FTS SAP Basis,
    Thanks for that advice. However once I have set the "Accept cookies" to "Yes", and once again I do a "Connection Test", the result I get "ICM_HTTP_CONNECTION_FAILED". Also remember when I try to connect to the URL "http://host:8200/rtc", it requests a login, but then display "The page can not be displayed".
    Any other suggestions are welcome.
    Regards
    Willie Hugo

  • Ping error in RWB for J2SE Adapter Engine

    Hi,
    we have several external J2SE adapter engines and they function great other than from a monitoring perspective. In RWB "Ping Status" I'm getting the following:
    HTTP request failed. Error code: "401". Error message: "Authorization Required"
    Suggestions?
    Cheers,
    Mattias

    <u>This is not an answer to your question.</u>
    I've tried to get an answer for: how to register J2SE adapter with Integration Server ?
    I tried using SLDAccess service on J2SE adapter with no luck (with this J2SE Adapter Engine is registered in the SLD). My J2SE adapter was never available in the configuration means, in the communication channel ex: file adapter, for the adapter engine drop down all I have is Integration Server, my J2SE adapter was never listed there.
    If you know an answer please post.
    thanks
    SKM<u></u>

  • J2SE Adapter Engine Error

    Hi everyone,
    I am facing couple of issues with J2SE adapter engine.
    1. First Issue
    Config in SLDaccessor -
    file adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleSLDaccessor
    SLD.host=<HOST>
    SLD.port=50xxx
    SLD.user=user
    SLD.password=pass
    SLD.adapterEngineName=AdapterEngine
    Config in Sender File Channel
    file adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
    version=30
    mode=FILE2XMBWITHROWCONVERSION
    XI.SLDConfiguration=SLDaccessor
    #XI.TargetURL=http://<HOST>:<50xxx>/sap/xi/engine/?type=entry
    XI.TargetURL=<fromSLD>
    XI.QualityOfService=EO
    XI.Client=001
    <Other parameters like InterfaceName / FCC>
    If I use XI.SLDConfiguration=SLDaccessor and XI.TargetURL=<fromSLD>, I get an error of HTTP 401 unauthorized.
    If I ignore the SLDaccessor, the message is processed successfully.
    Am I missing anything in the above configuration?
    The user id user is having the roles of SAP_SLD_CONFIGURATOR and SAP_XI_APPL_SERV_USER.
    2. Second Issue
    In RWB -> Component Monitoring -> J2SE Adapter Engine, there is an error coming up - Unable to establish connection to "https://<LocalHost>:50001/rtc"
    The port is wrong ... it should be 8200. My question is, from where to fix this?
    Any help will be highly appreciated.
    Thanks,
    Neetesh

    Hi Neetesh,
    After copying tech_adapter on your local machine douple click on run_adapter.bat and then open internet explorer and enter http://l<ocalmachine_ip_address>:8200/adapter.html
    After doing this you will get logon popup, enter user & password and configure the adapters.
    Secondly you can see the port in SLDAPICUST if I am not mistaken. (not very sure)
    Compare your configuration with below one
    file adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleFile2XMB
    version=30
    mode=FILE2XMB
    Integration Engine address and document settings (example, see docu)
    XI.TargetURL=http://<host>:8000/sap/xi/engine?type=entry
    XI.User=testuser
    XI.Password=pass123
    XI.QualityOfService=EO
    #XI.SenderParty=
    XI.SenderService=LocalSystem
    #XI.ReceiverParty=
    XI.ReceiverService=LocalSystem
    XI.Interface=IM_J2SE
    XI.InterfaceNamespace=http://abc.com/j2se/test
    ##File Adapter specific parameters (example, see docu)
    file.type=BIN
    #file.type=TXT
    file.encoding=UTF-8
    file.sourceDir=c:/sender
    file.sourceFilename=sender1.xml
    #file.processingMode=test
    file.processingMode=delete
    #file.processingMode=archiveWithTimeStamp
    #file.archiveDir=./temp_archive
    #file.retryInterval=20
    file.pollInterval=30
    Regards,
    Sarvesh

  • Filename in J2SE Adapter with Variable Substitution

    Hello,
    Within the J2EE receiver fileadapter (and ftp) from SP13 it is possible to compose the target filename and directory based on the payload of a message using variable substitution.
    I wonder if it is also possible to use variable substitution with the J2SE fileadapter. For this it is not documented but i thougth that the same java libraries are used for the J2EE an J2SE file-adapters.
    Aybody??
    Really Nobody??
    Message was edited by: Emile Hermans

    Hello,
    the J2SE Adapter does not support variable subsition. Therefore we created our own class which gets called from the main SAP XI class "XMB2FileProcessor.class" wich is in the jar "aii_msg_adapter.jar". In your own class you can do what ever you need to chane the file name. In the configuration you can set your own parameter to search the payload for a string you want to replace. We also had to come up with our own timestamp, e.g. file2005-11-10 which SAP does not let you do, only the full timestamp is possible.
    One other nice thing is that you can develop our JAVA class local and test it with your local J2SE Adapter Engine on you PC before you deploy it.
    Steps to do:
    1. JAD the SAP class
    2. Put a call in the SAP class
    3. Compile the class
    4. Put the class back in the archive
    5. Create your own class
    6. Create a jar file for it
    7. Put the jar file in the tech_adapter directory
    8. Change the run_adapter start cmd to include your jar file
    It works great, the only issue is if you patch the J2SE engine you have to do step 1 to 4 again but that should it very easy to do.
    Cheers
    Stefan

  • J2SE Adapter Registration

    I've tried to get an answer for this question long time ago, but no one ever answered.
    How to register J2SE adapter with XI ?
    I tried using SLDAccess service on J2SE adapter with no luck (with this J2SE Adapter Engine is registered in the SLD). My J2SE adapter was never available in the configuration means, in the communication channel ex: file adapter, for the adapter engine drop down all I have is Integration Server, my J2SE adapter was never listed there.
    thanks
    SKM

    Tony,
    You do not need FTP server to use file adapter. I've installed and configured a J2SE Adapter Engine on my laptop.
    I was able to use sender adapter but not the receiver adapter. I've followed all kinds of documentation, asked Qs in the forum but never got any feed back.
    After you install plain J2SE AE on your laptop, you have to configure SLDAccess service. Once it is connected to SLD, you can see the adapter engine name in the XI technical systems.
    Then you can configure FileAdapters by copying the existing one. Go through the Adapter documention in the installed directory.
    Hope this helps.
    Regards
    SKM

  • J2SE adapter PI 7.1 issue with XML to flat conversion and namespace length

    Dear reader,
    We are facing an issue with J2SE Adapter PI7.1 for a number of flows.
    The flow requirements:
    [1] Namespace length for interfaces is up to 100 characters
    [2] The XML message must be converted to Flat on the adapter channel
    Our PI system is at patch level 7 and we implement J2SE adapter on patch level 7 as well.
    We found that the J2SE adapter on patch level 7 does not support long namespaces [1] (as it should since this is an PI 7.1 j2SE adapter) but no issues where found with the XML to flat conversion [2].
    Experimenting with J2SE adapter on patch level 6 we found the long namespaces [1] are supported however an issue is found with the XML to flat conversion [2] as stated in SAP note 1335527.
    An SAP Customer Message is raised on this issue however your input is highly appricated!
    With Kind Regards,
    Harald Kastelijn
    Edited by: Harald Kastelijn on Mar 6, 2010 9:17 AM
    Edited by: Harald Kastelijn on Mar 6, 2010 9:19 AM

    We found that the J2SE adapter on patch level 7 does not support long namespaces [1] (as it should since this is an PI 7.1
    j2SE adapter) but no issues where found with the XML to flat conversion [2]
    I think the restriction of namespace length still remains in design time (IR).....the same however has been extended in configuration and runtime...this SAP note has some information: https://service.sap.com/sap/support/notes/870809

  • How to go for Advance selction for source file in J2SE adapter

    Hi all,
               I am doing a file to file scenario using J2SE adapter.I have to pick file from two different directory  we  can easily achieve it in J2EE adapter using advance selection of source file but how to proceed in case of J2SE plain adapter.Please guide me with your knowledge.
    Regards,
    saurabh

    This is not possible. You need different adapters, but you can use the same interface and namespace, so there should be no issue.
    Regards
    Stefan

  • Link to Communication Channel and Adapter Monitoring not opening

    Hello All,
    we are on PI 7.0. In teh RWB, we are not able to see the Communication Channnel Monitoring as well the Adapter Monitoring It is giving Page cannot be Displayed.
    please tell us the way ahead.
    Regards
    Chakra and Somnath

    Hi Somnath,
    when the error occurs check the url of the page that cannot be displayed and verify if the hostname is correct.
    It could be a problem of not right setting in exchange profile.
    Also verify that you have enough authorization, trying to logon with PISUPER user if you can.
    Hope it helps,
    Regards,
    Sergio

  • Error while opening Adapter Monitoring in Runtime Workbench

    Hi,
    I am unable to open Adapter Monitoring from
    Runtime Workbench -> Component Monitoring -> Adapter Monitoring
    When I tried to open, I am getting following message in the new window:
    "The page cannot be displayed"
    Please let me know where I can enable this option.
    Thanks,
    Yogi.

    Hi,
    Go thru this SAP Note- 768456,928862
    Also this doc may help u-https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0e1ba1a-e86e-2910-ee83-b73b54abc7d4
    Regards,
    Moorthy

  • Error in File Adapter Monitoring

    Hi,
    I have created a Sender Communication Channel to pick the file:
    The following error message is being displayed in Adapter Monitoring:
    Sender Adapter v2622 for Party '', Service 'BS_TRD_PILOT_YOGS':
    Configured at 2006-12-19 05:52:17 UTC
    History:
    - 2006-12-19 05:56:01 UTC: Retry interval started. Length: 60.000 s
    - 2006-12-19 05:56:01 UTC: Error: Conversion of complete file content of 'OB10_input.xml' to XML format failed around position 0: Exception: ERROR consistency check in recordset structure validation (line no. 14: missing structure(s) before type 'E1EDK14'
    - 2006-12-19 05:56:00 UTC: Processing started
    - 2006-12-19 05:55:01 UTC: Error: Conversion of complete file content of 'OB10_input.xml' to XML format failed around position 0: Exception: ERROR consistency check in recordset structure validation (line no. 14: missing structure(s) before type 'E1EDK14'
    - 2006-12-19 05:55:00 UTC: Processing started
    Please anybody do the needful.
    Thanks,
    Yogi.

    Hi Yogi,
    Just go thru your source structure once again.Such type of errors usally come when your source structure is not proper adn also when the parameters for comm'n channel are not mentioned properly.
    Usually the Content Conversion Parameters(recordset structure and recordset sequence fileds).
    regards
    Madhu

  • Mail Adapter Error occured in Adapter Monitoring....

    Hi
    I have done the Mail>XI>File senario.... the xi server is sometimes its picking up the mails but some times its not picking... i have give trasport protocol as IMAP4 and url as pop://ipaddress.... I have created the asyncronus message types...n i have given the quality service as Exactly Once... when ever the server is picking file from mail inbox its sending file to the destination directory successfully but in destination side i am getting only the complex tags like the following
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:File_Message_Type xmlns:ns0="http://mailtofiledemo.com/ravi"></ns0:File_Message_Type>
    i am not getting any nodes inside those tags.... In adapter monitoring i am getting the following error:
    error occured: [2006-06-05T05:44:06Z] 0 new messages found; no action takenexception caught during processing mail message; com.sap.aii.af.mp.module.ModuleException caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    I am using SquirrelMail(webmail) server... so please help me...
    I have tried with pop3 alos but its not working
    Thanks & Regards
    Ravi Shankar B
    Message was edited by: RaviShankar B

    Hi,
    Try giving POP3.
    and correct address.. pop3://etc... Remember to give the name of the folder from where the message have to be picked.
    Regards
    Suraj
    Message was edited by: S.R.Suraj

  • Error in Mail Adapter Monitor......

    Hi....
    I have done the mail adapter and i got following error in Adapter Monitor(Mail Adapter)
    error occured: [2006-05-31T05:53:34Z] 0 new messages found; no action takenexception caught during processing mail message; com.sap.aii.af.mp.module.ModuleException caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    how to recover this....
    I am using pop3 mail server
    Thanks & regards
    Ravi Shankar B

    hi,
    check if you don't have quality of service <b>Best Effort - BE</b> in your mail sender channel
    if so change it to <b>EO - Exactly Once</b>
    and activate and your channel once more 
    this setting will eliminate:
    NO_RECEIVER_CASE_BE error
    change this setting and let me know if it worked
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Sender ADapter Monitor- ArrayIndexOutOfBOunds Exception

    Hi
    As me subject line reads,  I am getting an "ArrayIndeXOutofBOunds 9" exception at the sender adapter monitor logs in the RWB.
    I have an a<i>dapter monitor module</i> that picks up the file from the source  and pushes the file to a target directory based on some condition. I am able to see the file being pushed to the target directory but not able to view the "pipeline steps" in the message monitor.
    Do you think a restart of the server might fix the issue/ do you think there is a problem in my code. I have used just one array and i have checked that array if it is being accessed out of its bounds?
    Thanks
    krishna

    Hi,
    >>>>>ArrayIndeXOutofBOunds 9"
    looks like an error in code
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • HOW SPECIFY FILE.ENCODING=ANSI FORMAT IN J2SE ADAPTER.

    Hi All,
    we are using j2se plain adapter,   we need the outputdata in ANSI FORMAT.
    Default file.encoding=UTF-8
    how to achive this.
    thanks in advance.
    Regards,
    Mohamed Asif KP

    File adapter would behave in a similar fashion on J2ee. Providing u the link to ongoing discussion
    is ANSI ENCODING possible using file/j2see adapter
    Regards,
    Prateek

Maybe you are looking for

  • Why can't I download Flip4mac update via Safari?

    Because of continuing, apparently unresolvable problems with Firefox 3, I decided to use Safari instead. Apart from Safari being deadly slow, periodically I have had this problem. Each time I receive a "wmv" file, I am told that my Flip4mac is out of

  • Backing-up from time to time automatically ?

    db11gxe , and apex 4.0 , hi all , can i back-up the database data from time to time automatically ? i mean , every 10 days for example ?

  • Table Maintenance - field based authorization.

    Hi, I have created a ztable and generated a table maintenance for the same. There are a few fields that have to be input enabled or disabled, based on authorization objects; some users should be able to enter values and some, not. Need some direction

  • Join the Web Services Panel at COLLABORATE '06!

    Please email [email protected] (latest by April 12, 2006) if you are interested in participating on the Web Services Panel scheduled to be held on Wednesday, April 26, 2006 during COLLABORATE '06 conference at the Gaylord Opryland Resort & Convention

  • Importing BW DSO Into HANA - Authorization Issue

    Hi All, I was trying to importing BW DSO into HANA . The Analytic view is showing error  during activation time, showing insufficient privilege. While opening the view, one default schema ABC(<missing>) is showing,whereas  ABC schema  is not availabl