<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8840085855436806841.post4009408624635234285..comments</id><updated>2011-10-04T02:25:30.046-04:00</updated><title type='text'>Comments on entrepreneurial musings: Project, Part 2: Glassfish cluster</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.augmentedfragments.com/feeds/4009408624635234285/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default'/><link rel='alternate' type='text/html' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html'/><author><name>Ryan</name><uri>http://www.blogger.com/profile/12120844691062261364</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://4.bp.blogspot.com/_PhxljBBvj_U/SP1ldiIKqEI/AAAAAAAAACI/C5kH5YLttvU/S220/rw_headshot.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8840085855436806841.post-5925390282108851988</id><published>2011-06-28T07:56:55.948-04:00</published><updated>2011-06-28T07:56:55.948-04:00</updated><title type='text'>nice article 
i liked it
================
&lt;a href=...</title><content type='html'>nice article &lt;br /&gt;i liked it&lt;br /&gt;================&lt;br /&gt;&lt;a href="http://www.webicon.co.in/" rel="nofollow"&gt;webicon it solutions&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/5925390282108851988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/5925390282108851988'/><link rel='alternate' type='text/html' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html?showComment=1309262215948#c5925390282108851988' title=''/><author><name>Elena</name><uri>http://www.blogger.com/profile/08881310670518255979</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html' ref='tag:blogger.com,1999:blog-8840085855436806841.post-4009408624635234285' source='http://www.blogger.com/feeds/8840085855436806841/posts/default/4009408624635234285' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-885776017'/></entry><entry><id>tag:blogger.com,1999:blog-8840085855436806841.post-877271536516525639</id><published>2008-04-22T17:07:00.000-04:00</published><updated>2008-04-22T17:07:00.000-04:00</updated><title type='text'>Jason, &lt;br&gt;&lt;br&gt;Cluster instances do not run on the...</title><content type='html'>Jason, &lt;BR/&gt;&lt;BR/&gt;Cluster instances do not run on the same ports as glassfish would with the development profile (8080,8081), instead, in my experience, they run on ports 38080, 38081, etc.  The admin server runs on 4848, but the cluster instances won't use that port so there's no conflict there.  &lt;BR/&gt;&lt;BR/&gt;The cluster setup assumes a load balancer in front of this whole thing that distributes requests among the cluster instances (i.e. http://your.domain.com:80/ is actually a load balancer, not any of the glassfish instances).  So, basically, the cluster instances aren't intended to be accessed directly (though, I have found that accessing them directly via their ip:port can be quite useful for testing specific instances).&lt;BR/&gt;&lt;BR/&gt;That said, there might be a way to make the glassfish cluster instances run on 8080, instead of 38080, but I haven't ever tried so I'm sure how you might do that.  I'd say reconsider why you want to do that, because having users go directly to a glassfish instance without a load balancer distributing requests kind of defeats the purpose of the cluster because at that point one instance is handling everything.  Perhaps I misunderstood the question?  Otherwise, I hope that helps.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/877271536516525639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/877271536516525639'/><link rel='alternate' type='text/html' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html?showComment=1208898420000#c877271536516525639' title=''/><author><name>Ryan</name><uri>http://www.blogger.com/profile/12120844691062261364</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://bp0.blogger.com/_PhxljBBvj_U/R6TF-8xnCUI/AAAAAAAAABQ/Mh2dNWh1uIE/S220/n13301832_31394122_3191.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html' ref='tag:blogger.com,1999:blog-8840085855436806841.post-4009408624635234285' source='http://www.blogger.com/feeds/8840085855436806841/posts/default/4009408624635234285' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-222651117'/></entry><entry><id>tag:blogger.com,1999:blog-8840085855436806841.post-5566431016019239177</id><published>2008-04-22T09:13:00.000-04:00</published><updated>2008-04-22T09:13:00.000-04:00</updated><title type='text'>Ryan,&lt;br&gt;&lt;br&gt;Nice article and very helpful.  One q...</title><content type='html'>Ryan,&lt;BR/&gt;&lt;BR/&gt;Nice article and very helpful.  One question I have about ports in this setup is the following:&lt;BR/&gt;&lt;BR/&gt;Since your DAS is currently started, isn't it using the defaults ports (8080, 8081, 7676, 3700...) and your cluster instance is just using free ports.  So any  cluster instance deployed apps would not run on the default ports?  How do you suggest allowing the cluster instance to use the default ports but still keep the admin console up and running on the default domain server?  Thanks&lt;BR/&gt;&lt;BR/&gt;Jason</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/5566431016019239177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/5566431016019239177'/><link rel='alternate' type='text/html' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html?showComment=1208869980000#c5566431016019239177' title=''/><author><name>Jason</name><uri>http://www.blogger.com/profile/16259524050066479721</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html' ref='tag:blogger.com,1999:blog-8840085855436806841.post-4009408624635234285' source='http://www.blogger.com/feeds/8840085855436806841/posts/default/4009408624635234285' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1194086138'/></entry><entry><id>tag:blogger.com,1999:blog-8840085855436806841.post-8078799044350219719</id><published>2008-04-03T16:17:00.000-04:00</published><updated>2008-04-03T16:17:00.000-04:00</updated><title type='text'>Hi,Ryan Wilson,&lt;br&gt;&lt;br&gt;   I follow your's step dep...</title><content type='html'>Hi,Ryan Wilson,&lt;BR/&gt;&lt;BR/&gt;   I follow your's step deploy to debian 4 in VMware,but the final step :"asadmin start-node-agent --syncinstances=true g2-a1",when i run it,the system return :"Node Agent g2-a1 failed to startup. Please check the server log for more details.&lt;BR/&gt;CLI137 Command start-node-agent failed. "&lt;BR/&gt;&lt;BR/&gt;   I try it 6 times,every result is same.The password I never change it.&lt;BR/&gt; &lt;BR/&gt;   Please give me a advise,thank you very much.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/8078799044350219719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/8078799044350219719'/><link rel='alternate' type='text/html' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html?showComment=1207253820000#c8078799044350219719' title=''/><author><name>Xie</name><uri>http://www.blogger.com/profile/09142498904062460170</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html' ref='tag:blogger.com,1999:blog-8840085855436806841.post-4009408624635234285' source='http://www.blogger.com/feeds/8840085855436806841/posts/default/4009408624635234285' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1669700374'/></entry><entry><id>tag:blogger.com,1999:blog-8840085855436806841.post-4596247484180840550</id><published>2008-03-03T09:52:00.000-05:00</published><updated>2008-03-03T09:52:00.000-05:00</updated><title type='text'>./ant -f setup-cluster.xml create-node-agent -Ddas...</title><content type='html'>./ant -f setup-cluster.xml create-node-agent -Ddas.host=hostname -Dnodeagent.name=your-na &lt;BR/&gt;&lt;BR/&gt;should also do the trick but without the need to edit the buildfile.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/4596247484180840550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/4596247484180840550'/><link rel='alternate' type='text/html' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html?showComment=1204555920000#c4596247484180840550' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html' ref='tag:blogger.com,1999:blog-8840085855436806841.post-4009408624635234285' source='http://www.blogger.com/feeds/8840085855436806841/posts/default/4009408624635234285' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1473079743'/></entry><entry><id>tag:blogger.com,1999:blog-8840085855436806841.post-7786962612242564437</id><published>2008-02-19T08:56:00.000-05:00</published><updated>2008-02-19T08:56:00.000-05:00</updated><title type='text'>@alessandro&lt;br&gt;&lt;br&gt;Great find!  i figured there ha...</title><content type='html'>@alessandro&lt;BR/&gt;&lt;BR/&gt;Great find!  i figured there had to be a way but had never investigated it.  Thanks for letting us all know!  I've updated the post to note your comment.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/7786962612242564437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/7786962612242564437'/><link rel='alternate' type='text/html' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html?showComment=1203429360000#c7786962612242564437' title=''/><author><name>Ryan</name><uri>http://www.blogger.com/profile/12120844691062261364</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://bp0.blogger.com/_PhxljBBvj_U/R6TF-8xnCUI/AAAAAAAAABQ/Mh2dNWh1uIE/S220/n13301832_31394122_3191.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html' ref='tag:blogger.com,1999:blog-8840085855436806841.post-4009408624635234285' source='http://www.blogger.com/feeds/8840085855436806841/posts/default/4009408624635234285' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-222651117'/></entry><entry><id>tag:blogger.com,1999:blog-8840085855436806841.post-5729345899780544874</id><published>2008-02-18T05:20:00.000-05:00</published><updated>2008-02-18T05:20:00.000-05:00</updated><title type='text'>"I don't know if there is a way to specify the por...</title><content type='html'>"I don't know if there is a way to specify the port and name for the node-agent at the time of creation"&lt;BR/&gt;&lt;BR/&gt;I found it!!&lt;BR/&gt;&lt;BR/&gt;In the setup-cluster.xml&lt;BR/&gt;&lt;BR/&gt;property name="nodeagent.name" value="na"&lt;BR/&gt;&lt;BR/&gt;Change the value before the command&lt;BR/&gt;&lt;BR/&gt;./ant -f setup-cluster.xml create-node-agent -Ddas.host=hostname&lt;BR/&gt;&lt;BR/&gt;;-)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/5729345899780544874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/5729345899780544874'/><link rel='alternate' type='text/html' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html?showComment=1203330000000#c5729345899780544874' title=''/><author><name>Alessandro</name><uri>http://www.blogger.com/profile/06160175847509164155</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html' ref='tag:blogger.com,1999:blog-8840085855436806841.post-4009408624635234285' source='http://www.blogger.com/feeds/8840085855436806841/posts/default/4009408624635234285' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-387585993'/></entry><entry><id>tag:blogger.com,1999:blog-8840085855436806841.post-4555002743009935658</id><published>2008-01-10T10:11:00.000-05:00</published><updated>2008-01-10T10:11:00.000-05:00</updated><title type='text'>So it is.  Thanks for noticing that! It's updated ...</title><content type='html'>So it is.  Thanks for noticing that! It's updated to reflect the change.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/4555002743009935658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/4555002743009935658'/><link rel='alternate' type='text/html' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html?showComment=1199977860000#c4555002743009935658' title=''/><author><name>Ryan</name><uri>http://www.blogger.com/profile/12120844691062261364</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html' ref='tag:blogger.com,1999:blog-8840085855436806841.post-4009408624635234285' source='http://www.blogger.com/feeds/8840085855436806841/posts/default/4009408624635234285' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-222651117'/></entry><entry><id>tag:blogger.com,1999:blog-8840085855436806841.post-9013015680384453478</id><published>2008-01-09T22:37:00.000-05:00</published><updated>2008-01-09T22:37:00.000-05:00</updated><title type='text'>HI..&lt;br&gt;&lt;br&gt; a NICE ARTICLES..&lt;br&gt;&lt;br&gt;i want to ed...</title><content type='html'>HI..&lt;BR/&gt;&lt;BR/&gt; a NICE ARTICLES..&lt;BR/&gt;&lt;BR/&gt;i want to edit the 9th step in machine 1 and 7th step in machine 2. you wrote: --node-agent&lt;BR/&gt;&lt;BR/&gt;it should be : --nodeagent..&lt;BR/&gt;&lt;BR/&gt;Thank you&lt;BR/&gt;&lt;BR/&gt;The Curious &lt;BR/&gt;From Indonesia</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/9013015680384453478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8840085855436806841/4009408624635234285/comments/default/9013015680384453478'/><link rel='alternate' type='text/html' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html?showComment=1199936220000#c9013015680384453478' title=''/><author><name>The Curious</name><uri>http://www.blogger.com/profile/17651512289062761263</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html' ref='tag:blogger.com,1999:blog-8840085855436806841.post-4009408624635234285' source='http://www.blogger.com/feeds/8840085855436806841/posts/default/4009408624635234285' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1667471062'/></entry></feed>
