Eclipse Tomcat Plugin

Add this URL to your Eclipse Installation to reach this solution's update site.

Oxygen (4.7)
Neon (4.6)
Mars (4.5)
Luna (4.4)
Kepler (4.3)
Juno (4.2, 3.8)
Previous to Juno (<=4.1)


Learn more...

Details Group Tabs

jfournieri2j's picture

Hello,

Can't install this plugin, Eclipse says : "Handshake Fatal Error".

Best regards.

snbalajibe's picture

Hi,

I too faced similar issue when dragging and dropping the plugin into eclipse.

The alternative worked for me was:

1. Go to the source forge site (click on "?')

2. Download the version of the tomcat plugin

3. Unzip the file, there should be folders features and plugins

4. Put the files of the folders into their respective folders in the eclipse root directory

5. Restart eclispe.

 

Thanks.

Balaji.S.N

aterekhin1jc's picture

Hello Jérémy Fournier!

I had the same problem on Linux Mint 17 (based on Ubuntu 14.04) and java oracle version "1.8.0_144".

My Solution.

1) Download and unzip "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 8" (first link google in my case)

2) replace both files in the directory $JAVA_HOME/jre/lib/security

3) restart eclipse.

Good luck!

elegant0719's picture

Hi Markus,

Is it possible to launch the tomcat plugin using java code?

If yes, is there any documents that I can refer?

Thanks!

mkeunecke's picture

There is no documentation on using the plugin in Java code, sorry.

mbisping's picture

Hi,

I tried to install the plugin on Eclipse Neon (4.6.2). In eclipse.ini I specified vm Java(TM) SE Runtime Environment (build 1.8.0_31-b13) (/home/superx/tools/jdk1.8.0_31/jre/bin/java).
When trying to install the plugin I get the error.
Unable to read repository at http tomcatplugin.sf.net/update/plugins/net.sf.eclipse.tomcat_9.1.2.jar.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
On the console I saw the following log
org.eclipse.m2e.logback.configuration: Initializing logback
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (IcedTea 3.2.0) (suse-3.1-x86_64)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
OpenJdk is needed by my Suse Leap 42.2 installation for LibreOffice, so I can't easily deinstall it.
What can I do?
Thanks for your help

Meikel

mkeunecke's picture

Hi Meikel,

unfortunately this seems to be an issue with the mirror network provided by Sourceforge. Currently it does not seem to be fixed in the near future. Therefore I can only suggest you to try and try again until it has worked. I have seen people getting a successful installation after 20 or more tries. Sorry for inconvenience.

Markus

jmontesqmb's picture

Hi,
I solved it by downloading the war, extractint it and installing form this local repository.

Jacques

snbalajibe's picture

When a new project is created after the plugin is installed, the below error is popped up:

The selected wizard could not be started.
Plug-in "net.sf.eclipse.tomcat" was unable to instantiate class "net.sf.eclipse.tomcat.TomcatProjectCreationWizard".
java.lang.NullPointerException

rkalariya's picture

I am getting below error while creating new Tomcat Project

The selected wizard could not be started.
Plug-in "net.sf.eclipse.tomcat" was unable to instantiate class "net.sf.eclipse.tomcat.TomcatProjectCreationWizard".
java.lang.NullPointerException

mkeunecke's picture

Hi!

Please post a bug report on Sourceforge and include information from the .log file located in workspace/.metadata:
https://sourceforge.net/p/tomcatplugin/tickets/new/

danieletosi's picture

Same here. It can't create new project in Neon.

The selected wizard could not be started.
Plug-in "net.sf.eclipse.tomcat" was unable to instantiate class "net.sf.eclipse.tomcat.TomcatProjectCreationWizard".
java.lang.NullPointerException

snbalajibe's picture

Same error is encountered when using Eclipse Neon with Tomcat Plugin while creating a New Tomcat Project

mkeunecke's picture

The reported bug is fixed in version 9.1.0

snbalajibe's picture

Receiving the same error when creating a new Tomcat Project

mfuchs61l's picture

whenever i try to add the plugin to eclipse (or try to access the page via browser), i get
"HTTP Server 'Bad Gateway' : http tomcatplugin.sf.net/update/content.xml
HttpComponents connection error response code 502."

In my Browser, i get "(104) Connection reset by peer" :(

mmisingnameyjc's picture

The Update Site was down for about a day. The issue has been fixed and the servers are up again.

amisingname0bt's picture

!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2016-07-12 13:41:12.886
!MESSAGE Connection to http tomcatplugin.sf.net/update/p2.index failed on Connection reset. Retry attempt 0 started
!STACK 0
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84)
at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)
at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:223)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:685)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:487)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1084)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:1075)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:1071)
at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:74)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

bwoodxf4's picture

Error - had to modify the URL since they are disallowed in this forum
No repository found at http - colon slash slash tomcatplugin.sf.net/update.
eclipse.buildId=4.6.0.I20160606-1100
java.version=1.8.0_51

mkeunecke's picture

Hello,

I just tried to reproduce the issue with fresh Eclipse Neon installation, which worked like a charm. I guess it was something like a temp hickup in the sourceforge system.

Markus

mkumarwo6's picture

Just out of curiosity, I was wondering if I can run this plugin(startup & shutdown tomcat) from the terminal?

mkeunecke's picture

No, noone has implemented a CLI to the tomcat plugin so far. I am not sure if there's a real need for it. If you like to investigate further on this you could post a ticket on sourceforge so we can discuss further there. You could also join us in our IRC channel on freenode: https://webchat.freenode.net/?channels=tomcatplugin

mmisingnameyjc's picture

Thank you for maintaining this easy to use Tomcat plugin. And especially thank you for adding to support for Tomcat 8.

narendrarnb's picture

I have installed tomcat plugin in eclipse helios to create tomcat project.After creating project i am not able to see Advanced tab in tomcat.(project->properties).

can u help me...thanks in advance:)

mkeunecke's picture

Hi,

please post a bug report at sourceforge via https://sourceforge.net/p/tomcatplugin/tickets/new/

Please include as much information as possible. This can include log files, contents of error view in eclipse.

Thank you. :)