File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Deploy on Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Storm Applied this week in the Other Open Source APIs forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploy on Tomcat" Watch "Deploy on Tomcat" New topic

Deploy on Tomcat

Nina Anderson
Ranch Hand

Joined: Jul 18, 2006
Posts: 148

I've been developing a java web application on my windows laptop. The application is using Struts, Spring and Hibernate. Now I need to deploy the code on a 64-bit Linux Production Tomcat server.

I'm wondering, do I need to install Struts, Spring and Hibernate on the producation Linux server again in order for Tomcat to recognize the .jar files for all 3 components?

Or will exporting the application's .war file into the Tomcat webapps directory be good enough? I'm worried that since the .war file was created using MyEclipse IDE on my 32-bit Windows laptop, these will be incompatible.

Please, I would appreciate any insight you can provide. Since this is my first time deploying code on an actual live production server.


Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62513

There's no "installation" for those packages, you just need the jar files in WEB-INF/lib. The war file should work just fine.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Deploy on Tomcat