• 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

Tomcat to Websphere?

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I have developed an application using Tomcat on my desktop, is it difficult to move this application into a Websphere environment? I would hope that you can simply move all of the appropriate files to the appropriate position on the Websphere server but my gut feeling tells me it is going to be a bit more involved than this?
Thanks-
 
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think migrate from Tomcat to WAS is much easier than to WLS.
Here is a redbook talk about migration from WLS6.1 to WAS4.0, if you have problem in Tomcat migration this should give you some difference of Appservers to consider.
http://publib-b.boulder.ibm.com/Redbooks.nsf/RedpieceAbstracts/sg246179.html?Open
 
Zac Roberts
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does websphere use the same file structure as other J2EE compliant servers... meaning root/WEB-INF/classes etc... Can't you just put the files in the folder and press go??
Thanks for the help-
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Zac,
It is very easy. First get a war file from Tomcat, then follow these steps(in WAS4.0):
1. Select Console->Wizards->Install Enterprise Application
2. Choose Install stand-alone module(*.war, *.jar)
3. Fill in the Path, Application Name, Context root for web module
4. If EJB, Security etc. are skipped, press Next all the way to Finish
5. WAS will automatically add a ear file with the Application Name filled.
6. Stop the Server under the Notes, start the Server to bring in the Web
Module added.
7. Run the application from browser, e.g <machine name>:9080/<context <br /> root>
If you have further questions, post your problem here.
Ren
 
Ren Li
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know why step 7 doesn't come out right. Here is the right one.
7. Run the application from browser, e.g <machine name>:9080/<context root>/index.html
 
Ren Li
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, the host server doesn't accept some characters, it is my last try.
7. Run the application from browser, e.g "machine name":9080/"context root"/index.html
 
Zac Roberts
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks !! That is exactly what I was looking for. I'm printing this thread as we speak...
Thanks-
reply
    Bookmark Topic Watch Topic
  • New Topic