What kind of crazy error message is this... some file is an alias of the 
same file... blah.

It would appear that we are trying to load a file of this name:

C:\Documents and Settings\schaefa\Local
Settings\Temp\Jetty__8080___web-client\webapp\WEB-INF\web.xml; BadResource:
C:\Documents
and Settings\schaefa\Local
Settings\Temp\Jetty__8080___web-client\webapp\WEB-INF\web.xml is alias of
C:\Documents and Settings\schaefa\Local
Settings\Temp\Jetty__8080___web-client\webapp\web-inf\web.xml


But I can't really tell for sure.  I was under the impression that new 
File(String) did some translation of paths, perhaps we need to normalize 
return of url.getPath() for the platform...

--jason


Andreas Schaefer wrote:

>Hi Geeks
>
>Just encountered a strange problem when I deploy a WAR
>file on JBoss 3.0 with Jetty (W2K and JDK 1.3.1) that the
>case matters that the "WEB-INF" directory where jboss-web.xml
>is in which then is used in build.xml in the WAR tasks to be
>included into the WAR file (BTW in this directory is the web.xml
>and jboss-web.xml).
>Therefore when the directory name is in lower case and I add
>the jboss-web.xml file the deployment fails with:
>
>18:41:59,529 ERROR [JBossWebApplicationContext#/web-client] problem locating
>web.xml
>java.io.FileNotFoundException: C:\Documents and Settings\schaefa\Local
>Settings\Temp\Jetty__8080___web-client\webapp\WEB-INF\web.xml; BadResource:
>C:\Documents
>and Settings\schaefa\Local
>Settings\Temp\Jetty__8080___web-client\webapp\WEB-INF\web.xml is alias of
>C:\Documents and Settings\schaefa\Local
>Settings\Temp\Jetty__8080___web-client\webapp\web-inf\web.xml
>        at
>org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java
>:52)
>        at
>org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnecti
>on.java:59)
>        at java.net.URL.openStream(URL.java:798)
>        at org.apache.crimson.parser.InputEntity.init(InputEntity.java:209)
>        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:471)
>        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>        at
>org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
>
>Note that this only happens when I add the jboss-web.xml file but not when
>it is not included.
>
>Strange, isn't it ?
>
>xxxxxxxxxxxxxxxxx
>Andreas Schaefer
>Senior Consultant
>JBoss Group, LLC
>xxxxxxxxxxxxxxxxx
>
>
>
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development
>



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to