Results 1 to 9 of 9

Hybrid View

  1. #1
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    hi,
    it seems that you've not configured the needed topic on your JMS server, is that correct?

  2. #2
    Member
    Join Date
    Jul 2010
    Location
    Alpharetta
    Posts
    5
    The problem is in this line of code in JMSHandler.java -

    ==
    topicConnectionFactory = (TopicConnectionFactory) jndiContext.lookup(topicConnectionFactoryName);
    ==

    The "jndiContext.lookup()" is returning a " javax.naming.Reference" - which is not getting cast to "javax.jms.TopicConnectionFactory"

    Same thing with Queue connection factory - not able to cast javax.naming.Reference to "javax.jms.QueueConnectionFactory"

    Thanks
    Sharathbabu
    Unable to figure out what is missing.

  3. #3
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    is your problem similar to this one? http://theaveragelife.wordpress.com/...on-server-6-1/

  4. #4
    Member
    Join Date
    Jul 2010
    Location
    Alpharetta
    Posts
    5
    Got the Generator working with WebSphere MQ JMS provider

    The problem was due to some missing JARs in CLASSPATH. Still have not figured out which specific JAR. in start_generator.bat, included all the MQ JARs in CLASSPATH like this
    ===
    set EXT_DIR="C:\Program Files\IBM\WebSphere MQ\Java\lib"
    set command=%JAVA_HOME%\bin\java.exe -Djava.ext.dirs=%EXT_DIR% -cp %cpath% %class% %CONF_FILE%

    %command%
    ===

    Now working on the Adapter part to get the demo going.

    Thanks for your quick replies
    Sharathbabu

 

 

Similar Threads

  1. 2 ArrayList for two pages ?? (StockList example)
    By mohamida in forum Adapter SDKs
    Replies: 2
    Last Post: November 17th, 2009, 02:46 PM
  2. Replies: 8
    Last Post: May 22nd, 2008, 05:01 AM
  3. Replies: 8
    Last Post: May 7th, 2008, 09:53 AM
  4. Replies: 4
    Last Post: March 19th, 2008, 10:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:30 PM.