JMS over MQ

Hi,
Im new to JMS and wanted to know the foll:
We need a EJB to talk to a backend legacy system that has a MQ wrapper around the legacy.
What is the best configuration to access this.

Hi Doe,
I have not actually work on legacy systems? But I have worked with EJBs that talk to MQ. You can use the MQ Java APIs. If there is going to be an MQ which will pass on the messages to the legacy and from the legacy back to your EJB then you can use the MQ Java APIs "com.ibm.mq.jar". You can put the message to a queue and take from a queue using the API.
Have Fun,
Robo

Similar Messages

  • JMS over SSL ?

    Hi,
    I am trying to use JMS over SSL on WebLogic 6.1 sp2 server.
    But it doesn't seem to work.
    Anybody tried it and got it to work?
    Here is my code (cut and pasted for a WLS document) to obtain a secure context:
    ht.put(Context.SECURITY_PRINCIPAL, "system");
    ht.put(Context.SECURITY_CREDENTIALS, "abc");
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, "t3s://localhost:7002");
    Context ctx = new InitialContext(ht);
    And my exception is:
    javax.naming.CommunicationException. Root exception is java.net.ConnectException:
    t3s://anders:7002: Destination unreachable; nested exception is:
    java.io.IOException: Server Certificate SubjectDN CommonName received
    does not match Server hostname; No available router to destination
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:155)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:207)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:311)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:211)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at BibleQueueSender.main(BibleQueueSender.java:54) java.lang.NullPointerException
    at BibleQueueSender.main(BibleQueueSender.java:97)
    Any idea ?
    Anders

    Hi,
    I am trying to use JMS over SSL on WebLogic 6.1 sp2 server.
    But it doesn't seem to work.
    Anybody tried it and got it to work?
    Here is my code (cut and pasted for a WLS document) to obtain a secure context:
    ht.put(Context.SECURITY_PRINCIPAL, "system");
    ht.put(Context.SECURITY_CREDENTIALS, "abc");
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL, "t3s://localhost:7002");
    Context ctx = new InitialContext(ht);
    And my exception is:
    javax.naming.CommunicationException. Root exception is java.net.ConnectException:
    t3s://anders:7002: Destination unreachable; nested exception is:
    java.io.IOException: Server Certificate SubjectDN CommonName received
    does not match Server hostname; No available router to destination
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:155)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:207)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:311)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:211)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
    at javax.naming.InitialContext.init(InitialContext.java:222)
    at javax.naming.InitialContext.<init>(InitialContext.java:198)
    at BibleQueueSender.main(BibleQueueSender.java:54) java.lang.NullPointerException
    at BibleQueueSender.main(BibleQueueSender.java:97)
    Any idea ?
    Anders

  • JMS over MQ Series (how?)

    Hi All,
    I am trying to use JMS over MQ series 5.2. Can anyone tell me how to configure the Server for the JMS.
    Also in mq series 5.2 JMS jars (javax.jms.* etc or its wrappers) for client programs are not available.
    Can some one help me out?
    Awaiting your replies....
    Regards,
    Lee.

    There are java classes for MQSeries that you can download:
    http://www-4.ibm.com/software/ts/mqseries/txppacs/ma88.html
    This page includes a tutorial/manual which tells you (nearly) everything you need to know about using JMS over MQSeries.
    Steve.

  • JMS over iiop -- org.omg.CORBA.UNKNOWN

    I have simple java client which tries to lookup a jms QueueConnectionFactory
    over iiop .
    The code is
    ht.put(
    Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory" );
    ht.put( Context.PROVIDER_URL,"iiop://222.222.222.222:1111" );
    ctx = new InitialContext( ht );
    qConnectionFactory = (QueueConnectionFactory) ctx.lookup( "My queue con
    factory"); < -- this line cause a
    org.omg.CORBA.UNKNOWN: minor code: 0 completed: Maybe
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at
    com.sun.corba.se.internal.iiop.ReplyMessage.getSystemException(ReplyMessage.
    java:93)
    at
    com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientR
    esponseImpl.java:83)
    at
    com.sun.corba.se.internal.corba.RequestImpl.doInvocation(RequestImpl.java:32
    1)
    at com.sun.corba.se.internal.corba.RequestImpl.invoke(RequestImpl.java:223)
    at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:156)
    at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:368)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:417)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:395)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at Jms.<init>(Jms.java:75)
    at Jms.main(Jms.java:22)
    Anybody know if looking up JMS con factories is ok on iiop in WLs61sp2 ?
    Thanks

    "golibaar" <[email protected]> writes:
    JMS over IIOP is not supported, not required by the spec and will not work.
    This is a WLS 7.1 feature.
    andy
    I have simple java client which tries to lookup a jms QueueConnectionFactory
    over iiop .
    The code is
    ht.put(
    Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory" );
    ht.put( Context.PROVIDER_URL,"iiop://222.222.222.222:1111" );
    ctx = new InitialContext( ht );
    qConnectionFactory = (QueueConnectionFactory) ctx.lookup( "My queue con
    factory"); < -- this line cause a
    org.omg.CORBA.UNKNOWN: minor code: 0 completed: Maybe
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at
    com.sun.corba.se.internal.iiop.ReplyMessage.getSystemException(ReplyMessage.
    java:93)
    at
    com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientR
    esponseImpl.java:83)
    at
    com.sun.corba.se.internal.corba.RequestImpl.doInvocation(RequestImpl.java:32
    1)
    at com.sun.corba.se.internal.corba.RequestImpl.invoke(RequestImpl.java:223)
    at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:156)
    at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:368)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:417)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:395)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at Jms.<init>(Jms.java:75)
    at Jms.main(Jms.java:22)
    Anybody know if looking up JMS con factories is ok on iiop in WLs61sp2 ?
    Thanks

  • JMS over MQ : could anyone recommend resources / advanced tutorials ?

    Hi,
    Would anyone please happen to have good resources for using JMS over Ibm's MQ implementation ?
    I've just started using JMS over MQ.
    I've read through 3 IBM redbooks on the subject, copied their "hello world" examples, and they basically work.
    But sadly I've found no documentatino on real-world problems, and performaces in particular.
    Some random Examples:
    1. Transactions affect on performance.
    Eg: suppose you post a 1000 large messages, all under the same transaction. Obviously they need to queue up somewhere - but where: the sender machine or the receiver ?
    2. Is it true there's a performance problem when a Receiver uses a selector ? I hear it works well if you select by MessageId , but performance deteriorates if the selector is based on user-defined properties.
    These are just examples - the bottom line being, you can't just rely on the pure JMS spec... implementation details could be important.
    Would anyone have recommendations on relevant resources ?
    Thanks very mcuh.

    When you ask about software for creating HDR photos? a big question is whether you want special-effects-like imagery HDR or whether you want to realistically simply improve dynamic range of otherwise well-shot images.
    The best way to improve the dynamic range of otherwise well-shot images is to buy a Nikon D3. For those without the $5k for a D3, Photoshop layers are an excellent solution. You make duplicate lightening screen or darkening multiply layers and erase and adjust opacity of various layer parts to achieve what you want.
    Photomatrix is probably the most popular for special-effects-like HDR imagery. There is a good thread among Photoshop pros discussing HDR, with examples, at
    <http://www.adobeforums.com/webx/.59b52953/128>
    -Allen Wicks

  • JMS over MQSeries -- Security Questions

    Hi.
    I am new to JMS and would like to have JMS over MQSeries. When a message is sent in request/reply, MQSeries currently attaches a header to the message including information such as userID and information regarding the application that sent the message.
    My Questions:
    1. Does JMS provide an API call to retrieve the MQ Header information -- specifically the user id and password if any? Or does the JMS header hide/override the MQ header?
    2. Does JMS provide an encryption mechanism to encrypt the message body?
    3. What is in the JMS header -- additional security information?
    Lastly, can we send binary data using JMS over MQSeries?
    Thanks again for the help.
    --Selena                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    1. Does JMS provide an API call to retrieve the MQ
    Header information -- specifically the user id and
    password if any? Or does the JMS header hide/override
    the MQ header?There is a property defined by JMS called JMSXUserID which will give you the user id. MQSeries does not transmit the password of the user, this would probably be a security violation. If there is a JMS property which is matched in the MQ Message header the property is held there. There are some IBM specific properties to get at other information in the MQ Message header but these should not be used.
    2. Does JMS provide an encryption mechanism to encrypt
    the message body?JMS doesn't and neither does MQSeries, as far as I am aware. If you wish to encrypt then you can define a security exit on the queue when you bind it into JNDI, but this is an MQSeries feature not a JMS one.
    3. What is in the JMS header -- additional security
    information?Look in the MQSeries Information Center. There is lots of information on what is in the headers and how to access it.
    >
    Lastly, can we send binary data using JMS over
    MQSeries?Just use a bytes message.
    Hope this helps

  • JMS over HTTP, HTTP tunneling, imqhttp, Glassfish, Open MQ

    Hi,
    I want to run JMS over HTTP, because of firewalls.
    My environment:
    - Windows 7 64 bits
    - Java EE 6 SDK (Glassfish 3, installer java_ee_sdk-6u4-jdk7-windows-x64.exe)
    Following instructions (Oracle GlassFish Server Message Queue Administration Guide, HTTP/HTTPS Support), I have done as follows:
    1.- modified default.properties (in my case file D:\usr\Glassfish3\mq\lib\props\broker\default.properties) by adding "httpjms" to imq.service.activelist, so I have:
    # List of active services, started at startup
    imq.service.activelist=jms,admin,httpjms
    2.- modified server.policy file (in my case D:\usr\Glassfish3\glassfish\domains\domain1\config\server.policy) by adding at the end:
    grant codeBase "file:${com.sun.aas.installRoot}/glassfish/domains/domain1/applications/imqhttp/-" {
    permission java.net.SocketPermission "*",
    "connect,accept,resolve";
    3.- I then, using the Glassfish Admin Console (listening on port 4848), deployed the application packaged in the imqhttp.war WAR file (this WAR file taken from D:\usr\Glassfish3\mq\lib), using "imqhttp" as Context Root name.
    4.- I then invoke URL http://127.0.0.1:8080/imqhttp/tunnel and get the following return:
    HTTP tunneling servlet ready.
    Servlet Start Time : Wed Jul 04 19:28:01 CEST 2012
    Accepting TCP connections from brokers on port : 7675
    Total available brokers = 1
    Broker List :
    ANTEC:imqbroker
    Importantly: I had to reboot everything, including Windows to get the broker listed in the broker list.
    ...uh !!???!! ...it just shows that posting to discussion groups and sharing is great... yesterday, I could not get this working, I had nothing in my Broker list, and a bunch of exceptions when trying to publish a message... I swear I re-started Glassfish many times... now it's working all right, and the only thing I've done meantime is to reboot the PC...
    In any case, I keep the post, it might be of help to someone.
    Later
    Varus

    To have the new setting of broker property imq.service.activelist take effect, if EMBEDDED (default) jms-service is used, the GlassFish server needs to be restarted; otherwise, the broker process needs to be restarted. If the JMS service (EMBEDDED mode) in the GlassFish server has not been started (due to GlassFish JMS lazy init - default), run 'asadmin jms-ping' will start the embedded broker in GlassFish server.

  • Help configuring jms over http?

    I am looking to use jms over port 8080 to both send and receive soap messages. Does anyone know how to configure jms to do this? Any good documentation?
    I am using Sun Application Server 8 Platform Edition.
    Thanks.

    Hi Rabbia,
    This is not something which is defined by the JMS standard.
    Each vendor has differing approaches to supporting HTTP/HTTPS. Some use proxy servlets in conjunction with web servers etc... Others don't support it at all.
    Nirvana from my-channels supports the idea of adding multiple interfaces to a server. Each bound to a specific hostname and port and communicating over a specific protocol (e.g. HTTP or HTTPS). Using Nirvana you would simply add a HTTP interface which is bound to port 8080.
    http://www.my-channels.com/developers/nirvana/FAQ/addingANetworkInterface.html
    You would then configure your clients to point to that specific interface..
    http://www.my-channels.com/developers/nirvana/examples/nJMS/jmsadmin_intro.html
    Hope this helps.
    Eddie McDaid
    www.my-channels.com

  • No JMS over the network

    hello,
    Im learning JMS and trying the examples from the tutorial. Both my SDK's are version 1.4.
    At home, I have a Linux machine directly connected to a win-XP machine. Im trying to connect the two machines as in the example "Running JMS Client Programs on Multiple Systems" I do exactly what the turorial states. I check, as recommended, that the JmsFactory does exist.
    What happens is somewhat dissapointing: when i issue the command "run SimpleProducer MyQueue queue 3", instead of messages get send over the network they end up in the own local queue at the side of the SimpleProducer. Both on the linux as on the win machine the same happens. I used both the IP-address and the netbios name of the remote machine in "ant add-remote-factory -Dsys=sys-name". The effect is the same.
    Anyone an idea what is wrong??
    Thank i.a.

    hi!
    i went to bed frustrated, turned on my computer and now this comes up:
    I try to lookup the connection factory with this code:
    try {
    connectionFactory = (ConnectionFactory)
    jndiContext.lookup("EarthQueueConnectionFactory");
    if (destType.equals("queue")) {
    dest = (Queue) jndiContext.lookup(destName);
    } else if (destType.equals("topic")) {
    dest = (Topic) jndiContext.lookup(destName);
    } else {
    throw new Exception("Invalid destination type" +
    "; must be queue or topic");
    } catch (Exception e) {
    System.out.println("JNDI API lookup failed: " +
    e.toString());
    System.exit(1);
    This is the error it returns:
    C:\j2sdkee1.4\doc\tutorial\examples\jms\simple>run SimpleProducer MyQueue queue 1
    Destination name is MyQueue, type is queue
    18-feb-2003 11:35:52 com.sun.jms.ConnectionFactoryImpl establishRemoteReferences
    SEVERE: ConnectionFactoryImpl: Failed to lookup or connect to JMS service because: org.omg.CORBA.OBJECT_N
    OT_EXIST: vmcid: SUN minor code: 202 completed: No
    18-feb-2003 11:35:52 com.sun.jms.ConnectionFactoryImpl establishRemoteReferences
    SEVERE: ConnectionFactoryImpl: Failed to lookup or connect to JMS service because: org.omg.CORBA.OBJECT_N
    OT_EXIST: vmcid: SUN minor code: 202 completed: No
    Exception in thread "main" java.lang.NullPointerException
    at com.sun.jms.client.ConnectionImpl.invokeRemoteCreateConnection(ConnectionImpl.java:161)
    at com.sun.jms.ConnectionFactoryImpl.createConnection(ConnectionFactoryImpl.java:314)
    at com.sun.jms.ConnectionFactoryImpl.createXAConnection(ConnectionFactoryImpl.java:468)
    at com.sun.jms.ConnectionFactoryImpl.createXAConnection(ConnectionFactoryImpl.java:444)
    at com.sun.jms.connector.ra.JMSConnectionFactoryAdapter.createConnection(JMSConnectionFactoryAdap
    ter.java:129)
    at SimpleProducer.main(Unknown Source)
    MyQueue exists and my j2eeadmin -listJmsFactory looks like this:
    JmsFactory
    < Connector Resource : jms/TopicConnectionFactory, jmsra.rar, , , javax.jms.TopicConnectionFactory
    Properties: NONE >
    < Connector Resource : jms/QueueConnectionFactory, jmsra.rar, , , javax.jms.QueueConnectionFactory
    Properties: NONE >
    < Connector Resource : EarthQueueConnectionFactory, jmsra.rar, , , javax.jms.QueueConnectionFactory
    Properties: >
    I have really no clue what is wrong. Can someone help me please????

  • How do i develop a chat application using jms over web based

    I want to develop a chat application using jms with mailing,file transfer and audio facilities
    can anyone help me to how to go abt that

    There is a good article from Sun on a simple example of what you want - it could serve as a basis for you.
    http://developer.java.sun.com/developer/technicalArticles/peer/

  • Configuring JMS over a Weblogic Cluster

    I have a setup of 2 Weblogic managed servers configured as part of a cluster.
    1) The requirement is to send requests to another system and receive responses using JMS as interface.
    2) The request could originate from either of the Managed Servers. So the corresponding response should reach the managed server which originated the request.
    3) The external system (to which requests are sent) should not be aware of how many managed servers are in the cluster (not a must have requirement)
    How should JMS be configured for meeting these requirments?

    Refer:- Re: help in setting up a clustered scalable JMS env
    -Akshay

  • JMS over https

    Hi Big-Brains,
    I'm a starter to JMS and have a requirement for implementing a JMS client to exchange data with a remote message broker using https. I'm not sure whether the above statement make sense at all..please bare me.
    here are my queries :
    A) JMS is a specification and does not speak about low level communication, and my understanding is the message broker should provide the https transfer capablility..is this right .. please tell me if there are any provider who provide https transport mechanism built in.
    2) If I have to implement...)..please advice me how to start with. I have exposure to implement web clients (https, https using JSSE)
    Thanks in Advance and your time is very much appreciated.
    Kishore

    Hi there,
    Nirvana from my-channels supports Sockets, SSL enabled sockets, HTTP and HTTPS. All are built into the message broker. See http://www.my-channels.com/ for more info.
    Regards
    Paul

  • What are the limitations of using RMI over http with EJB?

    We have a requirement for an intranet application where the majority of the clients
    (Swing clients) will be able to connect directly using either T3 or IIOP. However,
    there are a number of clients that will need to traverse a firewall.
    We could use SOAP, but I dont want to lose the value that RMI gives us (clustering,
    security, statefullness support etc). I am thinking of using RMI over http - which
    Weblogic supports.
    I have been trying to find some documentation on the topic - but havent succeded
    so far. What I would like to understand is: What limitations I would have using
    RMI over http. Do I lose anything (apart from performance) using http?
    Regards,
    Nick

    You will have to enable tunneling on the server side and I have not heard of any
    complaints of using it.
    Shiva.
    Nick Minutello wrote:
    In fact, we are not using applets - and its not an internet application. We are
    using Java Webstart and Swing on our intranet (the problem of the size of the
    weblogic.jar is a pain - but well known)
    The question for me is; Apart from performance, are there any limitations to using
    RMI over http?
    Can we also use JMS over http?
    -Nick
    Shiva Paranandi <[email protected]> wrote:
    "Old wine new bottle".
    The biggest problem with the approach of Applets like
    stuff connecting to weblogic is the size of the classes that need to
    be supplied to the
    users. The applets/swing would need a lot of weblogic classes which you
    need to
    supply as jar file. This file can be in the order of MBs depending on
    the
    weblogic version. we had a similar kind of problem and migrated the applets
    to use
    servlets instead of directly invoking ejbs or jms topics etc. Having
    the applets
    connect
    to servlets you would still benefit from the features of clustering etc.
    and added to
    that
    you would reduce the number of remote calls.
    Shiva.
    Nick Minutello wrote:
    We have a requirement for an intranet application where the majorityof the clients
    (Swing clients) will be able to connect directly using either T3 orIIOP. However,
    there are a number of clients that will need to traverse a firewall.
    We could use SOAP, but I dont want to lose the value that RMI givesus (clustering,
    security, statefullness support etc). I am thinking of using RMI overhttp - which
    Weblogic supports.
    I have been trying to find some documentation on the topic - but haventsucceded
    so far. What I would like to understand is: What limitations I wouldhave using
    RMI over http. Do I lose anything (apart from performance) using http?
    Regards,
    Nick

  • Problem with 2 way SSL for JMS

    Finally, there is some progress on my JMS over SSL (2 way with JNDI). I am able to send/receive JMS messages but there is an exception in Weblogic server log (see attached). Let me summarise all the steps involved:
    (I have referred this doc http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security6.html as I found this more convenient)
    1. Generate the server private key/public certificate pair:
    C:\softwares\bea\satishb\ssl\3>keytool -genkey -alias serveralias -keyalg RSA -keypass password -storepass password -keystore .\server\svrkeystore.jks
    2. Export the generated server certificate in svrkeystore.jks into the file server.cer:
    C:\softwares\bea\satishb\ssl\3>keytool -export -alias serveralias -storepass password -file .\server\server.cer -keystore .\server\svrkeystore.jks
    3. To create the trust-store file cacerts.jks and add the server certificate to the trust-store:
    C:\softwares\bea\satishb\ssl\3>keytool -import -v -trustcacerts -alias serveralias -file .\server\server.cer -keystore .\server\cacerts.jks -keypass password -storepass password
    Now Client part:
    1. Generate the client key/cert pair:
    C:\softwares\bea\satishb\ssl\3>keytool -genkey -alias clientalias -keyalg RSA -keypass password -storepass password -keystore .\client\cltkeystore.jks
    2. Export the generated client certificate into file client.cer:
    C:\softwares\bea\satishb\ssl\3>keytool -export -alias clientalias -storepass password -file .\client\client.cer -keystore .\client\cltkeystore.jks
    3. Add the certificate to the trust-store file cltcacerts.jks (this trust-store will be used by weblogic server for client authentication):
    C:\softwares\bea\satishb\ssl\3>keytool -import -v -trustcacerts -alias clientalias -file .\client\client.cer -keystore .\client\cltcacerts.jks -keypass password -storepass password
    - I deployed svrkeystore.jks to weblogic server as the custom identity and cltcacerts.jks as the trust store (so that client au takes place).
    - I use server\cacerts.jks file at the client side to authenticate the server as the custom trust store.
    -Both the JMS client and the weblogic server are using the same Java ie C:\softwares\bea\jdk150_04.
    I am now able to send/receive the JMS messages but in the Weblogic server logs, I see these which seems to me that the proper SSL handshake has not taken place:
    ####<Mar 5, 2007 3:54:12 PM IST> <Info> <Server> <sburnwal-wxp> <AdminServer> <DynamicSSLListenThread[DefaultSecure]> <<WLS Kernel>> <> <> <1173090252459> <BEA-002605> <Adding address: 192.168.4.223 to licensed client list>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252459> <000000> <isMuxerActivated: false>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252506> <000000> <5978326 SSL Version 2 with no padding>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252506> <000000> <24761471 SSL3/TLS MAC>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252506> <000000> <24761471 received SSL_20_RECORD>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252506> <000000> <HANDSHAKEMESSAGE: ClientHelloV2>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252506> <000000> <........... Eating Exception ..........
    java.security.NoSuchAlgorithmException
         at com.certicom.tls.ciphersuite.CipherSuiteSupport.getCipherSuite(Unknown Source)
         at com.certicom.tls.ciphersuite.CipherSuiteSupport.getCipherSuite(Unknown Source)
         at com.certicom.tls.record.handshake.MessageClientHelloVersion2.<init>(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeMessage.createVersion2(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeHandler.handleVersion2HandshakeMessages(Unknown Source)
         at com.certicom.tls.record.MessageInterpreter.interpretContent(Unknown Source)
         at com.certicom.tls.record.MessageInterpreter.decryptMessage(Unknown Source)
         at com.certicom.tls.record.ReadHandler.processRecord(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
         at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
         at javax.net.ssl.impl.SSLSocketImpl.startHandshake(Unknown Source)
         at weblogic.server.channels.DynamicSSLListenThread$1.run(DynamicSSLListenThread.java:130)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    >
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252506> <000000> <........... Eating Exception ..........
    java.security.NoSuchAlgorithmException
         at com.certicom.tls.ciphersuite.CipherSuiteSupport.getCipherSuite(Unknown Source)
         at com.certicom.tls.ciphersuite.CipherSuiteSupport.getCipherSuite(Unknown Source)
         at com.certicom.tls.record.handshake.MessageClientHelloVersion2.<init>(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeMessage.createVersion2(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeHandler.handleVersion2HandshakeMessages(Unknown Source)
         at com.certicom.tls.record.MessageInterpreter.interpretContent(Unknown Source)
         at com.certicom.tls.record.MessageInterpreter.decryptMessage(Unknown Source)
         at com.certicom.tls.record.ReadHandler.processRecord(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
         at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
         at javax.net.ssl.impl.SSLSocketImpl.startHandshake(Unknown Source)
         at weblogic.server.channels.DynamicSSLListenThread$1.run(DynamicSSLListenThread.java:130)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    >
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252506> <000000> <write HANDSHAKE, offset = 0, length = 58>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252506> <000000> <write HANDSHAKE, offset = 0, length = 602>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252506> <000000> <write HANDSHAKE, offset = 0, length = 4>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252506> <000000> <isMuxerActivated: false>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252521> <000000> <24761471 SSL3/TLS MAC>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252521> <000000> <24761471 received HANDSHAKE>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252521> <000000> <HANDSHAKEMESSAGE: ClientKeyExchange RSA>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252521> <000000> <Using JCE Cipher: SunJCE version 1.5 for algorithm RSA>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252537> <000000> <Ignoring not supported JCE Mac: SunJCE version 1.5 for algorithm HmacMD5>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252537> <000000> <Will use default Mac for algorithm HmacMD5>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252537> <000000> <Ignoring not supported JCE Mac: SunJCE version 1.5 for algorithm HmacSHA1>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252537> <000000> <Will use default Mac for algorithm HmacSHA1>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252537> <000000> <........... Eating Exception ..........
    java.security.NoSuchAlgorithmException: Algorithm MD5 not available
         at javax.crypto.Mac.getInstance(DashoA12275)
         at com.certicom.tls.provider.Mac.getInstance(Unknown Source)
         at com.certicom.tls.ciphersuite.SecurityParameters.makeKeys(Unknown Source)
         at com.certicom.tls.ciphersuite.SecurityParameters.deriveKeys(Unknown Source)
         at com.certicom.tls.ciphersuite.SecurityParameters.<init>(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeHandler.generateSecurityParameters(Unknown Source)
         at com.certicom.tls.record.handshake.ServerStateSentHelloDone.handle(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown Source)
         at com.certicom.tls.record.MessageInterpreter.interpretContent(Unknown Source)
         at com.certicom.tls.record.MessageInterpreter.decryptMessage(Unknown Source)
         at com.certicom.tls.record.ReadHandler.processRecord(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
         at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
         at javax.net.ssl.impl.SSLSocketImpl.startHandshake(Unknown Source)
         at weblogic.server.channels.DynamicSSLListenThread$1.run(DynamicSSLListenThread.java:130)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    >
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252537> <000000> <Will use default Mac for algorithm MD5>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252537> <000000> <Using JCE Cipher: SunJCE version 1.5 for algorithm RC4>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252537> <000000> <Ignoring not supported JCE Mac: SunJCE version 1.5 for algorithm HmacMD5>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252537> <000000> <Will use default Mac for algorithm HmacMD5>
    ####<Mar 5, 2007 3:54:12 PM IST> <Debug> <SecuritySSL> <sburnwal-wxp> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1173090252537> <000000> <Ignoring not supported JCE Mac: SunJCE version 1.5 for algorithm HmacSHA1>
    Pls let me know if there is anything I am missing here. Help is appreciated a lot.
    Thanks
    Satish

    It is a domain wide setting. Can you not create a new domain? I do not think that you can handle it from web.xml. I have never seen such thing in web.xml.

  • JMS using JBoss !!!

    Hey,
    ich just have a problem realizing jms over the jboss server. Actually, if you want to implement a JMS-Producer or JMS-Consumer you need to define a �*-servie.xml� file which hast to be copied in the deployed directory of the server and it has to be in Classpath off the consumer. So this file hast to be on the client side as well. So, is there a way to put the information of the �-service.xml� in the code of the client, so that it don�t have to be in the classpath any more? I need that for a very special implementation
    kind regards
    Chris

    Hi Javith
    The top three links provided in a Google search 'jboss jms tutorial' look like they'd cover this pretty well -- depending on if you're using JMS inside the JavaEE environment, or your using JMS directly. We might be able to help you more if you were trying to use GlassFish Message Queue and/or GlassFish Enterprise Server.
    Good Luck
    -- Ed

Maybe you are looking for