Integrate third party JMS providers with sunone 8

Hi,
I am trying to integrate a JMS provider, FioranoMQ with Sunone Application server (version 8). I have defined an external queue connection factory using the administration console. But I am not able to deploy the EJB as the exception in server.log says that queue connection factory does not exist.
Here is the stack trace of the exception
[com.sun.enterprise.connectors.ConnectorRuntimeException: jms_MyQcfis not created yet!]|#]
[#|2004-01-06T15:43:55.312-0800|SEVERE|j2ee-appserver1.4|javax.enterprise.system.container.ejb.mdb|_ThreadID=11;|com.sun.enterprise.connectors.ConnectorRuntimeException
com.sun.enterprise.connectors.ConnectorRuntimeException: jms_MyQcfis not created yet!
     at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.setValuesFromConfiguration(ActiveJmsResourceAdapter.java:316)
     at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:259)
     at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:139)
     at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:189)
     at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:196)
     at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:464)
     at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:129)
     at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:96)
     at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:205)
     at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:156)
     at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:466)
In case I again try to create the jms_myqcf , it says that resource already exists.
The resource reference defined in the xml files are
Sun application client.xml
=====================
<sun-application-client>
<resource-ref>
<res-ref-name>jms_myqcf</res-ref-name>
<jndi-name>jms_myqcf</jndi-name>
<default-resource-principal>
<name></name>
<password></password>
</default-resource-principal>
</resource-ref>
<resource-env-ref>
<resource-env-ref-name>jms_MyQueue</resource-env-ref-name>
<jndi-name>jms_MyQueue</jndi-name>
</resource-env-ref>
</sun-application-client>
Sun EJB JAR.XML
===============
<sun-ejb-jar>
<enterprise-beans>
<unique-id>1</unique-id>
<ejb>
<ejb-name>SimpleMessageEJB</ejb-name>
<jndi-name>jms_MyQueue</jndi-name>
<mdb-connection-factory>
<jndi-name>jms_myqcf</jndi-name>
</mdb-connection-factory>
</ejb>
</enterprise-beans>
</sun-ejb-jar>
Do you have any idea why this exception is thrown?
James

You are right that I am using j2ee 1.4 final release.
I donot know much about connector 1.5 resource adapter and donot have one. Is there no other way that i can integrate an external JMS provider with sunone?
I intend to do the following.
- define the connection factory object & destination object in the external JNDI or any JNDI of sunone so that the applications can lookup these objects.
- Now i want to deploy a MDB which creates connection using the conn factory and listens for messages on destination defined in the jndi in the first step.
Thats all i want to do. Do you know which is the easier and best approach to do that?

