wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Generating deployable war from Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Generating deployable war from Eclipse" Watch "Generating deployable war from Eclipse" New topic
Author

Generating deployable war from Eclipse

Salman Raut
Greenhorn

Joined: Mar 31, 2009
Posts: 15
Hi Ranchers,

I am venturing developing web applications. Eclipse is my primary IDE.

Now here is the problem:
I want to develop web applications (in Java) in Eclipse and run them from eclipse.
If I use the Tomcat server internally in Eclipse, the web application runs for sure in the IDE. But if I make the war of the application and try to deploy it on an independent Tomcat server it fails miserably. This happened to me in Netbeans. I had worked hard to make a web application that was working awesome through Netbeans. But when I made the war and deployed it in external Tomcat, it failed big time. The reason being Netbeans had added several dependencies which external Tomcat would not recognize.

One solution is develop the application in the IDE but deploy it on external Tomcat server. But during development, it is very painful to deploy manually after doing small changes.

Is there any plug-in that can be used to solve this problem?

In short this is what I want:
I want to develop and test applications in Eclipse IDE. At the same time, I want to be sure that when I make a war of the app running fine in Eclipse and deploy it on external Tomcat, it should run fine.

Any suggestions, tutorials are welcome.

Thanks for your time and consideration.

Best Regards


Best Regards
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10171
    
    8

Check out the sysdeo plugin.
http://www.eclipsetotale.com/tomcatPlugin.html

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Salman Raut
Greenhorn

Joined: Mar 31, 2009
Posts: 15
Hi Maneesh,

Thanks for telling about Sysdeo.

The following is a better step by step tutorial for installing sysdeo.

http://www.sipages.com/sysdeopage.shtml


Best Regards
Joseph Arceneaux
Greenhorn

Joined: May 01, 2009
Posts: 5
Eclipse 3.4 (Ganymede) appears to have native Tomcat support (configure, stop, start server). Is sysdeo really superior?

Secondly, is there a good tutorial for the proper way to create, build, and deploy an Eclipse project to Tomcat? I've seen several, and none seem to agree with others ("Create Project" v. "Create Dynamic Web Application").

thanks in advance,
Joe

 
Don't get me started about those stupid light bulbs.
 
subject: Generating deployable war from Eclipse
 
Similar Threads
No suitable driver java.sql.SQLException: No suitable driver
Strange Spring MVC 2.5 NetBeans Tomcat 6.0.20 Problem
Generating deployable war from Eclipse
Unable to delist applications from tomcat manager window
Problems with a project with Netbeans