Programmatically detect a PI channel stopped in RWB

Hello,
Does anybody know a way to programmatically detect a PI channel stopped in RWB?
Thanks,
Shawn

Hi,
To control communication channels externally, you use an HTTP GET or POST request to the following URL:
http(s)://host:port/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=action
See this wiki,
http://wiki.sdn.sap.com/wiki/display/XI/ExternallyControllingtheCommunicationChannel
http://help.sap.com/saphelp_nwpi711/helpdata/en/45/0c86aab4d14dece10000000a11466f/content.htm
You can easily control comm channel through external control.
Please refer the HELP.SAP material on this.
In RWB you need to enable external control on communication channel.
http://help.sap.com/saphelp_nwpi71/helpdata/en/45/0c86aab4d14dece10000000a11466f/content.htm
To control communication channels externally, you use an HTTP GET or POST request to the following URL:
http(s)://host:port/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=action
The XML structure of the HTTP response is documented in a document type definition (DTD) and an XML schema definition (XSD). You can call this information using HTTP at the following addresses:
● http(s)://host:port/AdapterFramework/channelAdmin/ChannelAdmin.dtd
● http(s)://host:port/AdapterFramework/channelAdmin/ChannelAdmin.xsd
You can try this through internet explorer also
http(s)://host:port/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=action

