2 Replies Latest reply: Mar 19, 2010 9:59 AM by 843804 RSS

    Problem in Packaging .ear

    843804
      Hi

      I had probelm here about packaging my j2ee project. since i had migrated from jboss AS 4.0, myEclipse 3.8.4,eclipse 3.0.1 and jre 1.4 to jboss AS 4.2, myEclipse 5.5GA,eclipse 3.2 and jre 1.6 this problem occurs... would somebody explain to me further what was this error all about.. thanks in advance!


      09:02:36,291 INFO [Server] Starting JBoss (MX MicroKernel)...
      09:02:36,291 INFO [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)
      09:02:36,291 INFO [Server] Home Dir: D:\jboss-4.2.0.GA
      09:02:36,291 INFO [Server] Home URL: file:/D:/jboss-4.2.0.GA/
      09:02:36,291 INFO [Server] Patch URL: null
      09:02:36,291 INFO [Server] Server Name: default
      09:02:36,291 INFO [Server] Server Home Dir: D:\jboss-4.2.0.GA\server\default
      09:02:36,291 INFO [Server] Server Home URL: file:/D:/jboss-4.2.0.GA/server/default/
      09:02:36,291 INFO [Server] Server Log Dir: D:\jboss-4.2.0.GA\server\default\log
      09:02:36,291 INFO [Server] Server Temp Dir: D:\jboss-4.2.0.GA\server\default\tmp
      09:02:36,291 INFO [Server] Root Deployment Filename: jboss-service.xml
      09:02:36,510 INFO [ServerInfo] Java version: 1.6.0_01,Sun Microsystems Inc.
      09:02:36,510 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0_01-b06,Sun Microsystems Inc.
      09:02:36,510 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      09:02:37,588 INFO [Server] Core system initialized
      09:02:39,385 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      09:02:39,385 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
      09:02:39,807 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
      09:02:39,807 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
      09:02:39,979 INFO [TransactionManagerService] Starting recovery manager
      09:02:40,073 INFO [TransactionManagerService] Recovery manager started
      09:02:40,073 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
      09:02:42,354 INFO [EJB3Deployer] Starting java:comp multiplexer
      09:02:44,010 INFO [ServiceEndpointManager] jbossws-1.2.1.GA (build=200704151756)
      09:02:45,244 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_01\bin
      09:02:45,323 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
      09:02:45,323 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
      09:02:45,323 INFO [Catalina] Initialization processed in 262 ms
      09:02:45,323 INFO [StandardService] Starting service jboss.web
      09:02:45,338 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.GA
      09:02:45,385 INFO [Catalina] Server startup in 63 ms
      09:02:45,494 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
      09:02:46,619 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
      09:02:46,854 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp994jbossws-context-exp.war/
      09:02:46,979 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      09:02:47,760 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
      09:02:48,338 INFO [MailService] Mail Service bound to java:/Mail
      09:02:48,510 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
      09:02:48,557 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
      09:02:48,588 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
      09:02:48,791 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
      09:02:49,041 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
      09:02:49,088 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
      09:02:49,104 INFO [QuartzResourceAdapter] start quartz!!!
      09:02:49,182 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      09:02:49,213 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      09:02:49,213 INFO [RAMJobStore] RAMJobStore initialized.
      09:02:49,213 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      09:02:49,213 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      09:02:49,213 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      09:02:50,182 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      09:02:50,463 INFO [A] Bound to JNDI name: queue/A
      09:02:50,463 INFO Bound to JNDI name: queue/B
      09:02:50,463 INFO [C] Bound to JNDI name: queue/C
      09:02:50,463 INFO [D] Bound to JNDI name: queue/D
      09:02:50,463 INFO [ex] Bound to JNDI name: queue/ex
      09:02:50,479 INFO [testTopic] Bound to JNDI name: topic/testTopic
      09:02:50,479 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      09:02:50,479 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
      09:02:50,479 INFO [testQueue] Bound to JNDI name: queue/testQueue
      09:02:50,510 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
      09:02:50,588 INFO [DLQ] Bound to JNDI name: queue/DLQ
      09:02:50,713 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      09:02:50,776 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=globalEBR' to JNDI name 'java:globalEBR'
      09:02:50,807 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      09:02:50,963 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-4.2.0.GA/server/default/deploy/GlobalEBR.ear
      09:02:54,198 INFO [EjbModule] Deploying EBR
      09:02:54,369 INFO [ProxyFactory] Bound EJB Home 'EBR' to jndi 'org/rdc/ebr/bean/EBR'
      09:02:54,369 INFO [EJBDeployer] Deployed: file:/D:/jboss-4.2.0.GA/server/default/tmp/deploy/tmp1024GlobalEBR.ear-contents/GlobalEBR-EJB.jar
      09:02:54,385 INFO [TomcatDeployer] deploy, ctxPath=/GlobalEBR, warUrl=.../tmp/deploy/tmp1024GlobalEBR.ear-contents/GlobalEBR-Web-exp.war/
      09:02:54,666 INFO [ResponseOverrideFilter] Filter initialized. Response buffering is enabled
      09:02:55,057 WARN [TomcatDeployer] Failed to setup clustering, clustering disabled. NoClassDefFoundError: org/jgroups/blocks/MethodCall
      09:02:55,073 INFO [EARDeployer] Started J2EE application: file:/D:/jboss-4.2.0.GA/server/default/deploy/GlobalEBR.ear
      09:02:55,166 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      09:02:55,229 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      09:02:55,276 INFO [Server] JBoss (MX MicroKernel) [4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)] Started in 18s:969ms
      09:02:56,276 INFO [ExportViewFactory] Initializing ExportViewFactory with type={csv,excel,xml,pdf}
      09:02:56,276 WARN [ExportViewFactory] Unable to instantiate class for pdf export. org.displaytag.export.PdfView was found, but required libraries are missing: com/lowagie/text/Element
      09:02:56,276 INFO [TableProperties] No LocaleResolver configured.
      09:03:04,432 INFO [JbossLoginModule] Attempting to validate user intmfg2
      09:03:04,432 INFO [LdapDAO] Attempting to validate user: intmfg2
      09:03:06,119 INFO [LdapDAO] [UserDAO] Attempting to validate user : intmfg2
      09:03:06,119 INFO [JbossLoginModule] result: true
      09:03:06,135 INFO [JbossLoginModule] called getRoleSets
      09:03:06,135 INFO [JbossLoginModule] list of roles: [Ljava.security.acl.Group;@60eb0c
      09:03:24,869 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract org.rdc.ebr.Request org.rdc.ebr.interfaces.EBR.saveAsDraft(org.rdc.ebr.Request,java.lang.String) throws java.lang.Exception,java.rmi.RemoteException, causedBy:
      java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
      at org.rdc.ebr.Attachment.saveAttachment(Attachment.java:36)
      at org.rdc.ebr.Area.saveAreas(Area.java:178)
      at org.rdc.ebr.Request.saveRequest(Request.java:385)
      at org.rdc.ebr.Request.saveAsDraft(Request.java:503)
      at org.rdc.ebr.bean.EbrBean.saveAsDraft(EbrBean.java:290)
      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:597)
      at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
      at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      at org.jboss.ejb.Container.invoke(Container.java:960)
      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:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
      at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
      at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
      at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
      at $Proxy60.saveAsDraft(Unknown Source)
      at org.rdc.ebr.action.ProcessEbrRequestAction.saveDraft(ProcessEbrRequestAction.java:150)
      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:597)
      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
      at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)
      09:03:24,900 WARN [GlobalEBR] [Class] org.jboss.ejb.plugins.AbstractTxInterceptor
      09:03:24,900 WARN [GlobalEBR] [Method] invokeNext
      09:03:24,900 WARN [GlobalEBR] [Line#] 274
      09:03:24,900 WARN [GlobalEBR] [Message] loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"; nested exception is:
      java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
      09:03:24,900 ERROR [STDERR] javax.transaction.TransactionRolledbackException: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"; nested exception is:
      java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:274)
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:960)
      09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      09:03:24,900 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:03:24,900 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:03:24,900 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      09:03:24,900 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      09:03:24,900 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
      09:03:24,900 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
      09:03:24,900 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
      09:03:24,900 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
      09:03:24,900 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
      09:03:24,900 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
      09:03:24,900 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
      09:03:24,900 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
      09:03:24,900 ERROR [STDERR] at $Proxy60.saveAsDraft(Unknown Source)
      09:03:24,900 ERROR [STDERR] at org.rdc.ebr.action.ProcessEbrRequestAction.saveDraft(ProcessEbrRequestAction.java:150)
      09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      09:03:24,900 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:03:24,900 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:03:24,900 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
      09:03:24,900 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
      09:03:24,900 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
      09:03:24,900 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
      09:03:24,900 ERROR [STDERR] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
      09:03:24,900 ERROR [STDERR] at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
      09:03:24,900 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      09:03:24,900 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      09:03:24,900 ERROR [STDERR] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      09:03:24,900 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      09:03:24,900 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      09:03:24,900 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      09:03:24,900 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
      09:03:24,900 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      09:03:24,900 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
      09:03:24,900 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      09:03:24,900 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
      09:03:24,900 ERROR [STDERR] Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
      09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Attachment.saveAttachment(Attachment.java:36)
      09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Area.saveAreas(Area.java:178)
      09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Request.saveRequest(Request.java:385)
      09:03:24,900 ERROR [STDERR] at org.rdc.ebr.Request.saveAsDraft(Request.java:503)
      09:03:24,900 ERROR [STDERR] at org.rdc.ebr.bean.EbrBean.saveAsDraft(EbrBean.java:290)
      09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      09:03:24,900 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      09:03:24,900 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:03:24,900 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:03:24,900 ERROR [STDERR] at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
      09:03:24,900 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      09:03:24,900 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      09:03:24,900 ERROR [STDERR] ... 65 more
      09:03:24,916 WARN [GlobalEBR] =====Other Exception=====
      09:03:24,916 WARN [GlobalEBR] [Message] javax.transaction.TransactionRolledbackException cannot be cast to com.onsemi.rdc.exceptions.RDCException
      09:03:24,916 WARN [GlobalEBR] [Cause] null
      09:03:24,916 WARN [GlobalEBR] [Class] org.rdc.ebr.action.ProcessEbrRequestAction
      09:03:24,916 WARN [GlobalEBR] [Method] saveDraft
      09:03:24,916 WARN [GlobalEBR] [Line#] 170
      09:03:24,916 ERROR [STDERR] java.lang.ClassCastException: javax.transaction.TransactionRolledbackException cannot be cast to com.onsemi.rdc.exceptions.RDCException
      09:03:24,916 ERROR [STDERR] at org.rdc.ebr.action.ProcessEbrRequestAction.saveDraft(ProcessEbrRequestAction.java:170)
      09:03:24,916 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      09:03:24,916 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      09:03:24,916 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      09:03:24,916 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      09:03:24,916 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
      09:03:24,916 ERROR [STDERR] at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
      09:03:24,916 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
      09:03:24,916 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
      09:03:24,916 ERROR [STDERR] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
      09:03:24,916 ERROR [STDERR] at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
      09:03:24,916 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      09:03:24,916 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      09:03:24,916 ERROR [STDERR] at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      09:03:24,916 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      09:03:24,916 ERROR [STDERR] at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      09:03:24,916 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      09:03:24,916 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
      09:03:24,916 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      09:03:24,916 ERROR [STDERR] at org.apache.coyote.http11.H
        • 1. Re: Problem in Packaging .ear
          843804
          This can happen with JBoss in default configuration.
          By default JBoss will share classes between EAR class loaders, so if you have 2 different versions of the same class they will conflict.
          This is good for performance but not J2EE compliant.
          To disable it please change the list of "Isolated"/"CallByValue" flags
          http://docs.jboss.org/jbossas/whatsnew40/html_single/
          • 2. Re: Problem in Packaging .ear
            843804
            Hi,

            I tried to change the xmls of Jboss and i got the same error msg. This problem is driving me crazy. Anyone had any clue to fix it?
            java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/web/tomcat/service/WebAppClassLoader) previously initiated loading for a different type with name "org/apache/struts/upload/FormFile"
                 at java.lang.ClassLoader.defineClass1(Native Method)
                 at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
                 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
                 at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1823)
                 at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:876)
                 at org.jboss.web.tomcat.service.WebAppClassLoader.findClass(WebAppClassLoader.java:139)
                 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1331)
                 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208)
                 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
                 at java.lang.Class.getDeclaredMethods0(Native Method)
                 at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
                 at java.lang.Class.getDeclaredMethods(Class.java:1791)
                 at java.beans.Introspector$1.run(Introspector.java:1287)
                 at java.security.AccessController.doPrivileged(Native Method)
                 at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1285)
                 at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1151)
                 at java.beans.Introspector.getBeanInfo(Introspector.java:402)
                 at java.beans.Introspector.getBeanInfo(Introspector.java:168)
                 at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptors(PropertyUtilsBean.java:896)
                 at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptors(PropertyUtilsBean.java:926)
                 at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:801)
                 at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:937)
                 at org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811)
                 at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298)
                 at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:493)
                 at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:804)
                 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)
                 at br.com.abril.acl.presentation.action.ACLRequestProcessor.process(ACLRequestProcessor.java:107)
                 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
                 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
                 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                 at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                 at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:853)
                 at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
                 at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1513)
                 at java.lang.Thread.run(Thread.java:619)