Skip to main content

Do Connectors use the http-file-cache, request-processing and connection-pool resources defined by the http-service?

8 replies [Last post]
nirav.shah
Offline
Joined: 2012-11-15
Points: 0

Does a AJP Connector (Tomcat) or any other Connector use the http-file-cache, request-processing and connection-pool resources defined by the http-service?

I am asking this question in reference to our installation which uses Apache HTTPD as a reverse proxy forwarding requests to Glassfish over AJP through ModJK.

Besides the Thread Pool how can you fine tune how the requests coming over the AJP connector are processed and handled by the server?

Thanks!
Nirav

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anonymous

Hi Nirav, which Glassfish version are you using? WBR, Alexey.

--

[Message sent by forum member 'oleksiys']

View Post: http://forums.java.net/node/892385

oleksiys
Offline
Joined: 2006-01-25
Points: 0

Hi Nirav,

which Glassfish version are you using?

WBR,
Alexey.

Anonymous

Hi Alexey, Thanks for looking into my question. We are using Glassfish 2.1.1.
Thanks! Nirav

--

[Message sent by forum member 'nirav.shah']

View Post: http://forums.java.net/node/892385

nirav.shah
Offline
Joined: 2012-11-15
Points: 0

Hi Alexey,

Thanks for looking into my question. We are using Glassfish 2.1.1.

Thanks!
Nirav

Anonymous

Hi Nirav, in Glassfish 2.1.1 you can customize ajp connector using
"glassfish-jk.properties" file. Here [1] you can find more info on how to set
the property file and example of GF related properties you can change [2]. In
General glassfish-jk.properties may include all the properties described in
the tomcat ajp connector doc [3] (the table at the very bottom of the page).
Coming back to your question, I doubt any of the http-service elements you
mentioned has any impact on GF 2.1.1 ajp connector (AFIR it's HTTP/S only).
It's been changed in GF 3.1.2.2 [4], but I should mention the patch [5] you
have to apply to make it work properly on 3.1.2.2. WBR, Alexey. [1]
https://wikis.oracle.com/display/CommSuite/Installation+Scenario+-+Confi...
[2] # Glassfish server settings address=127.0.0.1 minProcessors=20
maxProcessors=1024 maxThreads=4096 enableLookups=false
tomcatAuthentication=false [3]
http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html [4]
http://weblogs.java.net/blog/amyroh/archive/2012/02/15/running-glassfish...
[5] http://java.net/jira/browse/GLASSFISH-18446

--

[Message sent by forum member 'oleksiys']

View Post: http://forums.java.net/node/892385

oleksiys
Offline
Joined: 2006-01-25
Points: 0

Hi Nirav,

in Glassfish 2.1.1 you can customize ajp connector using "glassfish-jk.properties" file. Here [1] you can find more info on how to set the property file and example of GF related properties you can change [2]. In General glassfish-jk.properties may include all the properties described in the tomcat ajp connector doc [3] (the table at the very bottom of the page).

Coming back to your question, I doubt any of the http-service elements you mentioned has any impact on GF 2.1.1 ajp connector (AFIR it's HTTP/S only).
It's been changed in GF 3.1.2.2 [4], but I should mention the patch [5] you have to apply to make it work properly on 3.1.2.2.

WBR,
Alexey.

[1] https://wikis.oracle.com/display/CommSuite/Installation+Scenario+-+Confi...
[2] # Glassfish server settings
address=127.0.0.1
minProcessors=20
maxProcessors=1024
maxThreads=4096
enableLookups=false
tomcatAuthentication=false

[3] http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html
[4] http://weblogs.java.net/blog/amyroh/archive/2012/02/15/running-glassfish...
[5] http://java.net/jira/browse/GLASSFISH-18446

Anonymous

Thanks Alexey. This is extremely helpful.

--

[Message sent by forum member 'nirav.shah']

View Post: http://forums.java.net/node/892385

nirav.shah
Offline
Joined: 2012-11-15
Points: 0

Thanks Alexey. This is extremely helpful.