0 Replies Latest reply on Dec 1, 2009 9:47 AM by tom jansto

    InvokerLocator configuration

    tom jansto Newbie

      morning folk,
      when doing lookup of a particular bean , i am getting an exception on a client accessing my jboss 5.1 app server of the type:
      Root exception is org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://jboss5x.domain.name:3873/]]

      this makes sense, since the jboss5x.domain.name is not accessible to the client. i have previously had a jboss 4.x server configured to use a pooled invoker that did the lookups via an https invoker service. i have made the same configuration changes (i.e:
      standardjboss.xml set to use hunifiedHA invoker
      remoting-jboss-beans.xml configured to use the public ip of the vip we set up for the clientConnectAddress, 443 for the clientConnectPort

      these are the main config files i seem to have needed to modify to make this work, and as long as my connection client is on the lan where it can make a connection on port 3873 to the box physically, the lookups all work fine. the client is using java.naming.provider.url of https://public.address.vip/invoker/JNDIFactory which is working properly, but once the initial context is retrieved, the bean lookup seems to "fall back" (and i know its doing it because of how i have it configured) to trying to make a socket connection to the app server itself on that port, which is not available outside the firewall. i have gone through the docs on the wiki at http://www.jboss.org/community/wiki/UsingJBossBehindAFirewall and the one about configuring rmi over http (cant remember the exact url),and the pdf remoting guide. things seem ok, but aren't. can anyone provide me some additional areas to look into? i was wondering about changes in the constructor section of the remoting-jboss-beans.xml file, particularly in regards to changing the transport to something other than socket, but i'm not exactly sure of the impact or domino effect of additional configs that would need to be made (don't' care to make them, but i'm just no sure what they are and their dependencies...)

      anyways, thanks for the time