0 Replies Latest reply on Apr 7, 2004 5:15 AM by mpforste

    Jboss and Tomcat 5

    mpforste

      I am replacing another EJB container system with JBoss, and as the complete site being a secure banking type site, is running on Tomcat 5 as Tomcat 4.x.19 was playing up when serving SSL pages, the solution was to upgrade to Tomcat 5.

      Now we are replacing openejb (1.1) with Jboss (2.x) (the numbers in brackets are the EJB version supported)

      I need to now configure Tomcat 5.0 to work with JBoss, but am confused as to what I need to do,
      1. I have copied the JBoss Client jars to the Tomcat common/lib directory
      but I now am confused as to the changes needed in the factory setups.

      service.xml

      <parameter>
       <name>factory</name>
       <value>org.openejb.client.TomcatEjbFactory</value>
      </parameter>
      <parameter>
      <name>openejb.naming.factory.initial</name>
       <value>org.jnp.interfaces.RemoteInitialContextFactory</value>
      </parameter>

      What do I need here?

      Web.xml
      <env-entry>
       <env-entry-name>ejb-jndi-context</env-entry-name>
       <env-entry-value>org.openejb.client.RemoteInitialContextFactory</env-entry-value>
       <env-entry-type>java.lang.String</env-entry-type>
       </env-entry>


      I have already changed the container port and such and I am connecting to the JBoss but not able to look up the beans.....

      Can anyone help?