users@glassfish.java.net

[V3] Nightly Errors

From: Raju Uppalapati <ruppalapati_at_gmail.com>
Date: Mon, 16 Jun 2008 13:31:47 -0700

Hi,
I am using: glassfish-snapshot-v3-preview-06_16_2008.zip
and running on JDK 1.6 using the bin/startserv command (Felix Mode)

~~~~~~~~~~~~~~~~~~
Jun 16, 2008 11:02:30 AM
INFO: 11:02:30,044 ERROR [ContextLoader:220] Context initialization failed
java.lang.NoSuchMethodError:
org.apache.commons.collections.IteratorUtils.emptyIterator()Lorg/apache/commons/collections/ResettableIterator;
        at org.apache.commons.configuration.PropertyConverter.toIterator(PropertyConverter.java:882)
        at org.apache.commons.configuration.AbstractConfiguration.addPropertyValues(AbstractConfiguration.java:416)
        at org.apache.commons.configuration.AbstractConfiguration.addProperty(AbstractConfiguration.java:389)
~~~~~~~~~~~~~~~~~~

The deployed WAR file bundles commons-collections.jar 3.2.0
So it appears the apache commons bundled into GFV3 is taking
precedence over the ones in the WEB-INF/lib of the WAR file. Since
apache commons is not a J2EE API, the version of this Jar bundled into
GFV3 should not affect the runtime of webapps.

This is a bug right? I created Issue :
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5168 to track
it.

_raju