users@glassfish.java.net

In console display "remote failure : Module type not recognized"

From: <glassfish_at_javadesktop.org>
Date: Tue, 14 Apr 2009 01:24:51 PDT

Hi ,

I'm facing an console error , it seams that asadmin failed to deploy the JRuby rails apps path . I'm using :
- Windows XP
- JRuby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-03 rev 7996) [x86-java]
- GlassFish v3 Prelude (build b28c)

After i made successfully for creating apps rails in the hello directory ,
with below steps :

> jruby.bat -S gem install rails
> jruby.bat -S gem install glassfish
> cd C:/apps
> jruby.bat -S rails hello
> cd C:/apps/hello
> jruby.bat script/generate controller home index

But during the deployment using glassfish-v3 it failed ,
please see my steps below :

> install jruby and jruby_rails plugin for glassfish-v3
> cd C:/glassfish-v3
> bin\asadmin.bat start-domain
> bin\asadmin.bat deploy C:\apps\hello
remote failure: Module type not recognized
Command deploy failed.

And i saw in the domain's server.log describe that there is module type not recognized , but it doesn't explain to me which module type refer too ?

[#|2009-04-14T16:22:54.828+0800|FINE|glassfish|javax.enterprise.system.util|_ThreadID=19;_ThreadName=Thread-3;ClassName=null;MethodName=null;C:\glassfishv3-prelude\glassfish\domains\domain1\applications\hello;|UTIL6049: Attempt to delete C:\glassfishv3-prelude\glassfish\domains\domain1\applications\hello failed; the file is reported as non-existent|#]

[#|2009-04-14T16:22:54.843+0800|FINE|glassfish|javax.enterprise.system.util|_ThreadID=19;_ThreadName=Thread-3;ClassName=null;MethodName=null;|No local string for deploy.unknownmoduletpe|#]

[#|2009-04-14T16:22:54.843+0800|SEVERE|glassfish|javax.enterprise.system.core|_ThreadID=19;_ThreadName=Thread-3;|Module type not recognized|#]

Any idea how to solve this problem ? Thanks .
Benny
[Message sent by forum member 'liauwsiauwlong' (liauwsiauwlong)]

http://forums.java.net/jive/thread.jspa?messageID=341928