0 Replies Latest reply on May 3, 2006 1:10 PM by joseluisherrero

    JNDI HTTP router

      Hi all

      Recently I've posted my problem with JNDI and HTTP. Now I want to be more concrete.

      Following JBOSS documentation, I've tried to connect a JAVA client to a EJB service using HTTP. The same program was running ok using port 1099.

      I've changed jboss-service.xml described in JBOSS documentation. Everything runs Ok in localhost, but when I use different computers for server and client, connection seems to be right, but messages don't return values, just null.

      The server is connected to a router and I think this is the real problem, but HTTP should solve this. The first version needs to configure por 1099 to be redirected to the right computer connected to the router. That is /conf/jboss-service.xml needs this configuration:


      1
      300
      300
      60000
      192.168.1.2
      4445
      IP (aa.xx.yy.zz)
      1099
      false

      <depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager



      Do I need to write something similar in order to use HTTP ?

      Thanks
      PEPE