Need opinions about RMI tunneling over HTTP please

My Tomcat Server wants to talk with a JBoss Server.
This communication has to go through a firewall, and I want to use
the HTTP tunneling function.
Can anybody please tell me if the HTTP tunnel has any disadvantages?
How big is the performanceloss?
Can anybody please give me a link how to do this? What configurations
do I have to do where?
Thanks!

you do not have to do anything special for this, if you do not want to.
All yours questions are answered here :
http://java.sun.com/j2se/1.3/docs/guide/rmi/spec/rmi-arch6.html

Similar Messages

  • Need opinions about using methods in-line

    Hello fellow SDNers,
    I have this piece of code where i use functional method as operand, string formatting options in-line et al. A friend of mine says it's not too descriptive.
      cl_demo_output=>display_text( |Laufzeit: { lcl_calc_laufzeit=>main(
                                                     im_date_from = p_begda
                                                     im_date_to   = p_endda )-count ALIGN = LEFT } Monat(e)| ).
    Is Too-little is just too confusing?
    I like in-line data declarations, functional methods because i feel they are more intuitive.
    What are your ideas/opinions about it?
    BR,
    Suhas

    Hi Suhas,
    when i was starting with C-programming, i was impressed by what you could achieve with just so little of actual coding.
    I thougt it was quite cool, when I managed to squeeze whole programs into just a few lines, using heavily nested ternary operators and for-loops.
    Well, they did what they where meant to do, but when after a while i had to alter one only gradually, it took me some time to rethink, what i myself had created not so long ago.
    Imagining how someone else would try to follow my line of thought, i came to the conclusion, that it was not so desireable, to squeeze the last bit of efficiency out of the characters that built the source-code, but that it could be far better, to enfold it, make it bigger, even less elegant, but allthemore easier to understand.
    Why do i tell you this?
    I seem to recognize a bit of the fascination, i felt myself, in your code sample. Letting you beeing carried away by possibility alone, does not necessarily lead to the best results on the long run.
    Back to your question - i'm afraid, your friend was right.
    You can do better, without loosing to much.
    Truth be told, i haven't done too much in the line of string templates and nested method calls yet.
    I have to admit, i'm challenged even to follow, what your sample exactly does. Nevertheless, i will dig in and discover whatever it may provide for me .
    Best regards - Jörg

  • A question about CRL retrieval over HTTP

    Hello
    All<o:p></o:p>
    Can
    someone please help me with the following question<o:p></o:p>
    At the moment I have a couple of Windows 2003 R2 Servers with Microsoft
    Certificate Services installed (e.g. domain joined enterprise CA infrastructure). <o:p></o:p>
    The CDP extension of issued certs contains both and LDAP path and HTTP path to retrieve the CRL
    the HTTP path being the standard <o:p></o:p>
    URL=http://<CAServer FQDN>/CertEnroll/ENTRootCA.crl<o:p></o:p>
    and LDAP being the usual location in AD<o:p></o:p>
    Now I need to turn off the 2003 R2 CA in the near future and want to be sure the
    clients requesting a CRL can still obtain the CRL.<o:p></o:p>
    The CARoot Cert is already distributed to all the workstations (as is the SubCA cert) to the usual containers.<o:p></o:p>
    The LDAP Path comes first in the list of CRL locations in the CDP extension followed by the URL location.<o:p></o:p>
    I know (believe) in general a UA (user agent i.e. WEB Browser) with check the list of CRL locations in turn and as long as it can reach one of them will be OK.<o:p></o:p>
    I am OK on the Windows side of things but we also have a UNIX/Linux environment (like most companies) that also utilize certificates issued by the MS CA’s therefore their respective UG will
    (or should that be might) check the CRL via
    the CDP.<o:p></o:p>
    If I turn off the CA then the HTTP path in the CDP will no longer be available (LDAP will still be available).<o:p></o:p>
    I just want to check if there are any UG out on the network using HTTP to retrieve the CRL, so I was thinking about checking one or more logs on the CA for HTTP traffic regarding CRL retrieve.<o:p></o:p>
    Questions<o:p></o:p>
    Is CRL retrieval from the CA (via the default HTTP path) logged in any of the CA
    Logs?
    If so which logs?
    If not logged by default can I turn up logging (i.e. I see there is a Debug option) and if so will this then log HTTP CRL retrieval requests (e.g. clients IP address making the http request)?<o:p></o:p>
    I just want to check this in case some UNIX/Linux UG are not trying LDAP first or cannot retrieve via LDAP and therefore have to reply on Http before I turn on the CA <o:p></o:p>
    Thanks
    all in advance<o:p></o:p>
    AAnotherUser__<o:p></o:p>
    AAnotherUser__

    (same text, formatted better)
    Hello All
    Can  someone please help me with the following question
    At the moment I have a couple of Windows 2003 R2 Servers with Microsoft
    Certificate Services installed (e.g. domain joined enterprise CA infrastructure).
    The CDP extension of issued certs contains both and LDAP path and HTTP path to retrieve the CRL
    the HTTP path being the standard
    URL=http://<CAServer FQDN>/CertEnroll/ENTRootCA.crl
    and LDAP being the usual location in AD
    Now I need to turn off the 2003 R2 CA in the near future and want to be sure the
    clients requesting a CRL can still obtain the CRL.
    The CARoot Cert is already distributed to all the workstations (as is the SubCA cert) to the usual containers
    The LDAP Path comes first in the list of CRL locations in the CDP extension followed by the URL location.
    I know (believe) in general a UA (user agent i.e. WEB Browser) with check the list of CRL locations in turn and as long as it can reach one of them will be OK
    I am OK on the Windows side of things but we also have a UNIX/Linux environment (like most companies) that also utilize certificates issued by the MS CA’s therefore their respective UG will
    (or should that be might) check the CRL via
    the CDP
    If I turn off the CA then the HTTP path in the CDP will no longer be available (LDAP will still be available).
    I just want to check if there are any UG out on the network using HTTP to retrieve the CRL, so I was thinking about checking one or more logs on the CA for HTTP traffic regarding CRL retrieve.
    Questions
    Is CRL retrieval from the CA (via the default HTTP path) logged in any of the CA
    Logs?
    If so which logs?
    If not logged by default can I turn up logging (i.e. I see there is a Debug option) and if so will this then log HTTP CRL retrieval requests (e.g. clients IP address making the http request)?
    I just want to check this in case some UNIX/Linux UG are not trying LDAP first or cannot retrieve via LDAP and therefore have to reply on Http before I turn on the CA
    Thanks all in advance
    AAnotherUser__
    AAnotherUser__

  • Need example for reliable messaging over http in oracle service bus 10g

    Hi
    i want to setup the reliable proxy service that will poll the end system if it is down and send msg when it is up
    i dnt kw how to do it.
    i used WS-policy XML and set out the timeout interval and all other properties.
    and used WS transport protocol in proxy service.
    but when i request if wait for the timeout i have specified in WS-policy and than show this msg
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>
         BEA-381412: Conversation timed out.
    weblogic.messaging.saf.SAFTransportException: Send failed
         </faultstring>
         <detail>
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-381412</con:errorCode>
         <con:reason>
         Conversation timed out.
    weblogic.messaging.saf.SAFTransportException: Send failed
         </con:reason>
         <con:location>
         <con:node>RouteTo_testwsrmbix</con:node>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>
    It does not send even a single request to the end system.
    I want it like :
    when i make my end system down it must wait for timeout interval and than send the request when system is up
    PLease help me,its urgent.
    i have simple create a web service and using the wsdl to use my end system

    This exam is currently not available. It will become available again in approximately 8 weeks. You can view the exam topics to begin preparing for this exam on the exam details page http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_org_id=&lang=&p_exam_id=1Z0_451.
    There are currently no sample questions available for this exam. You will need to use the exam topics to prepare.
    Regards,
    Brandye Barrington
    Certification Forum Moderator
    Certification Program Manager

  • Need opinions about PSU

    Hello there,
    I am a owner of MSI i865PE NEO2 LS mother board with P4 2.4GHz(800) Northwood CPU, 2x 256MB RAM and GF4 Ti4200
    This system is giving me headackes from day one, and for 3 years now. It is great and stable system, but there is one little dissadvantage. AGP, PCI and MEM slots. They are not welded properly and causing system crashes if there is a slight changes. Basicaly you must leave tha chassis alone and not try to upgrade if you want to boot it up... That's my experience with my MB.
    I've changed PSU cuple of times, because I thought PSU is the cause of system crashes, but recently I realized that it is the AGP slot.
    But this isn't the issue now. The problem I am dealing with now is PSU. When I turned on my PC, Windows XP gave me a blue screen od death, and when I restarted the system went to Windows normaly. But I have realized that one of my CD Drives is not working, I could not open the CD Drive to put a CD in. Then I pluged out the power core and used another one, and when started the system it booted normaly and I could open the CD Drive.
    My question is. What could cause this? Is it possible that the PSU overheated or is it near it's fail period and I must consider in buying a new one. PSU is as old as system (3 years)
    A nother issues I am having are system lockups, but i believe it's the heat... It is summer and it is realy hot in my room ,even system temps are near 44°C, they used to be 36-38.
    Is it possible that the PSU is heating the system to much, and maybe dust is the cause of overheating.
    Thanx you all..

    For 3 years, only until now you said it gave you headaches...
    System temp is pretty high. Also clean up all the dust in the chassis, including all the fans- CPU, chipset, graphics cards and PSU fan, not sure if you could clean it up. Try cleaning up everything first. There are lots of dust trapped in the fins of the heatsink, clean all of them. Also, reapply CPU Thermal grease on your CPU. Clean it up first before you apply the new thermal grease.

  • Using Business Service that supports XML over HTTP in OSB

    Hi,
    I needed to integrate my system with another legacy system that supports communication only through XML over HTTP. I am just trying to understand much about this XML over HTTP. I think in OSB, this is possible only possible through REST interfaces.
    Is there any other way and what about HTTP bindings in WSDLs? can you please let me know if you have any insights.
    I have gone through the urls about REST interfaces given in these forums. But just wanted to confirm the following scenaiors possible in OSB.
    - Client will connect to SOAP based proxy service which will in turn call REST based business service.
    - Client will connect to REST base proxy service which will in turn call SOAP based business service.
    Following point is not clear from the URLs i went through so just wanted to confirm the following too:
    - Client will connect to REST base proxy service which will in turn call SOAP based business service. And is it possible to add anything in soap header before calling soap based business service..
    Thanks & Regards
    Siva

    Hi Siva,
    XML over HTTP is a general use case and OSB supports it very well. REST is a special case and should be used when required. To know more about REST you may refer -
    http://www.infoq.com/articles/rest-introduction
    Now coming to OSB, SOAP and simple XML are two different cases. If you are creating XML type service then it is not binded to a WSDL/XSD but SOAP based service should always be binded with a WSDL. You may add/modify transport headers in OSB.
    Evaluate your requirements and then decide what exactly you need to use. Few links which may be of your use -
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/configuringandusingservices.html#wp1150438
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/configuringandusingservices.html#wp1154255
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/configuringandusingservices.html#wp1141071
    section "Configuring Business Services using the HTTP Transport" here - http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/httppollertransport/transports.html#wp1083292
    http://blogs.oracle.com/jeffdavies/2009/06/restful_services_with_oracle_s_1.html
    http://blogs.oracle.com/jamesbayer/2008/07/using_rest_with_oracle_service.html
    Regards,
    Anuj

  • Troubleshooting for RPC over https (Outlook Anywhere) connection issue

    RPC over https (ROH), well known as Outlook Anywhere, is more frequently used. Even in Exchange 2013, Outlook no longer connects CAS server via MAPI.
    In this thread, we will discuss about the troubleshoot checklist about the RPC over https (Outlook Anywhere) connection issue. In order to make it more logical, I’d like to divide the whole troubleshooting to the following processes:
    1. Client side to CAS side
    2. CAS side to MBX side
    [Issues between Client side to CAS side]
    In Exchange 2013, Outlook Anywhere is enabled by default. Different from this, Outlook Anywhere in Exchange 2007 and 2010 need to be manually enabled. Thus, please firstly check if the RPC over HTTP component has been installed:
    Click Start, and then click Control Panel.
    Double-click Programs and Features.
    In the left pane of Server Manager, click Features.
    In the right pane, click Add Features.
    Check if the RPC over HTTP component has been selected.
    If the ROH connectivity issue only happens on certain users, the property MAPIBlockOutlookRpcHTTP can be checked: 
    Get-CASMailbox  name | fl MAPIBlockOutlookRpcHttp
    2. Confirm if Exchange server is blocked. Ping the Exchange server FQDN on client machine and confirm if it can return the proper IP address.
    3. Check if the RPC Proxy server is responding correctly:
     rpcping -t ncacn_http -s ExchServer -o RpcProxy=RPCProxyServer -P "user,domain,*" -I "user,domain,*" -H 2 -u 10 -a connect -F 3 -v 3 -E -R none
    If 200 code returns, the test is successful.
    4. Check if Outlook Anywhere host names are added in the certificate:
    To get host names, the following command can be used: get-outlookanywhere |fl *hostname
    5. To use the Shell to test Outlook Anywhere connectivity, use the
    Test-OutlookConnectivity cmdlet.
    [Issues between CAS side to Mailbox side][RZ1] 
    A. Check if it can connect to store’s port:
    RpcPing –t ncacn_http –s ExchangeMBXServer -o RpcProxy=RpcProxyServer -P "user,domain,password" -I "user,domain,password" -H 1 –F 3 –a connect –u 10 –v 3 –e 6001
    If it returns as following: Completed 1 calls in 60 ms  16 T/S or 60.000 ms/T, it means the RPC Ping Utility test succeeds.
    B. Check if it can Connect to DsProxy Service:
    RpcPing –t ncacn_http –s ExchangeMBXServer -o RpcProxy=RpcProxyServer -P "user,domain,password" -I "user,domain,password" -H 2 –F 2 –a connect –u 10 –v 3 –e 6004
    If it returns as following: Completed 1 calls in 60 ms  16 T/S or 60.000 ms/T, it means the RPC Ping Utility test succeeds.
    C. Check the following registries:
    [Disable the auto update]
    1).Open Regedit and navigate to:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeServiceHost\RpcHttpConfigurator\RpcHttpConfigurator
    2).Set the PeriodicPollingMinutes value to 0.
    [Check the RpcProxy ValidPorts]
    1).On the RPC proxy server, start Registry Editor (Regedit).
    2). In the console tree, locate the following registry key:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy
    3). In the details pane, right-click the ValidPorts subkey, and then click Modify.
    4). In Edit String, in the Value data box, type the following information:
    ExchangeServer :6001-6002; ExchangeServerFQDN :6001-6002; ExchangeServer :6004; ExchangeServerFQDN :6004
    Note:
    ExchangeServer is the NetBIOS name of your Exchange server. ExchangeServerFQDN is the fully qualified domain name (FQDN) of your Exchange server. If the FQDN that is used to access the server from the Internet differs from the internal FQDN, you must use
    the internal FQDN.
    [Check the 6004 port settings in registry]
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Parameters
    Value name: HTTP Port
    Value type: REG_DWORD
    Value data: 0x1772 (Decimal 6002)
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Parameters
    Value name: Rpc/HTTP NSPI Port
    Value type: REG_DWORD   
    Value data: 0x1774 (Decimal 6004)
    D. Check if the RPC ports are used by other applications instead of Exchange by using : netstat –o
     Then it will return all active TCP connections and the process ID (PID) for each connection.
     After that, please check the application based on the PID on the Processes tab in Windows Task Manager and confirm if it’s Exchange server.
    Additionally, ExRCA is a perfect tool to test the whole connection between client side and Mailbox side:
    https://testconnectivity.microsoft.com/
    1. On the ExRCA website, under Microsoft Office Outlook Connectivity Tests, select Outlook connectivity, and then select Next at the bottom of the page.
    2. Enter the required information on the next screen, including email address, domain and user name, and password.
    3. Choose whether to use Autodiscover to detect server settings or to manually specify server settings.
    4. Accept the disclaimer, enter the verification code, and then select Verify.
    5. Select Perform Test.
    <Resource for reference>
    How does Outlook Anywhere work (and not work):
    http://blogs.technet.com/b/exchange/archive/2008/06/20/3405633.aspx
    How to use the RPC Ping utility to troubleshoot connectivity issues with the Exchange over the Internet feature in Outlook 2007 and in Outlook 2003:
    http://support.microsoft.com/kb/831051
    Test Outlook Anywhere Connectivity:
    http://technet.microsoft.com/en-us/library/ee633453(v=exchg.150).aspx
     [RZ1]It’s part, please re-layout
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    I've just restored the M11 to Windows XP with the disks provided and Outlook Anywhere connected without issue. As strange as it sounds, this looks to be isolated to this particular model of laptop and Windows 7.
    I've used the same Enterprise copy of Windows 7 and Office on a variety of laptops and pc's and none have come across this problem. The only commonality I can see is the hardware and OS.
    Aftery trying to troubleshoot this unsuccessfully with Microsoft tech support for a few hours, they eluded to the fact that this +could+ be a hardware related problem. (driver, adapter properties, etc)

  • RMI protocol over JRMP transport error when accessing Discoverer Plus

    Hi,
    I just upgraded my Discoverer to 9.0.2.54.01. I can successfully access my Discoverer Viewer Workbooks but not my Discoverer Plus. When I try to access Plus, Applet will be started, and then it will prompt the RMI protocol error:
    Attempt 1.  RMI protocol over JRMP transport: Connection refused to host: 127.0.0.1; nested exception is:*
    java.net.ConnectException: Connection refused: connect*
    Attempt 2.  RMI protocol over http transport : Unable to attach to existing session.*
    I used browsers Mozilla3.0.5 and IE7.
    Thanks!

    Hi Andy
    It could be a Java incompatibility issue. On one of your client machines try removing Java altogether and then reconnecting to Discoverer Plus. The server should send down a new, clean version of the Java.
    Try this and let me know how you get on
    Best wishes
    Michael

  • Help needed for CORBA over Http through proxy server[Very Urgent]

    Hi Friendz,
    I am new to J2EE. Right now I am learning RMI, Corba now.
    In RMI, to pass through Http to bypass firewall or through proxy sever, we can use either Http to port or Http to CGI/Servlet i.e., Http tunneling.
    In the same, I am running a simple corba application, i want my corba application to pass through my proxy server using http which is configured to address 127.0.0.1 and port 8118.
    How to pass my corba application through proxy server. please help me and it is very urgent.
    Is it possible or not, please let me know some comments about this topic
    Thanks in advance Friends for your help

    This is so extremely urgent that it needs to be asked multiple times.
    http://forum.java.sun.com/thread.jspa?threadID=762950

  • 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

  • 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

  • Simple RMI over HTTP in MIDP1.0 - open source project

    Hi All,
    For anyone interested in doing remote method calls (over HTTP) to a server from a MIDP 1.0 MIDlet there is an open source project now available for this. Please see MeRMI (Micro Edition RMI) at:
    http://mermi.dev.java.net
    You can use this to create a remote server class, much like you would in RMI. MeRMI then generates classes to do the remote communications for you. So you can just make nice, simple Java calls from your MIDlet, without having to worry about how the calls are passed to the server, etc. It's all pretty easy to use (especially if you have used RMI before) and takes a lot of the hard work out of building network applications.
    The toolkit is completely free (LGPL) and open source, you can use the code and do what you want with it.
    Hope it comes in useful to someone!
    zonski.
    Note: MeRMI does not support callbacks, but an event mechanism using blocking, polling requests can be used to create server to client messaging.

    It sounds interesting. It is only for MIDP 1.0?, what about MIDP 2.0?

  • Http tunneling (t3 over http) doesn't work!!  (examples too)

    Hi,
    I'm trying to get http tunneling (t3 connection over http protocol) to work. I
    ran some examples included with Weblogic that try establishing that connection
    (PingTest, HelloApplet, SimpleT3Client), as well as my own test program, and they
    all give an error similar to this :
    Couldn't get a reference to server. Exception :
    javax.naming.CommunicationException. Root exception is java.net.ConnectException:
    No server found at HTTP://<IP>:<port>
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:161) at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:200)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java,
    Compiled Code) at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:148)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671) at
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242) at javax.naming.InitialContext.init(InitialContext.java:218)
    at javax.naming.InitialContext.<init>(InitialContext.java:194)
    (I replaced the actual Ip and port with <IP> and <port>).
    Now, the server is started and working at that ip and port - it services web http
    requests correctly, etc. Regular T3 connection (not over http) also works with
    it.
    Does anyone know the reason for this problem and/or how to fix it?
    Thanks, Leonid Portnoy

    It appears that one has to use the "Java Plugin" for this mode to work. The
    question is does the version of plugin need to be "in sync" with the JVM
    version on the server. ?.
    /rk
    "Adomas Svirskas" <[email protected]> wrote in message
    news:[email protected]...
    >
    It seems that the solution is to have these two lines in the
    properties file:
    weblogic.httpd.enable=true
    weblogic.httpd.tunnelingenabled=true
    Now it works.
    Thanks,
    Adomas
    "Adomas Svirskas" <[email protected]> wrote:
    Hi Leonid,
    Have you found a solution for this? I have these problems too.
    Thanks,
    Adomas
    "Leonid Portnoy" <[email protected]> wrote:
    Hi,
    I'm trying to get http tunneling (t3 connection over http protocol)to
    work. I
    ran some examples included with Weblogic that try establishing thatconnection
    (PingTest, HelloApplet, SimpleT3Client), as well as my own test program,
    and they
    all give an error similar to this :
    Couldn't get a reference to server. Exception :
    javax.naming.CommunicationException. Root exception is
    java.net.ConnectException:
    No server found at HTTP://<IP>:<port>
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:161) atweblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:200)
    atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java,
    Compiled Code) atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:148)
    atweblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:123)
    atjavax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
    at
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242)
    at javax.naming.InitialContext.init(InitialContext.java:218)
    at javax.naming.InitialContext.<init>(InitialContext.java:194)
    (I replaced the actual Ip and port with <IP> and <port>).
    Now, the server is started and working at that ip and port - it services
    web http
    requests correctly, etc. Regular T3 connection (not over http) alsoworks
    with
    it.
    Does anyone know the reason for this problem and/or how to fix it?
    Thanks, Leonid Portnoy

  • Preview failed because Adobe Muse could not make a connection over HTTP. The most common cause of this is Firewall software which prevents HTTP connections. You may need to change Firewall settings to allow Adobe Muse to make connections.

    Preview failed because Adobe Muse could not make a connection over HTTP. The most common cause of this is Firewall software which prevents HTTP connections. You may need to change Firewall settings to allow Adobe Muse to make connections.
    no firewall at all, in win 8.1, turned it off for all networks
    ftp and publish works just fine

    Hi,
    Please take a look at this post : Re: Adobe Muse - Preview Failed
    Regards,
    Aish

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

