TargetFilename = SourcefileName in Plain J2SE adapters

Hi All,
We are working on PlainJ2SE adapters Both for sender and Receievr systems are configured by Plain J2SE adapterEngine.
Here we need to get the TargetFilename = SourcefileName
at the receievr end.
Can anyone suggest me how to configure this in adapters?
Thanks,
Kalyan.

Hi Kalyan,
Have you developed your own j2se adapter. Are you follow Adapter development frame work.
Refer this link for Adapter development.
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Thanks,
RamuV

Similar Messages

  • Do the Plain J2SE adapters support acknowledgments?

    Hello All,
    I have a scenario as below,
    ... -> XI(BPM) -> (in BPM) async send data by the XI-type adapter to the J2SE File-adapter(or JDBC) -> (in BPM):next step .
    (Send step in BPM is request transport ack, "Transfer hop list" (in XI adapter)is checked).
      There are no acks (success or errors) receives
      (ack status is "Still waiting acknowledgments").
      My BPM is block
       Do the Plain J2SE adapters support acknowledgments? 
    Thanks
    Message was edited by: Michael Kakourov
    Message was edited by: Michael Kakourov

    > Do the Plain J2SE adapters support acknowledgments? 
    No. Use J2EE adapter engine instead.
    Regards
    Stefan

  • Installation and then Configuration of Plain J2se Adapter Engine

    Hi All,
    Actually we want to use JMS Adapter for that we had installed Plain J2SE Adapter Engine but after installing and following the initial steps of Adapter.pdf we are not able to access the Adapter Engine through URL.We are using the URL http://<hostname>:8200/MessagingSystem/receive/AFW/XI
    this URL is there in our SLD but we are not able to access the page.
    So Please can somebody help me to resolve this issue.
    Thanks & Regards
    Sathya

    Hi Amol,
    I am trying to send read data from MQSeries using JMS adapter. We are successful in opening the Adapter Engine  and the GUI. We have cofigured the adpter as follows. But when we try to restart the adapter to get the changes get saved we are getting the following error
    <b>"ERROR CALLING THE RESTART ADAPTER"</b>
    Also status is shown is yellow and version is shown as not set.
    Where ever I have changed the configuration data I have shown it in bold
    JMS-Adapter Configurarion
    This Configuration is a sample for a JMS sender channel (inbound, sends to XI IS)
    Set XI message protocol version. This sample is designed for XI 3.0
    version=30
    JMS message receiver class
    classname=com.sap.aii.messaging.adapter.ModuleJMS2Transport
    set if a transacted JMS Session should be used (default: true)
    #JMSSession.sessionTransacted=false
    set delay in milliseconds before processing next message after an error (default: 0)
    errorDelay=10000
    #set delay in milliseconds before trying to reestablish the JMS Connection after a connection error (default: -1 (do not try to reconnect))
    #reconnectDelay=10000
    set the Message Formats you want to process (Formats only needed if they can not be evaluated at runtime)
    TransportMessage Type can be set to TransportMessage of XMBMessage. It is used for sending and receiving Transport and XMBMessages
    #TransportMessage.type=TransportMessage
    TransportMessage.type=XMBMessage
    uncomment and adjust parameters for Transformation Type (Binding of JMS-Transport Message),
    insert your class here for an individual binding between JMS and Transport Message
    uncomment the following line for using Bindings that belong to Tunneling
    #transformClass=com.sap.aii.messaging.adapter.trans.JMSTunneling
    uncomment the following line for using Bindings that belong to Single Payload Binding
    transformClass=com.sap.aii.messaging.adapter.trans.JMSSinglePayloadBinding
    ID Garbage Collector: For EO(IO) handling XI adapters store the JMS/XI message ID's in the ID logger
    Uncomment the following lines and change the default values if you recognized "out of memory" problems due to
    very large ..\tech_adapter\Data\*_ID.dat files which will be kept in the memory as well
    eoExpirationAfterDays is the period of keeping the message ID in days. Afterwards the message ID might be used again
    garbageCollectorInterval is the period in milliseconds when the ID garbage collector is started. It will however only
    be started if messages are exchanged otherwise ID logs won't be created anyway
    eoExpirationAfterDays=365
    garbageCollectorInterval=86400000
    <b>#
    the following parameters are used in some Bindings that belong to Single Payload Binding needing XMBHeader Information
    uncomment and adjust parameters according your requirements. Please note, that the party identfier needs not to be
    configured in case of A2A scenarios.
    #XI.SenderParty=Sender
    XI.SenderService=MQSeries
    #XI.ReceiverParty=Receiver
    XI.ReceiverService=MTX
    XI.InterfaceNamespace=http://xitest
    XI.Interface=MI_Out_File
    XI.TraceLevel=1
    XI.LoggingLevel=1
    XI.QualityOfService=EO
    XI.QueueId=ABCD
    XI.ContentType=text/xml
    #</b> *************************************************************************************************************
    <b>#
    URL of XI IS to send the messages to
    XI.TargetURL=http://bwxi:50000/sap/xi/engine?type=entry
    XI.User=XIAF
    XI.Password=XIPASS
    #</b> *************************************************************************************************************
    URL of file adapter if a loopback JMS to File should be configured
    XI.TargetURL=//localhost:8210/file/receiver
    <b># uncomment the following settings if needed (independent on JMS provider)
    JMS.QueueConnectionFactoryImpl.user=xisuper
    JMS.QueueConnectionFactoryImpl.password=xxx
    #</b>
    uncomment and adjust parameters for loading JMS administrated objects via JNDI
    uncomment and adjust parameters if not the default context should be used
    #JNDI.InitialContext.property.1=java.lang.String {javax.naming.Context.INITIAL_CONTEXT_FACTORY}, java.lang.String com.sap.engine.services.jndi.InitialContextFactoryImpl
    #JNDI.InitialContext.property.2=java.lang.String {javax.naming.Context.PROVIDER_URL}, java.lang.String localhost:50004
    #JNDI.InitialContext.property.3=java.lang.String {javax.naming.Context.SECURITY_PRINCIPAL}, java.lang.String Administrator
    #JNDI.InitialContext.property.4=java.lang.String {javax.naming.Context.SECURITY_CREDENTIALS}, java.lang.String sap
    set the Lookup Names
    #JMS.JNDILookupNameQueueConnectionFactory=jmsfactory/default/joetest
    #JMS.JNDILookupNameQueue=jmsQueues/default/sapDemoQueue
    uncomment and adjust parameters for loading JMS administrated objects from filesystem ***
    #JMS.FileNameQueueConnectionFactory=SAPQueueConnectionFactory.ser
    #JMS.FileNameQueue=SAPQueue.ser
    uncomment and adjust parameters for creating SonicMQ JMS administrated objects ***
    JMS.QueueConnectionFactoryImpl.classname=progress.message.jclient.QueueConnectionFactory
    JMS.QueueConnectionFactoryImpl.constructor=java.lang.String localhost:2506
    JMS.QueueImpl.classname= progress.message.jclient.Queue
    JMS.QueueImpl.constructor=java.lang.String SampleQ1
    <b># uncomment and adjust parameters for creating MQSeries JMS administrated objects ***
    JMS.QueueConnectionFactoryImpl.classname=com.ibm.mq.jms.MQQueueConnectionFactory
    JMS.QueueConnectionFactoryImpl.method.setHostName=java.lang.String BWXI
    JMS.QueueConnectionFactoryImpl.method.setChannel=java.lang.String JAVA.CHANNEL
    JMS.QueueConnectionFactoryImpl.method.setTransportType=java.lang.Integer {com.ibm.mq.jms.JMSC.MQJMS_TP_CLIENT_MQ_TCPIP}
    JMS.QueueConnectionFactoryImpl.method.setQueueManager=java.lang.String QM_BWXI
    JMS.QueueImpl.classname= com.ibm.mq.jms.MQQueue
    JMS.QueueImpl.constructor=java.lang.String postcard
    JMS.QueueImpl.method.setTargetClient=java.lang.Integer {com.ibm.mq.jms.JMSC.MQJMS_CLIENT_NONJMS_MQ}
    #</b> *************************************************************************************************************
    uncomment and adjust parameters for using a dispatcher ***
    #Dispatcher.class=com.sap.aii.messaging.adapter.ConversionDispatcher
    #Dispatcher.namespace=namespace1
    #namespace1.ConversionDispatcher.logPayload=true
    #namespace1.Service.1=Plain2XMLService
    #namespace1.Plain2XMLService.class=com.sap.aii.messaging.adapter.Conversion
    #namespace1.Plain2XMLService.xml.conversionType=SimplePlain2XML
    #namespace1.Plain2XMLService.xml.processFieldNames=fromConfiguration
    #namespace1.Plain2XMLService.xml.fieldNames=a,b,c
    #namespace1.Plain2XMLService.xml.fieldSeparator=;
    #namespace1.Service.2=XSLTService
    #namespace1.XSLTService.class=com.sap.aii.messaging.adapter.XSLTConversion
    #namespace1.XSLTService.XSLTConversion.XSLTFileName=Data/DemoConversion.xsl
    Can you please help me in resolving the error.
    Regards,

  • PLAIN J2SE ADAPTER

    WHY PLAIN J2SE ADAPTER ENGINE IS SEPARATELY MAINTAINED FROM AN ADAPTER ENGINE?

    Hi,
    The Plain J2SE Adapter helps you to exchange messages with partners or even inside your own company to communicate to home grown systems it was the PCK of XI 2.0 and is mantained separately because in the Adapter Engine you have all the adapters you need and for partners that does not have XI or custum systems that does not have a way of comunication you use the Plain J2SE this is why is mantained separately becuase you use it to exchange messages with Adapter engine that runs in XI.
    It is recomended by SAP to use the PCK (Parner Connectivity Kit)

  • Plain J2SE vs DAE vs AEX

    Hi PI/PO experts,
    I was always having some questions on the topic in the title here though I have been working on them and know some use cases of each of them individually, I still wanted to get more insight into this topic which would help me in decision making sometimes.So please can someone explain me two things:
    1. Plain J2SE vs DAE vs AEX
    2.Is plain J2SE anymore needed having AEX in place now ?
    Also I have read on one of the blogs that J2SE has its use in Point of sales scenarios.Please explain.
    Thanks much for all your expert answers on this.
    Thanks & Regards,
    Harish.

    Hi,
    >>>1. Plain J2SE vs DAE vs AEX
    Plain J2SE
    small exe files for adapters
    DAE = AEX as of 7.3
    >>>2.Is plain J2SE anymore needed having AEX in place now ?
    no, plain J2SE is still evolving
    >>>>Also I have read on one of the blogs that J2SE has its use in Point of sales scenarios.
    imagine having 10.000 stores in many countiries for one interface
    do you want to have 10.000 communication channels in PI ?
    or give each show a nice small exe file with adapter and they can send messages
    to one interface ?
    Regards,
    Michal Krawczyk

  • "Performance" problems with the File adapter on Plain J2SE Adapter Engine

    Hi,
    At the moment I'm on a customer side to solve some XI issues for a few days. One of the issues is the performance of the Plain J2SE Adapter Engine, using the file adapter to transfer XML messages(already XI message format) from the legacy system to the Integration Engine. The File adapter has to deal with "large" XML messages(max at the moment is 65 Mb) and the engine fails with the following error when transferring the big XML file: "ERROR: Finished sending to Integration Engine with error "java.lang.OutOfMemoryError". Skip confirmation and quit this loop".
    As far I got the information from the customer the memory use of the Plain adapter engine is set to 512Mb. This is maybe to low. But I don't know where to look for this, I only have the adapter web interface in front of me, no access to the OS it self via for example remote connection.
    On the Integration Engine I know there is the ability to split large message with the file adapter(File Content Conversion), but I don't know this for the Plain Adapter Engine. Is there a possibility to do this also on the Plain Adapter Engine?
    Thanks in advance for any input.
    Greetings,
    Patrick

    Hi Sameer,
    Thanks for your answers.
    On the first solution, yes that is possible, we first decided to see if the legacy system can do the splitting, before starting developing a Java program.
    On the second solution, as far as I know is this solution possible on the Integration Engine. But we are facing the problems on the Plain J2SE Adapter Engine. I went trough that documentation(link:
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/frameset.htm ), to look for I similiar solution in the Plain Adapter Engine. So my question is, is this possible with the Plain Adapter? And if so, what kind of parameters I need to use to achieve this.
    Regards,
    Patrick

  • Shutdown of XI 3.0 Plain J2SE Adapter Engine.

    How do I shutdown the XI 3.0 Plain J2SE Adapter Engine? Where should I go to do this?
    Regards,
    N.S

    Hi N.S. -
    If I recall correctly, you open a browser to http://<host>:8200 .   8200 is the default port.  If not using the default port, you may need to investigate what that port is.  Delivered initial user/pwd is sap/init.
    There's a Shutdown Adapter Engine option once you get in.  Of course, the j2se adapter engine must be running in order for you to do this.
    Regards,
    Jin

  • Registering Plain J2SE adapter in IS

    Hi,
    I've been trying to use plain J2SE file adapter as receiver with no luck.
    I've installed plain J2SE adapter on a windows 2000 server called <b>tgrpser1</b>, and XI is on another Windows 2000 server <b>tgrpserxi</b>.
    SLDAccessor service is started with no error in  <b>tgrpser1</b>.
    When go to the SLD, the adapter engine shows up in the XI technical system but when I go to the Integration Directory to configure a file adapter as receiver for <b>tgrpser1</b>, the <b>Adapter Engine</b> has one value <b>Integration Server</b>.
    Please help...
    Thanks

    I think I should it put this way.
    I have a plain J2SE adapter engine running on <b>tgrpser1</b> (it is not an FTP server), I've copied the <b>file_receiver</b> adapter to <b>rec_File_adapter</b>.
    If the scenario is RFC -> XI -> File (on <b>tgrpser1</b>), how can I specify the <b>rec_File_adapter</b> in Integration Directory.
    If I am not correct, what is the use of plain J2SE adapter engine <b>file_receiver</b> ?
    Thanks

  • Problem: Plain J2SE Adapter Engine

    Hello,
    I have installed the Plain J2SE Adapter Engine.
    On the Adpater Engine running a SOAP Adapter.
    When i try to test the Adapter i become following error Message:
    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.connect(Unknown Source)
         at java.net.Socket.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:146)
         at com.sap.aii.messaging.adapter.SinglePayloadClient.doPost(SinglePayloadClient.java:222)
         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:1073)
         at com.sap.aii.messaging.adapter.HTTPRequest.run(ModuleGUIBrowserEngine.java:371)
    any idea?
    Regards,
    Robin

    Hi Stefan,
    SOAP Adapter module settings:
    Bubble adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleBubble
    This adapter instantiates a bubble bag for supporting
    a xmb web service gateway. A bubble bag is a collection of Bubble
    instances that form some processing chain of message objects.
    Below parameter Bubble.Helper specifies the helper class that implements
    the ModuleBubbleHelper interface. This class is used to instantiate
    a bubble bag for this adapter.
    Sets the bubble module helper that can instantiate your bubble bag
    Bubble.Helper=com.sap.aii.messaging.adapter.ModuleBubbleHelperXMBWSImpl
    #$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    Below this line are the parameters specific to the ModuleBubbleHelperXMBWSImpl
    #$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    The configuration of this helper class is divided in two parts. The first part
    specifies the adapter configuraton for Web-Service clients communicating with an
    XMB server. The second part specifies the configuration for XMB clients
    communicating with a WebService server. Either one or both parts can be configured
    in a single configuration file.
    Part 0 (FromWS and ToWS) : common part ######
    Keeps the XMB headers in web service messages
    XMBWS.KeepHeaders=true
    Keeps the attachments in web service messages
    XMBWS.KeepAttachments=false
    Encodes the xmb headers into a special HTTP header string x-xmb_ws_encoded
    XMBWS.UseEncoded=false
    Part 1 (FromWS) : WS clients to XMB server ######
    The target URL of XMB broker, to which the adapter sends XMB messages.
    XMB.TargetURL=http://netweaver:8000/sap/xi/engine?type=entry
    The port and path where the adapter waits for web service messages from clients.
    XMBWS.WSPort=4444
    XMBWS.WSPath=/soap/start
    The following XMB attributes are used to fill default XMB messages.
    XMB.SenderBusinessSystem=MOS_BS
    XMB.SenderInterfaceNamespace=ns:moskau
    XMB.SenderInterfaceName=MOSOut
    XMB.QualityOfService=BE
    now i have an other error message.
    com.sap.aii.messaging.net.TransportException: HTTP 500 Internal Server Error
    http-Response:
    content-type: text/xml
    content-length: 349
    content-id: <[email protected]>
    <SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'><SOAP:Body><SOAP:Fault><faultcode>SOAP:Server</faultcode><faultstring>com.sap.aii.messaging.srt.BubbleException: Can't call the endpoint; Exception raised by com.sap.aii.messaging.net.TransportException: Content-Type not set</faultstring></SOAP:Fault></SOAP:Body></SOAP:Envelope>
         at com.sap.aii.messaging.net.ClientHttpImpl.call(ClientHttpImpl.java:337)
         at com.sap.aii.messaging.adapter.XMBTestClient.doPost(XMBTestClient.java:236)
         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:1073)
         at com.sap.aii.messaging.adapter.HTTPRequest.run(ModuleGUIBrowserEngine.java:371)

  • Plain J2SE Adapter Engine - SOAP Adapter

    Which reasons are there for using the soap adapter at the plain j2se adapter engine instead of the soap adapter at the central adapter engine (XI 3.0)? Which benefits are there? Which cases are known?

    The J2SE adapter is a relict from XI 2.0
    You may still use it, especially for migration from XI 2.0 to XI 3.0, but it is recommended to use the J2EE adapter engine.
    Regards
    Stefan

  • Plain J2SE adapter and SLD configuration

    Hi all,
    I'm trying to configure Plain J2SE Adapter to be connected to SLD for purpose of automatic registering to SLD. I followed the description in PDF manual, but I still get following error:
    Error creating adapter services for
    J2SE_AE_server2.dummy.com_8200 com.sap.lcr.api.cimclient.LcrException: CIM_ERR_FAILED:
    SAP_BusinessSystem.CreationClassName="SAP_BusinessSystem",Name="AdapterSenderService"
    referenced by association SAP_SenderAdapterForBusinessSystem.Antecedent=ref"SAP_XIAdapterService.CreationClassName=\"SAP_XIAdapterService\",
    Name=\"file_sender2is\",SystemCreationClassName=\"SAP_XIAdapterEngine\",SystemName=\"J2SE_AE_server2.dummy.com_8200\"",
    Dependent=ref"SAP_BusinessSystem.CreationClassName=\"SAP_BusinessSystem\",Name=\"AdapterSenderService\"" does not exist.
    Do I need to setup something special in SLD ? I thought the registration should work without adding of any BusinessSystems to SLD ... I suppose it should work as autoregistering in SLD via the user parameter SLD.user mentinoed in the config file SLDaccessor.properties.
    Any ideas ?
    Thank you in advance.
    Regards
    Tom

    Hi Tomas,
    After the PI installation we have to do post installation step, if not done pls refer  this SAP help to configure it..
    http://help.sap.com/saphelp_nwesrce/helpdata/en/98/fa9b6ec510404dbcfebf35cb107c04/frameset.htm
    Hope it helps..
    Thanks,
    Kumar.

  • Plain J2Se can be installed on Xis erver?

    can I install plain J2SE adapter on the same Xi server as I installed the Adpater Framework?
    Thanks,
    Bhaskar

    Bhaskar,
    That is correct. SDM will not start since it tries to access the same port 5<sysnumber>18. But it does not mean that you need to use the same folder. Instead, you could stop the SDM, and once your installation is complete you could restart the one which is running under XI process.
    I have done this about a year and half ago and it worked fine.
    regards
    SKM

  • Using plain j2se adapter

    Hi Experts,
    This is regarding j2se adapter engine.
    I dont have any idea to use j2se adapter engine.
    I checked this URL: http://<IPAddress>:8200 , changing the ip but it is not working.
    How can I check whether it is installed in my system ?
    Thanks
    Rabi

    Hi,
    Please go through this blog i hope this will helpful.
    http://www.****************/Tutorials/XI/J2EEAdapterEngine/plain.htm
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b09b204b-614e-2a10-13bd-df540fdb4bd6?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d09c8ff5-150e-2b10-2189-82d725ef9f29?QuickLink=index&overridelayout=true
    http://www.riyaz.net/sap/file-to-file-scenario-using-j2se-engine/563/
    reagrds,
    ganesh.

  • Null Pointer Exception in Plain J2SE Adapter Engine

    Hi All,
    I am able to start the J2SE Adapter Engine. But when ever i click any button on my JMS Adapter i am getting
    Error stopping adapter: java.lang.NullPointerException
    Error terminating adapter: java.lang.NullPointerException
    Can somebody guide me why this error is comming or the possible reasons for the error.
    Thanks in Advance.
    rahul

    Hi Rahul,
    Please can you go through the thread
    J2SE Adapter Engine / JMS Adapter
    It does not talk about the error but the config need to be done for JMS. Hope this helps.
    Regards
    Vijaya

  • Unable to start the plain J2SE Adapter Engine

    Hi All,
          Eariler i was able to start the Adapter Engine. But i dont know what went wrong, i am not able to start the adapter engine.Is there any way to find out what went wrong?
    Regards
    Sathya
    Message was edited by: Sathya Priya

    Make sure you have write permissions to your log files and that you have permissions to start the Engine.
    Also check your JAVA_HOME path by typing set in windows and env in unix systems.Make sure it points to your java installation directory lib and bin files.
    Your ADAPTER_HOME should also contain all jars required or the absolute path to these jars need to be defined in your run_adapter_*. Not to sure if you are running windows or a unix box.
    Regards
    Robert

Maybe you are looking for