Could not load Tomcat 9.0 Server in Eclipse - eclipse

When I try to add Tomcat 9.0 to Eclipse (Define a New Server > Tomcat v9.0 Server), I get: Could not load the Tomcat server configuration at C:\Program Files\Apache Software Foundation\Tomcat 9.0\conf.
Interestingly, I do see that exact directory on the file system. I installed Tomcat 9 using the installer (.exe), so that's the default location where it ended up. Is there some reason why Eclipse would not be able to recognize it?
I was able to define a Tomcat 8.0 server with no issues. I had downloaded the Tomcat 8 binary rather than using the installer.

Related

How to upgrade geoserver 2.18 bin.zip to geoserver 2.21 windows installer ( as a service)

I am trying to upgrade geoserver from version 2.18.0 bin.zip to version 2.21.1 (windows installer). If I understand correctly, then 2.18.0 uses a jetty server, and no jetty installation is required, this is provided by the geoserver.
Version 2.18 uses a jetty server, and no jetty installation is required, this is provided by the geoserver. I installed 2.21.1 using the windows installer, first specifying the default address of the data folder. Everything seems to be installed, but the service starts and immediately turns off. How to overcome it? Do I need to install Tomcat first? Do I need to remove the jetty server, if so, how? In the installation of the log - only 3 lines:
ERROR : Nothing to start, exiting ...
Usage: java -jar $JETTY_HOME/start.jar [options] [properties]
[configs] java -jar $JETTY_HOME/start.jar --help # for more
information
Why is the jetty server listed in the log and not the tomcat?
Thank you very much, all works!
So to upgrade geoserver from 2.18 bin.zip to geoserver as service :
Install Tomcat as a service
download Web Archive (instead of Platform independent binary and not windows installer)
Unpack downloaded archive and copy geoserver.war to webapps directory of Tomcate (in my case C:\Program Files\Apache Software Foundation\Tomcat
8.5\webapps)
Restart Tomcate service
In webapps folder of Tomcat will appear directory
geoserver
Store your saved geoserver data folder to geoserver/data directory of Tomcate
restart Tomcat and enjoy

Eclipse Mars Tomcat 8 server disappeared

I'm trying to define a Tomcat 8.5.16 server but everytime I use the 7 I get an error and when I go into preference to use the newer server it tells me the v8 installation is expecting an 8 server although I am pointing it to my tomcat 8. Please help.
I click OK and get "The Apache Tomcat installation at this directory is version 8.5.16. A Tomcat 8.0 installation is expected."
This is under windows->preferences-> Adding a server.
I think Tomcat 8.5.16 cannot be added as Tomcat 8.0.
See also:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=494936
You may have to upgrade your eclipse or apply a patch, for example,
https://bugs.eclipse.org/bugs/attachment.cgi?id=262418&action=edit

Combine Eclipse Juno and GlassFish server

I am using Eclipse Juno and installed GlassFish Server 3.1.2 on Windows 7 under C:\glassfish3. Glassfish is running fine and I am able to visit the admin panel under localhost:4848/common/index.jsf. Morevoer I am able to deploy a war file and can start the application. My external GlassFish-server seems ok!
If I want to add a new Server to my Eclipse Juno environment I come to a screen where I can pick a GlassFish variant and afterwards I need to set a JRE and an Application Server Directory. I can't set a path for the Application Server Directory that my eclipse wizard lets me finish the configuration. Thanks in advance for further information!
UPDATE: I got this error message in the wizard after setting the application server directory path to C:\glassfish3\glassfish like it is proposed here: https://glassfishplugins.java.net/eclipse36/#1
There is no valid GlassFish installation in the specified directory. Click the Install Server button to download and install to that directory.

eclipse - add tomcat

I want to add a tomcat server to eclipse.
I follow these instructions:
firstly, In Sever tabs I right click and there's New > Server
I select tomcat 7 and leave the other options default, which are host name, name, runtime environment. Here, I would expect to be prompted to specify installation path - like c:\tomcat or anything
I click finish
There's error popup - Could not load server configuration at conf.....
Thanks for helping me...
Probably missing JST Server Adapters from WTP available from eg. http://download.eclipse.org/releases/indigo.
Cft. Apache Tomcat Not Showing in Eclipse Server Runtime Environments
Worked for me. Was getting the same Could not load server configuration at conf message with Eclipse 3.7 Indigo (ColdFusion IDE).
Installed Tomcat 6 on Win 7.
Stop any Tomcat instances running.
Define a new server, choosing Tomcat 6.
Click Configure runtime environments...
Remove any environments.
Click Seach...
Point to Tomcat dir: C:\Program Files\Apache Software Foundation\Tomcat 6.0
(Should find it) Then click OK and Finish.
Start Tomcat from Eclipse.
FYI, Glassfish wasn't working for me in Eclipse so I went with Tomcat.

Jboss 7 and eclipse indigo plug in giving error while starting server?

I installed Eclipse indigo and jboss 7 server and jboss server plugins installed for struts2 application.
I created simple application with jsp page and deployed in to jboss7 server ( i installed server ,run from out side of eclipse and i saw new features of jboss 7 ) after deploying application .
I want to start the server but server giving error like " Error:no server JVM at c:\java\jre1.6\bin\server\jvmdll"
help me for this issue.
thanks
param
I also had this problem and did not find where I could set the JVM for JBoss in Eclipse Indigo. I got JBoss 7 working by removing the JRE6 from installed JREs in Eclipse and only having JDK6 there. I also changed JRE6 to JDK6 by double clicking the JBoss server -> Open launch configuration -> Classpath -> Bootstrap Entries.
After this I readded JRE6 to Eclipse for the projects that used it.
change jvm in jboss's tomcat conf from
C:\Program Files\Java\jre6\bin\server\jvm.dll
to
C:\Program Files\Java\jre6\bin\client\jvm.dll
I posted the below answer here
I've just been struggling with this same problem in Eclipse and I noted that as suggested by the answer above the JBoss site has a thread on this issue saying the same as the answer above to copy files from the jdk to the jre folder.
I noticed that you can avoid having to do this if you define the runtime to be the jdk when you create the server. I didn't find how to edit an existing server though.