Do you think there may be an issue with the crafty
RewindableInputStream(sitting inside XMLEntityManager) from Xerces?
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/imp
l/XMLEntityManager.java?revision=473379&view=markup
-----Original Message-----
From: jboss-development-bounces(a)lists.jboss.org
[mailto:jboss-development-bounces@lists.jboss.org] On Behalf Of Anil
Saldhana
Sent: Friday, December 01, 2006 12:56 AM
To:
JBoss.org development list
Subject: RE: [jboss-dev] Problem deploying webapps in trunk
This is the error, I see after I update trunk and do a clean rebuild.
Only the first run of JBoss has this issue. Subsequent runs are fine.
-----
asaldhana~>java -version
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
-----Original Message-----
From: jboss-development-bounces(a)lists.jboss.org
[mailto:jboss-development-bounces@lists.jboss.org] On Behalf Of Scott M
Stark
Sent: Friday, December 01, 2006 12:48 AM
To:
JBoss.org development list
Subject: Re: [jboss-dev] Problem deploying webapps in trunk
Since I can't get jdk5 to compile, I tried running with systinternals
file monitor tool. For a startup that fails to
java.lang.RuntimeException: org.jboss.xb.binding.JBossXBException:
Failed to parse source: Read error
...
Caused by: java.io.IOException: Read error
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:194)
at
org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Un
known Source)
at
sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
at
sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
This is the file monitor output of the system calls:
10:30:24.609 PM java.exe:3952 IRP_MJ_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 0 Length: 1
10:30:24.609 PM System:4 IRP_MJ_CLOSE
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 1 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 2 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 3 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 4 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 5 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 6 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 7 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 8 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 9 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 10 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 11 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 12 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 13 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 14 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 15 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 16 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 17 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 18 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 19 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 20 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 21 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 22 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 23 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 24 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 25 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 26 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 27 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 28 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 29 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 30 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 31 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 32 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 33 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 34 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 35 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 36 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 37 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 38 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 39 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 40 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 41 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 42 Length: 1
10:30:24.609 PM java.exe:3952 FASTIO_READ
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Offset: 43 Length: 8192
10:30:24.609 PM java.exe:3952 FASTIO_QUERY_STANDARD_INFO
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS Length: 598
10:30:24.640 PM java.exe:3952 IRP_MJ_CLEANUP
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS
I see no indication of a read error. This:
10:30:24.609 PM System:4 IRP_MJ_CLOSE
C:\svn\JBossHead\jboss-head\build\output\jboss-5.0.0.Beta2\server\defaul
t\deploy\ROOT.war\WEB-INF\web.xml
SUCCESS
is just a file system driver message. I also never see the permission
denied error Brian indicates. Its always this readBytes
java.io.IOException: Read error during an xml parse.
About all I can think to do at this point is to write my own readBytes
jni method that mirrors that jdk version to see if I can reproduce the
error with more info from the system routines.
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development