This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 174025 - Rails app not getting deployed on GlassFish v3
Summary: Rails app not getting deployed on GlassFish v3
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-07 22:22 UTC by arungupta
Modified: 2009-10-14 11:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arungupta 2009-10-07 22:22:11 UTC
Using latest NetBeans 6.8 nightly, deploying a Rails application to GlassFish v3 gives the following error:

-- cut here --
INFO: interface org.glassfish.scripting.jruby.config.JrubyContainer
SEVERE: JRuby installation not found at
C:\app\demo\glassfish-v3-b67-10_06_2009\glassfishv3\glassfish\jruby
You may like to do one of the following:
- Use updatetool to install JRuby and Rails installation.
- At the time of deployment provide jruby.home property:
        asadmin deploy --property jruby.home=/path/to/jruby railsApp/
- Check if the jruby.home Java sysytem property is pointing to your
JRuby installation.
- If on Unix or Mac, create a symbolic link of your jruby installation
to C:\app\demo\glassfish-v3-b67-10_06_2009\glassfishv3\glassfish\jruby
.
- Install JRuby at
C:\app\demo\glassfish-v3-b67-10_06_2009\glassfishv3\glassfish\jruby
- Set jruby.home Java system property: asadmin create-jvm-options
-Djruby.home=...
SEVERE: Exception while invoking class
org.glassfish.scripting.jruby.JRubyDeployer load method
java.lang.IllegalArgumentException: JRuby installation not found at
C:\app\demo\glassfish-v3-b67-10_06_2009\glassfishv3\glassfish\jruby
You may like to do one of the following:
- Use updatetool to install JRuby and Rails installation.
- At the time of deployment provide jruby.home property:
        asadmin deploy --property jruby.home=/path/to/jruby railsApp/
- Check if the jruby.home Java sysytem property is pointing to your
JRuby installation.
- If on Unix or Mac, create a symbolic link of your jruby installation
to C:\app\demo\glassfish-v3-b67-10_06_2009\glassfishv3\glassfish\jruby
.
- Install JRuby at
C:\app\demo\glassfish-v3-b67-10_06_2009\glassfishv3\glassfish\jruby
- Set jruby.home Java system property: asadmin create-jvm-options
-Djruby.home=...
        at org.glassfish.scripting.jruby.JRubyConfigImpl.<init>(JRubyConfigImpl.java:104)
        at org.glassfish.scripting.jruby.JRubyDeployer.load(JRubyDeployer.java:110)
        at

-- cut here --
Comment 1 Vince Kraemer 2009-10-07 22:53:22 UTC
in web-main: http://hg.netbeans.org/web-main/rev/40f45fa5adab
Comment 2 Vince Kraemer 2009-10-08 20:31:17 UTC
extra love for Windows: http://hg.netbeans.org/web-main/rev/eb7d017001dc
Comment 3 Quality Engineering 2009-10-09 23:09:08 UTC
Integrated into 'main-golden', will be available in build *200910091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/40f45fa5adab
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #174025: rails deployment issues if server is started 'too soon'
Comment 4 Vince Kraemer 2009-10-12 17:32:05 UTC
http://hg.netbeans.org/web-main/rev/eb7d017001dc  some additional code for Windows.
Comment 5 Quality Engineering 2009-10-14 11:05:05 UTC
Integrated into 'main-golden', will be available in build *200910140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/eb7d017001dc
User: vince kraemer <vkraemer@netbeans.org>
Log: #174025: need some quoting to make this fix 'right' for Windows