6 Replies Latest reply on Nov 10, 2005 1:06 AM by amit_tgi

    Integration of Tomcat 5.0.16 with Jboss 2.4.7

    smaram1

      Hi Guys,

      we have a working version of Tomcat 4.0.6 and Jboss 2.4.7 and now i want to upgrade jus Tomcat to 5.0.16 and i am seeing issues.

      I DONT WANT TO UPGRADE JBOSS TO 3.X Version (i know Jboss 3.0.X is embedded with tomcat) but it would take lot of time for upgrading both app and web server.for our application.

      Please let me know if we can integrate Jboss 2.4.7 with Tomcat 5.0.16. I am noticing few null pointer exceptions and also i noticed that some class files are not present in latest catalina.jar which is weird (ex:XmlMapper.java).

      Any comments would be really appreciated.

      Thanks for ur time
      Suresh

      Error:

      java.lang.NoClassDefFoundError: org/apache/catalina/util/xml/XmlMapper
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.initCatalina(EmbeddedCatalinaS
      erviceSX.java:258)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.startService(EmbeddedCatalinaS
      erviceSX.java:184)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
      va:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationS
      ervice.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
      va:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)

        • 1. Re: Integration of Tomcat 5.0.16 with Jboss 2.4.7
          marc.fleury

          this is exactly the kind of situation we would take under the for-pay contracts.

          Very few people use 2.4 and it doesn't make sense for us to "support" it for free.

          If you would take a contract out we could look at that integration work.

          • 2. Re: Integration of Tomcat 5.0.16 with Jboss 2.4.7
            smaram1

            Thanks for your reply. I will have to talk with my higher management for this kind of decision.

            OR i will have to upgrade both and see how it goes. I am sure i am gonna get into configuration issues.

            Can you please comment on upgrade of this? (Like are there too many changes as webserver is embedded now and also are there too many changes in cnfig files, jars) Any comments would be really appreciated.

            Jboss 2.4.7 ---> Jboss 3.2.3
            Tomcat 4.0.3 ---> Tomcat 5.0.16

            Thanks
            Suresh

            • 3. Re: Integration of Tomcat 5.0.16 with Jboss 2.4.7
              rmaucher

               

              "smaram1" wrote:
              Thanks for your reply. I will have to talk with my higher management for this kind of decision.

              OR i will have to upgrade both and see how it goes. I am sure i am gonna get into configuration issues.

              Can you please comment on upgrade of this? (Like are there too many changes as webserver is embedded now and also are there too many changes in cnfig files, jars) Any comments would be really appreciated.

              Jboss 2.4.7 ---> Jboss 3.2.3
              Tomcat 4.0.3 ---> Tomcat 5.0.16

              Thanks
              Suresh


              It should work decent, but I recommend waiting for 3.2.4 RC 1 for a production quality integration of Tomcat 5. You can experiment with the CVS code in the meantime. For example, with 3.2.3 and TC 5.0.16, clustering won't work.

              Obviously, the upgrade you're planning is a big upgrade ;) On the plus side, Tomcat 5.0 is way faster and more polished than Tomcat 4.0.

              Rémy

              • 4. Re: Integration of Tomcat 5.0.16 with Jboss 2.4.7
                smaram1

                Thanks for the input. I am tryng to upgrade it to Tomcat 4.1.29 and Jboss 3.2.3 for now. I will update my experiences on this upgrade.

                Suresh

                • 5. Re: Integration of Tomcat 5.0.16 with Jboss 2.4.7
                  smaram1

                  Finally we went ahead with Jboss 3.2.2 and Tomcat 4.1.27.

                  We had to change the base MBean framework calls, JDO diaster, (had to fix this by changing the source code) Some classes were missing(TracePriority, AutoDeployer, log4j issues), jars were not present or shuffled around.

                  It was pretty hectic schedule for two weeks with a Jboss Migration expert sitting next to me.

                  Lesson learnt: Keep up the pace with the releases :)..dont get lost too long...

                  Thanks All
                  Suresh

                  • 6. Re: Integration of Tomcat 5.0.16 with Jboss 2.4.7
                    amit_tgi

                    hi iam using jboss 3.2.3 version and i want to integrate iis with jboss , Iam trying lot but not able to connect can any of you help me to do tat lz provide all information