[
http://jira.jboss.com/jira/browse/JBSEAM-2833?page=all ]
Jay Balunas reopened JBSEAM-2833:
---------------------------------
Some change between 2.0.2.GA and 2.0.2.SP1 is causing this issue to return. I think
there may be a bigger issue or perhaps the dependency should be handled differently. This
was not caught in SP1 testing because the jee5 example was waived.
Below is what I'm seeing
In both 2.0.2.GA and 2.0.2.SP1 we ship "/lib/jboss-common-core.jar" version
2.0.4.GA.
In seam 2.0.2.GA this file is overwritten with version jboss-common-core.jar version
2.0.2.GA when the jee5/booking example is build because "jboss-common-core.lib"
property is set to true.
In seam 2.0.2.SP1 this file is not overwritten and because of some changes between
versions jboss-common-core.jar 2.0.4.GA requires concurrent.jar.
In examples/build.xml the jboss-common-core version is set specifically to 2.0.2.GA in the
target "getjbosscommoncore". In seam 2.0.2.GA this target shows "[copy]
Copying 1 file to <PATH>/jboss-seam-2.0.2.GA/lib", but in 2.0.2.SP1 it
executes, but shows nothing.
I believe it is related to JBSEAM-3017 and changes to the common.build.xml - but I have
not had time to look further. As I said we may want to handle this differently anyway.
If jboss-common-core 2.0.4.GA is not needed, perhaps we should just ship 2.0.2.GA?
Glassfish Jee5 example deployment fails with NoClassDefFoundError:
EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
---------------------------------------------------------------------------------------------------------------------------
Key: JBSEAM-2833
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2833
Project: Seam
Issue Type: Bug
Components: Examples
Affects Versions: 2.0.2.CR1
Environment: Glassfish V2.1
Reporter: Jay Balunas
Assigned To: Pete Muir
Priority: Minor
Fix For: 2.0.2.CR2, 2.1.0.BETA1
This is typically missing "concurrent.jar" however - I have seen that
"jboss-archive-browsing.jar" fixes this issue as well.
This was following instructions in the readme.txt in the jee5 example.
[#|2008-04-02T16:19:48.569-0400|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=17;_ThreadName=Thread-25;_RequestID=c40ebac4-b942-4743-adbc-c8515f9ec122;|
java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
at org.jboss.util.file.ArchiveBrowser.<clinit>(ArchiveBrowser.java:52)
at
org.hibernate.ejb.Ejb3Configuration.scanForClasses(Ejb3Configuration.java:626)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:350)
at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126)
at
com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:149)
at
com.sun.enterprise.server.PersistenceUnitLoaderImpl.load(PersistenceUnitLoaderImpl.java:84)
at
com.sun.enterprise.server.AbstractLoader.loadPersistenceUnits(AbstractLoader.java:898)
at
com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:184)
at
com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:126)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:244)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:336)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:210)
at
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:645)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:928)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:912)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:461)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
at
com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:591)
at
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:635)
at
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
at
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
at
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at
com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at
com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:145)
at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:537)
at java.lang.Thread.run(Thread.java:595)
|#]
[#|2008-04-02T16:19:48.572-0400|WARNING|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=17;_ThreadName=Thread-25;EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap;_RequestID=c40ebac4-b942-4743-adbc-c8515f9ec122;|ADM5603:Event
listener error [EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap]|#]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira