FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

GlassfishV3 deployment from within Netbeans, Module type not recognized

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
wp4nuv



Joined: 13 Apr 2009
Posts: 3

PostPosted: Wed May 13, 2009 12:29 pm    Post subject: GlassfishV3 deployment from within Netbeans, Module type not recognized Reply with 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
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Wed May 13, 2009 1:31 pm    Post subject: GlassfishV3 deployment from within Netbeans, Module type not recognized Reply with quote

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

PostPosted: Wed May 13, 2009 2:22 pm    Post subject: Correction Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB