| View previous topic :: View next topic |
| Author |
Message |
wp4nuv
Joined: 13 Apr 2009 Posts: 3
|
Posted: Wed May 13, 2009 12:29 pm Post subject: GlassfishV3 deployment from within Netbeans, Module type not recognized |
|
|
Hello all,
I've searched around the forum hoping to see an answer to this. I'm trying to develop a JROR app using Netbeans and Glassfish V3. Problem is, when I attempt to make a test run of a sample app to see if everything is working properly, the following occurs:
| Quote: | | SEVERE: Module type not recognized |
Now, I can run the same test app from the command line (jruby -S glassfish) and everything works as advertised (Thanks to Arun Gupta's blog).
Is this issue known to be a problem with NB and Glassfish V3 that comes bundled? I'm using JRuby 1.3.0RC1 and like I said, everything works ok from command line. (Ubuntu 8.0.4LTS, NetBeans IDE 6.5 (Build 200811100001) )
Pedro Maldonado |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed May 13, 2009 1:31 pm Post subject: GlassfishV3 deployment from within Netbeans, Module type not recognized |
|
|
Hi Pedro,
This is a known issue with GF V3 Prelude (the version that ships with
NB) and Rails 2.3.2. GlassFish Gem, i.e. what you used from the command
line, works fine with 2.3.2 as you observed. You can use the GF Gem from
the IDE too, you just need to change the server in project properties
(GF Gem should be listed there since you have it installed already) or
you can get a dev V3 build from glassfish.dev.java.net (seems to be down
now, so I can't give you an exact link).
HTH,
Erno
wp4nuv wrote:
| Quote: | Hello all,
I've searched around the forum hoping to see an answer to this. I'm trying to develop a JROR app using Netbeans and Glassfish V3. Problem is, when I attempt to make a test run of a sample app to see if everything is working properly, the following occurs:
| Quote: | SEVERE: Module type not recognized
|
Now, I can run the same test app from the command line (jruby -S glassfish) and everything works as advertised (Thanks to Arun Gupta's blog).
Is this issue known to be a problem with NB and Glassfish V3 that comes bundled? I'm using JRuby 1.3.0RC1 and like I said, everything works ok from command line. (Ubuntu 8.0.4LTS, NetBeans IDE 6.5 (Build 200811100001) )
Pedro Maldonado
|
|
|
| Back to top |
|
 |
wp4nuv
Joined: 13 Apr 2009 Posts: 3
|
Posted: Wed May 13, 2009 2:22 pm Post subject: Correction |
|
|
Thanks for the quick reply!
I hoped to do just that, use the gem from NB, but curiously I only see the WEBrick server under Jruby 1.3.0RC1, not the GF gem. I must admit, I'm a bit of a newb to ROR on NB so I wonder if I have to refresh a listing in order for the IDE to locate the GF gem?
---UPDATE----
I really must check my vision.. I didn't see the GF gem because I was expecting it to appear with the "fish" icon as regular GF does..
It shows up the same as WEBrick.. No problems here. Thanks. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|