Rookie JMS question.

I'm trying to use WebLogic JMS as a Messaging Provider for another application server. I tried using the 'thin client' approach (wljmsclient.jar). That threw a ClassNotFoundException (weblogic.kernel.Kernel).
          Sure enough, that class is in weblogic.jar (which I did not use).
          Substituting the weblogic.jar is a non-starter since it 'clashes' some of the XML parsing classes (javax.xml.validation.Schema, etc.)
          Anyone have any ideas ?
          Edited by drusnak at 05/24/2007 12:01 PM

Thanks for the reply, Tom....
          I have that doc. BTW, wlclient.jar was in the classpath. I was hoping for a 'magic bullet' revalation. This is what I find curious is that the 'client' throws a ClassNotFoundException (for weblogic.kernel.Kernel).
          This class is ONLY present in webLogic.jar. So it looks like it's trying to dynamically load a class that it (logically) shouldn't.
          [5/24/07 15:53:00:803 EDT] 000000c6 WebApp E SRVE0026E: [Servlet Error]-[JmsQueueWriter]: java.lang.Error: Call BEA Support
               at weblogic.jms.dispatcher.JMSDispatcherManager.getJMSThreadPoolSize(JMSDispatcherManager.java:145)
               at weblogic.jms.dispatcher.JMSDispatcherManager.initialize(JMSDispatcherManager.java:86)
               at weblogic.jms.dispatcher.JMSDispatcherManager.getLocalDispatcher(JMSDispatcherManager.java:167)
               at weblogic.jms.dispatcher.JMSDispatcherManager.getLocalDispatcherWrapper(JMSDispatcherManager.java:216)
               at weblogic.jms.client.JMSConnectionFactory.setupJMSConnection(JMSConnectionFactory.java:230)
               at weblogic.jms.client.JMSConnectionFactory.createConnectionInternal(JMSConnectionFactory.java:299)
               at weblogic.jms.client.JMSConnectionFactory.createQueueConnection(JMSConnectionFactory.java:179)
          Caused by: java.lang.ClassNotFoundException: weblogic.kernel.Kernel
               at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code))
               at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java(Compiled Code))
               at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
               at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
               at java.lang.Class.forName1(Native Method)
               at java.lang.Class.forName(Class.java(Compiled Code))
               at weblogic.jms.dispatcher.JMSDispatcherManager.getJMSThreadPoolSize(JMSDispatcherManager.java:128)
          Edited by drusnak at 05/24/2007 2:18 PM

