You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by "Daniel S. Haischt" <da...@googlemail.com> on 2009/09/01 00:23:49 UTC

Re: build fails due to webservice-ws-security example

Every test ran fine including the web service security related tests.

Cheers
Daniel

On Mon, Aug 31, 2009 at 9:43 PM, Jean-Louis
MONTEIRO<je...@atosorigin.com> wrote:
>
> It would be great.
>
> Jean-Louis
>
>
> Daniel S. Haischt-3 wrote:
>>
>> if you like I'll give it a shot on my Ubuntu 9.04 server:
>>
>> dsh@abyssone:~$ java -version
>> java version "1.6.0_0"
>> OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu11)
>> OpenJDK Server VM (build 14.0-b08, mixed mode)
>>
>> drwxr-xr-x  2 root root 4096 2009-08-19 00:10 .
>> drwxr-xr-x 10 root root 4096 2009-08-19 00:10 ..
>> lrwxrwxrwx  1 root root   27 2009-08-19 00:10 cacerts ->
>> /etc/ssl/certs/java/cacerts
>> lrwxrwxrwx  1 root root   40 2009-08-19 00:10 java.policy ->
>> /etc/java-6-openjdk/security/java.policy
>> lrwxrwxrwx  1 root root   42 2009-08-19 00:10 java.security ->
>> /etc/java-6-openjdk/security/java.security
>> dsh@abyssone:~$ ls -la /etc/ssl/certs/java/
>> total 188
>> drwxr-xr-x 2 root root   4096 2009-08-19 00:12 .
>> drwxr-xr-x 3 root root  20480 2009-08-19 00:10 ..
>> -rw-r--r-- 1 root root 165259 2009-08-19 00:12 cacerts
>> dsh@abyssone:~$ ls -la /etc/ssl/certs/java/cacerts
>> -rw-r--r-- 1 root root 165259 2009-08-19 00:12 /etc/ssl/certs/java/cacerts
>>
>> Cheers
>> Daniel
>>
>> On Wed, Aug 19, 2009 at 3:00 PM, Karan Malhi<ka...@gmail.com> wrote:
>>> Jean-Louis,
>>> Sorry, will not be able to test. My system got hosed. Issue with
>>> motherboard. Once I get it running again, will give the updated example a
>>> shot.
>>>
>>> Thanks
>>>
>>> On Wed, Aug 19, 2009 at 5:22 AM, Jean-Louis MONTEIRO <
>>> jean-louis.monteiro@atosorigin.com> wrote:
>>>
>>>>
>>>> Hello Karan,
>>>>
>>>> I updated the webservice-ws-security sample (revision #805712).
>>>>
>>>> Unfortunately, I don't have a debian system running with openjdk.
>>>>
>>>> Can you give a try and let me know if it works?
>>>> If yes, the JIRA can be closed.
>>>>
>>>> Jean-Louis
>>>>
>>>>
>>>> KMalhi wrote:
>>>> >
>>>> > Jean-Louis,
>>>> >
>>>> > My cacerts file does not exist. Looks like this is broken in debian
>>>> linux,
>>>> > because the openjdk in debian (Lenny), the cacerts file is a link to
>>>> > /etc/ssl/certs/java/cacerts, and that file does not exist . According
>>>> to
>>>> > the
>>>> > openjdk documentation, it right now ships with an empty cacerts file
>>>> > (unlike
>>>> > the sun jdk). I guess, I will need to switch to sun jdk.
>>>> >
>>>> > Thanks for the help.
>>>> >
>>>> > On Mon, Aug 17, 2009 at 3:46 PM, Jean-Louis MONTEIRO <
>>>> > jean-louis.monteiro@atosorigin.com> wrote:
>>>> >
>>>> >>
>>>> >>
>>>> >>
>>>> >> KMalhi wrote:
>>>> >> >
>>>> >> > Caused by: java.io.FileNotFoundException:
>>>> >> > /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts (No such file
>>>> or
>>>> >> > directory)
>>>> >> >     at java.io.FileInputStream.open(Native Method)
>>>> >> >     at java.io.FileInputStream.<init>(FileInputStream.java:137)
>>>> >> >     at java.io.FileInputStream.<init>(FileInputStream.java:96)
>>>> >> >     at
>>>> >> >
>>>> >>
>>>> org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:109)
>>>> >> >
>>>> >>
>>>> >> WSS4J is trying to load default trust store from the JVM.
>>>> >> String cacertsPath = System.getProperty("java.home") +
>>>> >> "/lib/security/cacerts";
>>>> >>
>>>> >> Jean-Louis
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> View this message in context:
>>>> >>
>>>> http://www.nabble.com/build-fails-due-to-webservice-ws-security-example-tp25012817p25013001.html
>>>> >> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>> > --
>>>> > Karan Singh Malhi
>>>> >
>>>> >
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/build-fails-due-to-webservice-ws-security-example-tp25012817p25040714.html
>>>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>> --
>>> Karan Singh Malhi
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/build-fails-due-to-webservice-ws-security-example-tp25012817p25229309.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>
>

Re: build fails due to webservice-ws-security example

Posted by Jean-Louis MONTEIRO <je...@atosorigin.com>.
Thanks a lot Daniel.

Jean-Louis


