Re: [Resteasy-users] Broken Build
Bingo! Yes, I downloaded and installed the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 and now the build works. I suggest adding that crucial tidbit to the README. Now... I'm running into the next issue building the Example: OAuth module. It is unable to download the artifact: http://repository.jboss.org/maven2/org/jboss/security/jboss-security-spi/2.0.4/jboss-security-spi-2.0.4.pom I suspect that a bad repository entry lingers in the pom because the http://repository.jboss.org/maven2/ has been deprecated; it should reference something like: https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/security/jboss-security-spi/2.0.4/ Confirmed... See search results: https://github.com/resteasy/Resteasy/search?q=%3Curl%3Ehttp%3A%2F%2Frepository.jboss.org%2Fmaven2%3C%2Furl%3Etype=Code Instances that should be tweaked: * https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-provider/pom.xml#L17 * https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-catalina-authenticator/authenticator/pom.xml#L17 * https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-catalina-authenticator/oauth/pom.xml#L20 * https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth/pom.xml#L20 * https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-push-messaging-openid/push-messaging/pom.xml#L21 * https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-push-messaging/pom.xml#L20 * https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/examples/oauth1-examples/oauth-push-messaging-openid/openid/pom.xml#L21 * https://github.com/resteasy/Resteasy/blob/db059a2ac3b7dd7fdfc99b9b58427e42dd7e/jaxrs/war-tests/jsapi-servlet-test/pom.xml#L15 I suspect that these old repository entries just simply need to be removed from the pom.xml files. (BTW, these settings should really be centralized at the top so that you don't repeat in various modules.) On Oct 22, 2013, at 9:51 PM, Bill Burke bbu...@redhat.com wrote: Maybe a JDK encryption problem? Do you need to upgrade to full JDK crypto? On 10/23/2013 12:13 AM, Anthony Whitford wrote: I retrieved a fresh Clone and see that the original issue has been resolved, but am now running into an issue with the Crypto module: Failed tests: testEncryptedInput(org.jboss.resteasy.test.security.smime.IntegrationTest): expected:204 but was:500 testEncryptedSignedInput(org.jboss.resteasy.test.security.smime.IntegrationTest): expected:204 but was:500 Tests in error: testBody(org.jboss.resteasy.test.security.smime.EnvelopedTest): key invalid in message. testFromPythonGenerated(org.jboss.resteasy.test.security.smime.EnvelopedTest): key invalid in message. testFromPythonGenerated2(org.jboss.resteasy.test.security.smime.EnvelopedTest): key invalid in message. testEncryptedOutput2(org.jboss.resteasy.test.security.smime.IntegrationTest): org.bouncycastle.cms.CMSException: key invalid in message. testEncryptedSignedOutput(org.jboss.resteasy.test.security.smime.IntegrationTest): org.bouncycastle.cms.CMSException: key invalid in message. Tests run: 77, Failures: 2, Errors: 5, Skipped: 0 [INFO] [INFO] Reactor Summary: [INFO] [INFO] RESTEasy JAX-RS ... SUCCESS [1.017s] [INFO] Embedded Servlet Container SUCCESS [6.367s] [INFO] JAX-RS Core API ... SUCCESS [3.753s] [INFO] RESTEasy JAX-RS Test Data . SUCCESS [2.763s] [INFO] RESTEasy JAX-RS Implementation SUCCESS [56.316s] [INFO] RESTEasy JAX-RS Client SUCCESS [2.279s] [INFO] RESTEasy JAX-RS Client/Server Testsuite ... SUCCESS [31.325s] [INFO] Resteasy JAXB Provider SUCCESS [10.398s] [INFO] Resteasy Jettison Provider SUCCESS [5.119s] [INFO] Resteasy FastInfoSet Provider . SUCCESS [0.753s] [INFO] Test All JAXB providers ... SUCCESS [7.083s] [INFO] Resteasy Jackson Provider . SUCCESS [4.071s] [INFO] Resteasy Jackson Provider . SUCCESS [4.084s] [INFO] Resteasy JSON-P EE7 Provider .. SUCCESS [2.021s] [INFO] Test Jackson and JAXB Coexistence . SUCCESS [2.445s] [INFO] Resteasy Atom Provider SUCCESS [3.384s] [INFO] Resteasy Multipart Provider
Re: [Resteasy-users] Broken Build
Should be fixed now. I rolled in your SSLContext fix too. On 10/22/2013 7:25 PM, Bill Burke wrote: Yes, I know. Working on it. On 10/22/2013 3:01 PM, Anthony Whitford wrote: I cloned the latest repository from Github: But when I try to build it (mvn install), it fails: Tests in error: testParse1(org.jboss.resteasy.test.finegrain.resource.CookieTest): Index: 0, Size: 0 testParse2(org.jboss.resteasy.test.finegrain.resource.CookieTest): Index: 0, Size: 0 Tests run: 633, Failures: 0, Errors: 2, Skipped: 2 [INFO] [INFO] Reactor Summary: [INFO] [INFO] RESTEasy JAX-RS ... SUCCESS [0.847s] [INFO] Embedded Servlet Container SUCCESS [5.664s] [INFO] JAX-RS Core API ... SUCCESS [3.313s] [INFO] RESTEasy JAX-RS Test Data . SUCCESS [3.350s] [INFO] RESTEasy JAX-RS Implementation FAILURE [46.047s] [INFO] RESTEasy JAX-RS Client SKIPPED I am trying to run this on a Mac using Maven 3.0.5 and Java 6 Update 65. Is this working for others? Is there some special setup required? -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users
Re: [Resteasy-users] Broken Build
Maybe a JDK encryption problem? Do you need to upgrade to full JDK crypto? On 10/23/2013 12:13 AM, Anthony Whitford wrote: I retrieved a fresh Clone and see that the original issue has been resolved, but am now running into an issue with the Crypto module: Failed tests: testEncryptedInput(org.jboss.resteasy.test.security.smime.IntegrationTest): expected:204 but was:500 testEncryptedSignedInput(org.jboss.resteasy.test.security.smime.IntegrationTest): expected:204 but was:500 Tests in error: testBody(org.jboss.resteasy.test.security.smime.EnvelopedTest): key invalid in message. testFromPythonGenerated(org.jboss.resteasy.test.security.smime.EnvelopedTest): key invalid in message. testFromPythonGenerated2(org.jboss.resteasy.test.security.smime.EnvelopedTest): key invalid in message. testEncryptedOutput2(org.jboss.resteasy.test.security.smime.IntegrationTest): org.bouncycastle.cms.CMSException: key invalid in message. testEncryptedSignedOutput(org.jboss.resteasy.test.security.smime.IntegrationTest): org.bouncycastle.cms.CMSException: key invalid in message. Tests run: 77, Failures: 2, Errors: 5, Skipped: 0 [INFO] [INFO] Reactor Summary: [INFO] [INFO] RESTEasy JAX-RS ... SUCCESS [1.017s] [INFO] Embedded Servlet Container SUCCESS [6.367s] [INFO] JAX-RS Core API ... SUCCESS [3.753s] [INFO] RESTEasy JAX-RS Test Data . SUCCESS [2.763s] [INFO] RESTEasy JAX-RS Implementation SUCCESS [56.316s] [INFO] RESTEasy JAX-RS Client SUCCESS [2.279s] [INFO] RESTEasy JAX-RS Client/Server Testsuite ... SUCCESS [31.325s] [INFO] Resteasy JAXB Provider SUCCESS [10.398s] [INFO] Resteasy Jettison Provider SUCCESS [5.119s] [INFO] Resteasy FastInfoSet Provider . SUCCESS [0.753s] [INFO] Test All JAXB providers ... SUCCESS [7.083s] [INFO] Resteasy Jackson Provider . SUCCESS [4.071s] [INFO] Resteasy Jackson Provider . SUCCESS [4.084s] [INFO] Resteasy JSON-P EE7 Provider .. SUCCESS [2.021s] [INFO] Test Jackson and JAXB Coexistence . SUCCESS [2.445s] [INFO] Resteasy Atom Provider SUCCESS [3.384s] [INFO] Resteasy Multipart Provider ... SUCCESS [6.768s] [INFO] Resteasy YAML Provider SUCCESS [2.169s] [INFO] Resteasy HTML Provider SUCCESS [0.560s] [INFO] Resteasy HTML test SUCCESS [0.462s] [INFO] Resteasy Hibernate Validator Provider . SUCCESS [6.223s] [INFO] Resteasy Validator Provider BV 1.1 SUCCESS [7.649s] [INFO] Resteasy Providers SUCCESS [0.019s] [INFO] RESTEasy Maven Import . SUCCESS [0.021s] [INFO] RESTEasy Cache Core ... SUCCESS [7.202s] [INFO] RESTEasy Cache SUCCESS [0.016s] [INFO] Resteasy Guice SUCCESS [2.620s] [INFO] RESTEasy Crypto ... FAILURE [14.057s] [INFO] RESTEasy JAX-RS OAuth . SKIPPED Note that my build is running on Mac OS X 10.9, Java 7 Update 45, and Maven 3.0.5. On Oct 22, 2013, at 5:50 PM, Bill Burke bbu...@redhat.com mailto:bbu...@redhat.com wrote: Should be fixed now. I rolled in your SSLContext fix too. On 10/22/2013 7:25 PM, Bill Burke wrote: Yes, I know. Working on it. On 10/22/2013 3:01 PM, Anthony Whitford wrote: I cloned the latest repository from Github: But when I try to build it (mvn install), it fails: Tests in error: testParse1(org.jboss.resteasy.test.finegrain.resource.CookieTest): Index: 0, Size: 0 testParse2(org.jboss.resteasy.test.finegrain.resource.CookieTest): Index: 0, Size: 0 Tests run: 633, Failures: 0, Errors: 2, Skipped: 2 [INFO] [INFO] Reactor Summary: [INFO] [INFO] RESTEasy JAX-RS ... SUCCESS [0.847s] [INFO] Embedded Servlet Container SUCCESS [5.664s] [INFO] JAX-RS Core API ... SUCCESS [3.313s] [INFO] RESTEasy JAX-RS Test Data . SUCCESS [3.350s] [INFO] RESTEasy JAX-RS Implementation FAILURE [46.047s] [INFO] RESTEasy JAX-RS Client SKIPPED I am trying to run this on a Mac using Maven 3.0.5 and Java 6 Update 65. Is this working for others? Is there some special setup required?