Bug 780077 (SOA-2444) - CXF install script changes Riftsaw's bpel.properties and breaks riftsaw startup (when ant 1.8 is used)
Summary: CXF install script changes Riftsaw's bpel.properties and breaks riftsaw start...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2444
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: unspecified
Version: 5.1.0.ER2,5.1.0.ER3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.1.0 GA,5.1.0.ER5
Assignee: Julian Coleman
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-19 22:40 UTC by Ken Johnson
Modified: 2011-02-08 15:36 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
SOA-P 5.1 ER3, RHEL 6
Last Closed: 2011-02-08 15:36:46 UTC
Type: Bug


Attachments (Terms of Use)
bpel.properties (4.87 KB, application/octet-stream)
2010-10-19 22:42 UTC, Ken Johnson
no flags Details
bpel.properties (1.32 KB, application/octet-stream)
2010-10-19 22:43 UTC, Ken Johnson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2444 0 None None None Never

Description Ken Johnson 2010-10-19 22:40:21 UTC
Steps to Reproduce: Unzip ER3, unzip EDS.  Run build script in eds directory.  Choose default profile and choose Yes to install CXF.
project_key: SOA

After unzipping SOA-P 5.1 ER3 the bpel.properties file in this location: .../jboss-as/server/default/deploy/riftsaw.sar/

looks like attachment_1.

After running the CXF install script (through the EDS install script), the bpel.properties changes as seen in attachment_2 which causes startup errors:

18:38:25,371 FATAL [BPELEngineImpl] Couldn't initialize a transaction manager with factory: org.apache.ode.il.EmbeddedGeronimoFactory

Comment 1 Ken Johnson 2010-10-19 22:42:14 UTC
attachment_1

Comment 2 Ken Johnson 2010-10-19 22:42:15 UTC
Attachment: Added: bpel.properties


Comment 3 Ken Johnson 2010-10-19 22:43:14 UTC
attachment_2

Comment 4 Ken Johnson 2010-10-19 22:43:14 UTC
Attachment: Added: bpel.properties


Comment 5 Len DiMaggio 2010-10-20 12:03:49 UTC
Ken - which version of ant are you using? The problem may be with ant 1.8

Comment 6 Marek Baluch 2010-10-20 12:04:44 UTC
Confirmed. The problem does not occur when using ant 1.7.x. It occurs only when using ant 1.8.x.

Comment 7 Marek Baluch 2010-10-20 12:07:47 UTC
Using ant 1.8.x may also affect the compilation and deployment of samples.

Comment 8 Marek Baluch 2010-10-20 12:21:14 UTC
Also quickstarts are affected (not all of them though). Compilation of e.g. helloworld_ejb3_ws or helloworld_ejb3_ws_wss fails with the following exception:

jar-compile:
    [mkdir] Created dir: /home/mbaluch/work/build/soa51er3/jboss-as/samples/quickstarts/helloworld_ejb3_ws/jar/classes
    [javac] /home/mbaluch/work/build/soa51er3/jboss-as/samples/quickstarts/helloworld_ejb3_ws/build.xml:40: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 2 source files to /home/mbaluch/work/build/soa51er3/jboss-as/samples/quickstarts/helloworld_ejb3_ws/jar/classes

BUILD FAILED
/home/mbaluch/work/build/soa51er3/jboss-as/samples/quickstarts/helloworld_ejb3_ws/build.xml:17: The following error occurred while executing this line:
/home/mbaluch/work/build/soa51er3/jboss-as/samples/quickstarts/helloworld_ejb3_ws/build.xml:40: Reference compile-classpath not found.

Comment 9 Ken Johnson 2010-10-20 14:01:47 UTC
Ant 1.8 has been released since Feb 2010.  It's reasonably likely users will have this version locally by default.  Does EAP explicitly require Ant 1.7 for the CXF install script to behave properly?  Or do problems only appear with SOA-P?  

Comment 11 Anne-Louise Tangring 2010-10-27 19:10:50 UTC
Candidate for SOA 5.1.0

Comment 12 Julian Coleman 2010-12-02 15:04:10 UTC
Resolved with revision 7486 of:
  build-tools/builders/eap/resource/patch_macros.xsl

Commit message:

  SOA-2444
  Modify the globmapper so that it also works with ant 1.8.1.


Comment 13 Julian Coleman 2010-12-02 15:04:10 UTC
Labels: Added: rn-not-needed


Comment 14 Laura Bailey 2010-12-17 01:00:58 UTC
Release Notes Docs Status: Added: Not Required


Comment 16 Dana Mison 2011-01-05 00:14:35 UTC
Writer: Added: dlesage


Comment 17 Marek Baluch 2011-02-08 15:36:46 UTC
Verified on SOA-P ER9 ising Ant 1.8.2


Note You need to log in before you can comment on or make changes to this bug.