Similar Messages

  • Channel stopped by administrative task - ADAPTER.JAVA_EXCEPTION

    Hi Guys,
                 Adapter engine at RWB has the following error message.
    ==== Events on Server 44769350 ====
    Adapter Engine, message: Fatal DeleteJob (Default Delete Job) failed.
    (Details: Code: MS.JOB.DELETE, Location: com.sap.aii.af.ra.ms.impl.core.archiving.executor.DeleteExecutor, Reason: com.sap.aii.af.ra.ms.api.DeliveryException: Failed to delete unassigned audit log entry keys. Reason: com.sap.aii.af.ra.ms.api.DeliveryException: Could not get unassigned audit log entry keys, due to: ORA-01089: immediate shutdown in progress - no operations are permitted
    , Time: 08.03.2009 10:00:15)
    Adapter Engine, message: Fatal DeleteJob (Default Delete Job) failed.
    (Details: Code: MS.JOB.DELETE, Location: com.sap.aii.af.ra.ms.impl.core.archiving.executor.DeleteExecutor, Reason: com.sap.aii.af.ra.ms.api.DeliveryException: Failed to delete unassigned audit log entry keys. Reason: com.sap.aii.af.ra.ms.api.DeliveryException: Could not get unassigned audit log entry keys, due to: ORA-01089: immediate shutdown in progress - no operations are permitted
    , Time: 15.02.2009 10:00:11)
    Adapter Engine, message: Fatal DeleteJob (Default Delete Job) failed.
    (Details: Code: MS.JOB.DELETE, Location: com.sap.aii.af.ra.ms.impl.core.archiving.executor.DeleteExecutor, Reason: com.sap.aii.af.ra.ms.api.DeliveryException: Failed to delete unassigned audit log entry keys. Reason: com.sap.aii.af.ra.ms.api.DeliveryException: Could not get unassigned audit log entry keys, due to: ORA-01089: immediate shutdown in progress - no operations are permitted
    , Time: 01.02.2009 10:00:20)
    At the adapter engine monitoring at RWB
    Adapter type JPR has following error message
    SLD host:port = ERPDEV02:50400
    Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for DXI.SystemHome.erpdev02 found
    No access to get JPR configuration
    I am getting following error when try to send a file from other business system to XI server.
    <SOAP:Envelope xmlns:SOAP=''http://schemas.xmlsoap.org/soap/envelope/''><SOAP:Header/><SOAP:Body/></SOAP:Envelope>
    as the response.
    <?xml version='1.0'?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
              <context>XIAdapter</context>
              <code>ADAPTER.JAVA_EXCEPTION</code>
              <text><![CDATA[
    com.sap.aii.af.service.administration.api.cpa.CPAChannelStoppedException: Channel stopped by administrative task.
                    at com.sap.aii.af.service.administration.impl.cpa.CommonCPA.checkChannelState(CommonCPA.java:58)
                    at com.sap.aii.af.service.administration.impl.cpa.LookupManagerDelegate.getCPAObject(LookupManagerDelegate.java:83)
                    at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.setup(XISOAPAdapterBean.java:227)
                    at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:689)
                    at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_3.process(ModuleLocalLocalObjectImpl0_3.java:103)
                    at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:292)
                    at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103)
                    at com.sap.aii.af.mp.soap.web.MessageServlet.callModuleProcessor(MessageServlet.java:174)
                    at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:436)
                    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:387)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
                    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:100)
                    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>
    Thanks for Ur time
    Senthil

    Hi Senthil,
    As suggested by others there is no problem with your communication channels ,,, the problem you face is because Your DBA has initiated the SHUTDOWN IMMEDIATE command. This will shutdown Oracle and terminate all active operations.
    Please tell him to start the services and Wait until Oracle has been restarted by your DBA.
    Regards
    joel

  • Error in SOAP sender CC. Channel stopped by administrative task.

    I am getting an error in my SOAP sender communication chanel as follows;
    com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: Channel stopped by administrative task.
    The channel is Active but still gets the same error. Any help would be appriciated.

    RWB ---> Component Monitoring ---> Adapter Engine ---> Communication Channel Monitoring ---> Choose your CC and check its properties....check if it shows Channel Stopped...if yes then restart it.
    Channel should be Active in ID and Started in RWB to work properly.
    Regards,
    Abhishek.

  • SOAP request to XI.  error:  "Channel stopped by administrative task"

    Hi ,
    We are working on SOAP --> XI --> Idoc scenario.
    The webservice call is an Asynchronous one. I done the design and configuration and provided the WSDL to the webservice applicant. When they tried to send the message they are getting the following error.
    HTTP/1.1 500 Internal Server Error
    Set-Cookie: JSESSIONID=(xi-dev_XID_00)ID2003803250DB10535090330849072702End; Version=1; Domain=89.0.30.150; Path=/
    Set-Cookie: saplb_*=(xi-dev_XID_00)5198450; Version=1; Path=/
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=utf-8
    Date: Fri, 16 Jan 2009 00:57:14 GMT
    Connection: close
    <?xml version='1.0'?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
              <context>XIAdapter</context>
              <code>ADAPTER.JAVA_EXCEPTION</code>
              <text><![CDATA[
    com.sap.aii.af.service.administration.api.cpa.CPAChannelStoppedException: Channel stopped by administrative task.
         at com.sap.aii.af.service.administration.impl.cpa.CommonCPA.checkChannelState(CommonCPA.java:67)
         at com.sap.aii.af.service.administration.impl.cpa.LookupManagerDelegate.getCPAObject(LookupManagerDelegate.java:83)
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.setup(XISOAPAdapterBean.java:227)
         at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:689)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_3.process(ModuleLocalLocalObjectImpl0_3.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:292)
         at com.sap.aii.af.mp.processor.M
    In XI SOAP sender communication channel, it is showing as below in communication channel.
    16/01/09   error occured
    16/01/09   request received
    Can anyone pls let me know what might be the problem.
    Thanks
    Seema.

    Hi seema,
    I hope you would be knownig that IDOC is Asynch.(well this has nothing to do with question).
    Just stop and start your SOAP channel from RWB.
    Thanks
    Sunil Singh

  • How to set the specified communication channel invisible in RWB?

    Hi,gurus:
    We have many communication channels in our XI server.
    You know that we can filter the communication channel in communicaiton channel monitoring.
    Are there other methods to set the specified communication channel invisible in RWB without using filter or deleting the communication channel?
    Thanks in advance.

    Hey,
    >Are there other methods to set the specified communication channel invisible in RWB without using filter
    NO - To my Knowledge,
    In RWB - you can stop/inactive  the Adapter
    Cheers
    Agasthuri

  • Channel stopped by administrative task.

    Hi dear experts,
    I got following error in message:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.service.administration.api.cpa.CPAChannelStoppedException: Channel stopped by administrative task.
    Current state:
    1. Communication channel where error appears is Active in Integration Directory.
    2. CPACache full refresh, SLD Cachere fresh doesn't help.
    3. Channel in RWB says that "Channel is running but has errors".
    4. STOP/START of channel helps only till time when first message is comming, than again same error is comming up.
    Any ideas how to make it running?
    Marek

    Hi,
    @Greg: I tried Re-activate (InactiveActivate, ActiveActivate), but without success.
    @Krishna: Simple RFC communication channel.
    Before this error appeared there was another problem.. That's also only error in Adapter Log..
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.adapter.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.adapter.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=******* GROUP=SPACE R3NAME=*** MSSERV=**** PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       partner '******' not reached TIME        Sat Feb 11 20:37:49 201 RELEASE     710 COMPONENT   NI (network interface) VERSION     39 RC          -10 MODULE      nixxi.cpp LINE        3147 DETAIL      NiPConnect2: ***** SYSTEM CALL connect ERRNO       79 ERRNO TEXT  A remote host refused an attempted connect operation. COUNTER     5
    After basis has done additional configuration (some SAP Note), restart of communication channel was successful, but new error came.. Actual one..

  • Programmatic Detection of NI-IMAQ Devices In LabVIEW

    Is there a way to programmatically detect what IMAQ interfaces are attached to a PC?   Obviously this is possible through IMAQdx for 1394, Gigabit, DirectShow, but I've never seen this done using a plain vanilla Analog input.  My goal is to have a program that allows a user to specify what type of video interface he is using for a specific test.  He will have three options, NTSC analog, 1394, and HD-SDI.  Detecting the 1394 and HD-SDI is relatively easy due to the "Enumerate Camera" VI that is provided with the vision acquisition, but its not clear how to do this with analog I/F's.
     To summarize I am trying to programmatically detect in LabVIEW the interface labeled Channel 0 and circled in red below.  Thanks for any input.
    Solved!
    Go to Solution.

    Hey MGould,
    Unfortunately, there currently is not an IMAQ property node that queries your system for all IMAQ PCI devices. However, there is a possible work around for this. In LabVIEW under the Measurement I/O»MAX  Configuration palette there is a VI called MAX Generate Report.VI that generates a report of all the hardware and software listed in MAX. You could use this VI to generate an html report, then read the report in as a text document, and then use string manipulation to parse the report to get relevant information. This is a bit of a work around and may take some unnecessary process time, but it would allow you to pragmatically determine what hardware you have installed on your machine.
    Hope this helps.
    -Ben
    WaterlooLabs

  • Sender JDBC channel stop send messages

    Hi,
    We have  a sender JDBC scenario which is working correctly time ago.
    However, sometimes this channel   stop sending messages although the Adapter Monitor shows that they regularly execute the polling interval.
    We have confirmed that there isn't any connection from XI to target BD.
    In other ocasions, we  are required to restart XI and, after that, this scenario works without any problem.
    What could be the cause?
    How to solve it?
    thanks, in advance
    Carme

    This is rather strange.
    A few of my observations -
    1. When the sender jdbc adapter polls , and there is no data matching the select query, you will still see a message id in Comm Channel Monitoring but with no hyper link.
    2. The actual message id / message is created only if there is data in the database and also the hyper link is enabled.
    3. If you are confident that the data is being commited on the database and that it is XI not pulling the right data, one issue might be - driver issues. Can you check if you have the right compatible drivers for your database on XI server - is there a new'er driver available?
    We hit a similar issue with JMS adapters and we learnt that the JMS server had been updated as a result of which a new driver had to be installed which we did not until we hit intermittent problems like these.
    Hope this helps
    Regards
    Bhavesh

  • I keep getting a "new network interface has been detected. Hoping to stop getting this automatic message I configured it, or thought I did. I'm still getting the message. How do I stop it?

    I keep getting a "new network interface has been detected. Hoping to stop getting this automatic message I configured it, or thought I did. I'm still getting the message. How do I stop it?

    I thought the same too, looks like its not just me having this issue, hope Apple do something soon. Thanks for your help

  • File Sender channel stopped polling on FTP site

    Dear all,
    We have many file to Idoc interfaces running in production and all are they good.
    Yesterday we faced one issue, one of the interface's sender communication channel stopped polling and didn't picked the files from FTP.
    There was no error on communication channel monitoring and it is green.
    We stopped & started the channel then started picking the files. But this is not usual behavior of file adapter.
    We found one SAP Note 1083488, according to this note, we are in the latest SP level( PI 7.0 SP 14). So not required to apply this patch my case.
    What should i do to not to face next time
    Regards

    Hi Bhavana,
    Check the below Q & A.....
    >> Q: After configuring a large amount of File Adapter sender channels, the J2EE Engine becomes very slow and some services start to block. How can I solve this issue?
    A: Up to and including XI 3.0 SP13 each File Adapter sender channel permanently consumes a J2EE application thread. To solve this issue, increase the number of configured J2EE application threads using the SAP J2EE Engine Config Tool ("cluster-data" -> "Global server configuration" -> "managers" -> "ApplicationThreadManager" -> "MaxThreadCount").
    Starting with XI 3.0 SP14 / PI 7.0 application threads are allocated on demand by the File Adapter and returned to the thread pool after it has finished the polling sequence, so thread shortage situations will typically occur much more rarely than with earlier SPs.
    Also as said by Other SDN'ers check the locks.
    Thanks,

  • JDBC and FTP sender channels stop polling

    Hi,
    We have a great volume of sender JDBC and FTP sender channels.
    For this reason there is nothing unusual to have temporary error connections.
    Several months ago, with an XI 3.0 system, sender channels recover its functionality  automatically when temporary error connection is solved.
    But now, he have migrate to a  PI 7.1 sytem, and in the same scenario and configuration,  sender channel stop polling after a temporary error . In cc monitor this channels remains in  green status and there were no signs of stopped interfaces.
    Timeouts are correctly defined and there is no difference between channel configuration in our Xi and PI system.
    How to solve this problem?
    Thanks, in advance.
    Carme.

    Thanks for your fast response, Stefan.
    After writing this post, i ask the same question to our basis team and  we are in the latest sp.
    ¿do you know if there is any note or can you provide me some additional information?
    I'm not able to find any note about this issue...
    Regards,
    Carme.

  • CPAChannelStoppedException: Channel stopped by administrative task (SAP XI)

    Hello friends.
    I am running a interface to R3 from sap-xi, but the ejecutión return the next error:
    Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Channel stopped by administrative task.: com.sap.aii.af.service.administration.api.cpa.CPAChannelStoppedException: Channel stopped by administrative task..
    I need your help, but quickly. Many thanks
    Cristian

    Hi,
    Are u using RFC adapter to communicate ? IF so find out RFC adapter service is active in Adapter Engine (Visual Admin)
    Do the CPA Cache Refresh
    Hope all adapter engine is active and running..
    Check out these
    Rgds,
    Moorthy

  • Programmatically detect if working in RAC mode?

    How can I programmatically detect if database is running in RAC mode. I found solution with dbms_utility.is_cluster_database but my boss wants to know is there any other solution. So is there :)

    Hi,
    If it is a RAC database, you should have several instances in v$thread :SQL> select count(distinct(instance)) from gv$thread;
    COUNT(DISTINCT(INSTANCE))
                            1Or check the value of the cluster_database parameter :SQL> select name, value
      2  from v$parameter
      3  where name ='cluster_database';
    NAME                           VALUE
    cluster_database               FALSEOr count the number of instances in gv$instance:SQL> select count(*) from gv$instance;
      COUNT(*)
             1

  • Is There a way to programmatically extract global virtual channel info from max?

    I have a group of DAQmx virtual global channels setup in MAX and I would like to be able to programmatically extract the physical channel information to be included with the data file. In the past I have been able to use traditional NI-DAQ channel utility vi's to accomplish this, but they only see traditional NI-DAQ virtual channels and not DAQmx virtual channels. Is there a group of vi's for extracting DAQmx virtual channel information? I'm using Labview 7.1 with a Windows XP OS.

    Paul,
    I can access basic properties using the approach you described, but do you know how to get the units from the global virtual channel?  Say I had a general appliance for reading in load cells, and I wanted to have the axis labels in a graph show the units of whatever load cell had been selected.

  • Left channel stopped working thru headphone output on a mac. Internal speakers are still working. All settings seem to be correct.???

    Left channel stopped working thru headphone jack.on a mac. Internal speakers

    Make sure it's all the Way IN
    Try the headset IN something Else to see if the headset is ok
    Try another headset to see if the port is damanged

Maybe you are looking for

  • Can anyone help with the following error message?

    While installing itunes update 7.5 received message Error 1905 module c:\programfiles\itunes\itunesminiplaayer.Dl failed to unregister HRESULT-2147220472

  • Problem in converting AppleWorks into RTF

    Hi! I have a bunch of .cwk files (AppleWorks) that I need to convert into RTF format. In the script I use I have a proble with the following code: tell application "AppleWorks" activate open MonFichier save MonFichier in file (dossier & name_Fich & "

  • Navigational Attribute Filter value selection not showing full name

    Hi Experts, We are having Navigational Attribute TM Responsible. We have created variable in BEX for it. When we are searching for value selection for this in RSRT, its showing only last name and key part. But If I dont pass any values, and display t

  • Cannot open hyperlinks

    After upgrading to Lion, I cannot open hyperlinks in Mac Mail.  I appreciate any suggestions.

  • How to capture content activity log from DMP?

    Hi There, I try to implement content activity log from DMP. The information that I want to get are DMP IP, Conent File Name (video or jpg file), open date/time. The only way that I can do is sending http command direct to DMP (http.file via port 7777