Hi All,
I have question for the web savvy guys, I would like to take a look to Lucee an open source implementation of Coldfusion, I understood it need Apache Tomcat to work but I would like to know if I need to install also Apache Web Server, what should I do?
Thanks!
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED]Apache Web Server and Apache Tomcat, do I need both?
[SOLVED]Apache Web Server and Apache Tomcat, do I need both?
Last edited by Danielsan on 2017-09-20 14:07, edited 1 time in total.
Re: Apache Web Server and Apache Tomcat, do I need both?
you need tomcat, because it's a java thing.
you don't necessarily need apache (or any other server software).
if this is the only thing your machine is serving, you can probably do that.
i run libresonic on my server (java media server, requires tomcat) but i let it serve only to localhost, from where nginx picks it up and serves it to the world via ssl. safer that way, i'm being told. and anyhow, i already have nginx running, serving other stuff, so 1 more doesn't matter.
you don't necessarily need apache (or any other server software).
if this is the only thing your machine is serving, you can probably do that.
i run libresonic on my server (java media server, requires tomcat) but i let it serve only to localhost, from where nginx picks it up and serves it to the world via ssl. safer that way, i'm being told. and anyhow, i already have nginx running, serving other stuff, so 1 more doesn't matter.
Re: [SOLVED]Apache Web Server and Apache Tomcat, do I need b
Eventually I installed a minimal debian with the web server stack, then I used the installer provided by lucee that installed me, in opt/, beside lucee itself all the bloated java component so I am not using the ones provided by Debian... I really don't like this Windows approach... Anyway I have my Lucee server available through Virtualbox and I can reach it by my browser.
Lucee provides also an express jar file to check it out, so I could use this one as well, probably that would help to use the Debian tools, anyway I am not really interested in find which is the best way to install it in Debian, I am just checking is worth give it a chance and avoid to pay the enterprise version of Coldfusion of the company where I work in.
Lucee provides also an express jar file to check it out, so I could use this one as well, probably that would help to use the Debian tools, anyway I am not really interested in find which is the best way to install it in Debian, I am just checking is worth give it a chance and avoid to pay the enterprise version of Coldfusion of the company where I work in.
- sevendogsbsd
- Posts: 9
- Joined: 2017-09-24 13:25
Re: [SOLVED]Apache Web Server and Apache Tomcat, do I need b
Tomcat is an application server and it can work standalone without Apache. Apache is only a web server, not an application server. For example, I have a Java web application I run on Tomcat. I can just run it on Tomcat without Apache. A better (more secure) architecture is to run Apache as your web server in a DMZ with Tomcat as the application server in your core network. To do this, you use a connector to allow the two to communicate. This article explains it: https://tomcat.apache.org/connectors-do ... pache.html. You don't have to do this but being a security guy I have to at least mention it
"No one outside ourselves can rule us inwardly. When we know this, we become free."
--Buddha
--Buddha
Re: [SOLVED]Apache Web Server and Apache Tomcat, do I need b
essentially the same as the previously mentioned nginx reverse proxy.sevendogsbsd wrote:To do this, you use a connector to allow the two to communicate.
"connector" sounds like something from the Windows world, "nginx reverse proxy" like sth from Bladerunner...
- sevendogsbsd
- Posts: 9
- Joined: 2017-09-24 13:25
Re: [SOLVED]Apache Web Server and Apache Tomcat, do I need b
Lol, I was referring to the mod_jk connector - that's Apache's terminology. Right - in my example, Apache is essentially a proxy and by putting web services in a dmz, it provides better protection for the app server and database server, if there is one.debiman wrote:essentially the same as the previously mentioned nginx reverse proxy.sevendogsbsd wrote:To do this, you use a connector to allow the two to communicate.
"connector" sounds like something from the Windows world, "nginx reverse proxy" like sth from Bladerunner...
Reminds me I need to see the new bladerunner! I still haven't seen all of the old one (shame on me).
"No one outside ourselves can rule us inwardly. When we know this, we become free."
--Buddha
--Buddha
Re: [SOLVED]Apache Web Server and Apache Tomcat, do I need b
it looks like the new one will be out in a few days.sevendogsbsd wrote:Reminds me I need to see the new bladerunner!
meanwhile, check out these!
indeed!sevendogsbsd wrote:I still haven't seen all of the old one (shame on me).
fix that asap, please!
- sevendogsbsd
- Posts: 9
- Joined: 2017-09-24 13:25
Re: [SOLVED]Apache Web Server and Apache Tomcat, do I need b
Very cool, thanks!
"No one outside ourselves can rule us inwardly. When we know this, we become free."
--Buddha
--Buddha