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

Hello

I want to run JMS over HTTP, because of the firewall.

My environment:

-Windows 7 64 bit
-Java EE 6 SDK (Glassfish 3, java_ee_sdk-6u4-jdk7-windows - x 64 .exe installer)

Following the instructions (Guide of Administration of Oracle GlassFish Server Message queue, support HTTP/HTTPS), I did as follows:

1 - editing default.properties (in my D:\usr\Glassfish3\mq\lib\props\broker\default.properties folder) by adding 'httpjms' to imq.service.activelist, so I have:

# List of active services, launched at startup
IMQ.service.activelist = JMS, admin, httpjms

2 - updated the server.policy file (in my case D:\usr\Glassfish3\glassfish\domains\domain1\config\server.policy) by adding at the end:

give the code "file:${com.sun.aas.installRoot}/glassfish/domains/domain1/applications/imqhttp/-" {}

permission java.net.SocketPermission «*»,
'connect, accept, resolve';

};

3 - I don't, then using the Glassfish administration Console (listening on port 4848), deployed the application packaged in the WAR (the WAR file from D:\usr\Glassfish3\mq\lib) imqhttp.war file, by using "imqhttp" as the name of the context root.

4.-j' I then invoke URLS http://127.0.0.1:8080/imqhttp/tunnel and get the following back:

HTTP tunneling servlet ready.
Servlet start time: Wed Jul 04 19:28:01 CEST 2012
Accepts the brokers on port TCP connections: 7675
Total available brokers = 1
List of Broker:
Antec:imqbroker

Important: I had to restart everything, including Windows to get the broker in the broker list.

...uh !!???!! .. .it just shows that the validation to the groups of discussion and sharing are awesome... yesterday, I couldn't this work, I had nothing in my list of broker and a bunch of exceptions when you try to post a message... I swear to you that I restarted Glassfish several times... now it works very well, and in the meantime, the only thing that I did is restart the PC...

In any case, I keep the post, it might be useful to someone.

Subsequently

Varus

The new broker imq.service.activelist property setting take effect, if the jms BUILT-IN (default) service is used, the GlassFish server needs to be restarted; otherwise, the broker process must be restarted. If the JMS (INTEGRATED mode) in the GlassFish server service has not been started (because of GlassFish JMS lazy init - default), run "asadmin jms-ping" will start the broker integrated into GlassFish server.

Tags: Java

