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

Reply via email to