• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

migration from TOMCAT to JBOSS

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Currently, the old web application I'm working on uses jdk 1.3 along with Tomcat 1.4.27
This application will form the part of another, a big one which uses jdk 1.4 and JBoss 4.0.2

I need help to be aware of issues involved in this migration.



shantanu
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JBoss comes embeded with Tomcat. There should be no major issues./
 
Author
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are always issues involved when moving from very old versions (Tomcat 1.x) to more recent versions (Tomcat 5.0.28 ships with JBoss 4.0.2). This might be your first stumbling block.

Secondly, if your app is a simple WAR, you should be able to drop it into the DEPLOY directory without a hitch. If, however, you are taking advantage of the additional J2EE technologies (JMS, Datasources, JNDI, etc), you might want to look into wrapping your WAR up in an EAR. Our website offers a free download of chapter 3 that discusses exactly how to create an EAR. (http://www.jbossatwork.com/articles.html)

Good luck with your upgrade.
 
author
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I thought most people develop in Tomcat in exploded mode without putting everything into a single WAR? At least thats how I used to develop. If so, your first step is to create a build process (script) that constructs WARs/EARs for you to use on JBoss
 
Author
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If it's a web-only application, then you don't need an EAR. Just configure your DataSource (if you're using a database) in *-ds.xml file and drop in the WAR, and you'll be fine. It shoould work OK on JBoss.

Tom
 
Shantanu Puranik
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i'm sorry there is typo in TOMCAT version i mentioned.
It's TOMCAT 4.1.27 instead.
Thanks for the inputs anyway.

--- Shantanu
[ February 21, 2006: Message edited by: shantanu puranik ]
 
Aaaaaand ... we're on the march. Stylin. Get with it tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic