Installation Note 36477: Re-configuring SAS® Web Report Studio and SAS Business Intelligence Dashboard causes BUILD FAILED error
When SAS Enterprise Business Intelligence has been configured to use multiple Managed Servers, a re-configure of SAS Web Report Studio and the SAS Business Intelligence Dashboard might result in an error similar to the following:
BUILD FAILED
/local/install/cfgsas2/sashome/SASWebReportStudio/4.2/Config/citationweb_config.xml:519: The following error occurred while executing this line:
/local/install/cfgsas2/sashome/SASWebReportStudio/4.2/Config/citationweb_config.xml:822: The following error occurred while executing this line:
/local/install/cfgsas2/sashome/SASDeploymentManager/9.2/products/cfgwizard__92280__prt__xx__sp0__1/Utilities/webAppAntTasks.xml:350: The following error occurred while executing this line:
/local/install/cfgsas2/sashome/SASDeploymentManager/9.2/products/cfgwizard__92280__prt__xx__sp0__1/Utilities/webAppAntTasks_websphere.xml:4144: **ERROR** Installation of "SASWebReportStudio4.2" failed during deployOnWAS.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: /local/install/cfgsas2/sashome/SASWebReportStudio/4.2/Config/citationweb_config.xml:822: The following error occurred while executing this line:
/local/install/cfgsas2/sashome/SASDeploymentManager/9.2/products/cfgwizard__92280__prt__xx__sp0__1/Utilities/webAppAntTasks.xml:350: The following error occurred while executing this line:
/local/install/cfgsas2/sashome/SASDeploymentManager/9.2/products/cfgwizard__92280__prt__xx__sp0__1/Utilities/webAppAntTasks_websphere.xml:4144: **ERROR** Installation of "SASWebReportStudio4.2" failed during deployOnWAS.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
... 16 more
The problem is caused by the <citationweb_deployWebapps> step failing with the above errors. The process of undeploying and re-deploying is enough to cause this to fail. This is because the SAS Deployment Wizard changes the state of the <webappsrv.multiple.servers> property between initial config and second config, and then computes the <webappsrv.[12-byte].server> value based on <webappsrv.multiple.servers>, causing the value of <webappsrv.[12-byte].server> to flip flop values between the two configurations.
The workaround is to use the SAS Deployment Wizard to re-configure the application server any time the default value of lt;webappsrv.multiple.servers> is changed from the default value. This means if the multiple servers value is true for EBI, the problem is triggered. However, SAS Financial Management, SAS Human Capital Management, and SAS Strategy Management do not trigger the problem, since their default value is multiple instead of single.
Operating System and Release Information
| SAS System | JBoss Application Server | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M2 | 9.3 TS1M1 |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M2 | 9.3 TS1M1 |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M2 | 9.3 TS1M1 |
| Microsoft® Windows® for x64 | 9.2 TS2M2 | 9.3 TS1M1 |
| Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M2 | 9.3 TS1M1 |
| Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M2 | 9.3 TS1M1 |
| Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M2 | 9.3 TS1M1 |
| Microsoft Windows XP Professional | 9.2 TS2M2 | 9.3 TS1M1 |
| Windows Vista | 9.2 TS2M2 | 9.3 TS1M1 |
| 64-bit Enabled AIX | 9.2 TS2M2 | 9.3 TS1M1 |
| 64-bit Enabled Solaris | 9.2 TS2M2 | 9.3 TS1M1 |
| HP-UX IPF | 9.2 TS2M2 | 9.3 TS1M1 |
| Linux for x64 | 9.2 TS2M2 | 9.3 TS1M1 |
| Solaris for x64 | 9.2 TS2M2 | 9.3 TS1M1 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
This is specific to the JBOSS application server.
| Type: | Installation Note |
| Priority: | medium |
| Date Modified: | 2011-10-11 13:27:01 |
| Date Created: | 2009-07-08 13:07:44 |