You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Peter Jones (JIRA)" <ji...@apache.org> on 2008/08/18 23:39:52 UTC

[jira] Issue Comment Edited: (SM-1442) Allow ServiceMix 3 to build using the ibm jdk.

    [ https://issues.apache.org/activemq/browse/SM-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45042#action_45042 ] 

peterjones edited comment on SM-1442 at 8/18/08 2:38 PM:
----------------------------------------------------------

Hi there,

Thanks very much for applying the patches!  I had one question though...  I added a property file in the cxf binding component patch and the 3.2 branch patch.  It configured the security provider list when using the ibm jdk to work around a couple of security test failures.  It looks like the file was omitted from being added when the patch was applied though.  Was this just an svn hiccup since the property file was the only file added by the patches rather than being modified?  Or was it left out for some reason?  I notice the configuration to pick up the property file is still in the cxf binding component pom.xml, so I'm guessing it may have been omitted by accident.

Cheers,
Peter

The file src/test/resources/ibm.security looked like this by the way:

{code}
#
#    Licensed to the Apache Software Foundation (ASF) under one or more
#    contributor license agreements.  See the NOTICE file distributed with
#    this work for additional information regarding copyright ownership.
#    The ASF licenses this file to You under the Apache License, Version 2.0
#    (the "License"); you may not use this file except in compliance with
#    the License.  You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS,
#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#    See the License for the specific language governing permissions and
#    limitations under the License.
#
# On the ibm jdk, we want to place IBMJCE before IBMJSSEProvider2 in the
# list of providers when running a couple of security tests to prevent
# them from failing.
#
security.provider.1=com.ibm.crypto.provider.IBMJCE
security.provider.2=com.ibm.jsse2.IBMJSSEProvider2
{code}

      was (Author: peterjones):
    
Hi there,

Thanks very much for applying the patches!  I had one question though...  I added a property file in the cxf binding component patch and the 3.2 branch patch.  It configured the security provider list when using the ibm jdk to work around a couple of security test failures.  It looks like the file was omitted from being added when the patch was applied though.  Was this just an svn hiccup since the property file was the only file added by the patches rather than being modified?  Or was it left out for some reason?  I notice the configuration to pick up the property file is still in the cxf binding component pom.xml, so I'm guessing it may have been omitted by accident.

Cheers,
Peter

The file src/test/resources/ibm.security looked like this by the way:

#
#    Licensed to the Apache Software Foundation (ASF) under one or more
#    contributor license agreements.  See the NOTICE file distributed with
#    this work for additional information regarding copyright ownership.
#    The ASF licenses this file to You under the Apache License, Version 2.0
#    (the "License"); you may not use this file except in compliance with
#    the License.  You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS,
#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#    See the License for the specific language governing permissions and
#    limitations under the License.
#
# On the ibm jdk, we want to place IBMJCE before IBMJSSEProvider2 in the
# list of providers when running a couple of security tests to prevent
# them from failing.
#
security.provider.1=com.ibm.crypto.provider.IBMJCE
security.provider.2=com.ibm.jsse2.IBMJSSEProvider2
  
> Allow ServiceMix 3 to build using the ibm jdk.
> ----------------------------------------------
>
>                 Key: SM-1442
>                 URL: https://issues.apache.org/activemq/browse/SM-1442
>             Project: ServiceMix
>          Issue Type: Task
>          Components: servicemix-components, servicemix-core, servicemix-cxf-bc, servicemix-eip, servicemix-http, servicemix-jbi, servicemix-jsr181, tooling
>         Environment: ibm jdk on linux or aix
>            Reporter: Peter Jones
>            Assignee: Guillaume Nodet
>             Fix For: 3.2.3, 3.3
>
>         Attachments: components.bindings.servicemix-cxf-bc.txt, components.bindings.servicemix-http.txt, components.engines.servicemix-eip.txt, components.engines.servicemix-jsr181.txt, components.shared-libraries.txt, smx3-branch32.txt, smx3-trunk.txt
>
>
> Made some changes needed to resolve some build and test failures when using the ibm jdk.
> I've attached patches for the 3.2 branch and smx3 trunk to fix some issues when building with the ibm jdk (changes also tested with the sun jdk).  The changes include adding a profile for the ibmjdk to skip checkstyle for a few files which have non-ascii characters (causes build problems for the ibm jdk).  Also, made a couple of minor changes to get a couple of tests to use dynamic ports to lessen the likelihood of port conflicts.  Changed a couple of usages of sun specific classes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.