Hi Bruno,

> I was assuming that it was the same test failing on the Linux 
> box and on the Mac, but I was wrong.
> 
> - In TEST-org.restlet.test.RestletTestSuite.txt, on a Linux machine 
> (Debian), using Sun JDK 1.6.0:
 
[...]

> My guess is that it's picking up JAXB 2.0 which, I think, is 
> in Java 6, 
> in rt.jar (on the bootstrap classpath). This link might help: 
> https://jaxb.dev.java.net/guide/Migrating_JAXB_2_0_application
> s_to_JavaSE_6.html#Using_JAXB_2_1_with_JavaSE_6

Yes, you are correct. We don't explicitly support JavaSE 6 for now. This is
planned for version 2.0. However, we could improve the build process to make
sure that it compiles with JDK 6. I've entered this RFE:

"Ensure build pass on JDK 6"
http://restlet.tigris.org/issues/show_bug.cgi?id=461

> - In TEST-org.restlet.test.RestletTestSuite.txt, on a Mac 
> (OSX Leopard 
> 10.5.2, Apple Java 1.5.0_13:
> 
> Testcase: testXmlTransformGet took 0.017 sec
>          FAILED
> expected:<OK (200)> but was:<Internal Server Error (500)>
> junit.framework.AssertionFailedError: expected:<OK (200)> but 
> was:<Internal Server Error (500)>
>          at 
> org.restlet.test.jaxrs.services.tests.ProviderTest.testXmlTran
> sformGet(ProviderTest.java:276)

This is an issue in JAX-RS. Stephan will probably have a look at this soon.
If this is blocking you, you can temporarily disable the unit test. Feel
free to enter a bug report if this persists.

> - For completeness, I've also tried with Sun Java 1.5.0_14 on 
> the same Linux box as above, and I get the same error as with Apple 
> Java 5 on the Mac.

OK

> OK. I've already started on this. I've also created a dummy CA and 
> certificate for 'localhost' for testing.

Cool.

> OK. I'll try to produce a simple example. I think such an 
> example might 
> depend on SslBaseConnectorsTestCase, which in turns depends on what I 
> mentioned in the thread 'SSL and KeyStores' (posted yesterday 
> night); in 
> particular, it depends on the embedded clients being able to 
> trust the (dummy) server certificate.

OK, let us know if you need help during this effort. You can also subscribe
to the [EMAIL PROTECTED] mailing list for more technical discussions
with other contributors. See
http://restlet.tigris.org/servlets/ProjectMailingListList for details.

Best regards,
Jerome  

Reply via email to