<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Integrating GlassFish Application server with Apache web server</title>
	<atom:link href="http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/</link>
	<description>Something about JEE and WebSphere. Java, JEE and WebSphere tips and tutorials</description>
	<lastBuildDate>Mon, 30 Jan 2012 13:08:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Albin Joseph</title>
		<link>http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/comment-page-1/#comment-81342</link>
		<dc:creator>Albin Joseph</dc:creator>
		<pubDate>Wed, 08 Jun 2011 08:50:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=232#comment-81342</guid>
		<description>I think apache is faster for serving stating pages.</description>
		<content:encoded><![CDATA[<p>I think apache is faster for serving stating pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Marthenal</title>
		<link>http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/comment-page-1/#comment-81333</link>
		<dc:creator>Christopher Marthenal</dc:creator>
		<pubDate>Wed, 08 Jun 2011 06:59:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=232#comment-81333</guid>
		<description>Just curious— why not use Glassfish for serving static files? Unless you want some feature such as mod_rewrite, wouldn&#039;t it be easier (and less resource-intensive) to add a virtual server in Glassfish (such as static.domain.com) and set the docroot to your static file directory?</description>
		<content:encoded><![CDATA[<p>Just curious— why not use Glassfish for serving static files? Unless you want some feature such as mod_rewrite, wouldn&#8217;t it be easier (and less resource-intensive) to add a virtual server in Glassfish (such as static.domain.com) and set the docroot to your static file directory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: web/app server Newbie</title>
		<link>http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/comment-page-1/#comment-66915</link>
		<dc:creator>web/app server Newbie</dc:creator>
		<pubDate>Wed, 16 Jun 2010 20:14:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=232#comment-66915</guid>
		<description>So i&#039;m new to these technologies, and I&#039;ve been tasked with writing some web services for a Java app that I&#039;ve been designing with a team. Along with the web services, we&#039;ve also decided to create a web server to act as a central hub for all users of our software. I downloaded MAMP as it had all the things we needed to get the web server up and running, but I have been having problems integrating the glassfish app server so that I can start developing the web services.

This tutorial is one of many that I have found, but after going through this one to step 7, I managed to hose the Apache Web Server that was running on port 80. The only information in the Apache error logs was a caught SIGTERM that fired right after I made the changes to the httpd.conf file and created the worker.properties file, and continued onto restarting apache.

I know my problem is vague, but my limited experience with these technologies has left me clueless.  :oops: 

Any opinions?  :cry:</description>
		<content:encoded><![CDATA[<p>So i&#8217;m new to these technologies, and I&#8217;ve been tasked with writing some web services for a Java app that I&#8217;ve been designing with a team. Along with the web services, we&#8217;ve also decided to create a web server to act as a central hub for all users of our software. I downloaded MAMP as it had all the things we needed to get the web server up and running, but I have been having problems integrating the glassfish app server so that I can start developing the web services.</p>
<p>This tutorial is one of many that I have found, but after going through this one to step 7, I managed to hose the Apache Web Server that was running on port 80. The only information in the Apache error logs was a caught SIGTERM that fired right after I made the changes to the httpd.conf file and created the worker.properties file, and continued onto restarting apache.</p>
<p>I know my problem is vague, but my limited experience with these technologies has left me clueless.  <img src='http://www.albeesonline.com/blog/wp-includes/images/smilies/icon_redface.gif' alt=':oops:' class='wp-smiley' />  </p>
<p>Any opinions?  <img src='http://www.albeesonline.com/blog/wp-includes/images/smilies/icon_cry.gif' alt=':cry:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NewGlassfishUser</title>
		<link>http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/comment-page-1/#comment-61228</link>
		<dc:creator>NewGlassfishUser</dc:creator>
		<pubDate>Thu, 19 Nov 2009 13:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=232#comment-61228</guid>
		<description>Thanks alot for your answer, Albin  :grin: 
Well- i tried to follow step 3 and recieved following answer- after adding the second command: asadmin set configs.config.server-config.network-config.network-listeners.network-listener.jk-connector.jk-enabled=true No object matches the specified name &quot;configs.config.server-config.network-config.network-listeners.network-listener.jk-connector.jk-enabled&quot; CLI137 Command set failed.

I&#039;ve another questions to: step 4: workers.tomcat_home=D:/Java/glassfish

My index.html file is in this directory:
/home/newglassfishuser/glassfishv2/domain1/applications/j2ee-modules/MeinWebAppProjektname . lib and in directories are here: /home/newglassfishuser/glassfishv2/domain1 
How do i have to set the path 1 (where index.html is) or 2. (where lib an bin are)??? (just to check if i added the correct path...)
And one question to step 6- the httpd.conf: Is it correct to set the path JkMount /MeinWebAppProjektname/* worker1??</description>
		<content:encoded><![CDATA[<p>Thanks alot for your answer, Albin  <img src='http://www.albeesonline.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /><br />
Well- i tried to follow step 3 and recieved following answer- after adding the second command: asadmin set configs.config.server-config.network-config.network-listeners.network-listener.jk-connector.jk-enabled=true No object matches the specified name &#8220;configs.config.server-config.network-config.network-listeners.network-listener.jk-connector.jk-enabled&#8221; CLI137 Command set failed.</p>
<p>I&#8217;ve another questions to: step 4: workers.tomcat_home=D:/Java/glassfish</p>
<p>My index.html file is in this directory:<br />
/home/newglassfishuser/glassfishv2/domain1/applications/j2ee-modules/MeinWebAppProjektname . lib and in directories are here: /home/newglassfishuser/glassfishv2/domain1<br />
How do i have to set the path 1 (where index.html is) or 2. (where lib an bin are)??? (just to check if i added the correct path&#8230;)<br />
And one question to step 6- the httpd.conf: Is it correct to set the path JkMount /MeinWebAppProjektname/* worker1??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albin Joseph</title>
		<link>http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/comment-page-1/#comment-61190</link>
		<dc:creator>Albin Joseph</dc:creator>
		<pubDate>Wed, 18 Nov 2009 11:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=232#comment-61190</guid>
		<description>I was going through some blogs about integrating GF 3 with Apache. Seems like it is different from GF V2. The AJP support comes built in in GF. So follow the below steps to make GF V3 communicate to Apache.

1. Follow till step 7
2. No need of step 8, 9, 10, 11 and 12.
3. Enable JK using the following command

&lt;pre lang=&quot;xml&quot;&gt;
asadmin create-http-listener --listenerport 8009 --listeneraddress 0.0.0.0 --defaultvs server my-connector

asadmin set configs.config.server-config.network-config.network-listeners.network-listener.jk-connector.jk-enabled=true
&lt;/pre&gt;


If this is not working your GlassFish version might be the problem. Get the latest version.

Btw, I have not tried these steps yet :-)</description>
		<content:encoded><![CDATA[<p>I was going through some blogs about integrating GF 3 with Apache. Seems like it is different from GF V2. The AJP support comes built in in GF. So follow the below steps to make GF V3 communicate to Apache.</p>
<p>1. Follow till step 7<br />
2. No need of step 8, 9, 10, 11 and 12.<br />
3. Enable JK using the following command</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p232code1'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2321"><td class="code" id="p232code1"><pre class="xml" style="font-family:monospace;">asadmin create-http-listener --listenerport 8009 --listeneraddress 0.0.0.0 --defaultvs server my-connector
&nbsp;
asadmin set configs.config.server-config.network-config.network-listeners.network-listener.jk-connector.jk-enabled=true</pre></td></tr></table></div>

<p>If this is not working your GlassFish version might be the problem. Get the latest version.</p>
<p>Btw, I have not tried these steps yet <img src='http://www.albeesonline.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NewGlassfishUser</title>
		<link>http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/comment-page-1/#comment-61093</link>
		<dc:creator>NewGlassfishUser</dc:creator>
		<pubDate>Thu, 12 Nov 2009 08:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=232#comment-61093</guid>
		<description>After searching, i found another instruction, how to use Apache with Glassfish an tried to use it: http://technology.amis.nl/blog/5973/making-glassfish-v3-available-using-apache2-and-mod_jk . But i&#039;ve always the same problems like CLI156 with the port...</description>
		<content:encoded><![CDATA[<p>After searching, i found another instruction, how to use Apache with Glassfish an tried to use it: <a href="http://technology.amis.nl/blog/5973/making-glassfish-v3-available-using-apache2-and-mod_jk" rel="nofollow">http://technology.amis.nl/blog/5973/making-glassfish-v3-available-using-apache2-and-mod_jk</a> . But i&#8217;ve always the same problems like CLI156 with the port&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NewGlassfishUser</title>
		<link>http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/comment-page-1/#comment-61092</link>
		<dc:creator>NewGlassfishUser</dc:creator>
		<pubDate>Thu, 12 Nov 2009 07:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=232#comment-61092</guid>
		<description>Thanks alot for you answer Albin.
I don&#039;t forget to add .
But if iy try to use your command, i get following message: 
CLI020 Operand is required. 

I think there&#039;s a problem with the port?
If i create a listener with the Admin-Console of Glassfish (should be the same like using the comand), i get the same error: CLI156 Could not start the domain domain1</description>
		<content:encoded><![CDATA[<p>Thanks alot for you answer Albin.<br />
I don&#8217;t forget to add .<br />
But if iy try to use your command, i get following message:<br />
CLI020 Operand is required. </p>
<p>I think there&#8217;s a problem with the port?<br />
If i create a listener with the Admin-Console of Glassfish (should be the same like using the comand), i get the same error: CLI156 Could not start the domain domain1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albin Joseph</title>
		<link>http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/comment-page-1/#comment-61051</link>
		<dc:creator>Albin Joseph</dc:creator>
		<pubDate>Wed, 11 Nov 2009 07:14:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=232#comment-61051</guid>
		<description>I am not sure what exactly is the problem. I hope you have added 

&lt;pre lang=&quot;xml&quot;&gt;&lt;jvm-options&gt;-Dcom.sun.enterprise.web.connector.enableJK=8009&lt;/jvm-options&gt;&lt;/pre&gt;. If this is not what you have entered, please modify. If still its not working may be the port is wrong. Create an http listener using the following command
&lt;pre lang=&quot;plain&quot;&gt;
asadmin create-http-listener --listenerport 8009 --listeneraddress 0.0.0.0 --defaultvs server jk-connector
&lt;/pre&gt;

Hope this helps</description>
		<content:encoded><![CDATA[<p>I am not sure what exactly is the problem. I hope you have added</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p232code2'); return false;">View Code</a> XML</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2322"><td class="code" id="p232code2"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;jvm-options<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>-Dcom.sun.enterprise.web.connector.enableJK=8009<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/jvm-options<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p>. If this is not what you have entered, please modify. If still its not working may be the port is wrong. Create an http listener using the following command</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p232code3'); return false;">View Code</a> PLAIN</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p2323"><td class="code" id="p232code3"><pre class="plain" style="font-family:monospace;">asadmin create-http-listener --listenerport 8009 --listeneraddress 0.0.0.0 --defaultvs server jk-connector</pre></td></tr></table></div>

<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NewGlassfishUser</title>
		<link>http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/comment-page-1/#comment-61025</link>
		<dc:creator>NewGlassfishUser</dc:creator>
		<pubDate>Tue, 10 Nov 2009 09:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=232#comment-61025</guid>
		<description>I&#039;ve installed Apache HTTP Server 2.2.14, Glassfish (Sun Java System Application Server 9.1_01 (build local)) on Ubuntu 9.04, followed the steps but ist still doesn&#039;t work. I think this depends on a setting in the domain.xml-file.  In my file there are two possibilities to add the  metioned in step 11. If i add the option at both positions, i get following message: CLI156 Could not start the domain domain1. But if i add the option only a the last position, glassfish starts without any problems. If i type in my domain http://localhost/MeinWebAppProjektnametest/ still nothing happens an i get an Apache 5.5 HTTP 404 error. It would be great if someone could help my solving this problem. Thanks for any advice.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve installed Apache HTTP Server 2.2.14, Glassfish (Sun Java System Application Server 9.1_01 (build local)) on Ubuntu 9.04, followed the steps but ist still doesn&#8217;t work. I think this depends on a setting in the domain.xml-file.  In my file there are two possibilities to add the  metioned in step 11. If i add the option at both positions, i get following message: CLI156 Could not start the domain domain1. But if i add the option only a the last position, glassfish starts without any problems. If i type in my domain <a href="http://localhost/MeinWebAppProjektnametest/" rel="nofollow">http://localhost/MeinWebAppProjektnametest/</a> still nothing happens an i get an Apache 5.5 HTTP 404 error. It would be great if someone could help my solving this problem. Thanks for any advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albin Joseph</title>
		<link>http://www.albeesonline.com/blog/2008/10/14/integrating-glassfish-application-server-with-apache-web-server/comment-page-1/#comment-58653</link>
		<dc:creator>Albin Joseph</dc:creator>
		<pubDate>Thu, 10 Sep 2009 11:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.albeesonline.com/blog/?p=232#comment-58653</guid>
		<description>I have not done clustering on GlassFish yet. But let me try on that. I feel it will be just adding a new worker in workers.properties file only.</description>
		<content:encoded><![CDATA[<p>I have not done clustering on GlassFish yet. But let me try on that. I feel it will be just adding a new worker in workers.properties file only.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

