Hrm... I am running under cygwin just fine with the latest CVS HEAD. I
am looking into FileURLConnection a bit more right now... Looks like the
sun version won't let you getOutputStream() and always returns a
FilePermission("read").
I am not sure why Scott chose to use the url attribute and convert the
path instead of using the File object which we have a reference too
either...
Is there anything specific which I can do to reproduce your problem? I
am not seeing strange deployment out of the box... perhaps the testsuite
is failing in that area, but I just wouldn't know... since it seems to
always fail somewhere. Ahh, I can remember back when this ran clean...
those were the days =P
So, can you confirm that you disabled our custom file protocol and you
still get deployment errors. I am not clear on that based on this response.
=)
--jason
Andreas Schaefer wrote:
>Hi Jason
>
>The same problem but since the last CVS update I cannot deploy Hypersonic DB
>because it throws a similar exception but ONLY on CYGWIN <really-strange/>.
>
>Andy
>
>----- Original Message -----
>From: "Jason Dillon" <[EMAIL PROTECTED]>
>To: "Andreas Schaefer" <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Friday, April 05, 2002 6:56 PM
>Subject: Re: [JBoss-dev] Strange behaviour with Jetty, JBoss 3.0 and
>jboss-web.xml
>
>
>>Andreas, can you do me a favor and rename
>>common/src/main/org/jboss/net/protocol/file/Handler.java to
>>common/src/main/org/jboss/net/protocol/file/Handler.java.disable, then
>>build clean and see if this still happens.
>>
>>I am currious if there is another bug in the file protocol URLConnection
>>which I don't know about.
>>
>>--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.jav
>>
>a
>
>>>:52)
>>> at
>>>
>>org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnect
>>
>i
>
>>>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