Maybe you are looking for

  • Macbook Pro Retina, 13-inch, Late 2013 - Photoshop CC crashes

    Can anyone help with this issue please? Have been online with Adobe support 3 times and I am still unable to use photoshop cc, have client artwork due tomorrow so if anyone knows how to help me fix this issue I would be forever grateful! Probelm didn

  • Optimizing Premiere Pro CC to work with a 4k Monitor

    Can someone tell me how to work on Premiere Pro CC 2014 (currently 8.2) on a 4k monitor with scaling set at 100%. If I don't scale anything then all the text and icons and everything is WAY too small. Photoshop seems to have a handy 200% scaling feat

  • Icloud: mail doesn't work

    I can't change the incoming server name (name now is p15-imap.mail.me.com) how can i change the name? I can send mails on my account, but not receive. I need it becaus i want to use it also for my iphone 4.

  • Urgent---Flat File

    hai Gurus, I have a flatfile with 100 records. Load was successfull. to Cube. But when i perforn a report on the loaded data its showing only 91 records. rest of the resord are not see in the report. the rest of the 10 records got cumulated. i need a

  • Location bar does not display in CSH window

    Good morning all, I've got a RH8 project calling a custom CSH window. We want the location bar to appear in the help window so users can navigate forward and backwards among the topics. I've created a new window in RH8 and selceted the Location Bar a