dev@glassfish.java.net

Re: GlassFish JRuby Connector Status Update

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Thu, 10 Jul 2008 09:50:10 -0700

Ok, JRuby dependencies are now in the modules directory. But now
deploying a Rails app gives the following error:

Jul 10, 2008 9:38:45 AM org.glassfish.api.ActionReport failure
SEVERE: Module type not recognized

After enabling Felix shell, I realized that JRuby Connector module is
not loaded. So this is still not resolved and debugging further.

-Arun

Sahoo wrote:
> Done, svn rev #21204.
>
> Thanks,
> Sahoo
>
> Sahoo wrote:
>> The same way as you did. Yes, I can do #1 & #2. I will let you know.
>>
>> Thanks,
>> Sahoo
>>
>> Arun Gupta wrote:
>>> That's some good news at least :)
>>>
>>> I'm building using "mvn clean install". How are you building ?
>>>
>>> Can you integrate 1 & 2 and then I can try 3 tomorrow.
>>>
>>> -Arun
>>>
>>> Sahoo wrote:
>>>> Arun,
>>>>
>>>> The change looks fine to me. I just did a local build and I am able
>>>> to see jruby dependencies in modules dir. See the output below:
>>>>
>>>> glassfish@~/WS/gf/v3$ unzip -l distributions/web/target/web.zip |
>>>> grep jruby
>>>> 8496 07-10-08 09:07
>>>> glassfish/modules/gf-jruby-connector-0.6.7.jar
>>>> 20431 07-10-08 09:07 glassfish/modules/grizzly-jruby-1.7.6.jar
>>>> 13877 07-10-08 09:07
>>>> glassfish/modules/grizzly-jruby-module-0.6.7.jar
>>>> 3096 07-10-08 09:07 glassfish/modules/jruby-all-0.6.7.pom
>>>>
>>>> That makes me feel something is wrong with the way you are trying to
>>>> build, especially when you say that if you use 0.6.6, the jruby
>>>> dependencies don't even become part of web.zip.
>>>>
>>>> It's a different matter that even the POM is installed in modules
>>>> dir. I just now filed bug #5286 to track this.
>>>>
>>>> Thanks,
>>>> Sahoo
>>>>
>>>> Arun Gupta wrote:
>>>>> Inlined ...
>>>>>
>>>>> ~/workspaces/glassfish/v3 >svn diff
>>>>> Index: pom.xml
>>>>> ===================================================================
>>>>> --- pom.xml (revision 21198)
>>>>> +++ pom.xml (working copy)
>>>>> @@ -133,7 +133,7 @@
>>>>> <major_version>10</major_version>
>>>>> <minor_version>0</minor_version>
>>>>> <nucleus.version>0.1-SNAPSHOT</nucleus.version>
>>>>> - <jruby-scripting.version>0.6.6</jruby-scripting.version>
>>>>> + <jruby-scripting.version>0.6.7</jruby-scripting.version>
>>>>> <jmac-api.version>1.0-rev-1</jmac-api.version>
>>>>> <jaxws-ri.version>2.1.3</jaxws-ri.version>
>>>>> <stax-api.version>1.0-2</stax-api.version>
>>>>> Index: distributions/web/pom.xml
>>>>> ===================================================================
>>>>> --- distributions/web/pom.xml (revision 21198)
>>>>> +++ distributions/web/pom.xml (working copy)
>>>>> @@ -117,15 +117,12 @@
>>>>> <artifactId>console-plugin-service</artifactId>
>>>>> <version>${admingui.version}</version>
>>>>> </dependency-->
>>>>> - <!-- TODO (Sahoo): Fix jruby to use new HK2 version.
>>>>> - Until then, don't distribute.
>>>>> <dependency>
>>>>> <groupId>org.glassfish.scripting</groupId>
>>>>> <artifactId>jruby-all</artifactId>
>>>>> <version>${jruby-scripting.version}</version>
>>>>> <type>pom</type>
>>>>> </dependency>
>>>>> - -->
>>>>> <dependency>
>>>>>
>>>>> <groupId>org.glassfish.connectors.jdbc-ra.jdbc-ra-distribution</groupId>
>>>>>
>>>>> <artifactId>jdbc-ra</artifactId>
>>>>>
>>>>> Thanks,
>>>>> -Arun
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Application Platform, Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta