File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to run j2ee application (on tomcat server) by eclipse

 
samdeep aarzoo
Ranch Hand
Posts: 160
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have installed Eclipse Java IDE 3.1 now i m able to
run the applications of j2se
i want to run my j2ee applications servlets and jsp
in tomcat server

now what files should i downlaod in eclipse for running my application
of j2ee on tomcat server
please help
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33674
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sandeep,
See Sysdeo's Tomcat plugin. It suports Eclipse 3.1.
 
samdeep aarzoo
Ranch Hand
Posts: 160
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
according to u i add that file in pluggins
and now i can see tomcat icon
but on clicking that icon
i get the error
now what should i do

java.lang.NoClassDefFoundError: org/apache/tomcat/startup/Main
[ August 22, 2005: Message edited by: sandeep mittal ]
 
Rick O'Shay
Ranch Hand
Posts: 531
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, uninstall the plug-in. You don't need it. All you need to do is enable remote debuging in Tomcat and connect from Eclipse through the Debug view.

http://jakarta.apache.org/tomcat/faq/development.html
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33674
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to clarify:
You don't need the plugin for remote debugging. You do need the plugin to launch Tomcat from within Eclipse.
 
samdeep aarzoo
Ranch Hand
Posts: 160
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

if anyone has time
please tell me step wise
i tried both options given above in both option it gives error
i m not able to rectify it

please help
or give good link which shows step wise
 
Ost. Ken
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
from link that Jeanne given , there is an installation section.
i tried it and it work!


Installation

*

This plugin does not contain Tomcat.
(Download and install Tomcat before using this plugin).
This is a desing choice not to include Tomcat in the plugin distribution, this way everyone can choose a Tomcat version, it is easy to switch from one Tomcat version to another
*

Download tomcatPluginVxxx.zip
*

Unzip it in /plugins
*

Plugin activation for Eclipse 2.1 :
select menu 'Window->Customize Perspective...', expand 'Others' and check 'Tomcat'
*

Plugin activation for Eclipse 3.0 :
select menu 'Window->Customize Perspective...->Commands', and check 'Tomcat' in 'Available command groups'
*

Set Tomcat home : Window -> Preferences, select Tomcat and set Tomcat home
*

This plugin launches Tomcat using the default JRE checked in Eclipe preferences window.
To set a JDK as default JRE for Eclipse open the preference window : Window -> Preferences -> Java -> Installed JREs.
This JRE must be a JDK (This is a Tomcat prerequisite).
*

The plugin sets itself Tomcat classpath and bootclasspath. Use Preferences -> Tomcat ->JVM Settings, only if you need specific settings.


maybe this help
 
samdeep aarzoo
Ranch Hand
Posts: 160
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ost. Ken
Jeanne Boyarsky
Rick O'Shay

thanks to all of u for helping me out
Ost. Ken i want to say thanks to u thousand times for giving me right answer step wise

actually my problem was sorted out by giving jdk base directory jre
and it works
 
Ost. Ken
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulation !! ^^
 
farooq
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try my eclipse(plug in) its koool i am using it from past 2 years.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic