<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="en">
<title>Amy Roh&apos;s Blog</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/amyroh/" />
<modified>2007-05-23T21:33:41Z</modified>
<tagline></tagline>
<id>tag:weblogs.java.net,2008:/blog/amyroh/268</id>
<generator url="http://www.movabletype.org/" version="3.01D">Movable Type</generator>
<copyright>Copyright (c) 2007, amyroh</copyright>
<entry>
<title>Context (webapp) configuration in GlassFish</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/amyroh/archive/2007/05/context_webapp_1.html" />
<modified>2007-05-23T21:33:41Z</modified>
<issued>2007-05-23T21:33:35Z</issued>
<id>tag:weblogs.java.net,2007:/blog/amyroh/268.7494</id>
<created>2007-05-23T21:33:35Z</created>
<summary type="text/plain">You can use context.xml to configure deployment specific web applications in GlassFish.</summary>
<author>
<name>amyroh</name>

<email>amyroh@gmail.com</email>
</author>
<dc:subject>Community: Java Enterprise</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/amyroh/">
<![CDATA[Deployment specific web application configuration using <em>context.xml</em> in <a href="https://glassfish.dev.java.net">GlassFish</a> was <a href="ttps://glassfish.dev.java.net/issues/show_bug.cgi?id=2439">added</a>  a couple of months ago but related questions keep coming up on <a href="https://glassfish.dev.java.net/servlets/SearchList?listName=users">mailing lists</a> and <a href="http://forums.java.net/jive/thread.jspa?messageID=218560">forum</a>  so I've decided to blog about it so it's easy to point out.  ;-)
<br>
<br>
Similar to <a href="http://tomcat.apache.org/tomcat-5.5-doc/config/context.html">Tomcat</a>  you can define your <em>context.xml</em> as follows.
<br>
<br>
1. Global <em>context.xml</em> <code>glassfish/domains/domain1/config/context.xml</code> 
which will be loaded by <strong>*all*</strong> webapps.
<br>
<br>
For example, global <em>context.xml</em> can define global environment  entry to be shared across all webapps as follows.
<br>
<br>
<code>
&lt;Context&gt;<br>
  &lt;Environment name="global_environment" type="java.lang.String" value="global_environment_value"/&gt;<br>
&lt;/Context&gt;
</code>
<br>
<br>
2. Virtual server <em>context.xml</em> specified by virtual-server property <code>"contextXmlDefault"</code> in <em>domain.xml</em> will be loaded by all webapps of this virtual server.
<br>
<br>
For examples, you can define <strong>contextXmlDefault</strong> for a virtual server in your <strong>domain.xml</strong> as follows.<br><br>
<code>
&lt;virtual-server id="server" ... &gt;<br>
&lt;property name="<strong>contextXmlDefault</strong>"
value="config/context.xml.default"/&gt;<br>
&lt;/virtual-server&gt;
</code>
<br>
<br>
3. Webapp specific <em>context.xml</em> will be loaded by this webapp only.
<br>
<br>
You can define <code>/META-INF/context.xml</code> in a WAR file for this webapp specific environment and resource definitions.<br><br>
<code>
&lt;Context&gt;<br>
  &lt;Environment name="webapp-env" type="java.lang.String" value="webapp-env-value"/&gt;<br>
  &lt;Resource name="jdbc/__default" auth="Container"
            type="javax.sql.DataSource"
     description="Default Database"/&gt;<br>
&lt;/Context&gt;
</code>
<br>
<br>
GlassFish <a href="https://glassfish.dev.java.net/downloads/v2-b41d.html">V2 Beta 2</a> or later should have this feature.<br>
<br>
Cheers,<br>
Amy]]>

</content>
</entry>
<entry>
<title>GlassFish supports configurable AJP Connector.</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/amyroh/archive/2006/08/glassfish_suppo.html" />
<modified>2006-08-15T21:50:41Z</modified>
<issued>2006-08-15T21:50:27Z</issued>
<id>tag:weblogs.java.net,2006:/blog/amyroh/268.5356</id>
<created>2006-08-15T21:50:27Z</created>
<summary type="text/plain">You can now configure AJP Connector in GlassFish.  </summary>
<author>
<name>amyroh</name>

