Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-28 Thread tomcat
hi. 1) I have removed the previous correspondence from this email, because by now it has become pretty much unreadable anyway. Also, there are 2 links at the bottom of your last email (to "avg"-something). I don't know if these are supposed to provide some additional information, but they both

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-27 Thread Lou Wallace
Hi André, Here is some info on the setup, let me know what it tells you. tomcat etc/tomcat drwxrwxr-x. 3 root tomcat 23 Nov 18 17:48 Catalina -rw-r--r--. 1 root tomcat 13443 Oct 16 09:16 catalina.policy -rw-r--r--. 1 root tomcat 6496 Oct 16 09:16 catalina.properties drwxr-xr-x. 2 root

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Greg Huber
> > [Sun Nov 25 18:00:36.250346 2018] [core:notice] [pid 26421] SELinux > policy enabled; httpd running as context system_u:system_r:httpd_t:s0 Unless its a requirement of your host services just disable selinux as it adds complexity. When apache/tomcat is up and running you can enable it and

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread tomcat
On 25.11.2018 21:43, Lou Wallace wrote: Whew. Just read that link Warning: If Apache and Tomcat are configured to serve content from the same file system location then care must be taken to ensure that Apache is not able to serve inappropriate content such as the contents of the WEB-INF

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Lou Wallace
Whew. Just read that link Warning: If Apache and Tomcat are configured to serve content from the same file system location then care must be taken to ensure that Apache is not able to serve inappropriate content such as the contents of the WEB-INF directory or JSP source code. This could occur

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Loai Abdallatif
you are running apache with selinux context . just try to avoid its complexity On Sun, Nov 25, 2018 at 10:27 PM Lou Wallace wrote: > How will selinux help? Not sure what you mean... > > On Sun, Nov 25, 2018 at 3:16 PM Loai Abdallatif > > wrote: > > > try selinux to permissive mode using

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread tomcat
Hi. I have not been following this in detail, but some of the things I've seen written made me think of the warning (in red type) on the page : http://tomcat.apache.org/connectors-doc/reference/apache.html In other words, if your front-end Apache httpd is configured in such a way that, to

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Lou Wallace
How will selinux help? Not sure what you mean... On Sun, Nov 25, 2018 at 3:16 PM Loai Abdallatif wrote: > try selinux to permissive mode using #setenforce 0 to exclude it from > analyses > > On Sun, Nov 25, 2018 at 8:05 PM Lou Wallace > wrote: > > > hey Greg, > > > > No obvious errors in

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Loai Abdallatif
try selinux to permissive mode using #setenforce 0 to exclude it from analyses On Sun, Nov 25, 2018 at 8:05 PM Lou Wallace wrote: > hey Greg, > > No obvious errors in mod_jk log. Only has five lines > > [Sun Nov 25 15:22:11.637 2018] [14159:139840145266816] [info] > init_jk::mod_jk.c (3591):

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Lou Wallace
hey Greg, No obvious errors in mod_jk log. Only has five lines [Sun Nov 25 15:22:11.637 2018] [14159:139840145266816] [info] init_jk::mod_jk.c (3591): mod_jk/1.2.46 initialized [Sun Nov 25 15:22:11.657 2018] [14159:139840145266816] [info] init_jk::mod_jk.c (3591): mod_jk/1.2.46 initialized [Sun

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Greg Huber
OK, sorry, if you are remote then 8080 port may not be open. You need to check tomcat app actually shows the page correctly. If the page http://IP/index.jsp just shows the jsp, have a look at the /var/log/httpd logs to see what its doing, eg access.log

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Greg Huber
>Question 1: Are 10-my.conf and my.conf supposed to automatically be used by >the system if they are in conf directory or do they need to be called from >somewhere like httpd.conf? Looking at httpd.conf ... # # Dynamic Shared Object (DSO) Support # Include conf.modules.d/*.conf ... # Supplemental

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Lou Wallace
How can I do that from the command line shell? I tried it from browser and it timed out using http://IP:8080/index.jsp On Sun, Nov 25, 2018 at 11:54 AM Greg Huber wrote: > >>But my .jsp web page is still showing as plain text > > With tomcat running does it show correctly ie >

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Greg Huber
>>But my .jsp web page is still showing as plain text With tomcat running does it show correctly ie http://127.0.0.1:8080/../mypage.jsp then try http://127.0.0.1/../mypage.jsp ## tomcat server.xml using default port On Sun, 25 Nov 2018 at 15:28, Lou Wallace wrote: > hmm this is weird

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Lou Wallace
It's there in /etc/httpd/modules its file size is 1556784 ls -l /etc/httpd/modules/mod_jk.so shows -rwxr-xr-x. 1 root root 1556784 apachectl -M shows no mod_jk.so loaded Question 1: Are 10-my.conf and my.conf supposed to automatically be used by the system if they are in conf directory or do

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Lou Wallace
hmm this is weird After adding #Options Indexes FollowSymLinks #No folders/files listed Options -Indexes -FollowSymLinks I decided to allow httpd.conf to try and load mod_jk.so again so I added back LoadModule jk_module /etc/httpd/modules/mod_jk.so and restarted httpd then when I do apachectl

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Greg Huber
There's the problem, make sure you have copied mod_jk.so to /etc/httpd/modules/mod_jk.so My file size 1,556,816 bytes permission owner root and execute ls -l /etc/httpd/modules/mod_jk.so -rwxrwxr-x 1 root root also check the x executable And apachectl -M (sorry not -S) ... jk_module (shared)

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-24 Thread Lou Wallace
Here is what I see Loaded Modules: core_module (static) so_module (static) http_module (static) access_compat_module (shared) actions_module (shared) alias_module (shared) allowmethods_module (shared) auth_basic_module (shared) auth_digest_module (shared) authn_anon_module (shared)

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Lou, On 11/24/18 12:19, Lou Wallace wrote: > Hi Greg, > > I did this and restarted HTTPD. No error but no change. > > Not sure how 10-my.conf and my.conf are called, but I did create > them as described. > > Also when I checked configtest > >

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-24 Thread Lou Wallace
Hi Greg, I did this and restarted HTTPD. No error but no change. Not sure how 10-my.conf and my.conf are called, but I did create them as described. Also when I checked configtest [root@server2 conf]# apachectl configtest Syntax OK and apachectl -S [root@server2 conf]# apachectl -S

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-23 Thread Lou Wallace
Hi Loai, How would setenforce 0 help? Lou On Wed, Nov 21, 2018 at 3:59 PM Loai Abdallatif wrote: > Hi Lou > > may be its worth to check Selinux , > try setenforce 0 > > On Wed, Nov 21, 2018 at 8:41 PM Lou Wallace > wrote: > > > Hey Greg, > > > > Thanks for the info. I changed both httpd.conf

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-22 Thread Greg Huber
-Nov 21 18:32:37 server2 httpd[24339]: AH00526: Syntax error on line 63 of -/etc/httpd/conf/httpd.conf: -Nov 21 18:32:37 server2 httpd[24339]: Invalid command 'JkWorkersFile', -perhaps misspelled or defined by a module not included in the server -configuration Line 63? possibly have not loaded

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-21 Thread Loai Abdallatif
Hi Lou may be its worth to check Selinux , try setenforce 0 On Wed, Nov 21, 2018 at 8:41 PM Lou Wallace wrote: > Hey Greg, > > Thanks for the info. I changed both httpd.conf and workers.properties to > your settings. Got the same error msg when I restarted httpd. > > When I checked journalist

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-21 Thread Rainer Jung
> Nov 21 18:32:37 server2 httpd[24339]: Invalid command 'JkWorkersFile', > perhaps misspelled or defined by a module not included in the server > configuration That means that there was no LoadModule line for mod_jk before that config line. You originally posted the first config line

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-21 Thread Lou Wallace
Hi Chris, I tried that and got similar error msgs. I am wondering if something needs to be defined upstream for Apache, Tomcat or maybe even Java? On Wed, Nov 21, 2018 at 11:37 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-21 Thread Lou Wallace
Hey Greg, Thanks for the info. I changed both httpd.conf and workers.properties to your settings. Got the same error msg when I restarted httpd. When I checked journalist I get ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-21 Thread Mark Thomas
On 21/11/2018 16:18, Lou Wallace wrote: > Hi Everyone, > > So still having issues with mod_jk. I have downloaded > > wget > http://www.eu.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.46-src.tar.gz > wget >

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Lou, On 11/21/18 11:18, Lou Wallace wrote: > Hi Everyone, > > So still having issues with mod_jk. I have downloaded > > wget > http://www.eu.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-conne ctors-1.2.46-src.tar.gz > > wget >

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-21 Thread Greg Huber
For my centos/mod._jk I use : /etc/httpd/conf.d/my.conf : ... JkWorkersFile "/etc/httpd/conf.d/workers.properties" JkLogFile "/etc/httpd/logs/mod_jk.log" JkShmFile "/etc/httpd/logs/jk-runtime-status.log" JkLogLevel info JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" JkMount / worker1 JkMount

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-21 Thread Lou Wallace
Hi Everyone, So still having issues with mod_jk. I have downloaded wget http://www.eu.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.46-src.tar.gz wget http://www.eu.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.46-src.tar.gz.sha1 and make install, and

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-16 Thread Lou Wallace
Thanks! I will give this a try! On Fri, Nov 16, 2018 at 11:38 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Lou, > > On 11/16/18 9:56 AM, Lou Wallace wrote: > > Hi All, > > > > I am in need of some help in getting mod_jk

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Lou, On 11/16/18 9:56 AM, Lou Wallace wrote: > Hi All, > > I am in need of some help in getting mod_jk installed on a new > google cloud server. > > Right now it has Apache, Tomcat, Java, mysql, perl and python > installed. But mod_jk isn't