4 Replies Latest reply: Feb 21, 2012 10:42 AM by Pawel Strzelecki RSS

mod_jk via RMI

Pawel Strzelecki Newbie

Hi All,

 

I have some question about mod_jk.

Does mod_jk works via RMI Jboss ?

I mean I dont want to using HTTP protocol, just only RMI.

Anyone doing something like this ?

 

Thanks,

Pawel

  • 1. Re: mod_jk via RMI
    Radoslav Husar Master

    Does mod_jk works via RMI Jboss ?

     

    So you want to tunnel RMI calls using mod_jk?

     

    I mean I dont want to using HTTP protocol, just only RMI.

     

    IMHO this is not possible.

     

    Anyone doing something like this ?

    Yes, but using RESTEasy and WebServices :-) This is what they are here for.

     

    HTH,

    Rado

  • 2. Re: mod_jk via RMI
    Pawel Strzelecki Newbie

    Thanks for the reply.

    Yes, I need have a tunnel RMI via mod_jk, because clients connect to the application only via RMI.

    So If I need to create some Jboss Cluster i need to have mod_jk for that.

    But I think mod_jk working fine only with HTTP. Any ideas?

  • 3. Re: mod_jk via RMI
    Radoslav Husar Master

    Yes, I need have a tunnel RMI via mod_jk, because clients connect to the application only via RMI.

    Yeah, thats what I expected.

     

    But I think mod_jk working fine only with HTTP. Any ideas?

    Correct, you cannot use it for this.

     

    1. Either rewrite clients to use webservices or Rest or anything HTTP-based
    2. or expose that port for all cluster machines.
    3. (or write your own RMI balancer :-) )
  • 4. Re: mod_jk via RMI
    Pawel Strzelecki Newbie

    Now I see I don't have a choice like do this via HTTP.

     

    Thanks a lot!