Similar Questions

  • Plugin to support MS Exchange Server receive emails via RPC over HTTPS

    Hi all

    I have small problem, in our field in the future Exchange is only open for communication via HTTPS.

    At the same time, POP3 and IMAP are turned off.

    Is there a plugin that allows to use RPC over HTTPS to the reading emails?

    Michael

    Problem solved with the workaround: http://davmail.sourceforge.net/

  • HTTP tunneling signature for 4.1.4 s139

    Lately, I've been a number of what appear to be false positive event for the http-tunnel SubSig 3 event trigger (ID: 5188)

    the event should trigger when/index/html? shit is detected on an HTTP request.

    but the alarm to this URL http connections

    "GET http://www.ultralingua.net/index.html?action=define&sub=1&searchtype=stemmed&text=crappy&service=english2english HTTP/1.0".

    This seems to be a legitimate connection to the web site

    Thank you for that bring to our attention. We investigate this issue and we will update this thread as soon as possible.

  • XML over HTTP

    I download a XML over HTTP. The extension is .php, but it fully contains XML data. The Chrome browser, it shows me - exit iterpreted content defined in XML instead of the Tags etc. However, on IE, I can see XML.

    Now in my BlackBerry (curve 8900) application in the connectivity of BIS - B, I get the result interpreted as in Chrome and it of course cannot be parsed.

    But if I save the same PHP file (with XML inside) as .xml and do the process above, it works fine - I get XML proper.

    Could you please someone indicate why this is happening and how can I solve it?

    Well it's rubbish isn't.

    Because I assume that your server sends the same data, it appears then that is to be converted by the BIS-B gateway.

    You can check all the Http headers you receive to see if you can see a difference.  I suspect that the server sends a different Content Type in each case, and the gateway that uses to decide that it can reformat the data.

    Otherwise, you might be able to define a header on your application which will stop the bridge BIS-B change the answer.  You might find something like those coded in this Thread to work for you.

    http://supportforums.BlackBerry.com/T5/Java-development/Vodafone-UK-wav-file-downloading-problem/m-p...

    You can also review this article:

    Support - HTTP transmits incorrectly when includes a User-Agent 'BlackBerry '.
    Article number: DB-00600
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/support...

    And you might find something interesting here:

    http://supportforums.BlackBerry.com/T5/Java-development/direct-TCP-and-WAP-2-0-connection-problems-c...

    Let us know how you go.

  • Taking over Http in Blackberry

    Hello

    How to reach the socket on the connection Http (SOHT) connection in Blackberry devices?

    Help, please

    My understanding of this is not an outlet running over an http connection.  Who uses an http request to transfer the payload to the device rather than using a power outlet.  So, these are some alternative mechanisms, treated differently on the server and the device, not the layers of alternative communication.

    A difference between a socket connection and http is connection - socket is continuous, http is not.  You will see from here:

    http://www.operamini.com/Help/FAQ/#http-socket

    If Exchange you it for an http connection, you lose the connection continues. This confirms, as far as I'm concerned, that Opera mini did not use the socket over http.

  • ODIInvokeWebservice for ssl over http

    Hi all

    I am tempted to invoke a Web service that is ssl over http from the studio of ODI and receive error below.

    I use the ODI Version is: Build ODI_11.1.1.7.0_GENERIC_130302.2156

    Measures have already tried:

    1. Service SOAP-UI successfully tested.
    2. WSDL is available on the browser.
    3. Tried to test after configuration proxy http server in ODI ide with details of the appropriate proxy server (a similar setup as in step 1 and step 2).
    4. Tried the update of ide.conf with VM options below
      1. AddVMOption - Dhttps.proxyHost = www-proxy.uk.oracle.com
      2. AddVMOption - Dhttps.proxyPort = 80
      3. AddVMOption - Dhttp.proxyHost = www-proxy.uk.oracle.com
      4. AddVMOption - Dhttp.proxyPort = 80

    I am getting below error:

    1. com.sunopsis.wsinvocation.SnpsWSInvocationException: com.sunopsis.wsinvocation.SnpsWSInvocationException: unable to connect

    at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:95)

    at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:126)

    to com.sunopsis.graphical.wsclient.RequestWsPane$ 17.doInBackground(RequestWsPane.java:1669)

    to com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$ 1.call(SwingWorker.java:240)

    at java.util.concurrent.FutureTask.run(FutureTask.java:262)

    at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:278)

    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)

    at java.lang.Thread.run(Thread.java:744)

    Caused by: com.sunopsis.wsinvocation.SnpsWSInvocationException: unable to connect

    at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsParserImpl.setWsdlUrl(OdiJaxwsParserImpl.java:163)

    at com.sunopsis.wsinvocation.client.WebServiceFactory.getParserIstance(WebServiceFactory.java:89)

    ... 7 more

    Caused by: javax.net.ssl.SSLException: message unrecognized SSL, plaintext connection?

    at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:671)

    at sun.security.ssl.InputRecord.read(InputRecord.java:504)

    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)

    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)

    at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)

    at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)

    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)

    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)

    at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)

    at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)

    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)

    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)

    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)

    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)

    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)

    at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsParserImpl.setWsdlUrl(OdiJaxwsParserImpl.java:126)

    ... 8 more

    This looks like a bug to me. IDE seeks to communicate via SSL on regular connection.

    There is no reserved space in the IDE to provide details of SSL proxy.

    Please let me know if someone is facing this problem.

    Thank you guys.

    Obtained after application of Patch 16301360 patch available on work support.

    Concerning

    Vivek

  • Muse in the preview is not working. Doesn't have a prior view. Cannot establish a connection over HTTP. How can I fix? Antivirus protection does not block. Firewall disabled

    Muse in the preview is not working. Doesn't have a prior view. Cannot establish a connection over HTTP. How can I fix? Antivirus protection does not block. Firewall disabled

    Sorry I forgot to paste the link in the previous answer,

    Here's the link - Preview fails in muse

    Kind regards

    _Ankush

  • Failed to start the computer over HTTP: Error 1000

    I'm testing an upgrade from version 2.9 to 2.10 so I can upgrade our 6.0u2 ESXi hosts to solve the problem of multiple appstacks slow attachment.  However, I get this error on half of my offices.  I tried both 2012R2 and for the administration server 2008R2.  It is installed with local SQL.  Desktop computers are Windows 7, floating pool linked clone.  Looks like that in the beginning it shows a "HttpInitializeRequest: status response 200 Manager (2 bytes) ': OK ' but try again"computer startup on HTTP failed: Error 1000 ".  Once virtualization fails is disabled and no appstacks cling.

    I have logs from two desktop computers, a successful failure:

    In case of failure:

    [19:24:58.937 2016-03-25 UTC] [svservice:P828:T856] OnCreateSession called (CF 000000000036, 50, Params 0000000000F6E840, context 0000000000000000 manage the ID from Session 1)

    [19:25:01.862 2016-03-25 UTC] [svservice:P828:T312] Computer (Microsoft format) UUID: F6A62A42-87FE-778B-EA05-F56BBADBCD04

    [19:25:01.862 2016-03-25 UTC] [svservice:P828:T312] Computer (VMware format) UUID: 422aa6f6-fe87-8b77-ea05-f56bbadbcd04

    [19:25:01.862 2016-03-25 UTC] [svservice:P828:T312] Initialize the HTTP session

    [19:25:01.871 2016-03-25 UTC] [svservice:P828:T312] Initialize the HTTP connection

    [19:25:01.871 2016-03-25 UTC] [svservice:P828:T312] Shuffing 1 Manager (s)

    [19:25:01.892 2016-03-25 UTC] [svservice:P828:T312] IsDomainJoinedComputer: NetGetJoinInformation() success, BUSINESS domain name and type is 3

    [19:25:01.921 2016-03-25 UTC] [svservice:P828:T312] Seed URL: / pre-startup? name = svservice & to uuid = 422aa6f6-fe87-8b77-ea05-f56bbadbcd04 & to status = 0 & osver = 6.1.7601 & to sp = 1.0 & suite = 256 & product = 1 & to arch = 9 & proc = 1 & to agentver = 2.10.0.871U & area = SOCIETY & to workstation = AV210TSTPA01 & machinesid=S-1-5-21-2909739094-3781615540-3712082287

    [19:25:01.921 2016-03-25 UTC] [svservice:P828:T312] [0] access appvtest.COMPANY.com:80 via HTTP (attempt 1)

    [19:25:02.301 2016-03-25 UTC] [svservice:P828:T312] HttpReadAllAvailableData: Error 0 in WinHttpQueryDataAvailable: dwSize 0

    [19:25:02.301 2016-03-25 UTC] [svservice:P828:T312] HttpInitializeRequest: Response Manager status 200 (2 bytes): OK

    [19:25:02.301 2016-03-25 UTC] [svservice:P828:T312] LogonMount: agent: 0 Manager: 0 or to attach the volumes

    [19:25:02.347 2016-03-25 UTC] [svservice:P828:T312] IsDomainJoinedComputer: NetGetJoinInformation() success, BUSINESS domain name and type is 3

    [19:25:02.358 2016-03-25 UTC] [svservice:P828:T312] Computer start URL: / computer startup? name = svservice & uuid = 422aa6f6-fe87-8b77-ea05-f56bbadbcd04 & status = 0 & osver = 6.1.7601 & sp = 1.0 & suite = 256 & product = 1 & arch = 9 & proc = 1 & agentver = 2.10.0.871U & area = COMPANY & workstation = AV210TSTPA01 & seed = 1 & machinesid=S-1-5-21-2909739094-3781615540-3712082287

    [19:25:02.358 2016-03-25 UTC] [svservice:P828:T312] [0] access appvtest.COMPANY.com:80 via HTTP (attempt 1)

    [19:30:01.666 2016-03-25 UTC] [svservice:312] WinHttpReceiveResponse the timeout of waiting for response

    [19:30:01.666 2016-03-25 UTC] [svservice:P828:T312] Retrying in 5 seconds (expected 300 seconds on 300 max)

    [19:30:06.662 2016-03-25 UTC] [svservice:P828:T312] Abandonment of application HTTP after having exceeded the time limit (300 seconds)

    [19:30:06.662 2016-03-25 UTC] [svservice:312] Failed to start the computer over HTTP: Error 1000

    [19:30:06.662 2016-03-25 UTC] [svservice:P828:T312] HttpComputerStartupThread: failure (starting the computer)

    Successful operation:

    [19:24:58.843 2016-03-25 UTC] [svservice:P820:T852] OnCreateSession called (Session ID 1, 00000000003CFB60, Params 0000000000F4E880 0000000000000000 context handle)

    [19:25:01.251 2016-03-25 UTC] [svservice:P820:T560] Computer (Microsoft format) UUID: 72F62A42-0EF6-DBCA-0BE1-DF5682A376C5

    [19:25:01.251 2016-03-25 UTC] [svservice:P820:T560] Computer (VMware format) UUID: 422af672-f60e-cadb-0be1-df5682a376c5

    [19:25:01.251 2016-03-25 UTC] [svservice:P820:T560] Initialize the HTTP session

    [19:25:01.262 2016-03-25 UTC] [svservice:P820:T560] Initialize the HTTP connection

    [19:25:01.262 2016-03-25 UTC] [svservice:P820:T560] Shuffing 1 Manager (s)

    [19:25:01.265 2016-03-25 UTC] [svservice:P820:T560] IsDomainJoinedComputer: NetGetJoinInformation() success, BUSINESS domain name and type is 3

    [19:25:01.584 2016-03-25 UTC] [svservice:P820:T560] Seed URL: / pre-startup? name = svservice & to uuid = 422af672-f60e-cadb-0be1-df5682a376c5 & to status = 0 & osver = 6.1.7601 & to sp = 1.0 & suite = 256 & product = 1 & to arch = 9 & proc = 1 & to agentver = 2.10.0.871U & area = SOCIETY & to workstation = AV210TSTPA02 & machinesid=S-1-5-21-2909739094-3781615540-3712082287

    [19:25:01.584 2016-03-25 UTC] [svservice:P820:T560] [0] access appvtest.COMPANY.com:80 via HTTP (attempt 1)

    [19:25:02.039 2016-03-25 UTC] [svservice:P820:T560] HttpReadAllAvailableData: Error 0 in WinHttpQueryDataAvailable: dwSize 0

    [19:25:02.039 2016-03-25 UTC] [svservice:P820:T560] HttpInitializeRequest: Response Manager status 200 (2 bytes): OK

    [19:25:02.039 2016-03-25 UTC] [svservice:P820:T560] LogonMount: agent: 0 Manager: 0 or to attach the volumes

    [19:25:02.161 2016-03-25 UTC] [svservice:P820:T560] IsDomainJoinedComputer: NetGetJoinInformation() success, BUSINESS domain name and type is 3

    [19:25:02.180 2016-03-25 UTC] [svservice:P820:T560] Computer start URL: / computer startup? name = svservice & uuid = 422af672-f60e-cadb-0be1-df5682a376c5 & status = 0 & osver = 6.1.7601 & sp = 1.0 & suite = 256 & product = 1 & arch = 9 & proc = 1 & agentver = 2.10.0.871U & area = COMPANY & workstation = AV210TSTPA02 & seed = 1 & machinesid=S-1-5-21-2909739094-3781615540-3712082287

    [19:25:02.180 2016-03-25 UTC] [svservice:P820:T560] [0] access appvtest.COMPANY.com:80 via HTTP (attempt 1)

    [19:25:03.111 2016-03-25 UTC] [svservice:P820:T560] HttpReadAllAvailableData: Error 0 in WinHttpQueryDataAvailable: dwSize 0

    [19:25:03.111 2016-03-25 UTC] [svservice:P820:T560] HttpInitializeRequest: Response Manager status 200 (34 bytes): START COMPANY\AV210TSTPA02$

    [19:25:03.112 2016-03-25 UTC] [svservice:P820:T560] HttpComputerStartupThread: managed (starting the computer)

    [19:25:03.112 2016-03-25 UTC] [svservice:P820:T560] LogonMount: agent: 0 Manager: 0 or to attach the volumes

    Just curious, it's someone else is seeing this with 2.10 and if you have, how solve you this problem?

    If you are using some kind of power management on the VDI? It seems as if the machine is unable to reach the HTTP Appvolumes service for any reason any newspaper which shows success connects withion a fraction of a second if the server doesn't seem to be to busy.

    Maybe you try to join an appstack that has some sort of firewall inside rule?

  • Mixed content: the page at... has been loaded over HTTPS, but asked a stylesheet unsecured

    Hello

    Whenever I export my site, I've got this wrong:

    Mixed content: the page to ' https://UK.globalgig.com/index.html "was loaded over HTTPS, but asked a untrusted style sheet" http://fonts.googleapis.com/CSS?family=Maven%20PRO '. This request has been blocked; the content should be served over HTTPS.

    How should I do?

    Thank you.

    Lisa

    Hello Lisa,.

    You get this error because your site domain name is https:// and the section of your site called a style sheet for a font, a path not https:// ('http://fonts.googleapis.com/css?family=Maven%20Pro'.)

    To avoid this, you need to make sure that the url of the link that points to the stylesheet of the police has also https:// inside. If you have entered this code manually and then change the code and upload it to the server. Where the code is generated via a widget and then contact the developer of the widget to the correction of the code.

    I can see that the two ("http://fonts.googleapis.com/css?family=Maven%20Pro".)  and ("https://fonts.googleapis.com/css?family=Maven%20Pro".) are links to work with the same information, so it should not be issue after updating to https://



    Kind regards

    Vivek

  • How can I have my partner over HTTPS messages

    My partners want to send messages over HTTPS and I can't see what follows in one of the threads. It is good even for HTTP (S) or the HTTP protocol?

    "or cannot create channel listen HTTP." There is a channel to listen to HTTP to default you should use-

    http://hostname:soa_server_port/b2b/httpReceiver or http://hostname:soa_server_port/b2b/transportServlet

    Your remote TP may publish documents to the URL above.
    "

    Thank you
    Vincent

    Vincent,

    It is true for HTTPS as well. The partner must validate documents on the url (if SSL is enabled on the server of SOA)-

    https://hostname:soa_server_port/b2b/httpReceiver or https://hostname:soa_server_port/b2b/transportServlet

    If you use any off-loader SSL for your front door, then the host and the port will change accordingly.

    Kind regards
    Anuj

  • Can not activate changes after activation HTTP Tunneling

    Hi Techies,

    I'm stuck with OOM while activating the changes after activate us HTTP Tunneling on our PROD environment. using the administration console. Tried to do through WLST aswell but without success. It worked fine on UAT. I wonder why it is not on the PROD. I copy the stack for your reference. Any suggestions on this?


    # < 26 April 2012 0:01:51 EDT > < error > < Console > < machine01 > < AdminServer > < ExecuteThread [ASSET]: '1' for the queue: '(self-adjusting) weblogic.kernel.Default' > < wlsadmin > <><>< 1335412911650 > < BEA-240003 > < Console met the following error weblogic.management.provider.UpdateException: [management: 141191] the phase of preparation of the configuration update failed with an exception :
    at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.updateDeploymentContext(RuntimeAccessDeploymentReceiverService.java:652)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doUpdateDeploymentContextCallback(DeploymentReceiverCallbackDeliverer.java:133)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.updateDeploymentContext(DeploymentReceiverCallbackDeliverer.java:27)
    at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.callDeploymentReceivers(ReceivedPrepare.java:203)
    at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.handlePrepare(ReceivedPrepare.java:112)
    at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.receivedPrepare(ReceivedPrepare.java:52)
    at weblogic.deploy.service.internal.targetserver.TargetRequestImpl.run(TargetRequestImpl.java:211)
    to weblogic.deploy.service.internal.transport.CommonMessageReceiver$ 1.run(CommonMessageReceiver.java:410)
    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: means: allocLargeObjectOrArray - size of the object: 2106432, elements of Num: 2106409

    at java.util.jar.JarFile.getBytes(JarFile.java:358)
    at java.util.jar.JarFile.initializeVerifier(JarFile.java:317)
    at java.util.jar.JarFile.getInputStream(JarFile.java:386)
    to sun.misc.URLClassPath$ JarLoader$ 2.getInputStream(URLClassPath.java:689)
    at sun.misc.Resource.cachedInputStream(Resource.java:59)
    at sun.misc.Resource.getByteBuffer(Resource.java:155)

    If the OOM error occurs when you deploy for the first time, so we cannot really do much here rather than the two options below:
    1. If it's a great app, then split the application into multiple parts if this is possible, if the application has several modules.
    2 increase the bunch of 1.7 GB and hope that the slight increase will solve the problem.

    If the error occurs after several OOM earthwards, there is a possibility that you hit a bug.
    There are a few bugs of redeployment in WLS10.0. You can request a fix via a request for service support (SR)
    Once again remember that these are bugs related to redeployment only.

    Arun

  • Can Flash plug-in connects directly (or faster) with RTMP over HTTP?

    I connect FMS on RTMP for a network firewall where RTMP is blocked.

    Connection to my server FMS there takes (too loooooooooooooooooooong) a minute before the Flash client spend RTMP to encapsulated RTMP in HTTP.

    Is it possible to pass this time, or is this a plugin internal behavior that cannot be shortened?

    Thanks for the help,

    François

    The best approach is to trigger three NetConnection instances, each one targeting a different port/protocol:

    var nc1:NetConnection = new NetConnection();

    var nc2:NetConnection = new NetConnection();

    var nc3:NetConnection = new NetConnection();

    Add event listeners, etc.

    NC1. Connect ("rtmp://your_server/blah/blah"); port by default, 1935

    NC2. Connect ("rtmp://your_server:80/bla/bla"); ") RTMP port 80

    NC3. Connect ("rtmpt://your_server/blah/blah"); RTMP port 80 HTTP tunnel

    one who gets the "NetConnection.Connect.Success" victories and the other two cancel out. Brian Lesser talks about this approach in an old article on Adobe.com DevNet, and there's a certain way to go fire.

    HTH.

    -Robert

    --

    Robert Reinhardt

    Creator, videoRx.com

    Author, series Bible Flash and video for Adobe Flash CS4 Professional Studio Techniques

    Adobe Community Expert

    http://blogs.flashsupport.com/Robert

  • Flash Media Server 3 - Can RTMP and HTTP tunneling be set up?

    I have read a few forums posted here and also searched the Web widely but can not find a clear answer or get HTTP tunneling to work with Flash Media Server 3.

    Q1: Flash Media Server 3 can be configured for the Protocol RTMP and HTTP tunneling to work? The reason why I need to know if this will work is due to more and more customers report that the videos do not play for them, and I have concluded that these customers are sitting behind a firewall that has blocked port 1935. So I would like to set up the FLV playback control to try to spread the file on RTMP and if this does not work, use the HTTP protocol.

    Can someone please! Is there a whitepaper that you can tell me or even provide an example for me.

    Here is my asctionscript I've tried to make it work, but it does not.

    A few other notes are, the. The online FLVs in this folder: D:\Adobe\Flash Media Server 3\applications\vod\media

    The videos are recorded and then converted. FLV files and loaded into this folder.

    I have all hard coded below to try to get to operate this way first and thought that would be easier for you to help me. The ultimate solution is I use FLVPlayback control and transmit the location and. Name of the FLV file on the query string "http://www.Microsoft.com/downloads/details.aspx??" " VIDEO = rtmp://216.203.12.15/vod/flv. I pasted the code object * to show this example below the asctionscript.

    package
    {
    import flash.display.Sprite;
    import flash.filters.BlurFilter;
    Import fl.video.FLVPlayback;
    import flash.display.LoaderInfo;

    import flash.net.NetConnection;
    import flash.events.NetStatusEvent;
    to import flash.net.NetStream;
    import flash.media.Video;


    public class stream extends Sprite
    {
    var nc:NetConnection;
    var stream: NetStream;
    var playStream:NetStream;
    var video: Video;
    Variable that goes into .flv to query string
    var videoPath:String = «»

    public void Streams()
    {
    NC = new NetConnection();
    nc.addEventListener (NetStatusEvent.NET_STATUS, netStatusHandler);

    This is where I am trying to connect via RTMP and if it does not try RTMPT on port 80 HTTP

    NC. Connect ("rtmp://216.203.12.15/vod");

    NC. Connect ("rtmpt://216.203.12.15:80/vod"); ")

    }

    private void netStatusHandler(event:NetStatusEvent):void
    {
    trace ("connected is:" + nc.connected);
    trace ("event.info.level:" + event.info.level);
    trace ("event.info.code:" + event.info.code);

    Switch (event.info.code)
    {
    case "NetConnection.Connect.Success":
    trace ("congratulations! you are connected");
    connectStream (nc);
    createPlayList (nc);
    Instead you can also call createPlayList() here
    break;
    case "NetConnection.Connect.Failed":
    case "NetConnection.Connect.Rejected":
    trace ("Oops! the connection was rejected");
    break;
    case "NetStream.Play.Stop":
    trace ("the stream has finished playing");
    break;
    case "NetStream.Play.StreamNotFound":
    trace ("the server cannot find the stream you specified");
    break;
    case "NetStream.Publish.BadName":
    trace ("the name of the stream is already used");
    break;
    }
    }

    read a stream stored on the server
    private void connectStream(nc:NetConnection):void {}
    Stream = new NetStream (nc);
    stream.addEventListener (NetStatusEvent.NET_STATUS, netStatusHandler);
    Stream.client = new CustomClient();

    video = new Video();
    video.attachNetStream (stream);

    Stream.Play ("Peter_Christie_widescreen_bloomberg_hr", 0);
    addChild (video);
    }
    }
    }

    * OBJECT EXAMPLE TO SHOW HOW. FLV IS PASSED in THE QUERY STRING for WHICH THE FLVplayback control reads:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="480" height="440" id="MediaPlayer"> 
    <param name="movie" value="/Media/VideoPlayer_Large.swf?VIDEO=rtmp://216.203.12.15/vod/Peter_Christie_widescreen_bloomberg_hr&MM_ComponentVersion=1&autoPlay=false&autoRewind=true" />
    <param name="FlashVars" VALUE="rtmp://216.203.12.15/vod/Peter_Christie_widescreen_bloomberg_hr&MM_ComponentVersion=1&autoPlay=false&autoRewind=true" />
    <param name="allowScriptAccess" value="sameDomain" /> <param name="quality" value="high" />
    <param name="VIDEO" value="rtmp://216.203.12.15/vod/Peter_Christie_widescreen_bloomberg_hr&MM_ComponentVersion=1&autoPlay=false&autoRewind=true" />
    <embed src="/Media/VideoPlayer_Large.swf?VIDEO=rtmp://216.203.12.15/vod/Peter_Christie_widescreen_bloomberg_hr&MM_ComponentVersion=1&autoPlay=false&autoRewind=true" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" flashvars="&MM_ComponentVersion=1&autoPlay=false&autoRewind=true" type="application/x-shockwave-flash" width="480" height="440" name="MediaPlayer">
    </embed>
    </object>

    Assuming that your FMS is configured to bind to port 80, and there is nothing else on the binding of FMs machine to port 80 on the same IP address, your FMS should be ready to accept applications for tunnel using rtmpt on port 80 Protocol.

    Where you go wrong, this is how you make the connection in your client-side code. You don't want to connect several statements that you are... you want to do one, and then let the flashplayer running in its default login process, or set up a timer to manage failures of Protocol in your own code.

    When you call NetConnection.connect() without specifying a port (or an other rtmp Protocol) in the url, the flashplayer first attempts a connection rtmp on port 1935. If this fails, the flashplayer will automatically attempt a connection by tunnel via port 80. The status event will not be distributed until the Flashplayer Gets a successful login, or fails on all combinations of port/protocol. So, you just make a call to the connect() function.

    If you prefer to try combinations of port/protocol specific and define your own time-out, you can set the port/protocol in the url

    NC. Connect ("rtmp://myserver.com:1935/app/instance"); ")

    or

    NC. Connect ("rtmpt://myserver.com:80/app/instance"); ")

    When you set the port/protocol, the flashplayer will attempt to establish the connection on this port/protocol only and the status event based on this single attempt to shipping.

    So, if you don't want to rely on the flashplayer to treat this, you would first try rtmp/1935. In your State Manager, you inspect the event info.code property. If you don't get a successful connection, then try rtmpt/80

  • Dynamic authentication over HTTP

    Hi all

    I set myself up to Oracle Http Server (OHS) 11g and I have set up as HTTPS. I put my dads.conf for dynamic authentication file, and I was wondering if the prompt for the user name and password database was also over SSL?

    Thank you!

    Yes.

    Quote:
    "+ Authentication basis via an SSL connection, however, will be secure, since everything is going to be encrypted, including the user name and password. + »

    Source: http://httpd.apache.org/docs/1.3/howto/auth.html#basicworks

  • When you use a Proxy, FF4b12 unable to connect to websites over HTTPS

    Until including beta FF4b11 this behavior doesn't happen; using proxies was no problem at all. Since FF4b12 I can browse Web sites using HTTP, but is no longer using HTTPS. The proxy server uses the standard port 3128.

    A result of this. As far as I know, they seem to think that there are 2 or 3 different with the same symptoms or very similar problems, all involving proxies. They think that they have set their all for RC1.

    I passed along addresses but now, it seems that we just want to test an early version.

    You can get that here:

    http://ftp.mozilla.org/pub/mozilla.or.../Firefox-4.0b13pre.en-US.Win32.installer.exe

    Install this somewhere (not in your current installation directory), quit all instances of Firefox and try it. I would like to know if it works.