Daniel S. Haischt-3 wrote:
> 
> Every test ran fine including the web service security related tests.
> 
> Cheers
> Daniel
> 
> On Mon, Aug 31, 2009 at 9:43 PM, Jean-Louis
> MONTEIRO<je...@atosorigin.com> wrote:
>>
>> It would be great.
>>
>> Jean-Louis
>>
>>
>> Daniel S. Haischt-3 wrote:
>>>
>>> if you like I'll give it a shot on my Ubuntu 9.04 server:
>>>
>>> dsh@abyssone:~$ java -version
>>> java version "1.6.0_0"
>>> OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu11)
>>> OpenJDK Server VM (build 14.0-b08, mixed mode)
>>>
>>> drwxr-xr-x  2 root root 4096 2009-08-19 00:10 .
>>> drwxr-xr-x 10 root root 4096 2009-08-19 00:10 ..
>>> lrwxrwxrwx  1 root root   27 2009-08-19 00:10 cacerts ->
>>> /etc/ssl/certs/java/cacerts
>>> lrwxrwxrwx  1 root root   40 2009-08-19 00:10 java.policy ->
>>> /etc/java-6-openjdk/security/java.policy
>>> lrwxrwxrwx  1 root root   42 2009-08-19 00:10 java.security ->
>>> /etc/java-6-openjdk/security/java.security
>>> dsh@abyssone:~$ ls -la /etc/ssl/certs/java/
>>> total 188
>>> drwxr-xr-x 2 root root   4096 2009-08-19 00:12 .
>>> drwxr-xr-x 3 root root  20480 2009-08-19 00:10 ..
>>> -rw-r--r-- 1 root root 165259 2009-08-19 00:12 cacerts
>>> dsh@abyssone:~$ ls -la /etc/ssl/certs/java/cacerts
>>> -rw-r--r-- 1 root root 165259 2009-08-19 00:12
>>> /etc/ssl/certs/java/cacerts
>>>
>>> Cheers
>>> Daniel
>>>
>>> On Wed, Aug 19, 2009 at 3:00 PM, Karan Malhi<ka...@gmail.com>
>>> wrote:
>>>> Jean-Louis,
>>>> Sorry, will not be able to test. My system got hosed. Issue with
>>>> motherboard. Once I get it running again, will give the updated example
>>>> a
>>>> shot.
>>>>
>>>> Thanks
>>>>
>>>> On Wed, Aug 19, 2009 at 5:22 AM, Jean-Louis MONTEIRO <
>>>> jean-louis.monteiro@atosorigin.com> wrote:
>>>>
>>>>>
>>>>> Hello Karan,
>>>>>
>>>>> I updated the webservice-ws-security sample (revision #805712).
>>>>>
>>>>> Unfortunately, I don't have a debian system running with openjdk.
>>>>>
>>>>> Can you give a try and let me know if it works?
>>>>> If yes, the JIRA can be closed.
>>>>>
>>>>> Jean-Louis
>>>>>
>>>>>
>>>>> KMalhi wrote:
>>>>> >
>>>>> > Jean-Louis,
>>>>> >
>>>>> > My cacerts file does not exist. Looks like this is broken in debian
>>>>> linux,
>>>>> > because the openjdk in debian (Lenny), the cacerts file is a link to
>>>>> > /etc/ssl/certs/java/cacerts, and that file does not exist .
>>>>> According
>>>>> to
>>>>> > the
>>>>> > openjdk documentation, it right now ships with an empty cacerts file
>>>>> > (unlike
>>>>> > the sun jdk). I guess, I will need to switch to sun jdk.
>>>>> >
>>>>> > Thanks for the help.
>>>>> >
>>>>> > On Mon, Aug 17, 2009 at 3:46 PM, Jean-Louis MONTEIRO <
>>>>> > jean-louis.monteiro@atosorigin.com> wrote:
>>>>> >
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> KMalhi wrote:
>>>>> >> >
>>>>> >> > Caused by: java.io.FileNotFoundException:
>>>>> >> > /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts (No such
>>>>> file
>>>>> or
>>>>> >> > directory)
>>>>> >> >     at java.io.FileInputStream.open(Native Method)
>>>>> >> >     at java.io.FileInputStream.<init>(FileInputStream.java:137)
>>>>> >> >     at java.io.FileInputStream.<init>(FileInputStream.java:96)
>>>>> >> >     at
>>>>> >> >
>>>>> >>
>>>>> org.apache.ws.security.components.crypto.AbstractCrypto.<init>(AbstractCrypto.java:109)
>>>>> >> >
>>>>> >>
>>>>> >> WSS4J is trying to load default trust store from the JVM.
>>>>> >> String cacertsPath = System.getProperty("java.home") +
>>>>> >> "/lib/security/cacerts";
>>>>> >>
>>>>> >> Jean-Louis
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> --
>>>>> >> View this message in context:
>>>>> >>
>>>>> http://www.nabble.com/build-fails-due-to-webservice-ws-security-example-tp25012817p25013001.html
>>>>> >> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>>>> >>
>>>>> >>
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Karan Singh Malhi
>>>>> >
>>>>> >
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/build-fails-due-to-webservice-ws-security-example-tp25012817p25040714.html
>>>>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Karan Singh Malhi
>>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/build-fails-due-to-webservice-ws-security-example-tp25012817p25229309.html
>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/build-fails-due-to-webservice-ws-security-example-tp25012817p25234409.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.