You might try something like

        <urls>
            <dir name="C:/projects/" />
        </urls>
I'm not quite sure what the scanner uses to decide if it should scan a
directory or deploy it.  I think it always scans directories and deploys
files.  You might also try

        <urls>
            <dir name="file://C:/projects/myapp.war" />
        </urls>

david jencks

On 2002.07.08 22:45:22 -0400 Jim Crossley wrote:
> Hi.  I'm using JBoss 3.0.0 with the embedded Jetty.  I'm trying to deploy
> my
> war file as a directory.  I named my directory myapp.war.  In it were
> some
> jsp's, html, and the required WEB-INF/web.xml.
> 
> I put this in my jboss-service.xml:
> 
>   <mbean code="org.jboss.deployment.scanner.URLDirectoryScanner"
>          name="jboss.deployment:type=DeploymentScanner,flavor=URL">
>     ....
>     <attribute name="URLs">
>         <urls>
>             <dir name="C:/projects/myapp.war" />
>         </urls>
>     </attribute>
>   </mbean>
> 
> But when I restarted JBoss, the deployer seemed to try to deploy each and
> every file in the directory, failing each time because the jsp files
> weren't
> valid zip files (duh).  What might I be doing wrong?
> 
> Thanks,
> Jim
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Oh, it's good to be a geek.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to