aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes How to integrate Tomcat Plugin with Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to integrate Tomcat Plugin with Eclipse" Watch "How to integrate Tomcat Plugin with Eclipse" New topic
Author

How to integrate Tomcat Plugin with Eclipse

meimei li
Greenhorn

Joined: May 19, 2003
Posts: 24
Hi,

I asked this question among other questions in my previous post, but I feel the need to put it in a separate topic.

I tried to integrate "Sysdeo Eclipse Tomcat Launcher plugin" 3.1 version with Eclipse 3.1 and Tomcat 4.1.31 on Windows XP, but encountered an unexpected problem.

I downloaded the " Sysdeo Eclipse Tomcat Launcher plugin" 3.1 version for Eclipse 3.1, extracted the plugin files to my Eclipse/plugin directory ( I did see "com.sysdeo.eclipse.tomcat_3.1.0" directory in the Eclipse/plugin directory). However, in the restarted Eclipse IDE, there is neither a "tomcat" icon in the toolbar, nor a "Tomcat" option under "Window->customer perspective...->commands->Available command groups". Actually, there is no "Available command groups" option in the "commands" dialog at all.

The windows Environment variables like "CATALINA_HOME" and "TOMCAT_HOME" are set.

I followed the steps listed in the Sysdeo plugin instruction, except the following instruction doesn't specify for "Eclipse 3.1", but I assume the activation steps for Eclipse 3.0 should apply for 3.1.

Installation

This plug-in 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.




Can anyone tell me what has went wrong?

Thanks very much.


SCJP
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16228
    
  21

On the menu Help/About, click the "plugins" button to see the installed plugins. There should be a "Tomcat Plugin" from provider SYSDEO. If there isn't, the plugin didn't install. If there is, we should be able to figure out how to activate it.


Customer surveys are for companies who didn't pay proper attention to begin with.
meimei li
Greenhorn

Joined: May 19, 2003
Posts: 24
Under Help->About Eclipse SDK->Plugin details, there is no plugin from Sysdeo. There is only "Tomcat Wrapper" from Eclipse.org. However, I did see the Sysdeo directory under my Eclipse/plugins directory.

D:/eclipse/plugins>ls
com.sysdeo.eclipse.tomcat_3.1.0
org.apache.ant_1.6.5
org.apache.lucene_1.4.3
org.eclipse.ant.core_3.1.1.jar
org.eclipse.ant.ui_3.1.2.jar
org.eclipse.compare_3.1.1.jar
org.eclipse.core.boot_3.1.0.jar
org.eclipse.core.commands_3.1.0.jar
org.eclipse.core.expressions_3.1.0.jar

I am wondering what's wrong.


Thanks very much.
Amod Bhatia
Greenhorn

Joined: Jun 04, 2006
Posts: 10
Hi, same problem i m facing... but i m able to see plugin when i click plugin from help but not able to see on toolbar niether in windows->customize prefernce...

kindly tell me how to proced further ?
meimei li
Greenhorn

Joined: May 19, 2003
Posts: 24
I resolved the previous posted problem by removing the old eclipse, install a new one, install the plugin, and then the plugin is integrated with the IDE nicely.
George Bromfield
Greenhorn

Joined: Jul 15, 2005
Posts: 12
Hi.

After you copy a new plugin into eclipse/plugins you should run in the directory eclipse the following command: java -jar startup.jar -clean

Now you should be able to see your plugin. This way you don't have to reinstall your eclipse every time you add a new plugin
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Hi Catalin,

This command helped me to get my plugins back from the DARK

Thanks buddy.

Regards,

Vishal Pandya
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to integrate Tomcat Plugin with Eclipse