<email>amyroh@gmail.com</email>
</author>
<dc:subject>Community: Java Enterprise</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/amyroh/">
<![CDATA[<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title></title>
</head>
<body>
We have heard some comments from the community regarding the need to configure AJP Connector in <a href="https://glassfish.dev.java.net">GlassFish</a>.  I have gone ahead and expose the AJP Connector parameters in <a href="https://glassfish.dev.java.net">GlassFish</a> so it's easy to configure the connector using a properties file.<br><br>
Quick blog on how to configure AJP Connector in <a href="https://glassfish.dev.java.net">GlassFish</a><br>
<br>
<br>
(1) First, install mod_jk - see Jeanfrancois's <a
href="http://weblogs.java.net/blog/jfarcand/archive/2006/03/running_glassfi_1.html">blog</a>
for more details<br>
<br>
<br>
(2) Copy three necessary jars from tomcat and jakarta-commons <br>
<br>
&nbsp;* tomcat-ajp.jar&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>
&nbsp;* commons-logging.jar<br>
&nbsp;* commons-modeler.jar <br>
<br>
to $GLASSFISH_HOME/lib/.<br>
<br>
<br>
(3) Enable mod_jk by adding :<br>
<br>
$GLASSFISH_HOME/bin/asadmin create-jvm-options -D<span
style="font-weight: bold;">com.sun.enterprise.web.connector.enableJK</span>=8009<br>
<br>
<br>
(4) Create a glassfish-jk.properties file <br>
<br>
<br>
(5) Let GlassFish know where you'd like to load glassfish-jk.properties
from by adding :<br>
<br>
$GLASSFISH_HOME/bin/asadmin create-jvm-options -D<span
style="font-weight: bold;">com.sun.enterprise.web.connector.enableJK.propertyFile</span>=/home/amyroh/glassfish_home/domains/domain1/config/glassfish-jk.properties<br>
<br>
<br>
(6) Restart GlassFish.
<br>
<br>
You can configure your AJP Connector starting <a href="https://glassfish.dev.java.net/public/downloadsindex.html">GlassFish V2 build 13</a> (will be promoted on 8/16) or any nightly builds after 8/12/06. 
</body>
</html>]]>

</content>
</entry>
<entry>
<title>Servlet/JSP jars now in the java.net maven repository</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/amyroh/archive/2006/05/servletjsp_jars.html" />
<modified>2006-06-09T00:45:50Z</modified>
<issued>2006-05-11T06:39:12Z</issued>
<id>tag:weblogs.java.net,2006:/blog/amyroh/268.4696</id>
<created>2006-05-11T06:39:12Z</created>
<summary type="text/plain">Servlet/JSP jars are now in the Java.net maven repository as part of the push to move GlassFish jars into the Java.net site-wide maven repository.</summary>
<author>
<name>amyroh</name>

<email>amyroh@gmail.com</email>
</author>
<dc:subject>Community: Java Enterprise</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/amyroh/">
<![CDATA[The <a href="https://maven-repository.dev.java.net/nonav/repository/javax.servlet/">Java(TM) Servlet 2.4</a> and <a href="https://maven-repository.dev.java.net/nonav/repository/javax.servlet.jsp/">JavaServer(TM) Pages (JSP) 2.0 and 2.1</a> API jars are now available from the java.net Maven repository.

You can find more about the java.net maven repository <a href="https://maven-repository.dev.java.net/">here</a>.  If your project is maven based, instructions are <a href="https://maven-javanet-plugin.dev.java.net/nonav/maven/install.html">here</a> and check out <a href="https://maven-repository-importer.dev.java.net/">maven-repository-importer</a> for ant based projects.]]>

</content>
</entry>
<entry>
<title>Roller 2.1 on GlassFish</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/amyroh/archive/2006/02/roller_21_on_gl_1.html" />
<modified>2006-06-09T00:45:50Z</modified>
<issued>2006-02-21T07:46:20Z</issued>
<id>tag:weblogs.java.net,2006:/blog/amyroh/268.4170</id>
<created>2006-02-21T07:46:20Z</created>
<summary type="text/plain">The Roller 2.1 switched its security system to the Acegi security framework and moved away from container managed authentication.  This allows deploying the Roller on GlassFish without having to add a custom JDBC Realm.</summary>
<author>
<name>amyroh</name>

