Results 1 to 7 of 7

Thread: Does Spring RMI support HTTP tunneling through Weblogic?

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Posts
    18

    Default Does Spring RMI support HTTP tunneling through Weblogic?

    I successfully tested an RMI invocation through Spring on a weblogic server, like this:
    Code:
    <bean id="roleService" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
        <property name="serviceUrl" value="rmi&#58;//someHost&#58;1099/RoleService"/>
        <property name="serviceInterface" value="com.foo.service.role.RoleService"/>
      </bean>

    Next, I'm wondering if it's possible to do RMI over HTTP with Spring on both server and client. Looking at some old weblogic documentation online, they state you can just change the rmi: to be http:, and weblogic will route the request over HTTP. I tried that out of curiosity by simply editing the serviceUrl property, but got the following MalformedUrlException:
    Code:
    ava.net.MalformedURLException&#58; invalid URL scheme&#58; http&#58;//PCSHPQL0050537/RoleService
    	at java.rmi.Naming.parseURL&#40;Ljava.lang.String;&#41;Ljava.rmi.Naming$ParsedNamingURL;&#40;Naming.java&#58;233&#41;
    	at java.rmi.Naming.lookup&#40;Ljava.lang.String;&#41;Ljava.rmi.Remote;&#40;Naming.java&#58;79&#41;
    	at org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub&#40;&#41;Ljava.rmi.Remote;&#40;RmiClientInterceptor.java&#58;156&#41;
    Before I trudge further down that path, does anyone know if it's possible and easy enough to enable RMI over HTTP using Spring and weblogic?

    p.s. I know there are other easier options for communication over HTTP, but I'm forced to evaluate RMI for my current problem.

    Thanks,
    Dan

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    Dan,

    I'm passing this onto some contacts at BEA. We were discussing Spring remoting on WebLogic only a few days ago.

    Rgds
    Rod
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

  3. #3
    Join Date
    Jul 2005
    Posts
    18

    Default Same question/request for T3://

    BTW - The same question/problem goes for being able to use t3://somehost:someport/someService. If that's available, then I can access an RMI service in our environment without opening additional firewall holes (I think).

  4. #4
    Join Date
    Jul 2005
    Posts
    18

    Default Any word on this, now that there's an official partnership?

    Especially now that BEA and Spring are official friends, does anyone know the latest status of this? It'd be nice if Spring hooked into the RMI Server that is started by Weblogic instead of creating its own. For example, instead of specifying RmiProxyFactoryBean, refer to a WeblogicRmiProxyFactoryBean.?

  5. #5
    Join Date
    Apr 2009
    Posts
    1

    Default

    url suppose to start with "rmi" otherwise java will not recognize it. Anything else except rmi is illegal protocol for it.

  6. #6

    Default Spring RMI - WEBLOGIC Integration possible

    Hi,

    Is this feature Spring RMI - WEBLOGIC Integration available completely now ??.

  7. #7
    Join Date
    May 2008
    Posts
    22

    Question

    I would be also interested in Spring RMI - Weblogic integration.
    Any weblogic specific RmiProxyFactoryBean in the future?

    Cheers,
    Zoltan

Similar Threads

  1. Announcement: Spring IDE WebFlow Support Preview Release 2
    By Christian Dupuis in forum Announcements
    Replies: 2
    Last Post: Sep 15th, 2006, 11:50 AM
  2. Spring HTTP Invoker and HTTP Forwarding Proxy
    By dkar77 in forum Remoting
    Replies: 3
    Last Post: Sep 21st, 2005, 08:59 PM
  3. Replies: 2
    Last Post: May 26th, 2005, 02:30 AM
  4. New Spring Support Forums are Live
    By Colin Sampaleanu in forum Announcements
    Replies: 17
    Last Post: May 22nd, 2005, 12:57 AM
  5. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •