SAR detection broken
--------------------

         Key: JBAS-1517
         URL: http://jira.jboss.com/jira/browse/JBAS-1517
     Project: JBoss Application Server
        Type: Bug
    Versions:  JBossAS-4.0.1 SP1    
 Environment: JBoss 4.0.1sp1 with EJB3 Preview 3 installed.  Java 
1.5.0_01_b08-27 on MacOS X Tiger.
    Reporter: Alain Penders


JBoss uses the SARDeployer for any file ending on "sar".  It should only do so 
for files ending on ".sar" (including the dot).

To reproduce, get joda-time-1.0.jar from http://joda-time.sourceforge.net/, and 
copy the jar to the deploy directory.

JBoss will throw a DeploymentException:

11:17:03,371 ERROR [MainDeployer] Could not initialise deployment: 
file:/Users/alain/jboss/jboss-4.0.1sp1/server/lgs/deploy/joda.jar
org.jboss.deployment.DeploymentException: Failed to find 
META-INF/jboss-service.xml
        at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:533)
        at org.jboss.deployment.SARDeployer.init(SARDeployer.java:140)
        at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
        ...

After removing the file "org/joda/time/tz/data/Asia/Makassar" from the jar, the 
exception disappears.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to