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

Similar Messages

  • 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.

  • 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

  • Nd help configuring JMS Bridges between COM and SOM

    We skip the JMS Bridge between SOM and COM because we deploy the O2A cartridge using the:
    - When Central Order Management and Service Order Management Exist in the Same
    OSM Instance in a Non-Cluster Environment.
    - Customer and Service Order Management in the Same OSM Instance
    "Deploy the following cartridges through Design Studio for the simple fulfillment
    topology"
    Now what happening is: the flow of the order taking time before it was completed or need manually submit the task using oms-automation user.
    But even with the above work around we cannot see the billing data in BRM.
    UpdateSalesOrderSiebelCommsProvABCSImpl (v. 1.0) this is the last BPEL process we see in BPEL.
    FulfillBillingFunction.BRM-ALL.BundleGranularity.FulfillBillingSignificantUpdates is the last Activity we can see in osmwebui if not manually update the task.
    Then ProvisionOrderSIResponseTask is the current task in osm task web client where order state is In-Progress.
    With that it seems the SOM is not processing.
    Do you have any idea why we can't complete the order and see the billing data in BRM?
    Is'it the COM and SOM not properly configured, or have some issue with other application(RODOD)?
    Thanks,
    Ace

    Hi All,
    This issue already resolve by configuring the routing in AIA.

  • 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

  • Exchange 2013 SP1 - Unable to test Mapi-over-HTTP Outlook Connectivity

    I've configured MAPI over HTTP in my testing environment. It is working fine. But i'm unable to test this configuration using the Powershell Test-OutlookConnectivity CMDlet.
    Outlook is working fine and is using MAPI over HTTP, so i'm pretty sure there are no configuration problems. But the CMD-let gives me the following output:
    [PS] C:\Windows\system32>Test-OutlookConnectivity -RunFromServerId <myserver> -ProbeIdentity OutlookMapiHttpSelfTestProbe
    WARNING: An unexpected error has occurred and a Watson dump is being generated: Failed to find the probe result for
    invoke now request id 1ad0cb55e6cc45c791194b34641fe3c2 and probe workdefinition id 241.
    Failed to find the probe result for invoke now request id 1ad0cb55e6cc45c791194b34641fe3c2 and probe workdefinition id
    241.
        + CategoryInfo          : NotSpecified: (:) [Test-OutlookConnectivity], InvalidOperationException
        + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.Exchange.Management.Tasks.TestOutlookConnecti
       vity
        + PSComputerName        : <fqdn of my serer>
    Does anyone have a sollution for this?

    Hello @all,
    I got the same issue. The configuration is functional (Outlook connects over http). But the test-cmdlet raises this error. Is there any solution?
    Greetings from Germany

  • Configuring XI over JMS

    Hi,
    I would like to configure XI over JMS using Bea Weblogic's JMS support,
    Can anybody suggest how do i go about doing it? I am new to XI.
    Thanks,
    vishnu

    Hi,
    The best place to start is the SAP online help documentation. Try these link for starters (you will see more links on the left navigation too).
    http://help.sap.com/saphelp_nw04/helpdata/en/e8/01683c43e87845e10000000a11402f/frameset.htm
    Another tip is that you can search SAP documentation directly from SDN in the search on the top left of the SDN site
    I hope this helps,
    Mike.

  • Need help : how to send 3 parameters over http using Java POST

    I am trying to sending some data to agency company over http using Java POST
    They need 3 parameters and some contents like below
    1. Cmd : cmd=_RequestInsertNewLead
    2 Live : False
    3 XMLData : 3C%3Fxml+version%3D%........
    I already have XML done ,but I don't know how to send these guy over http
    is that like
    this.out = new DataOutputStream(os);
    out.writeBytes("Cmd");
    out.writeBytes(" cmd=_RequestInsertNewLead");
    out.writeBytes(" Live ");
    out.writeBytes("False");
    anyone could give help :)

    First of all, are you getting any exception?
    You didn't put much logging information in your code.
    You can also try this.Instead of doing sos.println(".....") try to build the output string using string buffer.
    Like:
    StringBuffer sb = new StringBuffer();
    sb.append("Some output");
    sb.append("More output");
    sos.print(sb.toString());
    sos.flush();Let me know if this works.

  • RMI over HTTP: configuration

    Hi,
    I have a very basic RMI server that needs to be accesed from outside our network. There is a firewall that controls the access to the network. RMI server does not use any kind of callbacks or any other strange stuff.
    What do I need to configure in order to make it work?
    Thanks in advance
    Jorge Ortiz Claver

    No I'm not using it through a firewall -- which is what rmi-over-http is touted for. Http works in the 10.1.3 standalone preview, but there seems to be a new httpS authentication mechanism. I think it was using Oracle's wallet or something.
    received a nice little exception when reading the server keystore (created/self-signed w/ java keytool)
    oracle.oc4j.security.ExchangingEncryptor$EncryptionException
         at oracle.oc4j.security.ExchangingEncryptor.getDecryptedValue(ExchangingEncryptor.java:84)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.rmi.TunnelledRmiServlet.readKeyExchangeCredentials(TunnelledRmiServlet.java:115)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4].server.rmi.TunnelledRmiServlet.authenticate(TunnelledRmiServlet.java:100)
    Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
         at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
         at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
         at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA12275)
         at javax.crypto.Cipher.doFinal(DashoA12275)
         at oracle.oc4j.security.ExchangingEncryptor.getDecryptedValue(ExchangingEncryptor.java:70)
         ... 20 more

  • AS2 over HTTPs

    Hello!
    Could anyone please help me with a AS2 configuration over HTTPs? We would like to send data to our partner.
    When I am activating HTTPs I am getting the following screen:
    Can anyone tell me which certificate is expected in the field "server certificate (keystore)"? Where should this certificate be stored?
    Does anyone know where to find a documentation for AS2 over HTTPs?
    Thank you!
    Regards
    Christian

    Hi Christian
    If you want to be able to see the actual filenames in the audit log, you can use this neat trick Unknown use case of DynamicConfigurationBean: Store file name to JMS header without mapping by Stefan Grube
    For this, you need to use a two step DynamicConfigurationBean instead of one, and use the write/read operations instead of the insert operation.
    Your processing sequence would be like this:
    1) Module name - AF_Modules/DynamicConfigurationBean, Module key - getFilename
    2) Module name - AF_Modules/DynamicConfigurationBean, Module key - setAS2Filename
    And the configuration parameters:    
    1) getFilename parameters:
    key.0           write http://sap.com/xi/XI/System/File FileName
    value.0        module.filename
    2) setAS2Filename parameters:
    key.0           read http://seeburger.com/xi/AS2 dtAS2FileName
    value.0        module.filename
    This will write and read the filenames from the DynamicConfiguration fields and store them into the adapter framework module variable. Note that the value in "value.0" can be any arbitrary value but needs to have the prefix "module.", example "module.var1"
    Using this approach, you would be able to see that actual value from the dynamic configuration header being stored into the module variable. An example below (note again that my scenario is in the reverse order, i.e. AS2 File Name --> FTP File Name)
    Rgds
    Eng Swee

  • 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.

  • WCCP on ASA for FTP over HTTP

    Hello,
    We have a WSA appliance that we have in explicit mode and want to configure as transparent. The protocols we cache and analyze with WSA are HTTP, HTTPS, native FTP and FTP over HTTP.
    Is there a service number on WCCP for FTP over HTTP protocol? Or it is included within HTTP?
    Thanks a lot in advance.
    Best regards,
    Igor

    Igor,
    The service number 60 (ftp-native service) only applies  to transparent redirection of FTP native requests and does not apply to  FTP-over-HTTP requests.
    On the other hand; the Content Engine listens for redirected HTTP  requests on the standard HTTP port (default port 80). To enable the  Content Engine to listen for WCCP-intercepted HTTP traffic on ports  other than the default port, configure the custom-web-cache service (98 and 99) or a  user-defined WCCP service (services 90 to 97).
    I hope this helps.
    Regards,
    Juan Lombana
    Please rate helpful posts.

  • Design Choices and is LiveCycle needed? best practices for using RTMP/AMF over HTTP/XML communicatio

    Hi,
    I am new to flex/RIA. I am exploring different design choices especially in client server communication. On client side we will be using Flash based RIA (using Actions scripts).
    There will be some simple forms (like for login, registration, payments etc) and some simple reports including with several graphs and charts. Each chart might have 1000 to 1500 data points etc. There are not video or audio content as such. On server side we have Servlets, java API and some EJBs to provide the business logic and real time prices/content (price update is usually every 10 seconds) /data. Some of the content will be static as well.
    I have following questions in my mind. Is it worth it to use RTMP/AMF channels for the followings?
    1. For simple forms processing (Mapping Actions scripts classes to Java classes). Like to display/retrieve/update data for/from registration forms.
    a. If yes, why? Am I going to be stuck with LCDS? Is it worth it? What could be the cons for heavy usage/traffic scenarios
    b. If not what are the alternates? Should I create the web services? Or only servlets are sufficient (ie. Only HTTP+Java based server side with no LCDS+RTMP+AMF)? All forms need to communicate on secure channel.
    2. For pushing the real time prices/content which we may need to update every 15 seconds on user interface using graphs and charts. Can I do it with some standard J2EE/JMS way with RIA (Flex) on front-end? i.e. Flash application will keep pulling data from some topic. Data can be updated after few secs or few minutes which cant be predicted.
    3. Are there any scalability issues for using RTMP? What happens if concurrent users increase 10 times within a year?
    4. What are the real advantages of using RTMP/AMF instead of simple HTTP/HTTPS probably using xml based objects
    5. Do I need to use LCDS if I am using AMF only on client side? Basically I mean if I am sending an object in form of xml from a servlet. Can some technology in Flash (probably AMF) in client side map it an Action script object?
    6. What are the primary advantages of using LCDS in a system? Is there any alternate solutions? Can I use some standard solutions for data push technologies?
    I would like that my server side implementation can be used by multiple types of clients e.g. RIA browser based, mobile based, third party software (any technology) etc.
    I appreciate if you can kindly refer me to some reading materials which can help me deciding the above. If this is not the right place to post this message then please do refer me to the place where I can post such questions.
    Thanks and Kind regards,
    Jalal

    Hi Jalal,
    Let me see if I can help with some of your questions
    1. Yes, you can use LCDS for simple forms processing. Any time you want to
    move data between the Flex client and the server, LCDS (or its free Open
    source cousin BlazeDS) is going to help. I would expect you would use the
    mx:RemoteObject MXML tag to invoke server side code, passing it the form
    data input by the application user.
    2. If you need to push near real-time data, LCDS gives you the RTMP channel
    which can scale quite nicely. You can then use the mx:Consumer MXML tag to
    subscribe the clients to the messages, which can come from almost anywhere,
    include JMS topics or queues.
    3. RTMP (included in LCDS) is the best option for scaling to tens of
    thousands of users and the LCDS servers can be clustered to proved better
    scaling.
    4. The AMF3 protocol used over the RTMP channels performs much faster than
    simple XML over HTTP. See this blog posting for some tests:
    http://www.jamesward.org/census/.
    5. If you are sending a Flex application XML, then I would recommend using
    the E4X API to work with the XML. This is a pretty nice and powerful way to
    work with XML. If you want Actionscript objects (and probably better
    performance), then using AMF serialization to Actionscript objects is the
    way to go.
    6. Primary advantages? There are many, but mainly you can avoid thinking
    about the plumbing and concentrate on solving your application and business
    logic problems.
    Hope this helps you a little
    Tom Jordahl
    Adobe

  • ACNS 5.5 / Troubleshooting bad quality VIDEO (MMS-over-http)

    Hello community,
    For an unexplanable reason I have to deal with an ACNS problem which is not my domain at all ! ACNS 5.5.15 is on a WAE-512-K9 working with CDM.
    Please can someone advice me on how to start the basic troubleshooting steps on the following issue :
    ============================
    - Users in Sydney are complaining of bad quality when they watch a video from an Intranet server in Frankfurt.
    Video flow has bad quality (buffering ..) and/or stops before the end of the video.
    - Users browsers are configured to use the WAE as local proxy on ports 3129 (.pac file). Requested Video on the intranet is in the Windows Media format and flows are MMS-over-http.
    - No multicast distribution is used, neither content pre-positioning.
    ============================
    We did a wireshark trace on the user PC watching a video which ends up unexpectidely with error code 500 => We follow the TCP stream, Time/Sequence graph is linear until ACNS sent [PSH,ACK] tcp flags to the user PC. Then PC answers with [FIN, ACK] etc...and the stream ends.
    I have checked the show-tech (i have attached some commands from the sh tech)  especially TCP statistics but I do not if the values are normal or not.
    I am thinkink to open a TAC case but before contacting Cisco I prefer to try some basic tests if they can help.
    Any recommendation on how to start a troubleshoot or any advice would be gretly appreciated.
    Thanks.
    Karim

    Hi Defcom,
    Thanks for the quick reply. I have tried changing and resetting the bandwidth limits at both ends last week at both ends but no joy!
    I am going to try the solution on the Gerry's link above later but have to wait for my brother to be free as he has an airport as well(had a baby yesterday (hence why we are setting this up)).
    Dave

Maybe you are looking for