Can one MDB extend other MDB in SAP Web AS

Hi
I am migrating a application from weblogic to SAP web AS sp 15 .Is it possible to extend one Message Driven bean from other Message driven bean
regards
rajesh kr

Hi Rajesh,
Here is in more details what I meant. Just move the existing code in onMessage() from MDB1 to a new class - MyLogic or whatever. Pass it whatever parameters you are using - the message probably, or additionally javax.ejb.EJBContext if you are using some more advanced functionality.
Then call from your two MDB-s this new java method.
MDB1 {
public void onMessage(Message m) {
     MyLogic myLogic = new MyLogic();
     myLogic.onMessage(m);
MDB2 {
public void onMessage(Message m) {
     MyLogic myLogic = new MyLogic();
     myLogic.onMessage(m);
HTH
Peter

Similar Messages

  • Can one syclo server connect to multiple SAP backends?

    Hi All,
    I am working with SAP Service Manager application and the backend is SAP CRM.
    As we all know that the backend system setting for syclo server needs to be maintained in the JavaBE.ini file
    Suppose I have a requirement where one of my screen has to deal with a status update development and the backend in this case is ECC and not CRM.
    Can I achieve this ? I mean can we configure the JavaBE.ini file to connect the multiple SAP backend ? If yes please explain the process/steps to do so.
    Thanks and Regards
    Neha Mahanty
    Message was edited by: Michael Appleby

    Thanks Bill,
    As I understand , Going with Standard SAP Integration mechanism means to have connection with CRM system and ECC system can be called internally from CRM via RFC's . Is my understanding correct here ? This can be done If we create a FC in CRM and internally call ECC FC via RFC.
    Also I shall try the second approach too. However I have a question here.
    Suppose I create a new JavaBE2.ini file and configure it for ECC.
    Later when I create java steps will it automatically detect that which SAP system it should connect to? I cannot explicitly tell the Java step to call the ECC system , Can I ?
    Please advise.
    Thanks
    Neha

  • How do i connect both my ipad and iphone to wifi at the same time. i can one or the other connected but not both?, how do i connect both my ipad and iphone to wifi at the same time. i can one or the other connected but not both?

    ive just moved out and have just been connected to talk talk broadband today.  Both my ipad mini and iphone are saying they are connected to wifi but only my iphone will connect to online services where my ipad mini won't.  But if i disconnect my iphone from wifi then my ipad will work online and then when trying to connect my iphone back to wifi that won't work with online services.  is this because they are both using the same apple account?  though when i was living at home my mum had sky router and i was able to connect both devices with no problem.  is there anyway of connecting both devices so they work online at the same time??

    There is absolutely no reason why they should not bothe be able to connect to your WiFi network. The easiest place to start would be to reboot your router. Unplug it for about 30 seconds and then plug it back in again. I would also restart both the iPad and the iPhone.

  • HTTPs connection from SAP WebAS

    Hello,
    I have to establish a connection from SAP WebAS to an iSaSiLk server via HTTPS.
    The iSaSiLk authentication is based on client certificates.
    I've created a SSL client PSE, generated the Certificate Request, imported the certificate response and the chain of certificates associated  with no errors. When testing the connection we're getting the following error message:
    SAP icm log:
    [Thr 1087400256] ->> SapSSLSessionInit(&sssl_hdl=0x2aaaba679980, role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT))
    [Thr 1087400256] <<- SapSSLSessionInit()==SAP_O_K
    [Thr 1087400256]      in: args = "role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT)"
    [Thr 1087400256]     out: sssl_hdl = 0x1a3310c0
    [Thr 1087400256] ->> SapSSLSetNiHdl(sssl_hdl=0x1a3310c0, ni_hdl=22)
    [Thr 1087400256] NiIBlockMode: set blockmode for hdl 22 TRUE
    [Thr 1087400256] <<- SapSSLSetNiHdl(sssl_hdl=0x1a3310c0, ni_hdl=22)==SAP_O_K
    [Thr 1087400256] ->> SapSSLSetSessionCredential(sssl_hdl=0x1a3310c0, &cred_name=0x1a49e4e0)
    [Thr 1087400256]   SapISSLComposeFilename(): Filename = "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
    [Thr 1087400256] <<- SapSSLSetSessionCredential(sssl_hdl=0x1a3310c0)==SAP_O_K
    [Thr 1087400256]      in: cred_name = "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
    [Thr 1087400256] ->> SapSSLSetTargetHostname(sssl_hdl=0x1a3310c0, &hostname=0x1a4a09e0)
    [Thr 1087400256] <<- SapSSLSetTargetHostname(sssl_hdl=0x1a3310c0)==SAP_O_K
    [Thr 1087400256]      in: hostname = "<remoteServer_to_be_accessed>"
    [Thr 1087400256] ->> SapSSLSessionStart(sssl_hdl=0x1a3310c0)
    [Thr 1087400256]   SapISSLUseSessionCache(): Creating NEW session (0 cached)
    [Thr 1087400256] Tue Jan 13 10:10:22 2009
    *[Thr 1087400256] *** ERROR during SecudeSSL_SessionStart() from SSL_connect()==SSL_ERROR_SSL*
    [Thr 1087400256]    session uses PSE file "/usr/sap/XID/DVEBMGS00/sec/SAPSSLSPHTID.pse"
    [Thr 1087400256] SecudeSSL_SessionStart: SSL_connect() failed
      secude_error 536871693 (0x2000030d) = "none of the PSEs registered with hSsl can suffice the negotiated SSL cipher suite"
    [Thr 1087400256] >>            Begin of Secude-SSL Errorstack            >>
    [Thr 1087400256] ERROR in ssl3_get_certificate_request: (536871693/0x2000030d) none of the PSEs registered with hSsl can suffice
    [Thr 1087400256] <<            End of Secude-SSL Errorstack
    [Thr 1087400256]   SSL_get_state() returned 0x00002150 "SSLv3 read server certificate request A"
    [Thr 1087400256]   No certificate request received from Server
    [Thr 1087400256] <<- ERROR: SapSSLSessionStart(sssl_hdl=0x1a3310c0)==SSSLERR_SSL_CONNECT
    [Thr 1087400256] ->> SapSSLErrorName(rc=-57)
    [Thr 1087400256] <<- SapSSLErrorName()==SSSLERR_SSL_CONNECT
    [Thr 1087400256] *** ERROR => IcmConnInitClientSSL: SapSSLSessionStart failed (-57): SSSLERR_SSL_CONNECT [icxxconn_mt
    On the iSaSiLk server we're getting:
    ssl_debug(2): Starting handshake (iSaSiLk 3.06)...
    ssl_debug(2): Received v3 client_hello handshake message.
    ssl_debug(2): Client requested SSL version 3.0, selecting version 3.0.
    ssl_debug(2): Creating new session 11:5F:04:C9:0D:32:15:B9...
    ssl_debug(2): CipherSuites supported by the client:
    ssl_debug(2): SSL_RSA_WITH_RC4_128_SHA
    ssl_debug(2): SSL_RSA_WITH_RC4_128_MD5
    ssl_debug(2): SSL_RSA_WITH_3DES_EDE_CBC_SHA
    ssl_debug(2): SSL_RSA_WITH_DES_CBC_SHA
    ssl_debug(2): SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
    ssl_debug(2): SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5
    ssl_debug(2): SSL_RSA_EXPORT_WITH_RC4_40_MD5
    ssl_debug(2): CompressionMethods supported by the client:
    ssl_debug(2): NULL
    ssl_debug(2): Sending server_hello handshake message.
    ssl_debug(2): Selecting CipherSuite: SSL_RSA_WITH_RC4_128_SHA
    ssl_debug(2): Selecting CompressionMethod: NULL
    ssl_debug(2): Sending certificate handshake message with server certificate...
    ssl_debug(2): Sending certificate_request handshake message...
    ssl_debug(2): Sending server_hello_done handshake message...
    ssl_debug(2): IOException while handshaking: Connection closed by remote host.
    ssl_debug(2): Sending alert: Alert Fatal: handshake failure
    ssl_debug(2): Shutting down SSL layer...
    ssl_debug(2): Closing transport...
    From the iSaSiLk everything seems to be OK, but on the SAP WebAS the error "none of the PSEs registered with hSsl can suffice the negotiated SSL cipher suite" is really unclear, since the cipher chosen by the iSaSiLk is one of the ciphers sent by SAP WebAS...
    Can anyone give me any suggestion?

    Hello Olivier,
    Thanks for your answer.
    I've implemented note 800240 which facilitates the PSE analysis by implementing the report ZSSF_TEST_PSE. With this report I'm able to check all the PSE content, which are:
    Filename            SAPSSLSPHTID.pse
    PIN                 <no>
    Signature           X
    Encryption          X
    Profile Parameter
    DIR_INSTANCE                   /usr/sap/XID/DVEBMGS00                       /usr/sap/XID/D00
    sec/dsakeylengthdefault                                                     1024
    sec/libsapsecu                 /usr/sap/XID/SYS/exe/run/libsapcrypto.so
    sec/rsakeylengthdefault                                                     1024
    ssf/name                       SAPSECULIB
    ssf/ssf_md_alg                                                              SHA1
    ssf/ssf_symencr_alg                                                         DES-CBC
    ssf/ssfapi_lib                 /usr/sap/XID/SYS/exe/run/libsapcrypto.so
    ssf2/name
    ssf2/ssf_md_alg                                                             SHA1
    ssf2/ssf_symencr_alg                                                        DES-CBC
    ssf2/ssfapi_lib
    ssf3/name
    ssf3/ssf_md_alg                                                             SHA1
    ssf3/ssf_symencr_alg                                                        DES-CBC
    ssf3/ssfapi_lib
    Environment variables
    USER                xidadm
    SECUDIR             /usr/sap/XID/DVEBMGS00/sec
    PSE
    Validity            18.12.2008 19:47:04   18.12.2009 19:47:04
    Algorithm           RSA (OID 1.2.840.113549.1.1.1)
    Test signature
    Signature OK
    Verification OK
    Test encryption
    Encryption OK
    Decryption OK
    As you can see, the cipher algorithm used is RSA. Any suggestion... ?
    An iSaSiLk server "is a Java programming language implementation of the SSLv2 (client-side), SSLv3, TLS 1.0 and TLS 1.1 protocols. It supports all defined cipher suites (except for Fortezza), including all AES and PSK cipher suites. iSaSiLk implements all standard TLS extensions, comes with an easy to use API and operates on top of the IAIK-JCE Javau2122 Cryptography Extension. iSaSiLk is highly configurable and will work with any alternative JCE implementation supported by a proper provider for supplying the required cryptographic algorithms".
    Once again thanks for your answer.

  • Difference between SAP web AS and ITS

    Hi everyone,
    Can anyone tell me the difference between SAP web AS
    and ITS.

    Hi Aditya, please let me know if the following helps.
    What exactly is the SAP Web Application Server?
    The SAP Web Application Server is the reliable, open standard-based application server from SAP. It supports both J2EE and ABAP, and serves as the underlying infrastructure for all new and upcoming SAP solutions, like SAP R/3 Enterprise, SAP Portal, SAP Exchange Infrastructure, and all other SAP components. The SAP Web Application Server is not a new product, it is the natural evolution of proven SAP application server technology formerly known as SAP Basis. It provides the platform to develop, execute, and operate Web applications and Web services as well as traditional SAP GUI based applications
    Does the SAP Web Application Server replace the SAP Internet Transaction Server (SAP ITS)?
    No, the SAP Internet Transaction Server (SAP ITS) will continue to be supported in the future and is integrated into Web Application Server from version 6.40 on. This is because the SAP ITS will in future display Dynpro-based SAP applications to the Web, either using the HTML-GUI or with HTML-template based IACs. This integration reduces the additional hardware for an external ITS. All SAP ITS based applications and the administration will work as before.
    Flow Logic technology will also not be supported by the SAP Web Application Server. ITS Flow Logic is an approach to Web application development that is now completely covered by the new "Business Server Pages" technology and others. New applications based on ITS Flow Logic are no longer developed by SAP. Existing applications based on ITS Flow Logic will continue to be supported. SAP recommends customers use the Business Server Pages for new projects or projects in an early stage of development instead of ITS Flow Logic.
    If the above didnt help, please let me know, I can try to resaerch more links and let me know..
    Thanks
    Subbu

  • How more than one MDB can be made to run in single transaction

    Hi All,
    I am working on EJB 2.0 with Application server as Websphere 5.0 and Messaging middleware as WebSphere MQ5.3
    I am facing a design issue, I need to use more than one MDB in single transaction unit. Since an MDB can only run in transaction started by itself I am looking for some alternative approach
    The problem in detail is as below:
    Consider there is an MDB M1 listening on Queue Q1
    Bean M1 reads Message (say msg1) from Q1, writes another message into Q2.
    We have a mainframe system which reads message from Q2 does some processes and write it's response into Queue Q3.
    Now we have another MDB M2 in same application server listening on Q3.
    The requirement is if there is any ERROR in message at Q3, transaction started by MDB M1 should be rolled back and hence the message (i.e msg1) should be put back on queue.
    Since trancation started by MDB M1 and M2 are independent I do not have any control to rollback M1 from M2.
    Pls suggest me what alternative approach I can use.

    I think if you are using container managed
    transaction and have set the trans attribute to
    "required" then MDB M-1 and MDB M-2
    should have same container transaction.
    wrong !
    There is never a client transaction context available when a message-driven bean is invoked because a transaction context does not flow with a JMS message. [EJB spec. 2.0 15.4.7]
    Nishant Saini
    Daffodil Software Ltd.
    http://www.daffodilsolutions.com
    Nishant , you should have added this to you'r site:
    Why India ?
    India 's abundant human resources: a bunch of clueless developers !
    :-)

  • I have two Airport Express units. Can I use one to extend the range of the other?

    The similar questions that I have found on this site refer to extending an Airport Extreme with an Airport Express. But can you also extend an Airport Express with another Airport Express?

    But can you also extend an Airport Express with another Airport Express?
    Any Apple "n" router....AirPort Express, AirPort Extreme, or Time Capsule....can be used to extend the signal of another.
    Now, we just need to figure out if you have two "n" Expresses that will work together.  Are these brand new units?
    If not, check the model number on the side of the device. You need to see A1264 there. If you see A1084 or A1088, these models will not qualify as "n" Expresses.

  • Can 1 MDB configured to receive messages from 2 Queues

    Hi,
    Is is possible to configure 1 MDB to listen to 2 queues

    Deploying the very same MDB twice is not a "trick" or unusual as your comment suggests. A MDB is a stateless component. It just receives messages. If you deploy the same MDB twice and link it to different queues, it is exactly as if one MDB where configured to receive from 2 queues.
    So everything is possible with MDBs. You can consume from multiple destinations and can even mix queues and topics. The only thing you must keep in mind is that you have at least that many MDB instances (of the same MDB) as destinations (= MDB deployments). However, for scalability reasons you would have multiple MDB instances in most cases.
    I don't see a reason why sombody should switch to a proprietary thing like your MDS and I don't understand why you mention this in nearly every post. Buy banner ads instead.
    -- Andreas

  • How i can copy the script from one language to other language

    dear all,
    how can i copy script i.e i changed =in EN, but i want copy convert same effects in DE (from one language to other language but not all language)

    hi,
    From the SAP standard menu, choose SE71.
    On the Form Painter: Request screen:
    1)Enter the name of the form (ZORDER01) in the Form field.
    2)Enter DE in the Language field.
    3)Click created and press OK.
    4)From menu bar, choose form->copy from
    5)In the popup, give formname as (ZORDER01) and language as EN and click ok.
    6)Save the form and activate it.
    Regards,
    Sailaja.

  • Hi gurus, can any one explain me about patches in SAP?

    Hi gurus,
    Can any one explain me about patches in SAP?
    Regards
    Raghu

    Hi Raghu,
    If you do bit of googleing you will get information.
    http://help.sap.com/saphelp_smehp1/helpdata/en/30/1fea80d9b44f5a88fc0038d3dabb76/content.htm
    http://help.sap.com/saphelp_smehp1/helpdata/en/57/4e0eb0eae6457ea69b509813048989/content.htm
    http://help.sap.com/saphelp_nwce10/helpdata/en/a8/02784278b66255e10000000a155106/content.htm
    http://www.saptechies.com/support-package-stack-guide-sap-netweaver-70/
    http://www.sapdev.co.uk/upgrade/sap-patching.htm
    http://www.erpgreat.com/basis/sap-patch-administration.htm
    Regards,
    Deepanshu Sharma

  • Can any one explain me consolidation topic in sap bpc ?

    hi
    please explain me consolidation
    can any one explain me consolidation topic in sap bpc
    thank you .......
    suresh

    Hi Sures,
    It's like can you explain BPC ?
    Do search on scn.
    Refer below links, may be helpful,
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7070134c-1b04-2d10-f29d-bbb35abfa119?QuickLink=index&…
    BPC Step by Step Scenario Document
    SAP BPC 10 DOCUMENTS
    Shrikant

  • Can you Please Tell Me the Process for service/operation  provide by one plant to other plant.

    Can you Please Tell Me the Process for service/operation  provide by one plant to other plant.
    In My Company No Of Plants Like 1000,2000,3000,4000
    Plant 1000 Provide the service/operation  like (welding ,cutting, painting ) to other plants (eg 2000,3000,4000)
    We want to give the profit for plant 1000 and book the service or operation charge in plant 2000 or 3000.
    We don’t want  to use material code in this process.
    Can you help me it is possible or not through SAP PP.

    Krishnendu,
                   Actually in my company we have one plant 1000 that plant provide the service like (CUTTING (SHAFT),WELDING,MACHINING,PAINTING)
    actually plant already made one material xyz and supply 2000 plant .
    we  can use STO in this scenario and set special procurement key  80.
    But my requirement is after some time plant 1000 provide few operation in xyz material that material already supply to 2000 plant.
    in this case we dont  use to produce any material.

  • Can one execute a "carrier rate shop" in SAP

    I have done several searches within the documentation areas and cannot determine if one can execute a "carrier rate shop" within SAP (e.g. TP/VS, TM, LE). Am wondering if standard SAP has the ability to input a origin-destination pair (e.g. ZIP code, or address), input freight weight, choose mode of transportation (e.g. air, LTL, TL, etc.), and even choose any related accessorial - execute the inquiry, and be returned a suggested carrier and the freight cost associated with the shipment?   If such exists, where/how to access?

    Hi John,
    Sorry for the late response but I only just discovered your post.  SAP TM has a built-in integration to SMC3's RateWareXL for LTL rates.  Please let me know if you need a contact at SAP to assist you further and I'll try to find someone to get in touch with you.
    Regards,
    Phil

  • Extend the Customer Master one Division to other Division

    If we extend the Customer Master (XD01) One Division to Other Division then system not copies the addition customer data (Customer Groups) and Employee respons field.
    How can copy the field?
    Regards,
    Devendra

    Hi,
    When you are extending the Customer master from One division to another division, Only General data will be copied
    Remaining all other data should be manually changed or edited.
    hope it is clear,
    regards,
    santosh

  • Can one Action from Jpf call another method/Action in other jpf   ?

    hi ,
    "can one Action from Jpf call another method/Action in different jpf "
    we can call other jpf's begin from one jpf , but can we call method of other Jpf from different jpf .
    i m getting error when i m trying to do this .
    No module configuration registered for /pageFl
    dule path /pageFlowControllers/Controller)

    hi,
    write
    carmodel(null) in populateCar() action.
    means
    public void onActionpopulateCar(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionpopulateCar(ServerEvent)
         onActioncarmodel(null);
        //@@end
    Regards
    Trilochan

Maybe you are looking for