<email>amyroh@gmail.com</email>
</author>
<dc:subject>J2EE</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/amyroh/">
<![CDATA[<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>GlassFish_Roller</title>
</head>
<body>
<h2><span style="font-weight: bold;">Deploying <a
href="http://rollerweblogger.org/">Roller</a> 2.1 on <a
href="https://glassfish.dev.java.net">GlassFish</a>.</span><br>
</h2><br>
The Roller 2.1 switched its security system to the Acegi security
framework and moved away from container managed authentication.&nbsp;
This allows deploying the Roller on GlassFish without having to add a custom JDBC Realm.<br>
<br>
Please refer to <a
href="http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuide_2.x">The
Roller InstallationGuide</a> for complete installation and
configuration steps for the Roller Weblogger Project.<br><br>
<span style="text-decoration: underline;"></span>
<h3><span style="font-weight: bold;">STEP 1: Prerequisites</span></h3>
<div style="margin-left: 40px;">Download and install <a
href="http://java.sun.com">JDK 5</a> and <a href="www.mysql.com">MySQL</a>.<br>
</div><br>
<h3><span style="font-weight: bold;">STEP 2: Download\Install GlassFish</span></h3>
<div style="margin-left: 40px;"><code>1. <a
href="https://glassfish.dev.java.net/public/downloadsindex.html">Download</a>
GlassFish <br><br><span style="font-style: italic;">(</span></code><span
style="font-style: italic;">b38 or later for </span><a
style="font-style: italic;"
href="https://glassfish.dev.java.net/issues/show_bug.cgi?id=221">ClassCastException:
net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken issue</a><span
style="font-family: monospace; font-style: italic;"> fix)</span><code></code><br>
<code></code><br>
<code>2. Run:<span style="font-family: monospace;"></span></code><br>
<div style="margin-left: 40px;"><code><span
style="font-family: monospace;"></span>java -Xmx256m -jar <i>filename.jar</i>
</code><br>
</div>
<code></code><br>
<code>3. cd glassfish</code><br>
<code></code><br>
<code>4. Run:</code><br>
<div style="margin-left: 40px;"><code>ant -f setup.xml</code><br>
</div>
<code></code><br>
See the <a
href="http://glassfish.dev.java.net/downloads/quickstart/index.html">GlassFish
Quick Start Guide</a> for basic steps to start the server and deploy an
application.<br>
</div><br>
<h3><span style="font-weight: bold;">STEP 3: Download\Install Roller</span></h3>
<h4>Step 3.1 : Download Roller<br>
</h4>
<ol>
<li>
Download Roller 2.1.&nbsp;<br> (<span style="font-style: italic;">The official Roller 2.1 release should be out <span
style="font-weight: bold;">very</span> soon.&nbsp; For now, you'll have to get it from its subversion repository and build it yourself</span>).&nbsp;
</li><br>
<li>
Unpack the downloaded TAR file.<br>
</li>
</ol>
<div style="margin-left: 40px;"><code>% cp roller.tgz
&lt;temp_dir&gt;/roller</code><br>
<code>% cd &lt;temp_dir&gt;/roller</code><br>
<code>% tar xzvf roller.tgz</code><br>
<code></code><br>
<code></code>On Windows: Use <a href="http://winzip.org/">winzip</a>
to extract roller.zip into
&lt;temp_dir&gt;\roller.<br style="font-weight: bold;">
</div><br>
<h4>Step 3.2 : Minor changes to Roller</h4>
<div style="margin-left: 40px;">Roller web.xml is currently broken
since it has a 2.3 DTD, yet it still contains 2.4 elements.&nbsp; (<span
style="font-style: italic;">Discussion is happening on the roller list
about this so I think the changes should be in soon)  </span>
Also, I had to make some changes to jsp files (mainly in
<code>login-redirect.jsp</code> and <code>taglibs.jsp</code>) for jstl 1.1 taglib uri upgrade.<br>
<br>
You can download working version of roller.war <a href="http://weblogs.java.net/blog/amyroh/archive/roller/ROLLER.WAR">here</a>.<br>
</div><br>
<h3><span style="font-weight: bold;">STEP 4: Create Roller tables in
your database </span></h3>
<h3><span style="font-weight: bold;"></span></h3>
<p style="margin-left: 40px;">Now you need to create a new database,
create a user with
appropriate privileges, and use an SQL script to create the database
tables required to run Roller. To do this, login to your database and
run one of the Roller database creation scripts located in Roller's
WEB-INF/dbscripts directory. </p>
<ul>
<ul>
<li> WEB-INF/dbscripts/mysql/creatdb.sql - creates tables for MySQL</li>
<li>WEB-INF/dbscripts/derby/createdb.sql - creates tables for Derby</li>
<li> WEB-INF/dbscripts/postgresql/creatdb.sql - creates tables for
PostgreSQL </li>
</ul>
</ul>
<p style="margin-left: 40px;">The examples below show you how you might
do this using MySQL,
assuming your Roller user will have username scott and password tiger.
For more information on MySQL, refer to the MySQL Reference Manual. </p>
<p style="margin-left: 40px;">Make sure you enable UTF-8 support in <a
class="wikipage"
href="http://www.mysql.com/http://rollerweblogger.org/wiki/Wiki.jsp?page=MySQL">MySQL</a>
(see page <a class="wikipage"
href="http://rollerweblogger.org/wiki/Wiki.jsp?page=SettingUpUTF8OnMySQL">Setting
Up UTF8 on MySQL</a> for details).
</p>
<p style="margin-left: 40px;"><i>UNIX example</i>
</p>
<pre style="margin-left: 40px;"> % cd &lt;temp_dir&gt;/roller/WEB-INF/dbscripts/mysql<br> % mysql -u root -p<br> password: *****<br> mysql&gt; create database roller;<br> mysql&gt; grant all on roller.* to scott@'%' identified by 'tiger';<br> mysql&gt; grant all on roller.* to scott@localhost identified by 'tiger';<br> mysql&gt; use roller;<br> mysql&gt; source createdb.sql<br> mysql&gt; quit<br></pre>
<p style="margin-left: 40px;"><i>Windows example, from an MS-DOS or
Command Prompt window:</i>
</p>
<pre style="margin-left: 40px;"> C&gt; cd &lt;temp_dir&gt;\roller\WEB-INF\dbscripts\mysql<br> C&gt; mysql -u root -p<br> password: *****<br> mysql&gt; create database roller;<br> mysql&gt; grant all on roller.* to scott@'%' identified by 'tiger';<br> mysql&gt; grant all on roller.* to scott@'localhost' identified by 'tiger';<br> mysql&gt; use roller;<br> mysql&gt; source createdb.sql<br> mysql&gt; quit<br></pre>
<p style="margin-left: 40px;"><b>Notes</b>:
</p>
<p style="margin-left: 40px;">MySQL users, don't forget to call "flush
privileges" and make sure
that your <a class="wikipage"
href="http://rollerweblogger.org/wiki/Wiki.jsp?page=MySQL">MySQL</a>
installation hasn't set the <a class="wikipage"
href="http://rollerweblogger.org/wiki/Wiki.jsp?page=DebianMySQL">skip-networking</a>
option. <b>Connector/J</b>
can only access MySQL via TCP/IP. The MySQL command line tool however
doesn't use TCP/IP sockets by default. To check whether your connect
works, use anything other than "localhost" as host, for example:
</p>
<pre style="margin-left: 40px;"> mysql roller -h 127.0.0.1 -u scott -ptiger<br></pre><br>
<h3>STEP 5: JDBC connection<br>
</h3>
<h4>Step 5.1 : JDBC driver jar</h4>
<div style="margin-left: 40px;">Download <a
href="http://www.mysql.com/products/connector/j/index.html">MySQL
Connector/J</a> and copy the jar into glassfish_install_dir/lib <br>(ex. glassfish_install_dir/glassfish/lib/mysql-connector-java-3.1.12-bin.jar).
<br>
<br>
You can also add the jar to the classpath via Admin GUI <br>
(Admin GUI -&gt; Application Server -&gt; JVM settings -&gt; Path Settings
-&gt; Classpath Suffix) or domain.xml edit (&lt;java-config
classpath-prefix="...." classpath-suffix="" ....&gt;
)<br>
</div><br>
<h4>Step 5.2 : JDBC Connection Pool Setting</h4>
<div style="margin-left: 40px;">Create JDBC Connection Pool (Admin GUI
-&gt; Application Server
-&gt; Resources -&gt; JDBC -&gt; Connection Pools)<br><br>
<img alt="jdbc_connection_pool.JPG" src="http://weblogs.java.net/blog/amyroh/archive/roller/jdbc_connection_pool.JPG" width="1024" height="768" />
</div><br>
<pre style="margin-left: 40px;">
&lt;jdbc-connection-pool <span style="font-weight: bold;">allow-non-component-callers="false"</span>
datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource"&gt;
&lt;property name="user" value="scott"/&gt;
&lt;property name="port" value="3306"/&gt;
&lt;property name="password" value="tiger"/&gt;
&lt;property name="databaseName" value="roller"/&gt;
&lt;property name="serverName" value="localhost"/&gt;
&lt;/jdbc-connection-pool&gt;</code><span style="font-weight: bold;">
</span></pre><br>
<h4>Step 5.3 : JDBC Resource Setting</h4><br>
<div style="margin-left: 40px;">
Create JDBC Resource (Admin GUI -&gt; Application Server -&gt;
Resources -&gt; JDBC -&gt; JDBC Resources)<br></div>
<pre style="margin-left: 40px;">&lt;jdbc-resource enabled="true"
jndi-name="jdbc/rollerdb" object-type="user" pool-name="MySQL"/&gt;
<span style="font-weight: bold;">
</span></pre><br>
<h3>STEP 6: Deploy Roller to GlassFish</h3>
<h4>Step 6.1: sun-web.xml&nbsp;</h4>
<div style="margin-left: 40px;">Create sun-web.xml file to
&lt;temp_dir&gt;/roller/WEB-INF directory.<br>
</div>
<div style="margin-left: 40px;">
<code><br>
sun-web.xml<br>
</code>
<pre wrap="">&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br><br>&lt;!--<br> Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.<br> Use is subject to license terms.<br>--&gt;<br><br>&lt;!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.1 Servlet 2.4//EN" <a
class="moz-txt-link-rfc2396E"
href="http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd">"http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd"</a>&gt;<br><br>&lt;sun-web-app&gt;<br><br>&lt;session-config&gt;<br>&lt;session-manager&gt;<br>&lt;/session-manager&gt;<br>&lt;/session-config&gt;<br><br>&lt;resource-ref&gt;<br>&lt;res-ref-name&gt;jdbc/rollerdb&lt;/res-ref-name&gt;<br>&lt;jndi-name&gt;jdbc/rollerdb&lt;/jndi-name&gt;<br>&lt;/resource-ref&gt;<br><br>&lt;class-loader delegate="false"/&gt;<br><br>&lt;/sun-web-app&gt;<br></pre>
<code></code><code>&lt;class-loader delegate="false"/&gt; is to address
"</code>ClassNotFoundException: org.hibernate.hql.ast.HqlToken" <a
href="https://glassfish.dev.java.net/issues/show_bug.cgi?id=188">reported<span
style="color: rgb(0, 0, 0);">.</span></a>&nbsp; See Jan's <a
href="http://blogs.sun.com/roller/page/jluehe">blog</a> for more
details.<br>
</div><br>
<h4>Step 6.2: Create war file</h4>
<div style="margin-left: 40px;"><code>% cd &lt;temp_dir&gt;/roller% jar
cvf ../roller.war *</code></div><br>
<h4>Step 6.3: Deploy roller.war to GlassFish</h4>
<div style="margin-left: 40px;">
Deploy &lt;temp_dir&gt;/roller.war to GlassFish <br>(Admin GUI -&gt;
Application Server -&gt; Applications -&gt; Web Applications -&gt;
Deploy)<br>
<br>
</div>
<h4><span style="font-weight: bold;"></span>Step 6.4: Security
permission<br>
</h4>
<div style="margin-left: 40px;">Add security permission in
glassfish_install_dir\glassfish\domains\domain1\server1\config\server.policy.<b></b><br>
</div><br>
<pre style="margin-left: 40px;">// permission for Roller: file upload, log setting, etc :<br>
grant codeBase "file:${com.sun.aas.installRoot}/domains/domain1/applications/j2ee-modules/roller/-" {<br>permission java.security.AllPermission;
};<br>
grant codeBase "file:${com.sun.aas.installRoot}/domains/domain1/generated/jsp/j2ee-modules/roller/-" {<br>permission java.security.AllPermission;
};</pre>
<div style="margin-left: 40px;"><br>
Although the above security permission works, more specific and
restrictive settings might be appropriate.<br>
<br>
</div>
Now you should be able to check out your Roller app by accessing 
http://localhost:8080/roller and register your first admin user.&nbsp;
Check out the Roller <a
href="http://rollerweblogger.org/wiki/Wiki.jsp?page=UserGuide">UserGuide</a>
for more info.<a
href="http://blogs.sun.com/roller/resources/akihito/roller_on_sun_java_system_application_server_7.html"></a><br>
<br>
Thanks to Allen Gilliland from the Roller team for helping me with Roller questions.<br>
<br>
References:&nbsp; <a
href="http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuide_2.x">Roller
Installation Guide</a> and <a
href="http://blogs.sun.com/roller/resources/akihito/roller_on_sun_java_system_application_server_7.html">Roller
Installation Guide on SJSAS7SE</a><br>
</body>
</html>]]>

</content>
</entry>
<entry>
<title>Ask the Experts on GlassFish</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/amyroh/archive/2005/11/ask_the_experts.html" />
<modified>2008-01-02T17:42:16Z</modified>
<issued>2005-11-21T22:18:31Z</issued>
<id>tag:weblogs.java.net,2005:/blog/amyroh/268.3672</id>
<created>2005-11-21T22:18:31Z</created>
<summary type="text/plain">Transcript available - Ask the Experts on GlassFish</summary>
<author>
<name>amyroh</name>

<email>amyroh@gmail.com</email>
</author>
<dc:subject>Community: Java Enterprise</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/amyroh/">
<![CDATA[Ask the Experts <a href="http://java.sun.com/developer/community/askxprt/2005/jl1114.html">Transcript</a> 
<br>
<br> 
Read the transcript of the Nov. 14-18 Ask the Experts session on Project GlassFish. ]]>

</content>
</entry>
<entry>
<title>LA JUG meeting on GlassFish</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/amyroh/archive/2005/11/la_jug_meeting.html" />
<modified>2008-01-02T17:42:16Z</modified>
<issued>2005-11-07T19:06:29Z</issued>
<id>tag:weblogs.java.net,2005:/blog/amyroh/268.3571</id>
<created>2005-11-07T19:06:29Z</created>
<summary type="text/plain">LA JUG meeting on GlassFish</summary>
<author>
<name>amyroh</name>

<email>amyroh@gmail.com</email>
</author>
<dc:subject>J2EE</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/amyroh/">
<![CDATA[Last week I gave a presentation on Project GlassFish for the Los Angeles Java Users Group.  It was my first time with Los Angeles Java Users Group.  Got to meet some cool Java folks.<br><br>

Folks have been asking for the presentation slides so I put it up on the GlassFish "Documents and Settings" section.  You can <a href="https://glassfish.dev.java.net/files/documents/3222/23662/GlassFish_LA_JUG.sxi">download </a> it here.]]>

</content>
</entry>
<entry>
<title>Got Fish?</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/amyroh/archive/2005/07/got_fish_1.html" />
<modified>2008-01-02T17:42:16Z</modified>
<issued>2005-07-27T19:48:27Z</issued>
<id>tag:weblogs.java.net,2005:/blog/amyroh/268.3009</id>
<created>2005-07-27T19:48:27Z</created>
<summary type="text/plain">FishEye is now up and running for GlassFish.  If you haven&apos;t heard of FishEye, it&apos;s super cool way to provides access to a CVS repository. </summary>
<author>
<name>amyroh</name>

<email>amyroh@gmail.com</email>
</author>
<dc:subject>Community</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/amyroh/">
<![CDATA[<a href="http://cenqua.com/fisheye">FishEye</a> is up and running for <a href="https://glassfish.dev.java.net">GlassFish</a>.

<br><br>

<a href="http://cenqua.com/fisheye">FishEye</a> delivers a unified view of your source repository that provides easy navigation, powerful search, historical reporting, configurable file annotation and diff views, change-set analysis, RSS feeds, and integration with your issue tracker.

<br><br>

<a href="https://glassfish.dev.java.net">GlassFish</a> just started to support <a href="http://cenqua.com/fisheye">FishEye</a> for its CVS repository and folks are finding this very useful.

<br><br>

You can easily traverse directory hierarchies, see the latest changes, search based on combinations of author, date, tag, branch, file, and comment, view diffs between arbitrary revisions with configurable context and whitespace exclusion, easily navigate between diff blocks and extended diff view shows actual changes within a line. Moreover, RSS Feeds keep you in touch with the action from any point in the repository.

<br><br>
You can checkout FishEye running on GlassFish <a href="http://fisheye.cenqua.com/java.net/viewrep/cvs/glassfish">here</a>

<br><br>
One observation from 
a <a href="https://glassfish.dev.java.net">GlassFish</a> developer.
"Go to http://fisheye.cenqua.com/java.net/viewrep/cvs, click on the "Feeds" link in the upper right corner and you'll get the RSS feeds for the checkins made in recent past!  This, combined with the good browser like Firefox makes me subscribe to "live bookmarks" makes me not look for the e-mails for checkin logs."

<br><br>
Pretty cool tool with nice coincidence in the names between <a href="https://glassfish.dev.java.net">Glass<strong>Fish</strong></a> and <a href="http://cenqua.com/fisheye"><strong>Fish</strong>Eye</a>.
<br><br>
Which build tools do you currently use in your projects and find it useful?]]>

</content>
</entry>
<entry>
<title>Do you want a web server with that?</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/amyroh/archive/2005/06/do_you_want_a_w.html" />
<modified>2008-01-02T17:42:16Z</modified>
<issued>2005-06-29T22:44:02Z</issued>
<id>tag:weblogs.java.net,2005:/blog/amyroh/268.2789</id>
<created>2005-06-29T22:44:02Z</created>
<summary type="text/plain">The JK connector support in GlassFish was asked during GlassFish BOF at JavaOne.  Do you plug in a web server with your application server and what are some of the reasons?</summary>
<author>
<name>amyroh</name>

<email>amyroh@gmail.com</email>
</author>
<dc:subject>Community: Java Enterprise</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/amyroh/">
<![CDATA[It has been pretty exciting after Sun's Open Source Application Server project <a href="https://glassfish.dev.java.net">GlassFish</a> announcement on Monday morning at JavaOne.  James Gosling wore our cute <a href="https://glassfish.dev.java.net">GlassFish</a> t-shirt on stage during the General Session on Tuesday.  I was glad to see that many developers came to our booth and shared excitement of the news and interests.   We had a well attended <a href="https://glassfish.dev.java.net">GlassFish</a> BOF on Monday night to introduce the project on how to get involved and also to get some inputs from the community. 
<br>
<br>
If you were at the BOF, you might remember the question regarding whether <a href="https://glassfish.dev.java.net">GlassFish</a> has a plan to support the JK connector.  It was answered that <a href="https://glassfish.dev.java.net">GlassFish</a> has great performance (and benchmark to prove it) and that there will not be any need to plug in any other connector.  One audience member stated that you might want the JK connector for other purposes than performance.
<br>
<br>
I vaguely remembered the feature being requested through java forums and implementing it.  I wasn't too sure during the BOF if the feature did in fact make it.  It's been a while and I didn't want to prematurely give out wrong information.  Enabling the JK connector in the Application Server wasn't a popular feature request.  The <a href="https://glassfish.dev.java.net/webtier/webtierhome.html">webtier</a> module of the Application Server builds on top of Tomcat and Tomcat supports the JK Connector.  Since <a href="https://glassfish.dev.java.net">GlassFish</a> doesn't ship with the JK connector, you'll need to download tomcat-jk.jar from Tomcat distribution and specify port number using sysproperty in processLauncher.xml to define the port number.  The feature hasn't been extensively tested or documented yet.
<br>
<br>
I searched back for my cvs check in for the feature and found <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5059905">this</a>.  It was a little over a year ago and I should have remembered it but my memory seemed to have failed me on this.  So check it out and let us know if you have questions on how to enable it or anything else you might want to know, dev@glassfish.java.net is listening.
<br>
<br>
How many of you plug in a web server with your application server and what are some of the reasons?]]>

</content>
</entry>

</feed>