You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Dennis Sosnoski <dm...@sosnoski.com> on 2006/08/21 10:25:20 UTC
Unable to build 1.5 distribution
I tried building 1.5 from source in order to get around the problem
http://issues.apache.org/jira/browse/WSS-48 I get consistent build
failures from wssec.PackageTests, though. The test report says:
<error
type="java.lang.reflect.InvocationTargetException">java.lang.reflect.InvocationTargetException
Caused by: java.lang.ExceptionInInitializerError
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at wssec.PackageTests.suite(PackageTests.java:52)
... 7 more
Caused by: java.lang.RuntimeException:
org.apache.ws.security.components.crypto.Merlin cannot create instance
at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:155)
at
org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:119)
at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
at
org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:54)
at wssec.TestWSSecurityNew.<clinit>(TestWSSecurityNew.java:55)
... 16 more
</error>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[java.io.IOException: exception unwrapping private
key - java.security.InvalidKeyException: Illegal key size
at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.unwrapKey(Unknown
Source)
at
org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(KeyStore.java:1150)
at
org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:525)
...
I unzipped the bin, src, and otherjars distributions before trying to
build with Ant. Is there something else I need to do?
- Dennis
--
Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
Re: Unable to build 1.5 distribution
Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Dennis,
Please install Unlimited Strength Jurisdiction Policy Files.
Thanks,
Ruchith
On 8/21/06, Dennis Sosnoski <dm...@sosnoski.com> wrote:
> I tried building 1.5 from source in order to get around the problem
> http://issues.apache.org/jira/browse/WSS-48 I get consistent build
> failures from wssec.PackageTests, though. The test report says:
>
> <error
> type="java.lang.reflect.InvocationTargetException">java.lang.reflect.InvocationTargetException
> Caused by: java.lang.ExceptionInInitializerError
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at wssec.PackageTests.suite(PackageTests.java:52)
> ... 7 more
> Caused by: java.lang.RuntimeException:
> org.apache.ws.security.components.crypto.Merlin cannot create instance
> at
> org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:155)
> at
> org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:119)
> at
> org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
> at
> org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:54)
> at wssec.TestWSSecurityNew.<clinit>(TestWSSecurityNew.java:55)
> ... 16 more
> </error>
> <system-out><![CDATA[]]></system-out>
> <system-err><![CDATA[java.io.IOException: exception unwrapping private
> key - java.security.InvalidKeyException: Illegal key size
> at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.unwrapKey(Unknown
> Source)
> at
> org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)
> at java.security.KeyStore.load(KeyStore.java:1150)
> at
> org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:525)
> ...
>
> I unzipped the bin, src, and otherjars distributions before trying to
> build with Ant. Is there something else I need to do?
>
> - Dennis
>
> --
> Dennis M. Sosnoski
> SOA, Web Services, and XML
> Training and Consulting
> http://www.sosnoski.com - http://www.sosnoski.co.nz
> Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>
--
www.ruchith.org
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org
Re: Unable to build 1.5 distribution
Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Dennis,
Please install Unlimited Strength Jurisdiction Policy Files.
Thanks,
Ruchith
On 8/21/06, Dennis Sosnoski <dm...@sosnoski.com> wrote:
> I tried building 1.5 from source in order to get around the problem
> http://issues.apache.org/jira/browse/WSS-48 I get consistent build
> failures from wssec.PackageTests, though. The test report says:
>
> <error
> type="java.lang.reflect.InvocationTargetException">java.lang.reflect.InvocationTargetException
> Caused by: java.lang.ExceptionInInitializerError
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at wssec.PackageTests.suite(PackageTests.java:52)
> ... 7 more
> Caused by: java.lang.RuntimeException:
> org.apache.ws.security.components.crypto.Merlin cannot create instance
> at
> org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:155)
> at
> org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:119)
> at
> org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:101)
> at
> org.apache.ws.security.components.crypto.CryptoFactory.getInstance(CryptoFactory.java:54)
> at wssec.TestWSSecurityNew.<clinit>(TestWSSecurityNew.java:55)
> ... 16 more
> </error>
> <system-out><![CDATA[]]></system-out>
> <system-err><![CDATA[java.io.IOException: exception unwrapping private
> key - java.security.InvalidKeyException: Illegal key size
> at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.unwrapKey(Unknown
> Source)
> at
> org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(Unknown Source)
> at java.security.KeyStore.load(KeyStore.java:1150)
> at
> org.apache.ws.security.components.crypto.AbstractCrypto.load(AbstractCrypto.java:525)
> ...
>
> I unzipped the bin, src, and otherjars distributions before trying to
> build with Ant. Is there something else I need to do?
>
> - Dennis
>
> --
> Dennis M. Sosnoski
> SOA, Web Services, and XML
> Training and Consulting
> http://www.sosnoski.com - http://www.sosnoski.co.nz
> Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>
--
www.ruchith.org
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org