lib/profile.jar & lib/profile.* are gone: Causes Rails/Tomcat crash
-------------------------------------------------------------------

                 Key: JRUBY-5212
                 URL: http://jira.codehaus.org/browse/JRUBY-5212
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.5.5
            Reporter: Scott Lowe


I'm not sure if this is a bug, or simply an intentional evolution of JRuby, but 
here goes:

I've just upgraded from JRuby 1.5.3 to JRuby 1.5.5, and I'm running embedded 
Tomcat via the Trinidad gem.
My Rails 3 app crashed on Tomcat boot because Tomcat attempts to scan 
jruby-1.5.5/lib/profile.jar and doesn't find it.

  25-Nov-2010 14:01:03 org.apache.tomcat.util.scan.StandardJarScanner scan
  WARNING: Failed to scan 
[file:/usr/local/rvm/rubies/jruby-1.5.5/lib/profile.jar] from classloader 
hierarchy
  java.util.zip.ZipException: error in opening zip file

I fixed my issue by copying jruby-1.5.3/lib/profile* to jruby-1.5.5/lib/ so 
that's great in the short term; but I'm wondering if the lib/profile* has been 
removed by design (?) I have checked old

If it is intentional, then although this wouldn't be a bug, I should probably 
raise awareness and report to upstream authors (e.g. David/Trinidad) so that 
they can be aware of the issue in order to avoid problems for other users.

Please advise, kind sirs.

-- 
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


Reply via email to