Similar Messages

  • JMS question

    Hi,
    Can the blazeds messaging system subscribe AIR clients to a JMS one-to-many topic?
    for example, I have a java program that creates a JMS topic called latest news. Some java subsystem adds new news items to this topics. I would like Flex AIR apps Consumers to subscribe to this JSM topic via blazeds so that they all get the broadcasted message
    possible?

    Ok, so it should be something like this:
    MessageBroker msgBroker = MessageBroker.getMessageBroker(null);
    AsyncMessage msg = new AsyncMessage();
    msg.setDestination(/*YourDestinationId*/);
    msg.setClientId(UUIDUtils.createUUID(false));
    msg.setMessageId(UUIDUtils.createUUID(false));
    msg.setTimestamp(System.currentTimeMillis());
    String messageBody = "Foo";
    msg.setBody(messageBody);
    msgBroker.routeMessageToService(msg, null);
    And the answer to your JMS question is yes. As long as you use JMS topics (not queues as a single queue is meant to be consumed by a single client), every Flex Consumer will get the message.

  • Upgrading from 4.7C to ECC 6.0: A rookie's question

    Hi.. I'm a rookie abap guy, waiting to jump into my first upgrade project (which is also my first project in SAP). Can you tell briefly about the set of main procedures involved? My questions are the basic ones like who starts an upgrade? Is it the basis guys? How does it go on? And where does my role.. or rather a good abapper's role start? Thanks in advance..

    hi Arun,
    Technical Upgrade is only a version upgrade without any functionality changes.
    The objects that are needed to be upgraded are:
    Includes
    Function Groups / Function Modules
    Programs / Reports
    OSS Notes
    SAP Repository Objects
    SAP Data Dictionary Objects
    Domains, Data Elements
    Tables, Structures and Views
    Module Pools, Sub Routine pools
    BDC Programs
    Print Programs
    SAP Scripts, Screens
    User Exits
    You have to aware of all related program like BDC's , Screens related errors and all dictionary related problems.
    Some function modules may become obsolete, and some screens will change
    abnd some new fields will be added in the new versions etc.
    Also take care of SPAU and SPDD tcodes.
    You should be able to know about Unicode concept in sap.
    The upgrade team includes:
      mySAP Technology staff (formerly know as SAP Basis staff)
      Functional / business process staff
      User owners / key users
      Training staff
      IT (network, servers, desktop, and so on)
      Your network of contacts and peers
      Partners or consultants
      SAP
    • Your sales contact:
    • SAP Sales for direct customers
    • CBS provider for VAR customers
    • SAPlocalsupport
    During planning for an upgrade, you must gather and prepare all materials,
    including the:
      ASAP Upgrade Roadmap
      Upgrade manuals
      Upgrade script
    <b>Hope this is helpful, Do reward.</b>

  • Distributed JMS Question

    Domain 1 (host1)
    =========
    I have 2 JMS servers target to 2 managed servers. I have Distributed Queues (distqueue1 & distqueue2) in a module targetted to both of the jms servers.
    Where Managed server 1 --> Host 1
    Managed server 2 --> Host 2
    Domain 2 (host2)
    ========
    I have an application deployed on the clustered environment.
    =============================================================-
    Till now I use to have my app connected to (Domain 1(host1)) to one jms server (targetted on ManagedServer 1), now I want my application to do lookup to the clustered JMS on both the servers.
    So my question is how we proceed with the application to talk to the clustered jms (on multiple managed servers (on multiple physical hosts))

    You can specify the distributed destination JNDI name for the destination. Weblogic provides cluster wide JNDI replication - so any object that is deployed to any of the managed servers or to the cluster will be visible in the global JNDI tree of all the managed servers in the cluster. So for the JNDI lookup you can connect to a single managed server, or, A better load balanced approach would be to use a dns lookup where your app connects to a dns name and the dns is resolved to different IP address ( man1 IP, man 2 IP etc) on each lookup.
    You will have to get the load balancing setup on the Connection factory and the CF has to be deployed to a cluster to avoid unwanted routing between the man servers.
    This has been discussed a lot in the jms forum. Please search and you will get more details.
    One good link I got with a quick search
    Clustering with a load balancer
    Edited by: atheek1 on 25-Mar-2010 01:02

  • WLS 6.1 JMS Questions

              A couple of questions:
              I'm using a user txn on a servlet to insert into a JMS queue, and update a field
              in the database. I'm using a Message-driven Bean (with container managed txn)
              to service said queue... When I rollback the txn in the MDB, it looks like it
              actually rolls back the servlet's txn as well! I was expecting this to result
              in the message being put back onto the queue only... Can I correct this behaviour?
              Is there a way for me (in the MDB) to take the message and place it back onto
              the queue for processing later (e.g., 5 minutes)?
              Thanks in advance, Chad
              

    Chad Stansbury wrote:
              > A couple of questions:
              >
              > I'm using a user txn on a servlet to insert into a JMS queue, and update a field
              > in the database. I'm using a Message-driven Bean (with container managed txn)
              > to service said queue...
              > When I rollback the txn in the MDB, it looks like it
              > actually rolls back the servlet's txn as well! I was expecting this to result
              > in the message being put back onto the queue only... Can I correct this behaviour?
              You are right, this is odd and incorrect behavior, but I can't imagine
              how it happening. Contact customer support.
              >
              > Is there a way for me (in the MDB) to take the message and place it back onto
              > the queue for processing later (e.g., 5 minutes)?
              >
              There are a couple of ways. You can configure a "RedeliveryDelay" on
              the destination via the console, this delays redelivery of rolled back
              messages. Or you can commit() the transaction, and resend the message
              to its originating queue using a
              ((weblogic.jms.extensions.WLMessageProducer)producer).setTimeToDeliver(5000);
              > Thanks in advance, Chad
              Your welcome,
              Tom
              

  • Wls10.3 - JMS questions

    Hi
    What does it mean when you target a JMS module (and queues... in that module) to a cluster rather then to a specific JMS server ?
    Is it perhaps deployed to all JMS servers in the instances in that cluster ?
    Might help if i explain what i'm after. I want to create a JMS module containing two JMS queues and a connectionfactory and then deploy that module on all servers in a cluster.
    So i created a JMS module and added the queues, cf and then targeted the module to my cluster. I used distributed queues and then set "default targeting".
    But what about the JMS server(s)/persistant store then ? Thus, my questions above.
    /Laban
    Edited by: user1069472 on 2008-okt-29 04:16

    Laban,
    The recommended best practice is to use the "Advanced-Targeting" to create explicit sub deployments for the module resources and target those sub deployments to a specific (list) JMSServer, SAFAgent, WLS Server or to the Cluster appropriately. The "default-targeting", while it simplifies the targeting process, it might introduce some undesirable effects for resources such as "uniform-distributed-destination" that gets targeted to a cluster might end up having members all the available JMSServers in that cluster. Since this might not be a desirable in all the cases, it is not recommended as a best practice for module targeting.
    Please look at http://e-docs.bea.com/wls/docs103/cluster/service_migration.html#wp1067914 for a list of best practices for creating/targeting JMS Modules/Resources (you can ignore the migration aspect of this page).
    For more details on the JMS Modules /resource configuration, please look at http://e-docs.bea.com/wls/docs103/jms_admin/overview.html.
    Thanks
    Kats

  • File adapter to JMS question.

    Hi All,
    I have a file to JMS scenario.
    I wanted to know
    1.If PI is down and the messages are stacked in my file outbound folder.. when PI comes back up..
       incase if the filenames have a timestamp..is there a way for PI to pick them up in serial order.. oldest
       timesamp first?.
    2.If my target system is down, in this case my messages will be stuck in PI..but when my target
       system is back up.. and if the source sends a message at the same time.. this will get processed 
       before the messages that are in error state in PI and can be resubmitted. Is there a way to control
       this.. so that a new message is not processed before the old ones have been resent?.
       My Main aim is for the messages to go in the order of which they are sent according to the oldest
       timestamp first.
       Has anyone encountered a similar situation for serialisation?.
       Thanks a Lot!!.

    1. For setting the order
    For this you have to set the Quality of Service to Exactly once in order. and set a Queue Name.
    In this way all the messages picked up will go to the same queue. Only the first message entered has to get processed before the new messages
    2.For processing sequence
    Once that is done select the processing sequence as By Date. In this way the oldest will be picked up first.
    Here the problem is files created at same second will get picked up in any order. For minutes the order is preserved.

  • SAP XI JMS Question

    All,
    I have a database of data in SAP XI 3.0 (SP17).  I run a Function Module to extract this data and want to send it to the JMS
       Adapter to deliver it to WebSphere MQ to a remote MQ QManager on another System.  A return code from JMS Adapter indicating that
       the message was put on MQ is all that is needed.  I am not waiting for the remote MQ to reply.  There is no reply.
       Using Service Pack 17 SAP XI, can the Abap Code starting the XI JMS Scenario receive a reply from the JMS Adapter to know that MQ
       received the data?  Does this have to be a sync scenario or can the scenario be async?
       Does this type of Scenario require the use of a BPM with sync/async bridge?  I have tried this approach and, on too many occasions,
       the reply never comes back to the SAP XI Abap Stack.
       Any detailed help for how to accomplish this without upgrading to SP19 for the new sync/async JMS Adapter process would be greatly
       appreciated.
       Or is that the only alternative?
    Thanks in advance!
    Michael

    Michael,
    I am on XI 3.0 SP16.  In my scenario the JMS call is asynchronous
    The best way to determine if the message was sent successfully is to switch on debugging for JMS messages
    In Visual Administrator navigate to Cluster.Services.Log Configurator
    Select the locations tab and navigate to
    ROOT LOCATION.com.sap.aii.af.mp.jms.ejb
    Then set the severity level (eg to debug)
    Run your scenario then in Visual Administrator navigate to Cluster.Services.Log Viewer to view your trace.  Alternatively you can run the stand alone log viewer
    To access documentation for ‘Logging and Tracing’ to go to the following URL
    http://help.sap.com/saphelp_nw2004s/helpdata/en/64/0b59010a65de44be4f26cb57b9580d/frameset.htm
    To physically see if the JMS message has reached the MQ server I used two administration tools (1) log onto the MQ server and use the Websphere MQ Explorer tool or (2) a stand alone tool called rfhutilc.exe
    Regards,
    Mike

  • Two short Soap over JMS questions

    Hello everybody,
    ís it possible to call a SOAP Service over JMS with the Oracle BPEL Process Manager, when the SOAP Service uses a "non-Oracle" queue (e.g. Apache ActiveMQ)?
    Is the schema for the namespace "http://www.oracle.com/technology/oracleas/wsdl/jms" or documentation for the elements <jms:address> and <jms:propertyValue> available somewhere?
    Thank you for your time.

    Ok, then I think I am on the right track, but still I cannot get this scenario to work.
    JMS (SOAP)-> SAP PI(ccBPM) --> IDOC
    I put SOAP messages on the sender queue, those messages dissapear from that queue, so I would expect that I can see them back in PI, but no trace is left behind in the monitoring area... It is like they've never been read from the input queue.
    What is happenning with those messages? The definition of the SOAP envelope has been uploaded as an external definition and linked to a message interface in the repository.
    JMS Communication channel checked but it is also fine.
    Any clues where to look?
    Thanks.

  • SAP JMS Question

    I think I know the answer to this, but I have to check.
    Are there more than one kind of <b>Express</b> messages in SAP?
    Are there more than one kind of <b>Persistent</b> message type in SAP?
    Or are the message types pretty much JMS specifications only ?
    Thanks, John

    Hi,
      The messages which are used in JMS are the specifications of JMS only and not that of SAP.Two ways of sending messages in JMS as u know is "topic" & "subscribe".SAP WAS server which supports J2EE specifications supports JMS there by the msgs are pretty much JMS specifications only.
      If you want to store ur java objects as persistent in DB (not related to this q) then SAP WAS supports JDO,SQLJ,JDBC etc.
       Hope it helps.
    Rdgs,
    Guru

  • Rookie user questions

    I have 3 new user questions:
    1. I currently have 3 active folders for email, SMS and MMS, & messages
    - email and SMS / MMS contain correct data
    - 'messages' is a duplicate of email and missed phone messages
    How do I configure the 'messages' folder to contain correct data as intended?
    2. MMS - please direct me to a knowledge base on how to configure and use this system correctly
    3. how do I configure email and SMS / MMS to display symbols and emoticons as intended by senders?
    - they currently display as meaningless characters
    Thanks!

    Here's a great site - http://www.stinsonddog.com/
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • Rookie novice questions

    i purchased an app that never downloaded, it tries to but i get a message that it was unable to complete and it will be available for download when i login itunes on my computer.
    my questions-
    1- when i touch itunes on my ipad, it goes to a page with the terms and conditions. i dont see anywhere that i can login itunes or an itunes store page.
    2- when i open the app store, i can go into account and login but i dont see anything where i can resume an available download.
    3- if i login the app store, am i not logged into itunes as well?
    thanks for the help

    mharwell01 wrote:
    thanks for the help so far.
    so i logged into itunes on my computer. went to the apps and there is my app that i havent been able to download on the ipad. i connected the ipad to my computer, found the app in the store on the ipad and tried to repurchase so it would download. of course i get the message that ive already purhcased it would i like to download it again for free. i say yes and it starts to download and install, however i then i get a message, "unable to download application", the app wwill be available for download when you log in to the itunes store on your computer. I am logged in to the itunes store though. in the top right hand corner of the store page it has my name....
    To get it on your ipad, you would need to sync it over. It will then copy the app to your ipad. Go to the app tab on top in itunes and make sure the app it checked.
    2-why does the ipad need to be connected to my comp for this app. all the apps ive bought in the past have downloaded to the ipad without it being connected to my comp?
    I think that app is big. If you tried to download it over 3G, then you cannot not. I think there is a 10MB limit over 3G. You can only download it over wifi or through your computer. I am assuming you have 3G.

  • OC4J/JMS question

    Is there a possibility to send messages to OC4J/JMS queue from remote client program?

    Yes, exactly this way I obtain a connection factory. Here is piece of code, how I do it:
              env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
              env.put(Context.SECURITY_PRINCIPAL, "admin");
              env.put(Context.SECURITY_CREDENTIALS, "admin");
              env.put(Context.PROVIDER_URL, "ormi://localhost:23791/");
              Context context = new InitialContext(env);
              QueueConnectionFactory connectionFactory = (QueueConnectionFactory)context.lookup("jms/my/test.queueConnectionFactory");
    Then I obtain a connection, lookup my queue and create sender:
    QueueConnection connection = connectionFactory.createQueueConnection();
              QueueSession qSession = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
              Queue q = (Queue)context.lookup("jms/my/test.queue");
              QueueSender sender = qSession.createSender(q);
              connection.start();
    Then I try send my message and it fails on sender's send method:
    TextMessage message = qSession.createTextMessage();
    message.setText("Text message text");
    sender.send(message);
    And exception is:
    javax.jms.JMSException: Unable to connect to JMSServer (/127.0.0.1:9127)
         at com.evermind.server.jms.EvermindQueueConnection.connect(E[i]Long postings are being truncated to ~1 kB at this time.

  • Rookie editing question...looking at what to buy

    First day with the mac and I'm hooked!! What a killer machine. I'm wondering if anyone out there can help me with something though. I'm very green to the whole editing thing, but here's my scenario. If I can't make imovie do this, will final cut express allow me to do this...
    I have a video clip that I want to copy the sound from and include it as a background sound in another clip. It's the sound of the wind conditions in an outdoor video I'm putting together. I did a cutaway later in the day when the same wind conditions were not present, so I want to add the same wind conditions heard on earlier clips in the day and blend them into the cutaway so that you can't tell I filmed it at a different time of the day. The lighting is perfect and blends great, so it's just this darn audio clip I need to copy and paste.
    Before you answer...I did watch a video tutorial from the imovie and saw what I thought was the solution. It takes the sound of the crowd and adds it over into another clip using a voiceover. I tried that, but when I moved the voiceover onto the cutaway, you can't hear it.
    Can somebody help, I waited on hold for support on this issue for a long time only to find out they didn't know how to help. If imovie will not let me do this, will final cut express allow this to happen? Do you think a rookie can run the final cut express fairly easily?
    Thanks!

    I don't know which version of iMovie you have; I have version 6.0.3 and in that version, this works for me:
    Select your clip in the timeline viewer; click on the Advanced menu and select "extract audio" and it should put the audio underneath the video clip. You should then be able to copy it, move your playhead to where you want it and paste the copy there. I've never tried that with "wind", but I've extracted music and other sounds, so as long as it is "sound", it should work.
    I've chosen not to install iMovie version 7 (iLife 08) for several reasons, so if that is what you have, I don't know if my solution would work, but you can try it.
    As for FCE, I just got that myself and don't know all of its features yet.

  • JMS Questions

    I want to send sms from mobile to PC which should be collected in Sun Java System Application Server(9.1) queue.
    and in future I want the to send the sms back to mobile from JMS queue.
    Please inform me ragarding the softwares required, documentation as to how to configure Sun AS.
    Also is it possible for the JMS application to recieve emails???

    Hi,
    You can get the sample JMS application with the server installation..Weblogic, Websphere.

Maybe you are looking for

  • Aging Report and Currency

    I am trying to do a Customer Receiveables aging report. I have several clients with diferente currencies. Before, I could select a currency in these report ando see it in that currency. Now, in SBO8.8 SP00 PL12, in the currency box, only ## appears a

  • Where is the Character Encoding option in 29.0.1?

    After the new layout change, the developer menu don't have Character Encoding options anymore where the hell is it? It's driving me mad...

  • Capability Not Set Exception

    Hi i was just wondering could anybody help me with my first Java 3d program, The program runs but it throws a capability not set exception even though I have set them in the program!!!! I include the program below, the error is as follows: Exception

  • New Macbook Pro Beach Ball Lag

    Just got the laptop 2 weeks ago, and everything is updated to latest fixes and patches. One big problem I'm having is the constant beach ball showing while during simple things like opening a regular website, or chatting on adium. It will just occasi

  • How to tell when downloading raw and jpeg images is complete

    i just installed lr 3 and have a new mb 8 gb of ram and dont know how to tell when the download of raw and jpeg is done .ie the time from thumbnail to full down loads