History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SM-1442
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Guillaume Nodet
Reporter: Peter Jones
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ServiceMix

Allow ServiceMix 3 to build using the ibm jdk.

Created: 03/Jul/08 03:31 PM   Updated: 18/Aug/08 07:58 PM
Component/s: servicemix-core, servicemix-components, servicemix-http, servicemix-jsr181, servicemix-jbi, tooling, servicemix-eip, servicemix-cxf-bc
Affects Version/s: None
Fix Version/s: 3.3, 3.2.3

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works components.bindings.servicemix-cxf-bc.txt 2008-07-14 07:07 AM Peter Jones 4 kb
Text File Licensed for inclusion in ASF works components.bindings.servicemix-http.txt 2008-07-14 07:08 AM Peter Jones 4 kb
Text File Licensed for inclusion in ASF works components.engines.servicemix-eip.txt 2008-07-14 07:09 AM Peter Jones 3 kb
Text File Licensed for inclusion in ASF works components.engines.servicemix-jsr181.txt 2008-07-04 03:21 PM Peter Jones 2 kb
Text File Licensed for inclusion in ASF works components.shared-libraries.txt 2008-07-04 03:19 PM Peter Jones 4 kb
Text File Licensed for inclusion in ASF works smx3-branch32.txt 2008-07-04 03:25 PM Peter Jones 41 kb
Text File Licensed for inclusion in ASF works smx3-trunk.txt 2008-07-04 03:18 PM Peter Jones 14 kb
Environment: ibm jdk on linux or aix

Patch Info: Patch Available


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Peter Jones - 03/Jul/08 03:32 PM
Any comments or suggestions for improvements, please let me know!

Lars Heinemann - 03/Jul/08 10:15 PM
Peter,

we would like to test your changes on the SMX3 trunk version. Maybe you could adapt your patch to
the trunk version?

Regards
Lars


Peter Jones - 04/Jul/08 05:51 AM

Hi Lars,

For sure, I'm working on putting together a similar patch for smx3 trunk and the components and I'll attach it here once its complete.

Cheers,
Peter


Peter Jones - 04/Jul/08 03:18 PM
Patch for smx3-trunk.

Peter Jones - 04/Jul/08 03:19 PM
Patch for component shared-libraries.

Peter Jones - 04/Jul/08 03:21 PM
Patch for service engine eip.

Peter Jones - 04/Jul/08 03:21 PM
Patch for service engine jsr181.

Peter Jones - 04/Jul/08 03:22 PM
Patch for service engine wsn2005.

Peter Jones - 04/Jul/08 03:22 PM
Patch for http binding component.

Peter Jones - 04/Jul/08 03:25 PM
Reattach patch for branch 3.2. Looks like I must have omitted checking the grant asf license button first time. Checked this time.

Peter Jones - 14/Jul/08 07:07 AM
Missed attaching this patch.

Peter Jones - 14/Jul/08 07:08 AM
Updated patch for changes since patch was first attached to issue.

Peter Jones - 14/Jul/08 07:09 AM
Updated patch for changes that were committed since patch was uploaded.

Peter Jones - 14/Jul/08 07:12 AM
Hi there,

Updated a couple of the patches to keep up with changes. If there are any comments or suggestions for improvements, please let me know.

Cheers,
Peter


Peter Jones - 15/Jul/08 12:37 PM
Updated description and effected components.

Lars Heinemann - 31/Jul/08 02:03 PM
Peter,

thanks for your hard work
Hopefully I will be able to test your patches within the next week.

Regards
Lars


Peter Jones - 18/Aug/08 02:36 PM - edited
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

Freeman Fang - 18/Aug/08 07:58 PM