Re: Apache Accessing Tomcat Issue

2013-03-29 Thread Igor Cicimov
On 29/03/2013 10:29 AM, Chris Arnold carn...@electrichendrix.com wrote: Apache Tomcat/7.0.30 on SLES11 SP2. I am trying to configure access to a webapp using http://share.domain.com. This webapp uses port 8080 and works fine from inside the LAN. However, we have an apache2 server acting as a

Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Shyam Yadav
Hi, I want to run my tomcat on port 443 with https on an Ubuntu machine. what are the required steps i should take, please guide me through it. I search Internet but did not get any proper solution that is why i am here sending you this mail. Please help me. this will be really appreciating.

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Ognjen Blagojevic
Shyam, On 29.3.2013 9:38, Shyam Yadav wrote: I want to run my tomcat on port 443 with https on an Ubuntu machine. what are the required steps i should take, please guide me through it. I search Internet but did not get any proper solution that is why i am here sending you this mail. Please

Re: Apache Accessing Tomcat Issue

2013-03-29 Thread Rainer Jung
On 29.03.2013 00:24, Chris Arnold wrote: Apache Tomcat/7.0.30 on SLES11 SP2. I am trying to configure access to a webapp using http://share.domain.com. This webapp uses port 8080 and works fine from inside the LAN. However, we have an apache2 server acting as a proxy and we want users to

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Shyam Yadav
Hi Ognjen, Its really very nice that you replied so soon. Thank you for your involvement. I am getting this following exception and the tomcat doesn't start. java.net.BindException: Permission denied null:443 I am really stuck with it. Please help me out with it. Thanks Regards, Shyam

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Michael-O
Am 2013-03-29 09:38, schrieb Shyam Yadav: Hi, I want to run my tomcat on port 443 with https on an Ubuntu machine. what are the required steps i should take, please guide me through it. I search Internet but did not get any proper solution that is why i am here sending you this mail. Hi

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Ognjen Blagojevic
Shyam, On 29.3.2013 11:16, Shyam Yadav wrote: I am getting this following exception and the tomcat doesn't start. java.net.BindException: Permission denied null:443 I am really stuck with it. Please help me out with it. How do you start tomcat? Which user runs the Tomcat process? It is

Re: Apache Accessing Tomcat Issue

2013-03-29 Thread Chris Arnold
On 29.03.2013 00:24, Chris Arnold wrote: # The following line mounts all JSP files and the /servlet/ uri to tomcat #JkMount /servlets-examples/servlet/* ajp13 JkMount /share/*.jsp ajp13 Note that you only forward JSP-Requests here. might be OK, depending on the application. The

Re: Apache Accessing Tomcat Issue

2013-03-29 Thread Chris Arnold
What's the request you send? i assume you are asking for the link? Which is http://share.domain.com What's the expected response a login page and what's the actual response? Now, it is a 403: [Fri Mar 29 08:15:24 2013] [error] [client pub ip] Directory index forbidden by Options directive:

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Shyam Yadav
Hi Ognjen, You are right. I am not running tomcat from root user. But I have an requirement where tomcat should be running from normal user. Is it possible anyway? and is it going to affect system and performance?? Thanks Regards, Shyam Yadav On Fri, Mar 29, 2013 at 4:35 PM, Ognjen Blagojevic

RE: Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Caldarale, Charles R
From: Shyam Yadav [mailto:shyam.ya...@mobicule.com] Subject: Re: Setting up tomcat to run on port 443 on ubuntu system Hi Ognjen, Don't top-post; it's extremely difficult to figure out exactly what you're replying to when you do so. But I have an requirement where tomcat should be running

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Ognjen Blagojevic
Shyam, On 29.3.2013 13:36, Shyam Yadav wrote: You are right. I am not running tomcat from root user. But I have an requirement where tomcat should be running from normal user. Is it possible anyway? It is possible, and recommended. Using jsvc for instance, as I explained in previos post.

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Shyam Yadav
Hi Ognjen, I did all the setting you have mentioned for Unix Daemon for Tomcat, but still i am getting the same problem. i.e. Permission Denied. Thank you very much sir for helping me out but still its not working. This may be my mistake. Thanks Regards, Shyam Yadav

Re: Apache Accessing Tomcat Issue

2013-03-29 Thread Rainer Jung
On 29.03.2013 13:10, Chris Arnold wrote: On 29.03.2013 00:24, Chris Arnold wrote: # The following line mounts all JSP files and the /servlet/ uri to tomcat #JkMount /servlets-examples/servlet/* ajp13 JkMount /share/*.jsp ajp13 Note that you only forward JSP-Requests here. might

Re: Apache Accessing Tomcat Issue

2013-03-29 Thread Chris Arnold
This thread is getting kinda messy so i am going to snip a bunch of stuff and answer your latest info. So mod_proxy is loaded but you don't want to use it to access alfresco, instead just mod_jk, right? Then don't use any ReWriteRule with the [P} flag or any Proxy... directive. No, if this can

Re: Apache Accessing Tomcat Issue

2013-03-29 Thread Rainer Jung
On 29.03.2013 18:02, Chris Arnold wrote: This thread is getting kinda messy so i am going to snip a bunch of stuff and answer your latest info. Good. So mod_proxy is loaded but you don't want to use it to access alfresco, instead just mod_jk, right? Then don't use any ReWriteRule with the

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Darryl Lewis
Did you read and follow: http://commons.apache.org/proper/commons-daemon/jsvc.html On 30/03/13 12:54 AM, Shyam Yadav shyam.ya...@mobicule.com wrote: Hi Ognjen, I did all the setting you have mentioned for Unix Daemon for Tomcat, but still i am getting the same problem. i.e. Permission Denied.

Re: Setting up tomcat to run on port 443 on ubuntu system

2013-03-29 Thread Igor Cicimov
If installed from package open /etc/default/tomcat7, uncomment thr last line and make it AUTHBIND=yes and then youll be able to bind tomcat to port 80 and/or 443 On 30/03/2013 1:22 AM, Shyam Yadav shyam.ya...@mobicule.com wrote: Hi Ognjen, I did all the setting you have mentioned for Unix