[ http://jira.jboss.com/jira/browse/JBAS-1517?page=history ]
     
Dimitris Andreadis closed JBAS-1517:
------------------------------------

     Resolution: Done
    Fix Version: JBossAS-4.0.2 Final
                 JBossAS-5.0 Alpha

The suffixes have been updated to include dots (.) and hyphens (-). The suffix 
list now is:

.deployer,-deployer.xml,aop,aop.xml,.sar,-service.xml,.rar,-ds.xml,.har,.jar,.war,.wsr,.ear,.zip,.bsh,.last

For the aop deployer the aop binary needs updating

> 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
>     Assignee: Dimitris Andreadis
>      Fix For: JBossAS-5.0 Alpha, JBossAS-4.0.2 Final

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



-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to