>I'm surprised that the Alfresco team is still giving-out advice that
>was appropriate in the mid-2000s.
>Some notes:
>1. Don't put in server.xml. Just don't.
>2. "debug" hasn't been used in ... forever.
>3. path="" is bad, and isn't necessary if you follow #1
It did not work so i took it out
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris,
On 1/26/15 8:05 PM, Chris Arnold wrote:
>>> Yeah, that document is evidently a pack of lies. Specifically,
>>> the "path" and "docbase" attributes in are ignored
>>> in META-INF/context.xml files, and you really shouldn't have
>>> your any
>> Yeah, that document is evidently a pack of lies. Specifically,
>> the "path" and "docbase" attributes in are ignored in
>> META-INF/context.xml files, and you really shouldn't have your
>> anywhere else (except in
>> conf/[engine]/[host]/[appname].xml, which behaves almost the same
>> way).
>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris,
On 1/26/15 5:36 PM, Chris Arnold wrote:
>
>> Yeah, that document is evidently a pack of lies. Specifically,
>> the "path" and "docbase" attributes in are ignored in
>> META-INF/context.xml files, and you really shouldn't have your
>> any
> Yeah, that document is evidently a pack of lies. Specifically, the
> "path" and "docbase" attributes in are ignored in
> META-INF/context.xml files, and you really shouldn't have your
> anywhere else (except in conf/[engine]/[host]/[appname].xml,
> which behaves almost the same way).
>
> Best
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris,
On 1/26/15 4:52 PM, Chris Arnold wrote:
>> The best possible setup here is to set up httpd with more than
>> one VirtualHost (and SNI, since you are using HTTPS) with the
>> correct hostnames, etc., and only use JkMount from the "share2"
>> V
>>If the application can't handle that (try it!), you'll have to make
>>other arrangements.
>According to:
>https://wiki.alfresco.com/wiki/Deploying_To_Server
>that is not even necessary. I understand that link is a years old and talks
>about tomcat 6 but the general >idea is the same. I will tr
>The best possible setup here is to set up httpd with more than one
>VirtualHost (and SNI, since you are using HTTPS) with the correct
>hostnames, etc., and only use JkMount from the "share2" VirtualHost.
>Then, re-name your application from share.war to ROOT.war and
>re-deploy it into Tomcat. Use
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris,
On 1/25/15 7:38 PM, Chris Arnold wrote:
>> If you won't re-name the web application, I think redirects will
>> be your best bet. If a client requests
>> http(s)://share2.domain.tld/, you should redirect them to
>> https://share2.domain.tld/sh
> If you won't re-name the web application, I think redirects will be
> your best bet. If a client requests http(s)://share2.domain.tld/, you
> should redirect them to https://share2.domain.tld/share/ and then
> "JkMount /share/* worker1". You can redirect using RedirectPermanant
> or a few other
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris,
On 1/23/15 7:49 PM, Chris Arnold wrote:
>
>> *sigh*
>>
>> If you only want to proxy for one VirtualHost, then only set up
>> JkMounts in that one VirtualHost.
>>
>> Like this:
>>
>> ServerName share2..xxx
>>
>> JkMount /* worker1 (
> *sigh*
>
> If you only want to proxy for one VirtualHost, then only set up
> JkMounts in that one VirtualHost.
>
> Like this:
>
>
>ServerName share2..xxx
>
>JkMount /* worker1 (or "balancer", whichever you want)
>
Maybe I wasn't clear in my other reply, the above jkmount /* wo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris,
On 1/23/15 10:40 AM, Chris Arnold wrote:
>> What you want is:
>
>> JkMount /share2/* worker1
>
>> or maybe:
>
>> JkMount /share2/* balancer
>
>> workers.properties defines the workers (target host/port,
>> connection options, etc.) and th
>What you want is:
>JkMount /share2/* worker1
>or maybe:
>JkMount /share2/* balancer
>workers.properties defines the workers (target host/port, connection
>options, etc.) and the JkMount directives in httpd.conf map URL
>patterns to those workers.
So JkMount /* proxied everything and we only
>What you want is:
>JkMount /share2/* worker1
>or maybe:
>JkMount /share2/* balancer
>workers.properties defines the workers (target host/port, connection
>options, etc.) and the JkMount directives in httpd.conf map URL
>patterns to those workers.
So JkMount /* proxied everything and we only
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris,
On 1/21/15 6:41 PM, Chris Arnold wrote:
>> Chris,
>
>> On 1/21/15 5:56 PM, Chris wrote: You must have changed something
>> since your original >configuration. Do you have "JkMount ajp13"
>> somewhere? You need to use >the worker name and not
Am 22.01.2015 um 01:03 schrieb Chris Arnold:
+1
And also, could you specify again what URL you are >requesting in the browser,
which you
would expect to be proxied to Tomcat ?
https://share2.domain.tld
Looking at the log you just showed, it seemed that the >only requests ever
passed throug
>+1
>And also, could you specify again what URL you are >requesting in the browser,
>which you
>would expect to be proxied to Tomcat ?
https://share2.domain.tld
>Looking at the log you just showed, it seemed that the >only requests ever
>passed through
>mod_jk for evaluation, where things like
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris,
On 1/21/15 5:56 PM, Chris Arnold wrote:
When i look at the apache log for that request, i dont see
where the request is even making it to apache or tomcat.
Try to request a static file from DocumentRoot directo
>Chris,
>On 1/21/15 5:56 PM, Chris wrote:
>You must have changed something since your original >configuration. Do
>you have "JkMount ajp13" somewhere? You need to use >the worker name
>and not the protocol name.
>Can you post your updated workers.properties file, and >related
>httpd.conf configur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chris,
On 1/21/15 5:56 PM, Chris Arnold wrote:
>>> When i look at the apache log for that request, i dont see
>>> where the request is even making it to apache or tomcat.
>>>
>>
>> Try to request a static file from DocumentRoot directory.
>>
>> I
>> When i look at the apache log for that request, i dont see where the request
>> is even making it to apache or tomcat.
>>
>
> Try to request a static file from DocumentRoot directory.
>
> If you cannot, then your HTTPS is not configured correctly. Get that
> working first.
>>>Yeah, I overlooke
> #This rewrites https://share.anydomain.tld to our share server
> RewriteEngine On
> RewriteCond %{HTTP_HOST} ^share\.
> RewriteCond %{HTTPS} on
> RewriteCond %{REQUEST_URI} !^/share/
> RewriteRule ^/(.*) https://share.domain.tld:8443/share/ [P]
That will forward any
Am 17.01.2015 um 04:05 schrieb Chris Arnold:
When i look at the apache log for that request, i dont see where the request is
even making it to apache or tomcat.
Try to request a static file from DocumentRoot directory.
If you cannot, then your HTTPS is not configured correctly. Get that
work
>> When i look at the apache log for that request, i dont see where the request
>> is even making it to apache or tomcat.
>>
>
> Try to request a static file from DocumentRoot directory.
>
> If you cannot, then your HTTPS is not configured correctly. Get that
> working first.
>>Yeah, I overlooked
Am 17.01.2015 um 03:43 schrieb Chris Arnold:
No JkMount?
mod_jk uses the JkMount directive to decide, which >>requests should be
forwarded. Something like
JkMount /myapp|/* balancer
The directive should be put into the VirtualHost that is >>used in your
Apache web server config to serve
Am 17.01.2015 um 01:51 schrieb Konstantin Kolinko:
2015-01-17 2:31 GMT+03:00 Chris Arnold :
Current working setup:
apache 2.2 using mod_jk to pass 443 requests to tomcat on 8443.
We are migrating from SLES 11 SP3 to SLEs 12. On SLES 11 we use alfresco 5.0.c which
includes tomact 7.x i believ
>>No JkMount?
>>mod_jk uses the JkMount directive to decide, which >>requests should be
>>forwarded. Something like
>>JkMount /myapp|/* balancer
>>The directive should be put into the VirtualHost that is >>used in your
>>Apache web server config to serve the requests for >>/myapp.
When i look a
Am 17.01.2015 um 00:31 schrieb Chris Arnold:
Current working setup:
apache 2.2 using mod_jk to pass 443 requests to tomcat on 8443.
We are migrating from SLES 11 SP3 to SLEs 12. On SLES 11 we use alfresco 5.0.c which
includes tomact 7.x i believe. SLES 11 has apache 2.2.10. SLES 12 has apache
2015-01-17 2:31 GMT+03:00 Chris Arnold :
> Current working setup:
>
> apache 2.2 using mod_jk to pass 443 requests to tomcat on 8443.
>
>
> We are migrating from SLES 11 SP3 to SLEs 12. On SLES 11 we use alfresco
> 5.0.c which includes tomact 7.x i believe. SLES 11 has apache 2.2.10. SLES 12
> ha
Current working setup:
apache 2.2 using mod_jk to pass 443 requests to tomcat on 8443.
We are migrating from SLES 11 SP3 to SLEs 12. On SLES 11 we use alfresco 5.0.c
which includes tomact 7.x i believe. SLES 11 has apache 2.2.10. SLES 12 has
apache 2.4 and we use the same version of alfresco o
>> I have the following configuration (config files below) and am
>> encountering the error
>> âajp_connection_tcp_get_message::jk_ajp_common.c (1033): wrong
>> message format 0x4854 from 127.0.0.1:8082â when attempting to access
>> a URL that matches one of my JKMounted entries. My versions ar
[EMAIL PROTECTED] schrieb:
>> I have the following configuration (config files below) and am
>> encountering the error
>> “ajp_connection_tcp_get_message::jk_ajp_common.c (1033): wrong
>> message format 0x4854 from 127.0.0.1:8082” when attempting to access
>> a URL that matches one of my JKMounte
> I have the following configuration (config files below) and am
> encountering the error
> “ajp_connection_tcp_get_message::jk_ajp_common.c (1033): wrong
> message format 0x4854 from 127.0.0.1:8082” when attempting to access
> a URL that matches one of my JKMounted entries. My versions are
> li
I have the following configuration (config files below) and am encountering the
error
ajp_connection_tcp_get_message::jk_ajp_common.c (1033): wrong message format
0x4854 from 127.0.0.1:8082 when attempting to access
a URL that matches one of my JKMounted entries. My versions are listed below,
On 16 Jul 2008 at 13:41, Vinod Nagarajan wrote:
Date sent: Wed, 16 Jul 2008 13:41:09 -0700
From: Vinod Nagarajan <[EMAIL PROTECTED]>
Subject: mod_jk configuration issue
To: users@tomcat.apache.org
Send reply to: Tomcat Users List
> Hi,
>
> I am kind of ne
Hi,
I am kind of new to tomcat and apache.
I have configured Apache2 ( on port 80) and Tomcat 6 (on port 8080) on my
linux machine (ubuntu 8.04) and both work fine on its own.
I am trying to get the Apache forward the jsp requests to tomcat and get it
serviced by tomcat.
I just went through the
Good point, but no enchilada. I made the adjustment but with no result.
Do I need to set the directory in httpd.conf? I've put it down as
$tomcat-home/webapps with allow permissions- is this necessary?
On Tue, 2008-02-19 at 11:02 -0500, Jiansen Niu wrote:
> Since you defined "worker1" in you wor
Since you defined "worker1" in you worker.properties, you should use
"worker1" in the JkMount section of your httpd.conf instead of using
"localhost"
below is an example of my configuration which works:
LoadModule jk_module modules/mod_jk.so
JkWorkersFile "/etc/httpd/conf/workers.properties"
JkL
Is it the Apache? Or is it the Tomcat? All the logs say ok... so
As I mentioned this is a FreeBSD server- 6.2, Apache2.2, Tomcat 6.0,
mod_jk? (latest from FreeBSD ports 1.2.26?).
My httpd.conf includes a mod_jk.conf file and the mod_jk.conf calls a
workers.properties file. So do I need to put a r
Yep, something is not right with the Apache config. You need to monitor some
logs somewhere. Turn on more logging level before you start i.e. level=Debug or
some such value. HTH.
Da Rock wrote ..
> I'm trying to get all of the above working together peacefully with no
> success whatsoever. I've
Hard to tell, without any version, plattform, configuration and log file
content information...
Usually, if it's mod_jk 1.2.26: Don't forget to put your JkMount into
the VirtualHost (or use JkMountCopy).
Regards,
Rainer
Da Rock wrote:
I'm trying to get all of the above working together pea
I'm trying to get all of the above working together peacefully with no
success whatsoever. I've got Tomcat working, and Apache has always
worked as per usual, but mod_jk will simply not work.
I'm running all this on freebsd server, and when I navigate to /webapps
on the server I get a 404 error- b
xxNode1.recycle_timeout=300
>>>> worker.xxxNode1.recovery_options=0
>>>>
>>>> worker.xxxNode2.port=8209
>>>> worker.xxxNode2.host=xxx.xx.xx.xx
>>>> worker.xxxNode2.type=ajp13
>>>> worker.xxxNode2
>
> worker.xxxNode2.port=8209
> worker.xxxNode2.host=xxx.xx.xx.xx
> worker.xxxNode2.type=ajp13
> worker.xxxNode2.socket_keepalive=True
> worker.xxxNode2.socket_timeout=2
> worker.xxxNode2.recycle_timeout=300
> worker.xxx2.recovery_options=0
>
&g
Then start reading on
http://tomcat.apache.org/connectors-doc/reference/workers.html
what your configuration means. You will notice, that a value of 2 for
the socket_timeout does not really make any sense.
Regards,
Rainer
nuka schrieb:
> This configuration was done some time ago by someone els
=True
>> worker.xxxNode2.socket_timeout=2
>> worker.xxxNode2.recycle_timeout=300
>> worker.xxx2.recovery_options=0
>>
>> Do you have any idea which parameters do we need to change in this
>> configuration?
>>
>> thanks
>>
>> rgds
>
What's your idea why you configured a socket timeout of 2?
nuka schrieb:
> Hello,
>
> I am facing to a problem concerning apache-tomcat configuration via mod_jk
> for our production environment. We are using Apache: 2.0.55, Tomcat 5.0,
> mod_jk 1.2.15.
>
> Our first problem has been raised some
message in context:
http://www.nabble.com/mod_jk-configuration-for-production-tf3260752.html#a9062426
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsu
Bruno,
>> Hmm... I didn't know that one could "upload file" to an email...
>> consider using copy/paste in the future. It seems to have worked, here.
>
> I'm using www.nabble.com...
Ah. I think the list will clip-out attachments. I'm not sure of the
rules, but copy/paste pretty much always works
at I wan't to do is let Apache serve static content and tomcat serve
dynamic one...
In the /jsp-examples everything works fine... I have images, index.html and
I can run .jsp...
This is the strange problem I've mentioned.
--
View this message in context:
http://www.nabble.com/mod_jk-co
Bruno,
bcochofel wrote:
> Christopher Schultz-2 wrote:
>>> Here's my /etc/apache2/conf.d/jk.conf:
>>> http://www.nabble.com/file/3921/jk.conf jk.conf
>> (These are never coming through. How are you trying to attach files?)
>>
>
> I'm using Upload File... option.
Hmm... I didn't know that one c
y from all
AllowOverride None
deny from all
--
View this message in context:
http://www.nabble.com/mod_jk-configuration-tf2539505.html#a7096982
Sent from the Tomcat - User mailing list archive at Nabble.com.
---
Bruno,
> Now I have an even stranger behavior...
>
> I can only JkMount /jsp-examples, I did the same to /tomcat-docs,
> /servlets-examples and /cocoon and I get :
>
> Forbidden
> You don't have permission to access /tomcat-docs/ on this server.
> Additionally, a 403 Forbidden error was encounte
ng to use an
ErrorDocument to handle the request.
Here's my /etc/apache2/conf.d/jk.conf:
http://www.nabble.com/file/3921/jk.conf jk.conf
My httpd.conf comes with SuSE and has several include options...
--
View this message in context:
http://www.nabble.com/mod_jk-configuration-tf2539505.htm
Which files aren't being served by
> Apache httpd?
>
Well I add the line:
JkMount /jsp-examples ajp13
I now I can get http://localhost/jsp-examples http://localhost/jsp-examples
to work also...
Thanks
--
View this message in context:
http://www.nabble.com/mod_jk-configuration-tf253
Bruno,
> Alias /jsp-examples "/srv/www/tomcat5/base/webapps/jsp-examples"
> JkMount /jsp-examples/*.jsp ajp13
> JkMount /jsp-examples/j_security_check ajp13
These three ought to do the trick. Which files aren't being served by
Apache httpd?
Can you give an example of a URI that sho
er URIs as well, then you should
> define them. There's nothing wrong with having a lot of JkMount
> directives:
>
--
View this message in context:
http://www.nabble.com/mod_jk-configuration-tf2539505.html#a7079096
Sent from the Tomcat - User mailing list archive at Nabble.com.
---
Bruno,
> But when I use "JkMount /jsp-examples ajp13" doesn't this tell Apache that
> everything inside /jsp-examples "goes" to Tomcat?
No, it doesn't. JkMount does two kinds of matching: exact and wildcard.
Exact:
JkMount /jsp-examples ajp13
This will map the URI "/jsp-examples" to Tomcat,
;
> -chris
>
>
>
>
>
--
View this message in context:
http://www.nabble.com/mod_jk-configuration-tf2539505.html#a7078655
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topi
Bruno,
> I have one more question, let's take /jsp-examples to explain...
> I want *.jsp send to tomcat for processing but all static contents processed
> by apache, how can I do this?
This should be the default. Anything for which you do not explicitly
have a "JkMount" directive will be served b
Bruno,
> Well I've tried adding DirectoryIndex index.html index.htm index.jsp but no
> good...
Can you post the relevant portions of your httpd.conf?
> Does jk.cong overrides my apache conf?
jk.conf is just included in httpd.conf (right?), so it can certainly
override your httpd.conf.
-chris
does not match "/jsp-examples/*", your mappings
> are failing. You'll need to add something like:
>
> JkMount /jsp-examples worker1
>
> Hope that helps,
> -chris
>
>
>
>
--
View this message in context:
http://www.nabble.com/mod_j
Monday, October 30, 2006 10:19 AM
Subject: Re: mod_jk configuration
>
> Well I've tried adding DirectoryIndex index.html index.htm index.jsp but no
> good...
> My Apache configuration has this and all the links work with or without the
> /
> Does jk.cong overrides my apa
> I'll send them.
>
> --
>
> Jorge Cabrera
> Consultor técnico
> Ándago Ingeniería - www.andago.com
>
> Teléfono: +34 912 732 228
> Móvil: +34 637 741 034
> e-mail: [EMAIL PROTECTED]
>
>
>
"/jsp-examples" does not match "/jsp-examples/*", your mappings
> are failing. You'll need to add something like:
>
> JkMount /jsp-examples worker1
>
> Hope that helps,
> -chris
>
>
>
>
--
View this message in contex
Hi,
Christopher Schultz wrote:
Bruno,
when I try
http://localhost/jsp-examples http://localhost/jsp-examples (without the /)
I get this error:
Forbidden
You don't have permission to access /jsp-examples on this server.
Additionally, a 403 Forbidden error was encountered while trying to us
Bruno,
> when I try
> http://localhost/jsp-examples http://localhost/jsp-examples (without the /)
> I get this error:
>
> Forbidden
> You don't have permission to access /jsp-examples on this server.
> Additionally, a 403 Forbidden error was encountered while trying to use an
> ErrorDocument to
jk.conf):
http://www.nabble.com/file/3907/jk.conf jk.conf
Can someone help me on this?
Thanks,
Bruno
--
View this message in context:
http://www.nabble.com/mod_jk-configuration-tf2539505.html#a7074844
Sent from the Tomcat - User mailing list archiv
/*.do router
JkMount /*.jsp router
Tomcat config:
-Original Message-
From: Michael Courcy [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 19, 2006 3:07 PM
To: Tomcat Users List
Subject: Re: Tomcat, Apache and mod_jk configuration
Yes it's what I mean,
in your
Yes it looks much more powerful than my solution. Especially if you want
to guarantee a minimum JVM heap size for each app.
Thanks a lot.
JVM
It looks like what to have more than one webapp as the "root webapp".
My suggestion would be to run each webapp in a different instance of
Tomcat. It's
PROTECTED]
01 70 18 21 64
-Message d'origine-
De : Michael Courcy [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 19 octobre 2006 14:51
À : Tomcat Users List
Objet : Re: Tomcat, Apache and mod_jk configuration
Hello
Here is a fragment of my server.xml
verlina
#x27;origine-
De : Christopher Schultz [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 19 octobre 2006 15:39
À : Tomcat Users List
Objet : Re: Tomcat, Apache and mod_jk configuration
Guillaume,
> In fact, I've already put the jkMount directive in the VirtualHost
> conf.
[snip]
> And I
Guillaume,
> In fact, I've already put the jkMount directive in the VirtualHost
> conf.
[snip]
> And I'd like to have my webapp accessible through
> http://preprod.skyce.net/ instead of
> http://preprod.skyce.net/struts-dev-1/.
It looks like what to have more than one webapp as the "root web
PROTECTED]
01 70 18 21 64
-Message d'origine-
De : Michael Courcy [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 19 octobre 2006 14:51
À : Tomcat Users List
Objet : Re: Tomcat, Apache and mod_jk configuration
Hello
Here is a fragment of my server.xml
verlina
ED]
01 70 18 21 64
-Message d'origine-
De : Michael Courcy [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 19 octobre 2006 14:51
À : Tomcat Users List
Objet : Re: Tomcat, Apache and mod_jk configuration
Hello
Here is a fragment of my server.xml
verlina.com
tique-et-p
Hello
Here is a fragment of my server.xml
verlina.com
tique-et-puce.fr
www.tique-et-puce.fr
shampooing-chien.fr
www.shampooing-chien.fr
directory="logs" prefix="verlina.com_access_log."
suffix=".txt"
Hi there,
Here is my problem. I got a working Tomcat 5.5.20 handling 4 webapps in
/var/tomcat/webapps. I got a working Apache 2, configured with several
virtualhosts.
I managed to connect the Apache to the Tomcat using an AJP13 connector, and
everything is working fine.
Now, I'd like to map eac
irectives - e.g. JkLogFile etc - can be invoked per VirtualHost.
Maybe this could be documented in the future...
Jon
-Original Message-
From: Jonathan Woods [mailto:[EMAIL PROTECTED]
Sent: 26 January 2006 22:11
To: 'Tomcat Users List'
Subject: RE: mod_jk configuration directive
Dan -
Thanks very much for all this - looks like it should work with mod_jk too!
I'll let you know how I get on.
Jon
-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: 26 January 2006 19:32
To: users@tomcat.apache.org
Subject: RE: mod_jk configuration direc
Let me know if this works or if you did any tweeks.
HTH
Dan
From: "Jonathan Woods" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To:
Subject: mod_jk configuration directives in VirtualHost sections
Date: Wed, 25 Jan 2006 21:55:55 -
Hello, list.
I have Apa
Hello, list.
I have Apache 1.3.33 running on Linux and talking successfully to Tomcat
5.5.15 through mod_jk. I'd now like to host multiple instances of Tomcat
(or maybe just multiple Tomcat connectors within one instance) to receive
requests dispatched at multiple VirtualHosts on the same server
82 matches
Mail list logo