2 Replies Latest reply on May 14, 2002 4:46 PM by stanley

    Do you have to "embed" Tomcat4.x "in" JBoss2.4.4?!

    stanley

      This may be a stupid question, but I want to deploy Tomcat/Struts servlets/jsps on one server, and make them talk to beans deployed on another, separate server (a JBoss2.4.4 server).

      Is this possible? If not, ARRRRrrrrgh!!
      - Stan

        • 1. Re: Do you have to "embed" Tomcat4.x "in" JBoss2.4.4?!

          No. Just configure tomcat to be a jboss client.

          Copy the jboss client jars into the tomcat system.
          Set up jndi.properties to point at the jboss machine.
          Start Tomcat with the -nonaming option.

          Not done this myself, but other people have posted
          this solution.

          Regards,
          Adrian

          • 2. Re: Do you have to "embed" Tomcat4.x "in" JBoss2.4.4?!
            stanley

            Thanks for the reply.

            I tried this, and I believe that I don't have a jndi problem, but no matter what version of jboss I use, still still get a NullPointerException when I do the home lookup.

            Very confusing. The same home-lookup client code works fine when called from within JDeveloper, but never from a struts action within Tomcat.

            Thanks for the suggestions,
            Stan