Similar Messages

  • Integrate third party JMS with sunone

    Hi,
    I am trying to integrate a JMS provider, FioranoMQ with Sunone Application server (version 8). I have defined an external queue connection factory using the administration console. But I am not able to deploy the EJB as the exception in server.log says that queue connection factory does not exist.
    Here is the stack trace of the exception
    [com.sun.enterprise.connectors.ConnectorRuntimeException: jms_MyQcfis not created yet!]|#]
    [#|2004-01-06T15:43:55.312-0800|SEVERE|j2ee-appserver1.4|javax.enterprise.system.container.ejb.mdb|_ThreadID=11;|com.sun.enterprise.connectors.ConnectorRuntimeException
    com.sun.enterprise.connectors.ConnectorRuntimeException: jms_MyQcfis not created yet!
         at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.setValuesFromConfiguration(ActiveJmsResourceAdapter.java:316)
         at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:259)
         at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:139)
         at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:189)
         at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:196)
         at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:464)
         at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:129)
         at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:96)
         at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:205)
         at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:156)
         at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:466)
    In case I again try to create the jms_myqcf , it says that resource already exists.
    The resource reference defined in the xml files are
    Sun application client.xml
    =====================
    <sun-application-client>
    <resource-ref>
    <res-ref-name>jms_myqcf</res-ref-name>
    <jndi-name>jms_myqcf</jndi-name>
    <default-resource-principal>
    <name></name>
    <password></password>
    </default-resource-principal>
    </resource-ref>
    <resource-env-ref>
    <resource-env-ref-name>jms_MyQueue</resource-env-ref-name>
    <jndi-name>jms_MyQueue</jndi-name>
    </resource-env-ref>
    </sun-application-client>
    Sun EJB JAR.XML
    ===============
    <sun-ejb-jar>
    <enterprise-beans>
    <unique-id>1</unique-id>
    <ejb>
    <ejb-name>SimpleMessageEJB</ejb-name>
    <jndi-name>jms_MyQueue</jndi-name>
    <mdb-connection-factory>
    <jndi-name>jms_myqcf</jndi-name>
    </mdb-connection-factory>
    </ejb>
    </enterprise-beans>
    </sun-ejb-jar>
    Do you have any idea why this exception is thrown?
    James

    You are right that I am using j2ee 1.4 final release.
    I donot know much about connector 1.5 resource adapter and donot have one. Is there no other way that i can integrate an external JMS provider with sunone?
    I intend to do the following.
    - define the connection factory object & destination object in the external JNDI or any JNDI of sunone so that the applications can lookup these objects.
    - Now i want to deploy a MDB which creates connection using the conn factory and listens for messages on destination defined in the jndi in the first step.
    Thats all i want to do. Do you know which is the easier and best approach to do that?

  • Transaction with third party JMS providers and ejb

              I am using a container managed stateless session bean to send messages to an ibm
              mqseries running on the same computer. The EJB is deployed on weblogic 7.0. It
              seems that sending JMS messages do not participate in the transaction and that
              I have to call queueSession.commit() explicity every time. However, receiving
              messages via Message Driven Beans in a transaction is not a problem. Any clue
              how to resolve this or what is happening?
              

    To do this today, you'd have to get the "XAResource" object from your JMS
              provider's XASession object, and register it with JTA. I know this has come
              up before, and you should be able to find more about this on the newsgroup.
              Basically, every time you send a message, you need to do something like
              this:
              import javax.jms.*;
              import javax.transaction.*;
              XASession xaSession; // This is your vendor's XASession object
              XAResource xaResource = xaSession.getXAResource();
              Transaction tran = weblogic.transaction.TxHelper.getTransaction();
              tran.enlistResource(xaResource);
              // Now send your message!
              You need to call "enlistResource" every time you send a message, or it won't
              work.
              WebLogic Server 8.1 will be able to do this automatically as long as you're
              inside an EJB or a servlet.
              greg
              "raj" <[email protected]> wrote in message
              news:[email protected]..
              >
              > I am using a container managed stateless session bean to send messages to
              an ibm
              > mqseries running on the same computer. The EJB is deployed on weblogic
              7.0. It
              > seems that sending JMS messages do not participate in the transaction and
              that
              > I have to call queueSession.commit() explicity every time. However,
              receiving
              > messages via Message Driven Beans in a transaction is not a problem. Any
              clue
              > how to resolve this or what is happening?
              

  • What's the best way to integrate third party shopping carts with ATG's (10.6)?

    Hi,
    We are using ATG (10.6) for our e-commerce platform and we have many other websites which try to engage the end user to buy our products.
    Those other websites are developed using different technologies but we would like to allow the visitor to click a buy button and add things to a local shopping cart. That "generic" Shopping cart will be hosted locally in the website and only when he/she tries to "check out" we will forward them to e-commerce (ATG) main page, but the ATG's shopping cart has to have all the item he/she selected previously on the website.
    How can that be done?
    1) In the best possible way?
    2) In the simplest possible way?
    Regards

    Hi,
    We have seen that. Thanks.
    Now, how could we add multiple tiems to ATG's shopping cart before redirecting the user to ATG's home?
    The scenario we see is:
    User navigates on a Marketing website, spots items he/she is interested in and add them to the LOCAL shopping cart (without leaving the current website), after adding many items he/she decides to buy these items buy clicking FINISH, at this moment we add the N items to ATG shopping cart (how??) and redirect the user to ATG's home.
    Is that possible?
    Thanks

  • Using Weblogic MDB to consume message using a XA transaction with third party JMS Provider

              I understood from the WebLogic documentation that we can invoke a third party JMS
              using its XA interface from within a MDB where transaction-type is Container and
              trans-attribute is Required. Also we will need to specify its XAConnection factory
              name as connection-factory-jndi name. It that sufficient ?? Or do i need to set
              up some other attributes also ??.
              

              Hi Neeru,
              I understand u were able to solve this issue.
              I am using similar kind of configuration but instead of tibco i am using Webmethods.
              Could u please let me know what did u do to solve the problem?
              -thanks and regards.
              Praveen
              "Neeru Munjal" <[email protected]> wrote:
              >
              >Hi Rob,
              >I used the same whitepaper and tried to use TIBCO JMS with Weblogic server),
              >I
              >started with MDB example specified in Weblogic 7.0 release in examples/ejb20/message
              >and modified it to use trans-attribute as Required. Also I used connection
              >factory
              >which supports XA, but my MDB does not get called.
              >
              >Thanks & Regards
              >Neeru
              >
              >Rob Woollen <[email protected]> wrote:
              >>Here's a white paper about integrating 3rd party JMS providers with
              >WLS:
              >>
              >>http://dev2dev.bea.com/resourcelibrary/whitepapersdetail.jsp?highlight=whitepapers&filePath=components%2Fdev2dev%2Fresourcelibrary%2Fwhitepapers%2Fwp_jmsproviders.htm
              >>
              >>-- Rob
              >>
              >>Neeru Munjal wrote:
              >>> I understood from the WebLogic documentation that we can invoke a
              >third
              >>party JMS
              >>> using its XA interface from within a MDB where transaction-type is
              >>Container and
              >>> trans-attribute is Required. Also we will need to specify its XAConnection
              >>factory
              >>> name as connection-factory-jndi name. It that sufficient ?? Or do
              >i
              >>need to set
              >>> up some other attributes also ??.
              >>>
              >>
              >
              

  • No MDB for third party JMS

    Just when I getting to like oc4j I ran into this.
    It is a beta document for 904 oc4j.
    Oracle9iAS Containers for J2EE
    Services Guide
    Release 2 (9.0.4)
    Part No. B10326-01
    April 2003
    Beta Draft March 21, 2003 11:59 am
    Third-Party JMS Providers
    This section discusses the following third-party JMS providers and how they
    integrate with OC4J using the resource provider interface:
    ¦WebSphere MQ
    ¦SonicMQ
    ¦SwiftMQ
    Here are the operations that the resource provider interface supports:
    ¦Look up queue and topic with
    java:comp/resource/providerName/resourceName
    ¦Send a message in EJB
    ¦Receive a message synchronously in EJB
    The context-scanning resource provider class is a generic resource provider class
    that is shipped with OCJ for use with third-party message providers.
    Note: Oracle supports only single-phase commit semantics for
    resource providers other than OJMS.
    Note: OC4J 9.0.4 does not offer MDB support for third-party JMS
    providers.
    Note: For the OC4J 9.0.4 implementation, MDBs are integrated
    with OC4J JMS and OJMS.
    Well I need MDB capability with Mqseries, so it looks like
    I am going to have to abandon ship with oc4j, and go with
    a J2EE server which supports MDB and JMS the way it was intended to, and not only work with the Vendors JMS implementation. I checked this 10.0.4 preview and it is
    the same way.
    I would be tickled if someone could tell me this is not
    the case, but I'm not expecting any answer that would
    make an MDB work with Mqseries.

    10.1.3 Developer Preview supports MQServies.
    You can download the software at http://www.oracle.com/technology/tech/java/oc4j/1013/index.html
    Look at the howto at http://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-mq-jms/doc/how-to-mq-jms.html
    http://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-mq-jms/how-to-mq-jms.zip
    The earlier releases support MQ Series but not in a transactional way.
    -Debu

  • Third party order processing with GATP allocations and no CRM

    Hi,
    Does anyone know how to integrate third party order processing with APO product allocations, or know of some good references? We do not have CRM. We currently have APO 4.0, soon to be upgraded to 5.0 and R3 4.6.
    Thanks,
    Gigi

    Someone must know!
    We have a similar requirement. We do have CRM but don't wish to implement it for this purpose.
    In the SNP planning boook, we want to be able at the SNP vendor location to see the total requirement for both materials to be delivered to our normal supply chain as well as those directly delivered to customers. The direct delivery sales orders are entered to R3 according to the standard process; the purchase requisitions and PO's for these do not go to SNP. The customer location is set-up in SNP. Is there a way to make the purchase req's and orders visible in the SNP Planning Book???
    Many thanks
    Chris

  • Can we integrate third party tool with solution manager

    Can we integrate third party toll with solution manager , If it is possible what API's we have?

    Hi Santosh Asuthkar,
    thank you for your answer.
    I've already read the steps in trx. spro and several documentations in sdn.
    There was a hint to trx. ictconf, wsconfig, lpconfig, wsadmin. If you call these transactions there
    is a message that these trx. are old and trx. SOAMANAGER should be used.
    Question is how to activate the webservice "ICT_SERVICE_DESK_API" in SOAMANAGER.
    I've never handled with bindings and proxy classes.
    Best regards
    Klaus

  • Integrate third party libraries with JBuilder 2005

    Hi,
    Does any body know how to integrate any third party APIs with JBuilder 2005. It would be of great help if anybody of you could jot down the steps to integrate third party APIs with JBuilder.I've got to use the JDIC API(https://jdic.dev.java.net) and the PDFBox APIs(www.pdfbox.org) with in JBuilder.
    Thanks & Regards,
    DT

    Yep got it. Shoud have refered the docs before asking this question. I used the following menu item to add a third party .jar file
    Project->Project Properties: select the Paths option and add the required jar file by selecting the "Required Libraries" tab.
    Regards,
    DT

  • Example of Weblogic Appserver using XA Controlled Transaction to send messages to third party JMS

              I am looking for Example of Weblogic Appserver using XA Controlled Transaction
              to send messages to third party JMS Server.
              I want to send messages to JMS and use Weblogic MDB to consume that message and
              send it to some third party JMS in a XA Controlled transaction.
              

    Sure. Right now, it involves a bit of JTA programming -- in our next
              release, it should be easier, however.
              Before sending a message, you have to:
              -- Use the TxHelper class to get the current Transaction object.
              -- Use the "getXAResource" method on the JMS provider's Session object to
              get the XAResource object for the JMS Session you're using to send.
              -- Call "enlistResource" on the Transaction object.
              You MUST do this in every transaction where you use the JMS provider to send
              a message.
              You can find the documentation for the TxHelper class and other
              WebLogic-specific classes here:
              http://e-docs.bea.com/wls/docs70/javadocs/index.html
              Look for the "weblogic.transaction" package.
              You can find documentation for the Transaction class (which defines
              enlistResource) and other classes here:
              http://java.sun.com/products/jta/javadocs-1.0.1/index.html
              You should also use the weblogic.transaction.TransactionManager class and
              call "registerDynamicResource" once (and only once) in your application to
              register the JMS providers XAResource with JTA. This makes JTA more
              efficient, and it makes transaction recovery work properly.
              If the JMS provider is MQ, then look at the whitepaper "Using JTA
              transactions to envelope WLS JMS and IBM MQSeries" here:
              http://dev2dev.bea.com/resourcelibrary/whitepapers.jsp?highlight=whitepapers
              And finally, if you have more questions, the transaction people will be able
              to help more. Post to "weblogic.developer.interest.transaction".
              greg
              "Neeru Munjal" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I am looking for Example of Weblogic Appserver using XA Controlled
              Transaction
              > to send messages to third party JMS Server.
              > I want to send messages to JMS and use Weblogic MDB to consume that
              message and
              > send it to some third party JMS in a XA Controlled transaction.
              >
              

  • How to do XMLDSig using third-party JCA providers?

    Hi all,
    Can anyone please let me know how to do XMLDSig using third-party JCA providers? The Sun XMLDsig documentation says that "A JSR 105 implementation SHOULD use underlying JCA engine classes, such as java.security.Signature and java.security.MessageDigest to perform cryptographic operations", but it doesn't say how to define the JCA provider programmatically. I don't want to change the Providers order in the security.properties file.
    Do we need to make any changes in the JCA provider classes to work with XMLDSig and XML encrypt?
    I'd appreciate your help.
    Joe

      How to identify whether the third party app has registered URL scheme or not. I also send a request mail to the third party app developers regarding URL scheme, but there is no reply from them.

  • How to integrate third party payment gateway

    Dear Sir,
    we are implementing Retail  POS (Point of sale) for one retail company. We need to integrate third party payment gateway.
    it's name is PLUTAS. We have got developer kit from Plutas (For trial ) . we have installed that kit in our system.
    In my program, I am triggering " PL_TriggerTransaction" using call method. After triggering method it executes method, control passes to third party software. But I am not able to catch return parameter (Responce).
    So  that would be great if you help me out with this issue.
    I wrote following code.
    REPORT  ZTEST678.
    INCLUDE OLE2INCL.
    data : rc_plutus type ole2_object,
    lpszTransData type string, 
    lTxnType type char4,
    lpszTransData1 TYPE string,
    ret_string  TYPE string,   
      l_count TYPE i,
      l_time TYPE sy-uzeit.
      rc_gui type ref to CL_GUI_CONTROL.
    lTxnType = '4001'.                        "----
    transaction type
    lpszTransData = '1234567'.          " -
    trasaction data
    *create object rc_gui.
    create object rc_plutus 'PLUTUSEXCHANGE.EXCHANGEOBJ'(001) no flush. "no flush ."queueonly.
    call method of  rc_plutus  'PL_TriggerTransaction'(002) = lpszTransData1
    exporting
      #1 = lTxnType
      #2 = lpszTransData.
    wait up to 20 seconds.
    write:  ret_string.                        " <----
    Value is not coming
    write:  lpszTransData1.            " <----
    Value is not coming

    Read ABAP help (F1) for 'call method of'. There are certain requirements for the return value's (rc) type.

  • Can you specify third party JMS Provider in Weblogic appserver configuration

              Can you specify third party JMS Provider in Weblogic appserver configuration ???
              Only place i know of is that you can specify third party JMS Provider in MDB configuraion.
              DOES Weblogic has some kind of configuration files where you specify JMS Provider
              info (Like you can do that in JBOSS)
              

    You can also specify a third-party JMS provider using the Messaging Bridge,
              which transfers messages from one queue or topic to another.
              And in general, inside WLS you can use any JMS provider you wish anywhere
              that you can also use WLS JMS. In an upcoming release, there will also be
              some support to make foreign JMS providers a little easier to configure.
              But why would you want to use another JMS provider anyway? ;-)
              greg
              "Neeru Munjal" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Can you specify third party JMS Provider in Weblogic appserver
              configuration ???
              >
              > Only place i know of is that you can specify third party JMS Provider in
              MDB configuraion.
              > DOES Weblogic has some kind of configuration files where you specify JMS
              Provider
              > info (Like you can do that in JBOSS)
              

  • Connecting to third party JMS Queue using Patchbay

    Hi All,
    We are trying to connect to a third party JMS queue configured in a remote weblogic server using ATG patcbay. We have configured the provider in dynamoMessagingSystem.xml and created a InitialContextFactory and provided all the queue configurations.
    When it tries to initializes it is trying to create a dynamic queue and saying that JMSHelper class is not configured so that it cannot create the queue (The queue exists in the remote server). When we given configurations based on the details available under C:\ATG\ATG10.0.3\WebLogic\JMSProvider, it is saying that we have to provide a TopicConnectionFactory (We dont need to use any Topics). If we provide TopicConnectionFactory then it will say that your connection factory don't have any Topics configured.
    I have read that for configuring with your application server's queue, this will try creating dynamic queues, but nowhere it is mentioned that how it will differentiate it is a third party queue or an application server queue.
    In our case the application server and the remote server which acts as queue server are Weblogic.
    Not sure why this is behaving like this and there is no proper documentation available in ATG that how to configure the third party queues using Patchbay.
    Any pointers regarding this would be of great help.
    Thanks,
    R.

    Hello kilgores. Welcome to the Apple Discussions!
    Something to ask your IT staff is if they use a proxy server for Internet access. If so, do they require proxy configuration scripts (.pac) to provide access to the Internet through your company's firewall. This information would normally be added to your browser's settings.
    For Safari: Preferences... > Advanced > Proxies > Change Settings... > Automatic Proxy Configuration

  • Does OSB10gr3 support third-party security providers?

    Does OSB 10gr3 support third-party security providers and third-party token handlers ?
    If so what are they?
    Edited by: dbr6 on Jun 26, 2009 6:01 PM

    OSB will work with any security provider that is designed as per http://download.oracle.com/docs/cd/E12840_01/wls/docs103/dvspisec/index.html. OSB completely relies on Weblogic security framework and doesn't do any official certification for third-party security providers.
    Cheers
    Manoj

Maybe you are looking for

  • I did manual creation of DB. How can I start the DB Homepage.

    Hi all, I installed XE on Fedora core 4. DB can not be created (dont know why). So, I decided to create DB manually. The content of listener.ora: SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = /usr/lib/oracle/xe/ap

  • Saving as a PDF-saves what's outside the workspace

    I'm using Illustrator CS....that might be my first problem haha. Anyway, when I try to save a .pdf version of my file, it ALWAYS saves including whatever is OUTSIDE the workspace area....Like instead of saving, say, the 8.5x11" document that I worked

  • Weird symbol in file name and images by pixel instead of size?

    i my filenames i sometimes see a weird box with what looks like a script "x". is this some kind of default symbol that indicates i am using a non standard symbol in this file name? it sometimes happens after i drag and drop something say from my desk

  • Folder Action works, but only once

    Attached a Folder Action to a folder in my Home directory, to upon dropping folders/files to that folder will change the Folder Views to 128 Icon size (and subfolders) - works once, then next time I drop a folder into that folder doesn't do anything.

  • Accidentally purchased Premiere Elements instead of Photoshop Elements (Software program..)

    I purchased Adobe Premiere Elements 10 thinking it was a photo editing program.  It appears it is more of a movie editing program.  I am going to have to purchase something different for picture editing? Subject was edited by: Ivan David