Maybe you are looking for

  • CEC_main.exe and TosIPCSrv.exe does not

    Error messages received at the start for these two files. "Cannot run CEC_main.exe... Please reinstall" and "TosIPCSrv.exe has stopped working and was closed..." "How can I sort this point, please? May be related to the installation of the toolbar fo

  • G25 CPU upgrade CPU G30?

    I read the post about a possible update the g30 dual-core for the new core 2 duo. I was wondering if anyone has heard of an upgrade of base unique in the G25 for the dual core, used in the G30/G35? I don't know that my only option is to sell this and

  • acquisition of signals from multiple cards simultaneously

    Hello I am trying to acquire the signal of my cards OR PXI simultaneously but having some difficulties to implement which. Here is my configuration: Installation of equipment: (1) chassis NI SMU-1071 (2) map of NI PXI - 4461-2 I / P and O/P 2 (3) map

  • Recently blocked the export key

    Hello I hope some can help me with one. I have been using Windows 7 Ultimate 64 bit for at keast 3 years with no problems until now. I recently went from 32 bit to 64 bit on the PC (which I did several times in the past with no problem), but now I am

  • Windows calling people at home and telling them that they have a problem and they will guide them through fixing it

    Got a call this morning asked them to remember.  Is this really windows calls or just another scam