|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Has the Dust Settled in The Netbeans Glassfish V3 Gem Environment?Netbeans JRuby Complete 200804011203 Ubuntu Hardy Heron 8.04
Installed Glassfish V3 plugin and Glassfish Version 3 Gem Glassfish V3 does not appear in server list. I am somewhat confused (again) as to the procedure for setting up a system using glassfish v3 to serve JRuby Rails project developed in Netbeans. Goldspike, Warbler, Grizzly... how do they fit in. Then Tomcat, Apache and what else !! Any assistance in this pursuit would be appreciated. A simple listing of the procedure would be a delight...If in fact the aim is achievable..at this time. Thanks in anticipation Paul Fraser --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Has the Dust Settled in The Netbeans Glassfish V3 Gem Environment?Hi Paul,
Paul Fraser wrote: > Netbeans JRuby Complete 200804011203 Ubuntu Hardy Heron 8.04 > Installed Glassfish V3 plugin and Glassfish Version 3 Gem > Glassfish V3 does not appear in server list. Probably a bug, please file it against serverplugins/glassfish_v3 (it might get reassigned then to ruby/rails depending on where the root cause is). > > I am somewhat confused (again) as to the procedure for setting up a > system using glassfish v3 to serve JRuby Rails project developed in > Netbeans. > Goldspike, Warbler, Grizzly... how do they fit in. Then Tomcat, Apache > and what else !! > > Any assistance in this pursuit would be appreciated. > A simple listing of the procedure would be a delight...If in fact the > aim is achievable..at this time. I can understand the confusion, there is not that much info / documentation out there on these things yet. Arun Gupta has some very informative blog entries on deploying JRuby Rails applications to GlassFish, I'd recommend checking it out if you're not familiar with it yet: http://weblogs.java.net/blog/arungupta/ (you might want to search for Rails entries). This article is also a good read: http://developers.sun.com/appserver/reference/techart/rails_gf/ Let me also try to summarize some of the above: If you want to deploy a JRuby Rails application to GlassFish, you have two options: 1) WAR-based mode and 2) directory based mode. If using the former mode, you need either GoldSpike or Warbler for creating a war file from your Rails application. If the former, you don't need either, you just point the server to the application directory. As for how this all works in NetBeans: For GlassFish V2, you need to create a war file and then deploy it manually. NetBeans bundles the GoldSpike plugin for creating the war file, deploying it means copying it to the autodeploy directory on the server. For V3, after installing the V3 plugin the server should be available in the list of servers and then using it is similar to using WEBrick / Mongrel. It will use the directory based mode, so there is no need to create a war file and no additional deployment step. If you're having troubles with this scenario, please do file issues so that we can resolve them. You can also deploy to V3 using the WAR based mode similarly as with V2 if you like. Apache and/or Tomcat don't need to be involved in any of this in any way - you can deploy WAR files to Tomcat too, and you can always front your server with Apache, but it is by no means necessary when using GlassFish. HTH, Erno --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Has the Dust Settled in The Netbeans Glassfish V3 Gem Environment?Erno Mononen wrote:
> Hi Paul, > > Paul Fraser wrote: >> Netbeans JRuby Complete 200804011203 Ubuntu Hardy Heron 8.04 >> Installed Glassfish V3 plugin and Glassfish Version 3 Gem >> Glassfish V3 does not appear in server list. > > Probably a bug, please file it against serverplugins/glassfish_v3 (it > might get reassigned then to ruby/rails depending on where the root > cause is). > >> >> I am somewhat confused (again) as to the procedure for setting up a >> system using glassfish v3 to serve JRuby Rails project developed in >> Netbeans. >> Goldspike, Warbler, Grizzly... how do they fit in. Then Tomcat, >> Apache and what else !! >> >> Any assistance in this pursuit would be appreciated. >> A simple listing of the procedure would be a delight...If in fact the >> aim is achievable..at this time. > > I can understand the confusion, there is not that much info / > documentation out there on these things yet. Arun Gupta has some very > informative blog entries on deploying JRuby Rails applications to > GlassFish, I'd recommend checking it out if you're not familiar with > it yet: > > http://weblogs.java.net/blog/arungupta/ (you might want to search for > Rails entries). > > This article is also a good read: > http://developers.sun.com/appserver/reference/techart/rails_gf/ > > Let me also try to summarize some of the above: > > If you want to deploy a JRuby Rails application to GlassFish, you have > two options: 1) WAR-based mode and 2) directory based mode. If using > the former mode, you need either GoldSpike or Warbler for creating a > war file from your Rails application. If the former, you don't need > either, you just point the server to the application directory. > > As for how this all works in NetBeans: > > For GlassFish V2, you need to create a war file and then deploy it > manually. NetBeans bundles the GoldSpike plugin for creating the war > file, deploying it means copying it to the autodeploy directory on the > server. > > For V3, after installing the V3 plugin the server should be available > in the list of servers and then using it is similar to using WEBrick / > Mongrel. It will use the directory based mode, so there is no need to > create a war file and no additional deployment step. If you're having > troubles with this scenario, please do file issues so that we can > resolve them. You can also deploy to V3 using the WAR based mode > similarly as with V2 if you like. > > Apache and/or Tomcat don't need to be involved in any of this in any > way - you can deploy WAR files to Tomcat too, and you can always front > your server with Apache, but it is by no means necessary when using > GlassFish. > > HTH, > Erno The problem I am finding is that the netbeans, jruby, glassfish world is advancing at a rapid pace and the blogs, videos etc. all get out of date very quickly, and some of the old advice is causing the confusion. For instance Arun Gupta's bloggings are excellent, but most reference to glassfish is command line stuff. I don't know how many wikis and blogs I have read trying to get the story for glassfish/netbeans. I could only find in one place the knowledge that the glassfish V3 gem is a cut down version of the full server and that is all that is needed in netbeans/rails. Your explanations are most welcome and clear the air considerably. Paul Fraser P.S. Trying to use the latest is either for the very clever or the very stupid :-\ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
RE: Re: Has the Dust Settled in The Netbeans Glassfish V3 Gem Environment?Hi Paul,
I recently worked with deploying a couple JRuby on Rails apps with Glassfish. The easiest and most successful way for me to do this was to install the glassfish gem under JRuby (jruby -S gem install glassfish). From the command line you can then move to one directory above your JRuby on Rails project and issue the start command (jruby -S glassfish_rails projectdir). This will start a server on the configured ports (unfortunatley you cannot pass a port parameter to the glassfish_rails command, you have to edit the domain.xml file found under the domains -> domain1 folder of the gem installation). I hope this helpful! Thanks, Brandon Hauff -----Original Message----- From: Paul Fraser [mailto:paulf@...] Sent: Monday, April 21, 2008 7:00 AM To: dev@... Subject: Re: Has the Dust Settled in The Netbeans Glassfish V3 Gem Environment? Erno Mononen wrote: > Hi Paul, > > Paul Fraser wrote: >> Netbeans JRuby Complete 200804011203 Ubuntu Hardy Heron 8.04 >> Installed Glassfish V3 plugin and Glassfish Version 3 Gem Glassfish >> V3 does not appear in server list. > > Probably a bug, please file it against serverplugins/glassfish_v3 (it > might get reassigned then to ruby/rails depending on where the root > cause is). > >> >> I am somewhat confused (again) as to the procedure for setting up a >> system using glassfish v3 to serve JRuby Rails project developed in >> Netbeans. >> Goldspike, Warbler, Grizzly... how do they fit in. Then Tomcat, >> Apache and what else !! >> >> Any assistance in this pursuit would be appreciated. >> A simple listing of the procedure would be a delight...If in fact the >> aim is achievable..at this time. > > I can understand the confusion, there is not that much info / > documentation out there on these things yet. Arun Gupta has some very > informative blog entries on deploying JRuby Rails applications to > GlassFish, I'd recommend checking it out if you're not familiar with > it yet: > > http://weblogs.java.net/blog/arungupta/ (you might want to search for > Rails entries). > > This article is also a good read: > http://developers.sun.com/appserver/reference/techart/rails_gf/ > > Let me also try to summarize some of the above: > > If you want to deploy a JRuby Rails application to GlassFish, you have > two options: 1) WAR-based mode and 2) directory based mode. If using > the former mode, you need either GoldSpike or Warbler for creating a > war file from your Rails application. If the former, you don't need > either, you just point the server to the application directory. > > As for how this all works in NetBeans: > > For GlassFish V2, you need to create a war file and then deploy it > manually. NetBeans bundles the GoldSpike plugin for creating the war > file, deploying it means copying it to the autodeploy directory on the > server. > > For V3, after installing the V3 plugin the server should be available > in the list of servers and then using it is similar to using WEBrick / > Mongrel. It will use the directory based mode, so there is no need to > create a war file and no additional deployment step. If you're having > troubles with this scenario, please do file issues so that we can > resolve them. You can also deploy to V3 using the WAR based mode > similarly as with V2 if you like. > > Apache and/or Tomcat don't need to be involved in any of this in any > way - you can deploy WAR files to Tomcat too, and you can always front > your server with Apache, but it is by no means necessary when using > GlassFish. > > HTH, > Erno Thanks Erno, The problem I am finding is that the netbeans, jruby, glassfish world is advancing at a rapid pace and the blogs, videos etc. all get out of date very quickly, and some of the old advice is causing the confusion. For instance Arun Gupta's bloggings are excellent, but most reference to glassfish is command line stuff. I don't know how many wikis and blogs I have read trying to get the story for glassfish/netbeans. I could only find in one place the knowledge that the glassfish V3 gem is a cut down version of the full server and that is all that is needed in netbeans/rails. Your explanations are most welcome and clear the air considerably. Paul Fraser P.S. Trying to use the latest is either for the very clever or the very stupid :-\ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Has the Dust Settled in The Netbeans Glassfish V3 Gem Environment?Hi Paul,
A new GlassFish v3 plugin is cooking which will soon be released on the beta udpate center. This will allow you to deploy your Rails application directly on GlassFish v3 Technology Preview builds - all from within NetBeans. Believe me, I've been waiting to blog about it for past few days :) All my Rails entries are available at: http://blogs.sun.com/arungupta/tags/rubyonrails Rails + NetBeans entries at: http://blogs.sun.com/arungupta/tags/rubyonrails+netbeans -Arun Paul Fraser wrote: > Erno Mononen wrote: >> Hi Paul, >> >> Paul Fraser wrote: >>> Netbeans JRuby Complete 200804011203 Ubuntu Hardy Heron 8.04 >>> Installed Glassfish V3 plugin and Glassfish Version 3 Gem >>> Glassfish V3 does not appear in server list. >> >> Probably a bug, please file it against serverplugins/glassfish_v3 (it >> might get reassigned then to ruby/rails depending on where the root >> cause is). >> >>> >>> I am somewhat confused (again) as to the procedure for setting up a >>> system using glassfish v3 to serve JRuby Rails project developed in >>> Netbeans. >>> Goldspike, Warbler, Grizzly... how do they fit in. Then Tomcat, >>> Apache and what else !! >>> >>> Any assistance in this pursuit would be appreciated. >>> A simple listing of the procedure would be a delight...If in fact the >>> aim is achievable..at this time. >> >> I can understand the confusion, there is not that much info / >> documentation out there on these things yet. Arun Gupta has some very >> informative blog entries on deploying JRuby Rails applications to >> GlassFish, I'd recommend checking it out if you're not familiar with >> it yet: >> >> http://weblogs.java.net/blog/arungupta/ (you might want to search for >> Rails entries). >> >> This article is also a good read: >> http://developers.sun.com/appserver/reference/techart/rails_gf/ >> >> Let me also try to summarize some of the above: >> >> If you want to deploy a JRuby Rails application to GlassFish, you have >> two options: 1) WAR-based mode and 2) directory based mode. If using >> the former mode, you need either GoldSpike or Warbler for creating a >> war file from your Rails application. If the former, you don't need >> either, you just point the server to the application directory. >> >> As for how this all works in NetBeans: >> >> For GlassFish V2, you need to create a war file and then deploy it >> manually. NetBeans bundles the GoldSpike plugin for creating the war >> file, deploying it means copying it to the autodeploy directory on the >> server. >> >> For V3, after installing the V3 plugin the server should be available >> in the list of servers and then using it is similar to using WEBrick / >> Mongrel. It will use the directory based mode, so there is no need to >> create a war file and no additional deployment step. If you're having >> troubles with this scenario, please do file issues so that we can >> resolve them. You can also deploy to V3 using the WAR based mode >> similarly as with V2 if you like. >> >> Apache and/or Tomcat don't need to be involved in any of this in any >> way - you can deploy WAR files to Tomcat too, and you can always front >> your server with Apache, but it is by no means necessary when using >> GlassFish. >> >> HTH, >> Erno > Thanks Erno, > > The problem I am finding is that the netbeans, jruby, glassfish world is > advancing at a rapid pace and the blogs, videos etc. all get out of date > very quickly, and some of the old advice is causing the confusion. For > instance Arun Gupta's bloggings are excellent, but most reference to > glassfish is command line stuff. I don't know how many wikis and blogs I > have read trying to get the story for glassfish/netbeans. > I could only find in one place the knowledge that the glassfish V3 gem > is a cut down version of the full server and that is all that is needed > in netbeans/rails. > Your explanations are most welcome and clear the air considerably. > > Paul Fraser > > P.S. Trying to use the latest is either for the very clever or the very > stupid :-\ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > -- Application Platform, Sun Microsystems, Inc. Blog: http://blogs.sun.com/arungupta --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Has the Dust Settled in The Netbeans Glassfish V3 Gem Environment?Hi Paul,
A preview of the gem is now available and described at: http://blogs.sun.com/arungupta/entry/totd_32_rails_deployment_on Thanks, -Arun Arun Gupta wrote: > Hi Paul, > > A new GlassFish v3 plugin is cooking which will soon be released on the > beta udpate center. This will allow you to deploy your Rails application > directly on GlassFish v3 Technology Preview builds - all from within > NetBeans. > > Believe me, I've been waiting to blog about it for past few days :) > > All my Rails entries are available at: > > http://blogs.sun.com/arungupta/tags/rubyonrails > > Rails + NetBeans entries at: > > http://blogs.sun.com/arungupta/tags/rubyonrails+netbeans > > -Arun > > Paul Fraser wrote: >> Erno Mononen wrote: >>> Hi Paul, >>> >>> Paul Fraser wrote: >>>> Netbeans JRuby Complete 200804011203 Ubuntu Hardy Heron 8.04 >>>> Installed Glassfish V3 plugin and Glassfish Version 3 Gem >>>> Glassfish V3 does not appear in server list. >>> >>> Probably a bug, please file it against serverplugins/glassfish_v3 (it >>> might get reassigned then to ruby/rails depending on where the root >>> cause is). >>> >>>> >>>> I am somewhat confused (again) as to the procedure for setting up a >>>> system using glassfish v3 to serve JRuby Rails project developed in >>>> Netbeans. >>>> Goldspike, Warbler, Grizzly... how do they fit in. Then Tomcat, >>>> Apache and what else !! >>>> >>>> Any assistance in this pursuit would be appreciated. >>>> A simple listing of the procedure would be a delight...If in fact >>>> the aim is achievable..at this time. >>> >>> I can understand the confusion, there is not that much info / >>> documentation out there on these things yet. Arun Gupta has some very >>> informative blog entries on deploying JRuby Rails applications to >>> GlassFish, I'd recommend checking it out if you're not familiar with >>> it yet: >>> >>> http://weblogs.java.net/blog/arungupta/ (you might want to search for >>> Rails entries). >>> >>> This article is also a good read: >>> http://developers.sun.com/appserver/reference/techart/rails_gf/ >>> >>> Let me also try to summarize some of the above: >>> >>> If you want to deploy a JRuby Rails application to GlassFish, you >>> have two options: 1) WAR-based mode and 2) directory based mode. If >>> using the former mode, you need either GoldSpike or Warbler for >>> creating a war file from your Rails application. If the former, you >>> don't need either, you just point the server to the application >>> directory. >>> >>> As for how this all works in NetBeans: >>> >>> For GlassFish V2, you need to create a war file and then deploy it >>> manually. NetBeans bundles the GoldSpike plugin for creating the war >>> file, deploying it means copying it to the autodeploy directory on >>> the server. >>> >>> For V3, after installing the V3 plugin the server should be available >>> in the list of servers and then using it is similar to using WEBrick >>> / Mongrel. It will use the directory based mode, so there is no need >>> to create a war file and no additional deployment step. If you're >>> having troubles with this scenario, please do file issues so that we >>> can resolve them. You can also deploy to V3 using the WAR based mode >>> similarly as with V2 if you like. >>> >>> Apache and/or Tomcat don't need to be involved in any of this in any >>> way - you can deploy WAR files to Tomcat too, and you can always >>> front your server with Apache, but it is by no means necessary when >>> using GlassFish. >>> >>> HTH, >>> Erno >> Thanks Erno, >> >> The problem I am finding is that the netbeans, jruby, glassfish world >> is advancing at a rapid pace and the blogs, videos etc. all get out of >> date very quickly, and some of the old advice is causing the >> confusion. For instance Arun Gupta's bloggings are excellent, but >> most reference to glassfish is command line stuff. I don't know how >> many wikis and blogs I have read trying to get the story for >> glassfish/netbeans. >> I could only find in one place the knowledge that the glassfish V3 gem >> is a cut down version of the full server and that is all that is >> needed in netbeans/rails. >> Your explanations are most welcome and clear the air considerably. >> >> Paul Fraser >> >> P.S. Trying to use the latest is either for the very clever or the >> very stupid :-\ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@... >> For additional commands, e-mail: dev-help@... >> > -- Application Platform, Sun Microsystems, Inc. Blog: http://blogs.sun.com/arungupta --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Dust Sure Has Settled with Glassfish V3 + NetbeansArun Gupta wrote:
> Hi Paul, > > A preview of the gem is now available and described at: > > http://blogs.sun.com/arungupta/entry/totd_32_rails_deployment_on > > Thanks, > -Arun > > Arun Gupta wrote: Bloody Brilliant...all works as per your blog (in Vista Business). I will check Ubuntu a bit later. Too Easy Now :-) Well done all involved. Just one small "lazy" question. How do we use or set the port 3000 option as discussed for V3? Paul Fraser --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Has the Dust Settled in The Netbeans Glassfish V3 Gem Environment?Arun Gupta wrote:
> Hi Paul, > > A preview of the gem is now available and described at: > > http://blogs.sun.com/arungupta/entry/totd_32_rails_deployment_on > > Thanks, > -Arun > > Arun Gupta wrote: Your demo displays the default index.html file from the public directory without any problem. It does not work when trying to connect to a view in the project , results in http 404 message. Works ok with mongrel and webrick. What am I missing here? Thanks Paul Fraser --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: Has the Dust Settled in The Netbeans Glassfish V3 Gem Environment?Hi Paul,
This week is crazy JavaOne frenzy and almost coming to an end :) I'll try to publish a more detailed sample next week. -Arun Paul Fraser wrote: > Arun Gupta wrote: >> Hi Paul, >> >> A preview of the gem is now available and described at: >> >> http://blogs.sun.com/arungupta/entry/totd_32_rails_deployment_on >> >> Thanks, >> -Arun >> >> Arun Gupta wrote: > Arun, > > Your demo displays the default index.html file from the public directory > without any problem. > It does not work when trying to connect to a view in the project , > results in http 404 message. > Works ok with mongrel and webrick. > > What am I missing here? > > Thanks > Paul Fraser > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > -- Application Platform, Sun Microsystems, Inc. Blog: http://blogs.sun.com/arungupta --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free Forum Powered by Nabble | Forum Help |