Bugs item #996536, was opened at 2004-07-23 13:28
Message generated for change (Comment added) made by ejort
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=996536&group_id=22866

Category: JBossServer
Group: v3.2
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Bernd Zeitler (frito)
>Assigned to: Adrian Brock (ejort)
Summary: Wrong deployment state for non deployable files

Initial Comment:
Hi!

When deploying files without any suitable deployer in
jboss (JBoss 3.2.5), the jar deployer is trying to open
this file. This ends up with a ZipException. The
ZipException is cought within the class
SubDeployerSupport (processNestedDeployments) and a
warning is logged. The file is listed within the
deployed list with status: deployed and state: STARTED.
I assume this file should show up within the incomplete
deployment list with state: FAILED.
Instead of logging this warning, a DeploymentException
should be thrown as mentioned there in the source code.
I changed this (attached file) and it works for me.

Greetings,

Bernd


----------------------------------------------------------------------

>Comment By: Adrian Brock (ejort)
Date: 2004-08-26 16:51

Message:
Logged In: YES 
user_id=9459

Your change would mean typos are unexpectedly ignored.

You can exclude files using a filter. See conf/jboss-service.xml
<!-- The Filter specifies a java.io.FileFilter for scanned
           directories.  Any file not accepted by this
filter will not be
           deployed.  The
org.jboss.deployment.scanner.DeploymentFilter 
           rejects the following patterns:
               "#*", "%*", ",*", ".*", "_$*", "*#", "*$",
"*%", "*.BAK", 
               "*.old", "*.orig", "*.rej", "*.bak", "*,v",
"*~", ".make.state", 
               ".nse_depinfo", "CVS", "CVS.admin", "RCS",
"RCSLOG", "SCCS", 
               "TAGS", "core", "tags"
      -->
      <attribute
name="Filter">org.jboss.deployment.scanner.DeploymentFilter</attribute>

----------------------------------------------------------------------

Comment By: Bernd Zeitler (frito)
Date: 2004-07-23 14:17

Message:
Logged In: YES 
user_id=603154

... better:
don't deploy these files while adding them to the waiting
for deployer list. The jar deployer should not try to deploy it.

Greetings,
Bernd

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=996536&group_id=22866


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to