2 Replies Latest reply on Oct 9, 2002 5:18 AM by jules

    servlets using jini

    davecrane

      Hi,

      I'm migrating a set of servlets from Standalone Tomcat 4.x to JBoss 3.x with jetty (tried the tomcat-jboss download, didn't run well on my system, and I'd rather give jetty a try anyway...)

      Some of the servlets act as jini clients, using multicast to connect to various services at startup time. Hot-deploying the war that runs in tomcat doesn't work for me, I get a javax.servlet.UnavailableException, can post full stack trace if anyone wants to see it...

      Has anyone got this working with jboss/jetty, any tricks or tips I ought to know about?

      (FWIW, to get this working in tomcat, I had to add the jini libraries to the ${tomcat}/common/lib directory rather than inside the war, and fiddle about with security permissions a fair bit.)

      Thanks,

      Dave

        • 1. Re: servlets using jini
          davecrane

          Hi Dave again,

          Just poking around in my configuration, I had left a couple of 'experimental' settings in my war file. Now I've set things up correctly, redeployed the war and I'm getting Security Exceptions, which is more what I would have expected. Where do I go to set security permissions for this war, then?

          Cheers,

          Dave

          • 2. Re: servlets using jini

            Look around jetty.mortbay.org and if you don't find what you want try on jetty-support@yahoogroups.com.

            Come back to the forum with your answer and I will include it in my JBoss/Jetty FAQ.

            Jules