9 Replies Latest reply on Apr 16, 2010 9:48 AM by Jayakrishnan Karolil

    Specify library paths on ear files

    Hugo Armando Martinez Chamonica Newbie

      Hi I am trying to deploy an ear application with the following structure.

      myapp.ear
      - META-INF
      - application.xml
      - app.war
      - app-ejb.jar
      - app-config.jar
      - app-toplink.jar
      - APP-INF/lib (directory with required jar files as spring.jar, etc...)

      I got the error Java.lang.NoClassDefFoundError

      The class is presento on APP-INF/lib jars but its like this path is not included

      How can I specify an application classpath, is it on Manifest file??

        • 1. Re: Specify library paths on ear files
          Peter Johnson Master

          The JAR files in the directory "APP-INF/lib" are not in the classpath, but the JAR files located in the "lib" directory are included. That is assuming you are using JBoss AS 5.0.0 or later.

          • 2. Re: Specify library paths on ear files
            Hugo Armando Martinez Chamonica Newbie

            Hi,

            Thank you for your response.

            I update my structure o change APP-INF/lib for just lib directory, it seems like this works but now I have a new error

            009-05-22 16:55:00,214 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear state=PreReal mode=Manual requiredState=Real
            org.jboss.deployers.spi.DeploymentException: URL _file:/guimg/jboss-5.0.0.GA/server/default/tmp/

            • 3. Re: Specify library paths on ear files
              Hugo Armando Martinez Chamonica Newbie

              I attach the complete stack trace:


              2009-05-22 17:04:11,923 ERROR [org.jboss.web.tomcat.service.deployers.JBossContextConfig] (HDScanner) XML error parsing: context.xml
              org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
              at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
              at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:552)
              at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:538)
              at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
              at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
              at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
              at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
              at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
              at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
              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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
              at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
              at $Proxy36.start(Unknown Source)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
              at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
              at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
              at org.jboss.system.ServiceController.start(ServiceController.java:460)
              at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
              at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
              at java.lang.Thread.run(Thread.java:595)
              Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:97)
              at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:56)
              at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96)
              ... 68 more
              Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration
              at org.apache.xerces.parsers.SAXParser.(Unknown Source)
              at org.apache.xerces.parsers.SAXParser.(Unknown Source)
              at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.(Unknown Source)
              at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source)
              at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source)
              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:92)
              ... 70 more

              • 4. Re: Specify library paths on ear files
                Peter Johnson Master

                Class cast exceptions usually happend when you include in your application a library that is already included in JBoss AS. In this case, remove from your EAR's library directory whatever JAR file contains the org.apache.xerces.parsers.XML11Configuration class (probably xerces.jar).

                • 5. Re: Specify library paths on ear files
                  Lakshmi Rajagopal Newbie

                  Isn't there a way to make JBOSS use my version of the parser jars? I tried the options as mentioned in one of the links

                  <class-loading java2ClassLoadingCompliance='false'>
                  <loader-repository>
                  dot.com:loader=unique-archive-name
                  <loader-repository-config>
                  java2ParentDelegation=false
                  </loader-repository-config>
                  </loader-repository>
                  </class-loading>

                  Does not seem to work.
                  ( I am using 4.3 GA )

                  • 6. Re: Specify library paths on ear files
                    Hugo Armando Martinez Chamonica Newbie

                    Hi,

                    For the last issue we just delete the "/" for filters, I mean if you are using struts change from /*.do to *.do on url-pattern for filter tags.

                    Now I have a new issue related with JBoss and toplink, some classes are not available, does anyone know which jars contains this oracle parsers?

                    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'topLinkSessionFactoryBean' defined in class path resource [META-INF/resources/application-services.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: oracle/xml/parser/schema/XSDElement
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1362)
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540)
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
                    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
                    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
                    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:268)
                    ... 55 more
                    Caused by: java.lang.NoClassDefFoundError: oracle/xml/parser/schema/XSDElement
                    at java.lang.Class.getDeclaredConstructors0(Native Method)
                    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
                    at java.lang.Class.getConstructor0(Class.java:2671)
                    at java.lang.Class.newInstance0(Class.java:321)
                    at java.lang.Class.newInstance(Class.java:303)
                    at oracle.toplink.internal.security.PrivilegedAccessController.newInstanceFromClass(PrivilegedAccessController.java:542)
                    at oracle.toplink.platform.xml.XMLPlatformFactory.getXMLPlatform(XMLPlatformFactory.java:75)
                    at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:188)
                    at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:156)
                    at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:93)
                    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:367)
                    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 org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:160)
                    at org.springframework.orm.toplink.LocalSessionFactory.loadDatabaseSession(LocalSessionFactory.java:418)
                    at org.springframework.orm.toplink.LocalSessionFactory.createSessionFactory(LocalSessionFactory.java:297)
                    at org.springframework.orm.toplink.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:100)
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1390)
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1359)
                    ... 64 more

                    • 7. Re: Specify library paths on ear files
                      Hugo Armando Martinez Chamonica Newbie

                      We added the xmlparserv2.jar to lib directory

                      Now a new error is displayed:

                      2009-05-25 13:03:18,237 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/MiraWeb]] (HDScanner) Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
                      java.lang.ClassCastException: oracle.xml.jaxp.JXSAXParserFactory
                      at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107)
                      at com.sun.faces.config.ConfigureListener$WebXmlProcessor.getConfiguredFactory(ConfigureListener.java:698)
                      at com.sun.faces.config.ConfigureListener$WebXmlProcessor.scanForFacesServlet(ConfigureListener.java:670)
                      at com.sun.faces.config.ConfigureListener$WebXmlProcessor.(ConfigureListener.java:644)
                      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:156)
                      at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:75)
                      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
                      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
                      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
                      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                      at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
                      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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                      at $Proxy36.start(Unknown Source)
                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                      at org.jboss.system.ServiceController.start(ServiceController.java:460)
                      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
                      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
                      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
                      at java.lang.Thread.run(Thread.java:595)
                      2009-05-25 13:03:18,240 ERROR [org.apache.catalina.core.StandardContext] (HDScanner) Error listenerStart
                      2009-05-25 13:03:18,240 ERROR [org.apache.catalina.core.StandardContext] (HDScanner) Context [/MiraWeb] startup failed due to previous errors
                      2009-05-25 13:03:18,247 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Start: name=jboss.web.deployment:war=/MiraWeb state=Create mode=Manual requiredState=Installed
                      org.jboss.deployers.spi.DeploymentException: URL file:/guimg/jboss-5.0.0.GA/server/default/tmp/deploy/miraWeb_web334662603009622198-exp.war/ deployment failed
                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:388)
                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
                      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
                      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                      at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
                      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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                      at $Proxy36.start(Unknown Source)
                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                      at org.jboss.system.ServiceController.start(ServiceController.java:460)
                      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
                      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
                      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
                      at java.lang.Thread.run(Thread.java:595)
                      2009-05-25 13:03:18,249 DEBUG [org.jboss.system.ServiceCreator] (HDScanner) Removing mbean from server: jboss.web.deployment:war=/MiraWeb
                      2009-05-25 13:03:18,250 DEBUG [org.jboss.system.ServiceController] (HDScanner) destroying service: jboss.web.deployment:war=/MiraWeb
                      2009-05-25 13:03:18,250 DEBUG [org.jboss.system.ServiceController] (HDScanner) Ignoring destroy request for service: jboss.web.deployment:war=/MiraWeb at state FAILED
                      2009-05-25 13:03:18,250 DEBUG [org.jboss.system.ServiceController] (HDScanner) removing service: jboss.web.deployment:war=/MiraWeb
                      2009-05-25 13:03:18,250 DEBUG [org.jboss.system.deployers.ServiceDeployer] (HDScanner) Error during deploy: jboss.web.deployment:war=/MiraWeb
                      org.jboss.deployers.spi.DeploymentException: URL file:/guimg/jboss-5.0.0.GA/server/default/tmp/deploy/miraWeb_web334662603009622198-exp.war/ deployment failed
                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:388)
                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
                      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
                      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                      at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
                      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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                      at $Proxy36.start(Unknown Source)
                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                      at org.jboss.system.ServiceController.start(ServiceController.java:460)
                      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
                      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
                      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
                      at java.lang.Thread.run(Thread.java:595)
                      2009-05-25 13:03:18,252 DEBUG [org.jboss.system.ServiceController] (HDScanner) stopping service: jboss.jacc:service=jacc,id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_web.war",parent="miraWeb.ear"
                      2009-05-25 13:03:18,252 DEBUG [org.jboss.system.ServiceController] (HDScanner) destroying service: jboss.jacc:service=jacc,id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_web.war",parent="miraWeb.ear"
                      2009-05-25 13:03:18,253 DEBUG [org.jboss.system.ServiceController] (HDScanner) removing service: jboss.jacc:service=jacc,id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_web.war",parent="miraWeb.ear"
                      2009-05-25 13:03:18,253 DEBUG [org.jboss.system.ServiceCreator] (HDScanner) Removing mbean from server: jboss.jacc:service=jacc,id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_web.war",parent="miraWeb.ear"
                      2009-05-25 13:03:18,254 DEBUG [org.jboss.system.ServiceController] (HDScanner) stopping service: jboss.jacc:service=jacc,id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear"
                      2009-05-25 13:03:18,254 DEBUG [org.jboss.system.ServiceController] (HDScanner) Ignoring stop request for service: jboss.jacc:service=jacc,id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear" at state CONFIGURED
                      2009-05-25 13:03:18,254 DEBUG [org.jboss.system.ServiceController] (HDScanner) destroying service: jboss.jacc:service=jacc,id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear"
                      2009-05-25 13:03:18,255 DEBUG [org.jboss.system.ServiceController] (HDScanner) removing service: jboss.jacc:service=jacc,id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear"
                      2009-05-25 13:03:18,255 DEBUG [org.jboss.system.ServiceCreator] (HDScanner) Removing mbean from server: jboss.jacc:service=jacc,id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear"
                      2009-05-25 13:03:18,260 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (HDScanner) Removed component jboss.j2ee:module="miraWeb_ejb.jar",service=EjbModule from vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_ejb.jar
                      2009-05-25 13:03:18,262 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (HDScanner) Removed component jboss.jacc:id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_ejb.jar",parent="miraWeb.ear",service=jacc from vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_ejb.jar
                      2009-05-25 13:03:18,264 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (HDScanner) Removed component jboss.jacc:id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_webstatic.war",parent="miraWeb.ear",service=jacc from vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_webstatic.war
                      2009-05-25 13:03:18,266 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (HDScanner) Removed component jboss.web.deployment:war=/MiraWeb/resources from vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_webstatic.war
                      2009-05-25 13:03:18,268 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (HDScanner) Removed component jboss.jacc:id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_web.war",parent="miraWeb.ear",service=jacc from vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_web.war
                      2009-05-25 13:03:18,271 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (HDScanner) Removed component jboss.web.deployment:war=/MiraWeb from vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_web.war
                      2009-05-25 13:03:18,274 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (HDScanner) Removed component jboss.jacc:id="vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear",service=jacc from vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear
                      2009-05-25 13:03:19,621 DEBUG [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (HDScanner) Removed component ejb/miraWeb_ejb.jar#GranInvokerEJB,uid8408665 from vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear/miraWeb_ejb.jar
                      2009-05-25 13:03:19,624 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfszip:/guimg/jboss-5.0.0.GA/server/default/deploy/miraWeb.ear state=PreReal mode=Manual requiredState=Real
                      org.jboss.deployers.spi.DeploymentException: URL file:/guimg/jboss-5.0.0.GA/server/default/tmp/deploy/miraWeb_web334662603009622198-exp.war/ deployment failed
                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:388)
                      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
                      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
                      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                      at org.jboss.web.deployers.WebModule.start(WebModule.java:96)
                      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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                      at $Proxy36.start(Unknown Source)
                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                      at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                      at org.jboss.system.ServiceController.start(ServiceController.java:460)
                      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
                      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
                      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
                      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
                      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
                      at java.lang.Thread.run(Thread.java:595)

                      • 8. Re: Specify library paths on ear files
                        Jayakrishnan Karolil Newbie

                        @hugo: did you find a solution to this issue?

                         

                        I'm having the exact same problem and getting the exact same stacktrace.

                        Hugo Armando Martinez Chamonica wrote:

                         

                        We added the xmlparserv2.jar to lib directory
                        Now a new error is displayed:

                        org.jboss.web.jsf.integration.config.JBossJSFConfigureListener java.lang.ClassCastException: oracle.xml.jaxp.JXSAXParserFactory
                        at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107)
                        ........

                         

                        In order to test, i created an empty dynamic web application in eclipse  and added just the xmlparserv2.jar into the lib directory of this  webapp.

                        TestWeb

                        -WEB-INF/lib/xmlparserv2.jar

                        -WEB-INF/web.xml [no addtional configurations of any kind. default web.xml generated using eclipse]

                        -index.jsp [just a sample JSP]

                         

                        Then also i get this same stacktrace. This happens when JBoss tries to deploy this webapp. I'm using jboss-5.1.0.GA running in 'default' configuration

                         

                        Thanks,

                        JK

                        • 9. Re: Specify library paths on ear files
                          Jayakrishnan Karolil Newbie

                          It seems i cannot have a xmlparserv2.jar in my webapp lib. Please help.