On Sat, 17 Mar 2001, Steve Downey wrote:
> On Windows 2000 I'm getting failures on tester:
> FAIL [GET /examples/..] java.io.FileNotFoundException:
> http://localhost:8080/examples/ <http://localhost:8080/examples/> ..
This is a Tomcat 4.0 bug (Windows-specific). It works (at least for
me) on Linux.
> FAIL [GET /tester/Session03] Expected data 'Session03 PASSED', got data
> 'Session03 FAILED - No existing session 43687632F490000215A2A42615B6D472'
> FAIL [GET /tester/WrappedSession03] Expected data 'Session03 PASSED', got
> data 'Session03 FAILED - No existing session
> 11239215B4D7D0D5325638B61272F694'
Could you check your log files for me on this one? It runs on both
platforms for me.
I'm also assuming a couple of other things:
* You are running the test suite as a whole, or at least the
entire "SessionTest" target -- as opposed to calling the
tests individually with a browser. This is required because
the previous tests in the target are the ones that set up the
session.
* You have modified your "conf/tomcat-users.xml" to ensure that
user "tomcat" is also in role "manager". Otherwise, the context
reloads that the tester tries will not work.
* You are running a recent build of Tomcat 4.0. The beta 1 release
had some problems with saving and restoring sessions.
> FAIL [GET /tester/Xerces02] java.io.FileNotFoundException:
> http://localhost:8080/tester/Xerces02
> <http://localhost:8080/tester/Xerces02>
> FAIL [GET /tester/WrappedXerces02] java.io.FileNotFoundException:
> http://localhost:8080/tester/WrappedXerces02
> <http://localhost:8080/tester/WrappedXerces02>
>
These two are specific to running under JDK 1.3 (including the most recent
JDK 1.3.0_02 downloads). The underlying cause is our old friend "package
sealing violation" (Bugzilla bug report #1002), and I've been fighting it
all afternoon -- I'm not convinced it is going to be possible to work
around this without shipping our own unsealed versions of the JAXP parser
:-(.
>
> On Linux I'm getting failures on Session03, WrappedSession03, as well as
> Xerces01 and WrappedXerces01
>
> Both are JDK 1.3, 1.3.0-C on Windows and 1.3.0 on Linux.
>
> Is this par, or a configuration or build problem.
>
>
>
Craig