MyFaces Orchestra
  1. MyFaces Orchestra
  2. ORCHESTRA-50

Unresolved dependency of org.apache.commons.el.Logger

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None
    • Environment:
      Deploying to Glassfish v2

      Description

      When deploying an application that uses Orchestra Core 1.3.1, I get a ClassNotFoundException on org.apache.commons.el.Logger. The work around is of course to manually download Apache Commons EL and add is as a dependency. The solution to this bug can be:

      • removing the dependency
      • mentioning the dependency in the docs.

      Stack trace:
      java.lang.NoClassDefFoundError: org/apache/commons/el/Logger
      at org.apache.myfaces.shared_orchestra.util.ClassUtils.<clinit>(ClassUtils.java:44)
      at org.apache.myfaces.orchestra.annotation.spring.AnnotationsInfoInitializer.postProcessBeanFactory(AnnotationsInfoInitializer.java:93)
      at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:553)
      at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:536)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:362)
      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4523)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:5184)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1584)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
      at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1147)
      at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:141)
      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.deploy(PEDeploymentService.java:276)
      at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:294)
      at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:555)
      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 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.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      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.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:564)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:545)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:492)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:267)
      at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.el.Logger
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1498)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      ... 58 more

      1. ORCHESTRA-50-core.patch
        7 kB
        Leonardo Uribe
      2. ORCHESTRA-50-shared.patch
        59 kB
        Leonardo Uribe

        Activity

        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leonardo Uribe made changes -
        Affects Version/s 1.4 [ 12313482 ]
        Leonardo Uribe made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Assignee Leonardo Uribe [ lu4242 ]
        Fix Version/s 1.5 [ 12314460 ]
        Resolution Fixed [ 1 ]
        Leonardo Uribe made changes -
        Attachment ORCHESTRA-50-shared.patch [ 12438870 ]
        Attachment ORCHESTRA-50-core.patch [ 12438871 ]
        Jakob Korherr made changes -
        Resolution Invalid [ 6 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Jakob Korherr made changes -
        Project MyFaces Core [ 10600 ] MyFaces Orchestra [ 12310691 ]
        Key MYFACES-2604 ORCHESTRA-50
        Jakob Korherr made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]
        Mario Ivankovits made changes -
        Field Original Value New Value
        Project MyFaces Orchestra [ 12310691 ] MyFaces Core [ 10600 ]
        Key ORCHESTRA-42 MYFACES-2604
        Affects Version/s 1.3.1 [ 12313661 ]
        Bart Kummel created issue -

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Bart Kummel
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development