Plesk for Linux
kb: how-to
ABT: Group A
Applicable to:
- Plesk for Linux
Question
Does Plesk Onyx or Plesk Obsidian support Apache Tomcat?
Why cannot Tomcat be installed on Plesk Onyx 17.8 or Plesk Obsidian, while the license includes Tomcat support?
Answer
Support for Apache Tomcat is dropped in Plesk Onyx 17.8. In previous Plesk versions (17.5 and lower), it will be supported until reaching End-of-Life according to the Plesk Lifecycle Policy.
To have Apache Tomcat supported, do not perform the upgrade to Plesk Onyx 17.8 or Plesk Obsidian.
Note: after upgrade to Plesk Onyx 17.8 or Obsidian, Apache Tomcat will be unavailable for installing and configuring via Plesk interface. However, Tomcat will continue working and Tomcat websites and applications will be reachable but on port 9080 only.
Comments
25 comments
There should have at least one way of supporting Java hosting. if you drop support for tomcat, bring support for wildfly or similar!
Hello @Emre,
Thank you for the feedback.
Despite there is no Plesk Support, you may install Tomcat or similar software manually on the server using the official instructions.
But not on 443 or 80 ports! 😡
@Emre, yes, you are correct such configuration is not supported.
Plesk Development Team monitors the demand and if it will be significant, we will consider a possibility of supporting Tomcat in some way in future Plesk Updates.
The list of deprecated functionality in 17.8 may be found here:
https://support.plesk.com/hc/en-us/articles/115005115774-Deprecated-functionality-in-Plesk-Onyx-17-8
We have a Plesk Onyx 17.8, with windows server 2012. How to make java run on the server. Please help.
Hello @Vyshak,
Please note that despite Tomcat is not supported by Plesk, to run Java you may install it manually using the official instructions.
Thank you Ivan.
i want shared tomcat back on plesk onyx ,is it happening.
Hello @Mohammad!
Plesk Development Team monitors the demand and if it will be significant, we will consider a possibility of supporting Tomcat in some way in future Plesk Updates.
Please, note that Plesk 17.5 and below still support Tomcat.
Tomcat has its downsides and I'm saying that it does not have to be tomcat but maybe wildfly or at least some app server that we can serve on standard HTTP(s) ports, please!
this action cuts down a lot of Java developers...
Wil Plesk 17.5 and below continue to support tomcat forever
Wil Plesk 17.5 and below continue to support shared tomcat forever
Hello @Mohd, yes, as long as 17.5 will be available, Tomcat will be available for the installation too.
Hi @Emre, I have created a feature request, feel free to vote for it. Popular feature suggestion will be implemented in the future.
if java is the best language for websites, then why u stop tomcat plesk onyx
i mean there are way to handle load on tomcat, which prevent load on servers
like putting images at some other place.
bank website like 70% are written in java
all big clients choose jsp as their primay language because its fast secure and portable
but when it comes to low bugdet clients java needs to be tune , jvm needs to be tune , tomcat need to be tune
all i want to say if configure jvm and tomcat proper and good , it will not put load on ur server.
i want tomcat shared hosting back.
Hello @Mohammad,
Thank you for the feedback and for sharing the information.
Consider voting for this feature request, currently, it is under the discussion.
how about getting this to plesk
https://github.com/NanoHttpd/nanohttpd
a lightweight tiny webserver in java .
Hello @Mohammad,
Thank you for sharing.
Plesk uses Apache+Nginx as HTTP server and currently, there are no plans to implement another one.
However, could you, please, share more details how do you want this to be implemented in Plesk?
u just need to run
public static main method ()
{ super(8080);
}
class on plesk jvm
and point domain to localhost://8080 on computer where the main program is running .
so no need of tomcat, only jvm is needed with certain jar files.
Hello @Mohammad,
Please, add the detailed information about this suggestion in the feature request.
It is regularly checked by Plesk Developers.
It is possible to have Tomcat on ports 80 and 443 even with Plesk Onyx, just add this under Apache & nginx settings > Additional nginx directives:
where 8080 is the port where Tomcat is running.
Hi
I would like to add my voice to the question in supporting Tomcat in Plesk again.
Regards,
Jan
Actually you don't really support for Tomcat in Plesk. Install JRE and Tomcat as described in many articles. Usualy CFML support is needed, so got for Lucee.
And now: Install "mod_cfml"
"Mod_cfml is a community-driven suite of programs that automatically configures Tomcat hosts to match hosts created in Apache, NGINX, or IIS. Mod_cfml removes the need to configure web sites twice - once in your web server and again in Tomcat - and performs this task automatically for you."
https://viviotech.github.io/mod_cfml/
This allows you to run a Lucee as transparent as a any PHP-Server. You don't need to add or edit hosts in the server.xml of Tomcat.
Hello @Martin,
Thank you for the information, it may be helpful for other Pleskians.
Just let me note that this was not tested with Plesk and is used at own risk of server owner.
Still no Tomcat?
You're limiting Plesk so much with not supporting Tomcat. Majority of people will not complain here but maybe switch to alternatives. Is it really so complicated to bring tomcat support to plesk? Don't know about the reasons but Java is so important.
I have multiple Plesk licence and I'm really missing it now.
Please sign in to leave a comment.