Glassfish fails on 1.5.0.dev 2010-04-25 with "-d" option
--------------------------------------------------------
Key: JRUBY-4752
URL: http://jira.codehaus.org/browse/JRUBY-4752
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.5.0.RC1
Environment: Centos Linux 5
jruby 1.5.0.RC1 (ruby 1.8.7 patchlevel 249) (2010-04-25 341c4c7) (Java
HotSpot(TM) Client VM 1.6.0_14) [i386-java]
Reporter: Uwe Kubosch
Priority: Critical
Fix For: JRuby 1.5
Seems like a regression from JRuby 1.4.0. When I start our Rails application
it fails with the following exception. We start glassfish with the "-d"
option. Removing the "-d" option makes the exception go away, but we would
like glassfish to detach and write the process ID to file for later
administration of the process.
java.lang.ClassLoader:-2:in `defineClass1': java.lang.NoClassDefFoundError:
com/sun/jna/Library (NativeException)
from java.lang.ClassLoader:-1:in `defineClass'
from java.security.SecureClassLoader:-1:in `defineClass'
from java.net.URLClassLoader:-1:in `defineClass'
from java.net.URLClassLoader:-1:in `access$000'
from java.net.URLClassLoader$1:-1:in `run'
from java.security.AccessController:-2:in `doPrivileged'
from java.net.URLClassLoader:-1:in `findClass'
from org/jruby/util/JRubyClassLoader.java:49:in `findClass'
from java.lang.ClassLoader:-1:in `loadClass'
from java.lang.ClassLoader:-1:in `loadClass'
from java.lang.ClassLoader:-1:in `loadClassInternal'
from org/glassfish/scripting/gem/GlassFishMain.java:218:in `start'
from
/usr/local/aifudis.admin/platform/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/server.rb:146:in
`start'
from
/usr/local/aifudis.admin/platform/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/lib/server.rb:146:in
`start'
from
/usr/local/aifudis.admin/platform/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/bin/glassfish:55
from
/usr/local/aifudis.admin/platform/jruby-1.5.0.RC1/lib/ruby/gems/1.8/gems/glassfish-1.0.2-universal-java/bin/glassfish:19:in
`load'
from /usr/local/aifudis.admin/platform/jruby/bin/glassfish:19
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email