Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA
-
Fix Version/s: EE-3.3.0.GA
-
Component/s: None
-
Labels:None
-
Environment:ICEfaces EE 3.3.0 Build 14
App Server: WAS 8.5.0.2
Browsers: FF21, Chrome27
-
Assignee Priority:P1
Description
The next sample apps malfunctioned on WebSphere 8.5.0.2 when installed with the commons-logging.jar included in the .war file. Removing this jar from the .war file restored functionality of these apps.
1) auctionMonitor (FF21):
Using the initial war file from build 14, there were seen many Server Internal Error popups, and bids could not be placed; removing the commons-logging.jar from the war fixed the issue, and no further issues were found.
2) showcase (Chrome27):
The common-logging.jar had to be removed from the war file to be able to have the app functioning.
3) ee-composite-showcase (Chrome27):
Server Internal Errors occurred when changing themes from the drop-down, see error fragment below. Removing the commons-logging.jar file from the war solved this issue.
[6/21/13 17:11:09:150 EDT] 000000bf webcontainer E
com.ibm.ws.webcontainer.internal.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual
Host to handle /favicon.ico has not been defined.
[6/21/13 17:11:18:488 EDT] 000000bf lifecycle W invalid property: currentStyle
javax.validation.ValidationException: invalid property: currentStyle
at org.apache.bval.jsr303.util.PathNavigation.navigateAndReturn(PathNavigation.java:105)
at org.apache.bval.jsr303.util.PathNavigation.navigate(PathNavigation.java:117)
at org.apache.bval.jsr303.ClassValidator.validateValueImpl(ClassValidator.java:718)
at org.apache.bval.jsr303.ClassValidator.validateValue(ClassValidator.java:239)
at org.apache.bval.jsr303.ClassValidator.validateValue(ClassValidator.java:231)
at javax.faces.validator.BeanValidator.validate(BeanValidator.java:306)
...........
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Jdk14Logger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
1) auctionMonitor (FF21):
Using the initial war file from build 14, there were seen many Server Internal Error popups, and bids could not be placed; removing the commons-logging.jar from the war fixed the issue, and no further issues were found.
2) showcase (Chrome27):
The common-logging.jar had to be removed from the war file to be able to have the app functioning.
3) ee-composite-showcase (Chrome27):
Server Internal Errors occurred when changing themes from the drop-down, see error fragment below. Removing the commons-logging.jar file from the war solved this issue.
[6/21/13 17:11:09:150 EDT] 000000bf webcontainer E
com.ibm.ws.webcontainer.internal.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual
Host to handle /favicon.ico has not been defined.
[6/21/13 17:11:18:488 EDT] 000000bf lifecycle W invalid property: currentStyle
javax.validation.ValidationException: invalid property: currentStyle
at org.apache.bval.jsr303.util.PathNavigation.navigateAndReturn(PathNavigation.java:105)
at org.apache.bval.jsr303.util.PathNavigation.navigate(PathNavigation.java:117)
at org.apache.bval.jsr303.ClassValidator.validateValueImpl(ClassValidator.java:718)
at org.apache.bval.jsr303.ClassValidator.validateValue(ClassValidator.java:239)
at org.apache.bval.jsr303.ClassValidator.validateValue(ClassValidator.java:231)
at javax.faces.validator.BeanValidator.validate(BeanValidator.java:306)
...........
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.Jdk14Logger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
Not sure what triggered this but everything was committed to both the icefaces3/trunk and the EE tag before the release went out:
/Users/deryk/svn/ossrepo/icefaces3/trunk/icefaces watnotte-pro:icefaces deryk$ svn diff -r36424:36425 Index: samples/build/common.xml =================================================================== --- samples/build/common.xml (revision 36424) +++ samples/build/common.xml (revision 36425) @@ -109,6 +109,9 @@ <exclude name="commons-beanutils.jar" if="myfaces"/> <exclude name="commons-collections.jar" if="myfaces"/> <exclude name="commons-logging.jar" if="myfaces"/> + + <!-- Do not include commons-logging. Necessary for WebSphere 8 builds. --> + <exclude name="commons-logging.jar" if="no-commons-logging"/> </patternset> <patternset id="lib.distribute.portlet"> watnotte-pro:icefaces deryk$ /Users/deryk/svn/ossrepo/icefaces3/trunk/icefaces watnotte-pro:icefaces deryk$ svn diff -r36429:36430 Index: samples/compat/pom.xml =================================================================== --- samples/compat/pom.xml (revision 36429) +++ samples/compat/pom.xml (revision 36430) @@ -110,6 +110,9 @@ <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1</version> + <!-- WebSphere 8: The commons-logging library should not be included. Uncomment + the following scope if you are building for that platform. --> + <!--<scope>provided</scope>--> </dependency> </dependencies> Index: samples/showcase/pom.xml =================================================================== --- samples/showcase/pom.xml (revision 36429) +++ samples/showcase/pom.xml (revision 36430) @@ -71,6 +71,14 @@ <dependency> <groupId>${icefaces.product.group}</groupId> <artifactId>${icefaces.lib.name}-compat</artifactId> + <!-- WebSphere 8: The commons-logging library should not be included. Uncomment + the following exclusion if you are building for that platform. --> + <!--<exclusions>--> + <!--<exclusion>--> + <!--<groupId>commons-logging</groupId>--> + <!--<artifactId>commons-logging</artifactId>--> + <!--</exclusion>--> + <!--</exclusions>--> </dependency> <dependency> /Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icefaces watnotte-pro:icefaces deryk$ svn diff -r36423:36424 Index: samples/build/common.xml =================================================================== --- samples/build/common.xml (revision 36423) +++ samples/build/common.xml (revision 36424) @@ -109,6 +109,9 @@ <exclude name="commons-beanutils.jar" if="myfaces"/> <exclude name="commons-collections.jar" if="myfaces"/> <exclude name="commons-logging.jar" if="myfaces"/> + + <!-- Do not include commons-logging. Necessary for WebSphere 8 builds. --> + <exclude name="commons-logging.jar" if="no-commons-logging"/> </patternset> <patternset id="lib.distribute.portlet"> /Users/deryk/svn/repo/icefaces-ee3/tags/icefaces-ee-3.3.0.GA/icefaces-ee/icefaces watnotte-pro:icefaces deryk$ svn diff -r36428:36429 Index: samples/compat/pom.xml =================================================================== --- samples/compat/pom.xml (revision 36428) +++ samples/compat/pom.xml (revision 36429) @@ -110,6 +110,9 @@ <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.1</version> + <!-- WebSphere 8: The commons-logging library should not be included. Uncomment + the following scope if you are building for that platform. --> + <!--<scope>provided</scope>--> </dependency> </dependencies> Index: samples/showcase/pom.xml =================================================================== --- samples/showcase/pom.xml (revision 36428) +++ samples/showcase/pom.xml (revision 36429) @@ -71,6 +71,14 @@ <dependency> <groupId>${icefaces.product.group}</groupId> <artifactId>${icefaces.lib.name}-compat</artifactId> + <!-- WebSphere 8: The commons-logging library should not be included. Uncomment + the following exclusion if you are building for that platform. --> + <!--<exclusions>--> + <!--<exclusion>--> + <!--<groupId>commons-logging</groupId>--> + <!--<artifactId>commons-logging</artifactId>--> + <!--</exclusion>--> + <!--</exclusions>--> </dependency> <dependency>