Bugs item #803983, was opened at 2003-09-10 20:23
Message generated for change (Settings changed) made by youngm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=803983&group_id=22866

Category: JBossWeb
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Youngstrom (youngm)
Assigned to: Nobody/Anonymous (nobody)
>Summary: deploy url passed to Tomcat used as relative

Initial Comment:
If I add a url to for deployment to the JBoss Deploy

service, for example:



<attribute name="URLs">

     deploy/,file://C:/Projects/Footbush/BSCore/deploy/

</attribute>



And then create a .war directory in the above path:

C:/Projects/Footbush/BSCore/deploy/BSCoreActionsTest.war



When I start the server I get a deployment error like

the following:



14:17:24,343 INFO  [MainDeployer] Starting deployment

of package:

file://C:/Projects/Footbush/BSCore/deploy/BSCoreActionsTest.war/

14:17:24,484 INFO  [EmbeddedTomcatService] deploy,

ctxPath=/BSCoreActionsTest,

warUrl=file://C:/Projects/Footbush/BSCore/deploy/BSCoreActionsTest.war/

14:17:24,531 ERROR [Engine]

StandardContext[/BSCoreActionsTest]: Resources start

failed:

java.lang.IllegalArgumentException: Document base

C:\Projects\Footbush\BSCore\dist\jboss\server\default\.\Projects\Footbush\BSCore\deploy\BSCoreActionsTest.war

does not exist or is not a readable directory

        at

org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:193)



I'm no expert but it appears that there is a problem in

the tomcat integrations interpritation of deployemnt

URLs.  In that it assumes all urls in the deployment

service are relative and not absolute.  If I change the

URLs attribute to:



    <attribute name="URLs">

       deploy/, ../../../../deploy/

    </attribute>



then everything seems to deploy and work fine.



Mike

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

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


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to