Skip to main content

Command configure-jruby-container not found.

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
enwood
Offline
Joined: 2012-04-09

Hi all,

I'm looking for some hints as to why, under Windows Server 2008 R2 x64, a fresh installation of Glassfish 3.1.2 isn't allowing me to properly set it up for using JRuby, as instructed by the article "Install JRuby in Standalone Mode" at http://docs.oracle.com/cd/E19798-01/821-1760/6nmnl4r0d/index.html.

After having instaleld JRuby 1.6.7, and making sure I have JRUBY_HOME set, and its bin in my path, I am supposed to do this:

$ cd \glassfish3\bin
$ asadmin configure-jruby-container --jruby-home=C:\jruby-1.6.7

but, this is failing with:
Command configure-jruby-container not found.
Check the entry of command name. This command may be provided by a package that
is not installed.
Command configure-jruby-container failed.

Can anyone guide me here?

Thanks,
Tim

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rweeks
Offline
Joined: 2010-02-25

Hello -

There is no jruby container in 3.1+. If you want to use ruby apps - best to use warbler and deploy as a war file.

The jruby container was removed after 3.0.1.

HTH.

> Hi all, I'm looking for some hints as to why, under Windows Server 2008 R2
> x64, a fresh installation of Glassfish 3.1.2 isn't allowing me to properly
> set it up for using JRuby, as instructed by the article "Install JRuby in
> Standalone Mode" at
> http://docs.oracle.com/cd/E19798-01/821-1760/6nmnl4r0d/index.html. After
> having instaleld JRuby 1.6.7, and making sure I have JRUBY_HOME set, and its
> bin in my path, I am supposed to do this: $ cd \glassfish3\bin $ asadmin
> configure-jruby-container --jruby-home=C:\jruby-1.6.7 but, this is failing
> with: *Command configure-jruby-container not found.* Check the entry of
> command name. This command may be provided by a package that is not
> installed. Command configure-jruby-container failed. Can anyone guide me
> here? Thanks, Tim
>
> --
>
> [Message sent by forum member 'enwood']
>
> View Post: http://forums.java.net/node/884954
>
>

Robert Weeks
Lead Developer - Framework and UI
EXTENSION, INC.
Email: RWeeks@ext-inc.com
Office: 260-797-0200 x4228
General: 877-207-3753
www.OpenTheRedBox.com

enwood
Offline
Joined: 2012-04-09

Ah hah! Many thanks for your quick response, Robert. You have just saved me oodles of time continuing down this vein. I will give warbler a shot.

Regards,
Tim