DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25266>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25266

containers fail looking for tools.jar on Mac OS X

           Summary: containers fail looking for tools.jar on Mac OS X
           Product: Cactus
           Version: Nightly Build
          Platform: Macintosh
               URL: http://www.mail-archive.com/cactus-
                    [EMAIL PROTECTED]/msg04136.html
        OS/Version: MacOS X
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Ant Integration
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If I understand correctly, Cactus doesn't work on OS X because the various container 
classes try to 
find "tools.jar" and add it to the classpath, but OS X doesn't have a separate 
tools.jar (see mailing 
list archives URL.)

The attached tarball has a patch that uses Apple's "preferred" mechanism to determine 
if the JVM is 
running on Mac OS X, and if it is, it skips the attempt to add tools.jar to the 
classpath (because 
Apple includes those classes in the core java classes.jar file)

The patches pass all the Ant tests, but I'm not entirely sure that it solves the 
problem -- I'm pretty 
new to Cactus.  Still I submit the patches in hopes that someone who knows Cactus 
better might be 
able to confirm the fix while I try to find my way around a bit.  

In any case, I didn't find a posted bug about this in Bugzilla, and whether or not my 
patches fix it, 
this is something that should be marked in Bugzilla as needing a fix.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to