Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

How to integrate Tomcat Plugin with Eclipse

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Saloon Keeper
Posts: 22520
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
meimei li
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Catalin,

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

Thanks buddy.

Regards,

Vishal Pandya
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic