Problem in Module processor

Hi All,
can any body help me on this
how much time will take the module processor to execute the message.
If 4/5 messages are entering into MP at the same time what will happened
I am getting the error in this stage when iam using receiver FILE Adapter
getting the error log " Message is entering into the Module Processor"
then in the next log i will be getting the following error differently
Attempt to process file failed with
com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution:
com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload:Fatal Error:com.sap.engine.lib.xml.parser.parserException: XMLparser: No data allowed here(:main:,row:,col:75)"
com.sap.engine.lib.xml.parser.parserException:XMLParser:N o data allowed here:(hex) 76,65,72   (:main:,row:1,col:9)
for the same message when the sys tried to resend
parserException:start-tag 'EIT' is different from the end-tag'E1EDP03(:main:,row:1,col:16)
but there is no problem with payload also
Regards
Sankar

Hi All,
1.I am not using custom Module, it is IDOC to File Scenarion.
2.No Content Conversion.
3.There is no problem with Mapping.
Maximum Messages are successfull, some messages are failed in the Module due to this error.
Every message  (main:, row:1:,col:1923) this will be changing and some times </ expected, Document is not well-formed, No data allowed here "
"If i rescend the message 1 by 1 message is processing successfully, but if select more than 1 message only one message getting processed".
Around 4 interfaces with this type of error, but all having same problem some messages are failed with this kind of error.
If more messages are attempting to process at the same time in the module processor is there any loading problem that causes this error?.
Thanks & Regards
      Sankar

Similar Messages

  • Module processor deployment.

    Hi All,
    I hav written a custom module processor.i even hav a helper class which is called in the module processor.I developed it thru NWDS.But when i try to deploy the ear file that is generated out of the jar file of the module,it is giving a warning that the libraries hav a hard reference on the server.
    the application-j2ee-engine.xml looks like the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="library">com.sap.aii.af.lib</reference-target>
    </reference>
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="service">com.sap.aii.adapter.xi.svc</reference-target>
    </reference>
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="service">com.sap.aii.af.svc</reference-target>
    </reference>
    <reference
    reference-type="hard">
    <reference-target
    provider-name="sap.com"
    target-type="service">com.sap.aii.af.cpa.svc</reference-target>
    </reference>
    <fail-over-enable
    mode="disable"/>
    </application-j2ee-engine>
    Can anyone help me out in deploying the module processor.
    Thnx in Advance
    Anil.

    Hi Anil,
    Its great that your problem is solved but what was the problem. Was it related to changing of related to changing of references.
    If you are in a position please do post the problem and how you solved it.
    Regards
    Sidharth

  • [solved] could not load module 'processor'

    Since the recent upgrade to kernel 2.6.20.7-1 the acpi kernel modules have to be loaded manually. Thats all good, i don't have a problem with that. On my desktop I load  'button', 'processor'.
    But since the upgrade to 2.6.20.7-2 the module 'processor' disappeared.
    > /lib/modules/2.6.20-ARCH/kernel/drivers/acpi$ ls
    ac.ko asus_acpi.ko battery.ko button.ko dock.ko fan.ko hotkey.ko i2c_ec.ko ibm_acpi.ko sbs.ko toshiba_acpi.ko video.ko
    and
    modprobe processor gives me:
    FATAL: Module processor not found.
    Is that normal or what happened here?
    Last edited by mcover (2007-04-21 09:53:32)

    I see you are from Germany, so have a look at this:
    http://www.laber-land.de/?page=Postings … hread=5973
    Translation:
    Since kernel 2.6.20.7-2 the modules thermal and processor are directly integrated into the kernel and must/could not be loaded separatly.

  • Anonymizer Module Processor - how to use ?

    Hi,
    I have a requirement where the incoming XML contains namespace prefixes that do not match the namespace prefix set on the XI definition.
    Therefore the message mapping does not work !
    I have seen a few thread recommending using the Anonymizer Module Processor to override the namespace prefixes.
    However, I cannot seem to get this to work on an message inbound to XI - it always seems to retain the namespace prefixes of the incoming message.
    I have added the followingto the module section of the SOAP adapter inbound channel:
    Module name - localejbs/AF_Modules/XMLAnonymizerBean
    Module type - Local Enterprise Bean
    Module key - namespace
    Module configuration:
    Module key - namespace
    Parameter name - anonymizer.acceptNamespaces
    Parameter value - 'http://schemas.xmlsoap.org/soap/envelope/' ns0 'http://tempuri.org' ns0 'java:com.xerox.hc.registration.event' ns0
    The incoming XML looks like this:
    <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
    - <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    - <m:getRegistrationEventQueryResponse xmlns:m="http://tempuri.org/">
    - <result xmlns:n1="java:com.xerox.hc.reg2.registration.event" soapenc:arrayType="n1:RegistrationEventJB[9]">
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">KN0025428</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">KN0025428</string>
      </clientId>
      <clientType xsi:type="xsd:string">Device</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T12:33:58.318-05:00</eventDate>
      <eventType xsi:type="xsd:string">SerialNumberChange</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">TFN702031</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">TFN702031</string>
      </clientId>
      <clientType xsi:type="xsd:string">Device</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T13:00:27.449-05:00</eventDate>
      <eventType xsi:type="xsd:string">SerialNumberChange</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">PSG000002</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">PSG000002</string>
      </clientId>
      <clientType xsi:type="xsd:string">Device</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T17:55:13.067-05:00</eventDate>
      <eventType xsi:type="xsd:string">Deregistration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">RKR000002</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">RKR000002</string>
      </clientId>
      <clientType xsi:type="xsd:string">Device</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T18:53:42.629-05:00</eventDate>
      <eventType xsi:type="xsd:string">Deregistration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">RKR000002</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">RKR000002</string>
      </clientId>
      <clientType xsi:type="xsd:string">Device</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T18:54:40.235-05:00</eventDate>
      <eventType xsi:type="xsd:string">Registration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">KMM010309</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">KMM-010309</string>
      </clientId>
      <clientType xsi:type="xsd:string">ProxyDevice</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-23T19:00:56.574-05:00</eventDate>
      <eventType xsi:type="xsd:string">Registration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">DLC010061</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">DLC0100615CA</string>
      </clientId>
      <clientType xsi:type="xsd:string">ProxyDevice</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-24T15:29:59.268-05:00</eventDate>
      <eventType xsi:type="xsd:string">Deregistration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">DLC010061</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">DLC0100615CA</string>
      </clientId>
      <clientType xsi:type="xsd:string">ProxyDevice</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-24T15:40:37.123-05:00</eventDate>
      <eventType xsi:type="xsd:string">Registration</eventType>
      </RegistrationEventJB>
    - <RegistrationEventJB xsi:type="n1:RegistrationEventJB">
    - <cleanSerialNumber soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">TFN702031</string>
      </cleanSerialNumber>
    - <clientId soapenc:arrayType="xsd:string[1]">
      <string xsi:type="xsd:string">TFN702031</string>
      </clientId>
      <clientType xsi:type="xsd:string">ProxyDevice</clientType>
      <eventDate xsi:type="xsd:dateTime">2007-01-25T10:30:02.660-05:00</eventDate>
      <eventType xsi:type="xsd:string">Deregistration</eventType>
      </RegistrationEventJB>
      </result>
      </m:getRegistrationEventQueryResponse>
      </env:Body>
      </env:Envelope>
    All namespace prefixes need to be overridden to ns0 but with the configuration I have added this is not working.
    Any ideas what I am missing or have configured incorrectly ?
    Kind regards
    Colin.

    Hi Colin,
    There is no matter how the namespace prefixes are called. If you have ns0 or t is no difference.
    The problem why the mapping is not working is the difference between prefixed namespaces like this:
    <m:getRegistrationEventQueryResponse xmlns:m="http://tempuri.org/">
    and non-prefixed namespaces like this:
    <result xmlns:n1="java:com.xerox.hc.reg2.registration.event">
    With the IR you can only create message types with one prefixed namesspace. It is not possible to create a message structure as you need inside the IR.
    You have to create the WSDL externally and upload as external definition to the IR. Let BizTalk create the WSDL.
    If this is not possible, you should XSLT for mapping.
    Regards
    Stefan

  • SP14 Module Processor Issue

    Hello,
    I hava developped in SP10 multiple Module Processor and everything works fine.
    I have upgraded to SP14 and redeployed the Module Processor and at each execution of a Module Processor, i've got the error in RWB/Monitoring Adapter : "java.lang.ClassCastException" ?????
    I somebody as an idea.
    Regards,
    Vincent

    OK for JNDI but for the empty it's a problem, let me explain the scenario :
    I have configured a file sender adapter with file Content Conversion. I have 2 kinds of records Header and Items.
    i have defined the 'Key Field Name' based on the first character of each line of my flat file and the values associated :
    Header.keyFieldValue = 1
    Item.keyFieldValue = 2
    Flat file example :
    1;Headerfield1;Headerfield2
    2;ItemField1;ItemField2;ItemField3;ItemField4;
    2;ItemField1;ItemField2;ItemField3;ItemField4;
    2;ItemField1;ItemField2;ItemField3;ItemField4;
    and everything works fine !
    But now imagine you receive a bad file like this :
    xxxxx;ohhohoh;llllll
    y;sdfsdfs;zezerz;zerzer
    e;zerzerze;zezerzerzer
    The result is : No error is generated (first why ???? ) and because the adapter cannot match the keyFieldValue it seems consider that it has received an empty file and nothing is sent to IS so no alert is generated ????? in this case the approach is not really correct !
    Regards,
    Vincent

  • Module Processor not working

    Hi All,
    I am working with on creating a module processor for the sender adapter. The code is simple and I am pretty sure it works. Its barely outputs the Module Processor object that’s created within the java code.
    I am having problem getting the module to work.
    I have a module '<b>CallSapAdapter</b>' (not localejbs/CallSapAdapter) predefined in my sender adapter. I have create my Java class <b>CreateData</b> in a package called Sample. I then created a EAR & deployed it using SDM. Then on, I then added this module ('<b>CreateData</b>') in the modules tab above the 'CallSapAdapter'. Chose the type as 'Local Enterprise Bean'.
    I am unable to get the file deleted (In the adapter I have configured the processing mode as delete). Even I cant see the communication channel log for the specific adapter as I see the following error message
    Application error occurred during request processing.
    Error [javax.servlet.ServletException: null], with root cause [java.lang.reflect.InvocationTargetException: null].
    Kindly let me know where am I going wrong. Is it in specifying the module name as 'CreateData'??
    Regards
    Keerti

    Did you set the references to libraries and services in the application-j2ee-engine.xml correctly?
    Compare it:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
    <application-j2ee-engine>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="library">com.sap.aii.af.lib</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.adapter.xi.svc</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.af.svc</reference-target>
         </reference>
         <reference
              reference-type="hard">
              <reference-target
                   provider-name="sap.com"
                   target-type="service">com.sap.aii.af.cpa.svc</reference-target>
         </reference>
         <fail-over-enable
              mode="disable"/>
    </application-j2ee-engine>
    > Also, does removing the libraries from the EAR have
    > implications other than the size of the EAR?
    Yes

  • Problem with modules and ModuleLoader

    Hi everybody,
    i'm facing a real funny problem with modules and
    moduleLoader, i hope
    it's not (only) my fault anyway...
    If i create a normal flex project with fBuilder, i'm able to
    use
    modules in a lot of different ways (as mxml, as as in a
    function etc..)...
    but if i try to use them in my fds application (created with
    fds
    eclipse plugin or as a dataServices project) i can't use
    modules. The compile-time error message is
    always the same:
    Could not resolve <mx:ModuleLoader> to a component
    implementation
    I tried a lot of solutions, paying attention to import all
    the classes, to declaration, naming, positioning
    etc...but nothing changes, this thing is drivining me
    crazy!!!.
    I will appreciate anykind of help.
    TIA
    Fabio

    Any idea?

  • Usage of Module processor in SOAP Receiver Adapter

    Hi,
    I have scenario where I am calling an external Web Service via XI. Unfortunately I need Java Mapping to generate the complete SOAP Message (there are some special header elements required by the Web Service)  and flag 'no soap' in the SOAP Receiver Adapter. This works fine, but I have additional Web Service Calls that have the same Header logic and I don't want to use Java Mapping all the time.
    I was wondering if it is possible to use graphical User Mapping for the Business Data that goes to the SAOP Body as a payload and use Java code to generate the SOAP Message (actually the SOAP Wrapper and the Header).
    Can I do this in XI using the Module processor in the SOAP Receiver adapter or do I have to use two mappigs, one based on the Graphical mapping and another using Java Mapping? Is it feasible at all in XI?
    Thanks in advance.

    Hi,
    You can use Module Processor.
    But,
    1. If it is a synch call, in when the message is going from the SOAP adapter to the Webservice, you will need to manually Add the SOAP header as you want . ( you will need to create the entire SOAP mesage as the output of the Module ).
    2. When the response comes back, the same module will need to remove the SOAP header etc and pass a valid , XML message to the Graphical mapping.
    If you have a requirement that some fields of the SOAP header will be needed to be accesed in the Response mapping, then you would need to either add this field to some field in the response payload.
    Better option would be to use, Either a Java or a XSL mapping that does all the required stuff for you.
    Regards
    Bhavesh

  • Class Cast Exception In Module Processor

    Hi,
      I'm trying implement "Step by step guide to develop a
    module for reading file name in a
    sender file adapter" by Krishnakumar Ramammoorthy. When I deploy the EAR in my server I'm getting following exception:
    #1.5#0003BA92DD90003B0000240000001D190003FCBEF3B117E6#1122321992587#/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File##com.sap.aii.adapter.file.File2XI.processFileList()#J2EE_GUEST#0##nd2xidb.svc.doi.test_XD2_3621750#Guest#46b9f3b0fd4611d9af850003ba92dd90#output##0#0#Error#1#com.sap.aii.adapter.file.File2XI#Plain###Channel CC_File_S_ABCMCodes: Sending file failed with java.lang.ClassCastException - continue processing#
    I'm running it on XI 3.0 SP 11.
    I'm trying to send a file and planning to modify the content in the module processor.
    Please let me know if anyone has a clue ?
    to get above mentioned document please search for "ramammoorthy", it's the first document.
    https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=ramammoorthy&selected=0&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=ramammoorthy%26SearchPluginName=sdn_all%26SelectedCustomProps=resourcetype(value=s*)
    thanks
    Sibo

    Hi All,
      The problam was in ejb-jar.xml. You should use the interfaces provided by module framework as home and remote interface.
    I made following changes in ejb-jar.xml and it worked..
    <session>
                <ejb-name>GetFileNameBean</ejb-name>
                <!local-home>gov.doi.fbms.moduleprocessor.GetFileNameLocalHome</local-home>
                <local-home>com.sap.aii.af.mp.module.ModuleLocalHome</local-home>
                <!local>gov.doi.fbms.moduleprocessor.GetFileNameLocal</local>
                <local>com.sap.aii.af.mp.module.ModuleLocal</local>
                <ejb-class>gov.doi.fbms.moduleprocessor.GetFileNameBean</ejb-class>
                <session-type>Stateless</session-type>
                <transaction-type>Container</transaction-type>
            </session>
    Please refer to document http://help.sap.com/saphelp_nw04/helpdata/en/32/43d84072378031e10000000a1550b0/content.htm
    Thanks a lot for your help..
    Sibo

  • Problem with module lazy loading in flex 3

    Hi every body!
    I have some problems with Module lazy loading. I am using flex 3.5, Module-flex3-0.14, parsley 3.2.
    I can't get the LazyModuleLoadPolicy working correctly.
    In my main application (the one that loads the modules), my parsley context is the following:
            <cairngorm:LazyModuleLoadPolicy objectId="lazyLoadPolicy" type="{ OpenViewMessage }" />
         <cairngorm:ModuleMessageInterceptor type="{ OpenViewMessage }"/>
         <cairngorm:ParsleyModuleDescriptor objectId="test"
              url="TestModule.swf"
              applicationDomain="{ClassInfo.currentDomain}"
         />
    And to load my module:
    [Inject(id="test")]
    [Bindable] public var test:IModuleManager;
    <core:LazyModulePod
         id="moduleLoader"
         moduleManager="{test}"
         moduleId="testModule"
    />
    with  LazyModulePod.mxml:
    <mx:Canvas
        xmlns:mx="http://www.adobe.com/2006/mxml"
        xmlns:module="com.adobe.cairngorm.module.*"
        xmlns:parsley="http://www.spicefactory.org/parsley">
        <mx:Script>
            <![CDATA[
                import com.adobe.cairngorm.module.ILoadPolicy;
                import com.adobe.cairngorm.module.IModuleManager;
                [Bindable]
                public var moduleId:String;
                [Bindable]
                public var moduleManager:IModuleManager;
                [Bindable]
                [Inject(id="lazyLoadPolicy")]
                public var lazyLoadPolicy:ILoadPolicy;
            ]]>
        </mx:Script>
        <parsley:Configure/>
        <module:ViewLoader id="moduleLoader"
            moduleId="{ moduleId }"
            moduleManager="{ moduleManager }"
            loadPolicy="{lazyLoadPolicy}">
             <!--<module:loadPolicy>
                  <module:BasicLoadPolicy/>
             </module:loadPolicy>-->
        </module:ViewLoader>
    </mx:Canvas>
    OpenViewMessage.as in a swc:
    public class OpenViewMessage
            private var _moduleId:String;
            private var _viewId:String;
            public function OpenViewMessage(moduleId:String, viewId:String)
                this._moduleId = moduleId;
                this._viewId = viewId;
            public function get viewId():String{
                return _viewId;
            [ModuleId]
            public function get moduleId():String
                return _moduleId;
    In another flex project, my module context is:
    <mx:Object
         xmlns:mx="http://www.adobe.com/2006/mxml"
         xmlns:controler="com.cegedim.myit.controler.*">
         <controler:WindowControler/>
    </mx:Object>
    The module implements IParsleyModule
    <mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
         implements="com.adobe.cairngorm.module.IParsleyModule"
         xmlns:spicefactory="http://www.spicefactory.org/parsley">
         <mx:Script>
              <![CDATA[
                   import org.spicefactory.parsley.flex.FlexContextBuilder;
                   import com.adobe.cairngorm.module.IParsleyModule;
                   public function get contextBuilder():ContextBuilderTag
                    return contextBuilderTag;
              ]]>
         </mx:Script>
         <spicefactory:ContextBuilder  id="contextBuilderTag" config="{ MyITTestModuleContext }"/>
         <spicefactory:Configure/>
    </mx:Module>
    and the WindowControler:
    public class WindowControler
         public function WindowControler(){}
         [Init]
            public function initialize():void
                Alert.show("Module Initialized");
            [MessageHandler(scope="local")]
            public function openViewMessageHandler(message:OpenViewMessage):void
                Alert.show("Opening view " + message.viewId + " in the module " + message.moduleId);
    If i uncomment the basicLoadPolicy in LazyModulePod.mxml and remove the lazyModuleLoadPolicy, everything works fine. The module is loaded when it's added to stage and it receives correctly messages dispatched to it. But with the lazy policy the module never loads.
    I may have missed something or there is somthing i don't understand because i tried the ModuleTest provided in example in cairngorm sources. It works fine (i mean loading the moduleA2 when receiving a message), but if i replace the change the lazyModulePolicy to listen to broadcasted messages instead of a pingMessage, the module never loads too.
        <cairngorm:LazyModuleLoadPolicy objectId="lazyLoadPolicy" type="{ BroadcastMessage }" />
        <cairngorm:ModuleMessageInterceptor
            type="{ BroadcastMessage }" moduleRef="moduleA" />
    public class BroadcastMessage
        public function BroadcastMessage()
    If someone has any clue, i'll be happy to test it =)
    Thanks.

    Hello, back on my issue, i tested a little bit more the message dispaching.
    I read the lazyLoadPolicy class and noticed that it always has to have a ModuleId property in the message to work, that's why the broadcast message didn't work to awake the module with the lazy loading policy.
    So i added copy of my module:
         <cairngorm:ParsleyModuleDescriptor objectId="test"
              url="TestModule.swf"
              applicationDomain="{ClassInfo.currentDomain}"
         />
         <cairngorm:ParsleyModuleDescriptor objectId="testbis"
              url="TestModuleBis.swf"
              applicationDomain="{ClassInfo.currentDomain}"
         />     
    Set them both with a basicLoadPolicy, and tries to dispatch a message to only one of them using the ModuleId metatag. I then noticed that both modules received the message and not only the one i expected.
    I then changed the ModuleMessageInterceptor configuration to dispatch to only one kind of module:
    <cairngorm:ModuleMessageInterceptor type="{ OpenViewMessage }" moduleRef="test"/>
    and this worked as expected. Only the first module catched the message. I am obiously messing with the ModuleId metatag but i cannot see what's wrong...
    I compiled with
    -keep-as3-metadata+=ModuleId
    but this hasn't changed anything...

  • Module processor usage in File ADapter

    Hi all,
    I have a scenario  Idoc->Xi->File to be in Xi 3.0.
    There is already an XI 2.0 system up and running wherin they have used dispatcher classes for the File Adapter Configuration.They have used the Transform Class "com.sap.aii.messaging.adapter.XSLTConversion" and have added the particular XSLT mapping Program in "namespace1.XSLTService.XSLTConversion.XSLTFileName=
    convert.xsl".
    When I want to configure these in XI 3.0 as a Receiver File Adapter, documentation says that we need to specify these in Module Processor as a sevice. For this the precursor is that we need to deploy the Java Classes in SDM.
    But my question is whether we have to include the XSLT coding too in the Archive and Deply it in the SDM? Is it not that its required only for the Java Classes to be Deployed using SDM or else the XSLT Codings too in a JAR File?

    Hi Stefan,
    Thanks a lot for your reply.
    I already tried this way by storing the file in the File system of the server.
    But for example,the XSLT file is this path of the Server,
    F:\usr\sap\D49\SYS\global\tech_adapter\xslt\DR11_adapter_exit.xsl
    Then, what exactly should be the path specification in the XSLT Sevice filename....Now its exactly as I have mentioned above and the file is stored physically over there....
    The error log was like this,
    2005-02-16 11:54:37 Success output 1108572877484 The message was successfully received by the messaging system. Profile: XI URL: http://cmis147:50000/MessagingSystem/receive/AFW/XI
    2005-02-16 11:54:37 Success output 1108572877484 Using connection AFW. Trying to put the message into the receive queue.
    2005-02-16 11:54:37 Success SAPEngine_Application_Thread[impl:3]_0 1108572877500 The message was successfully retrieved from the receive queue.
    2005-02-16 11:54:39 Success SAPEngine_Application_Thread[impl:3]_0 1108572879093 The message status set to DLNG.
    2005-02-16 11:54:39 Success SAPEngine_Application_Thread[impl:3]_0 1108572879109 Delivering to channel: FILE_DR11_Outbound
    2005-02-16 11:54:39 Error SAPEngine_Application_Thread[impl:3]_0 1108572879125 Exception caught by adapter framework: failed to configure the transformation object
    2005-02-16 11:54:39 Error SAPEngine_Application_Thread[impl:3]_0 1108572879125 Delivery of the message to the application using connection AFW failed, due to: failed to configure the transformation object.
    2005-02-16 11:54:39 Success SAPEngine_Application_Thread[impl:3]_0 1108572879125 The asynchronous message was successfully scheduled to be delivered at Wed Feb 16 11:59:39 EST 2005.
    2005-02-16 11:54:39 Success SAPEngine_Application_Thread[impl:3]_0 1108572879140 The message status set to WAIT.
    But when I see the monitoring for the AdapterFramework it says its ok.
    So I thought the path is probably invalid.
    Your opinions please...
    Thanks in Advance,
    Romit.

  • Exception in Module Processor

    Hi All,
    I want to know wot happens when an exception occurs in a module processor?i hav a requirement in which i hav to pass adapter module a message when nothing goes wrong in a custom module processor.If an exception is raised in the module processor,does it prevents from passing the message to the adapter module?Please provide me some info regarding this.
    Thnx in Adv
    Anil.

    Hi Anil,
    we don't have such an requirement like you. But we have
    also developed some module exit. And when the module exit
    raise an exception the message does not go through. We
    could see the message hanging with an exception in the
    runtime workbench.
    An it is also not possible to restart the message again
    because the exception is raised again. So if we have an
    exception the error will persist and we was not able to
    restart the message again. This message was lost!
    But in your case you maybe don't want that the message get
    lost. In this case you can not use exception to modell you
    requirement i think. But i don't have another solution for
    you at the moment.
    Thanks,
    Ly-Na Phu

  • Module processor enhancement with file content conversion

    Hi All,
      I have a bean (module processor) that converts the a PDF doc to text. I need to use the same bean with file content conversion. Module processor processing sequence is as follows:
    1) My Bean: localejbs/myBean
    2) Default: localejbs/CallSapAdapter (Bean for file content conversion).
    When I tried the same (myBean + File adapter with file content conversion) , it was not working as expected. But the same bean works fine with normal file adapter (myBean + File adapter without file content conversion).
    Couldn't figure out the reason. Please help.
    Regards,
    Ajay.

    As the content conversion of the file adapter is done before calling the customer module, it is not possible to use both.
    As workaround you can do the file content conversion with help of the MessageTransformBean. In the module chain you put the MessageTransformBean after your module.
    Note that the configuration of the MessageTransformBean has to be done like the J2SE sender file adapter:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm
    You find an example here:
    https://websmp206.sap-ag.de/~sapdownload/011000358700001186732005E/HowToConveModuleJMS.pdf
    Regards
    Stefan

  • J2EE adapter module not getting invoked by module processor

    Hi All,
    i have deployed my .ear file in SDM Repository successfully.
    but my J2EE adapter module is not getting invoked by module processor......this i can say because i have written code to audit log my message in the java class...but when i gave input an empty file, the audit log of that file in Message Audit Log showed only 3 Steps of file converted to XML format, no data found so not generating message, deletion of my empty file.
    Can anybody suggest how to enable my J2EE adapter module as i have created this module so that if i give empty file, then in the adapter i am creating a dummy XML for my message.
    Thanks and Regards,
    Rajeev Gupta

    Hi Stefan,
    1. JNDI name in visual admin is CustomerMeter
    2. the files in .ear file are:
    libraries,
    ejb project file,
    META-INF folder
    in ejb project file the following files are there:
    ejb-j2ee-engine.xml
    ejb-jar.xml
    CustomerMeter.class
    Please tell what to do now.
    Hi Amol,
    in audit log only 3 messages are coming: File converted to XML format, no data in document  so not sending message, deleting of empty file.
    i have given audit log statements in java class but my audit-log statements are not coming in the audit log
    this means my adapter module is not getting invoked.
    Please tell what to do to correct this error.
    Thanks and Regards,
    Rajeev Gupta

  • Zip Payload using PayloadZipBean Module Processor

    Hi,
    I'm using AF_Modules/PayloadZipBean in module processor of Receiver SOAP adapter to compress/zip the message payload. I've used the following module key parameters :
    Parameter Name      Parameter Value
    zip.Mode                  zipAll
    zip.filenameKey        contentType
    In the adapter engine monitoring from RWB I can see the following warning message :
    Warning Zip: message is empty or has no payload
    But I can see the msg payload from the RWB message monitor as expected.
    Can anyone please throw any light on this issue?
    Thanks in advance,
    Dipankar

    Hi Stefan,
    Can you please explain what you meant by transfer-encoding gzip?
    Actually the requirement is to receive xml message in compressed zipped  format along with digital signature. As I understand using the ModuleProcessor which you mentioned in your blog I can send zipped message (using File Adapter I've actually achieved the result as mentioned in your blog. So thanks a lot for that!). But in file adapter I can't use digital signature. So how to satisfy both the requirements using a single adapter (and maybe using some module processors over it)?
    Thanks for your help!
    Dipankar

Maybe you are looking for

  • Macbook having multiple kernel panic after upgrade to Maverick OS

    I have been having problems with my mid-2010 MacBook since upgrading to Mavericks. It will have several kernel panic episodes a day.  Originally I took it to the Apple Genius Bar and they recommended a complete reinstall of Mavericks. This did not st

  • Two applications wants to read on the same port using Socket

    I have an application running on one machine using TCP/IP socket. The data transfer with the other application on other machine is in ASCII. Now I want a new application that can have a copy of data received and sent on the given port, where the prev

  • How do I bulk delete duplicates in Photos?

    Hi, I have plenty of duplicates in mt library. Is there an easy way to delete them? Best, Olivier

  • Blending an image with a gradient

    Hi I am putting together a flyer which will have a rectangular bar across the top of and A4 sheet of paper with a gradient applied left to right dark to light. On the the right hand side of the rectangle i have placed an image on top of the gradient.

  • Patch 9206 installation problem

    Hi, I'm trying to install patch 9206 on Windows 2003, but OUI does not come up. I found that DEP was blocking setup.exe, but even I stoped DEP, still OUI does not come up... Please any advices.... Hiroshi