[jira] Commented: (MYFACES-2604) Unresolved dependency of org.apache.commons.el.Logger

2010-03-15 Thread Mario Ivankovits (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12845216#action_12845216
 ] 

Mario Ivankovits commented on MYFACES-2604:
---

Could someone of the MyFaces masters please have a look at it.

Thanks! :-)

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

 Key: MYFACES-2604
 URL: https://issues.apache.org/jira/browse/MYFACES-2604
 Project: MyFaces Core
  Issue Type: Bug
 Environment: Deploying to Glassfish v2
Reporter: Bart Kummel
Priority: Minor

 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 
 

[jira] Commented: (MYFACES-2604) Unresolved dependency of org.apache.commons.el.Logger

2010-03-15 Thread Aleksei Valikov (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12845240#action_12845240
 ] 

Aleksei Valikov commented on MYFACES-2604:
--

Do you really HAVE to use this 
{{org.apache.myfaces.shared_orchestra.util.ClassUtils}} class for one single 
ClassUtils.classForName(...)?

Generally you now have something like four references to shared_orchestra:

* org.apache.myfaces.shared_orchestra.util.ClassUtils
* org.apache.myfaces.shared_orchestra.util.StringUtils
* org.apache.myfaces.shared_orchestra.renderkit.RendererUtils
* org.apache.myfaces.shared_orchestra.taglib.UIComponentTagBase

I'd say it is worth considering, if you really need all this shared stuff for 
just four utility dependencies.


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

 Key: MYFACES-2604
 URL: https://issues.apache.org/jira/browse/MYFACES-2604
 Project: MyFaces Core
  Issue Type: Bug
 Environment: Deploying to Glassfish v2
Reporter: Bart Kummel
Priority: Minor

 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 
 

[jira] Commented: (MYFACES-2604) Unresolved dependency of org.apache.commons.el.Logger

2010-03-15 Thread Jakob Korherr (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12845399#action_12845399
 ] 

Jakob Korherr commented on MYFACES-2604:


I don't think this is a MyFaces core problem. Take a look at the code that 
calls ClassUtils.classForName(): 
org.apache.myfaces.orchestra.annotation.spring.AnnotationsInfoInitializer.postProcessBeanFactory

This method simply gets all class names from the bean definitions from the 
given ConfigurableListableBeanFactory and tries to retrieve the right Class 
Objects via ClassUtils.classForName(). Unfortunately 
org.apache.commons.el.Logger seems to be one of the beans from the 
ConfigurableListableBeanFactory and thus it has to be on the classpath in order 
to function properly.

The code from MyFaces shared has no relation to org.apache.commons.el.Logger 
and thus it does not need this dependency. It's just used by Orchestra to 
retrieve the right Class object in this scenario.

So this is either a configuration problem (is org.apache.commons.el.Logger 
really supposed to be a bean?) or a missing orchestra dependency. Thus, I will 
close this as invalid.

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

 Key: MYFACES-2604
 URL: https://issues.apache.org/jira/browse/MYFACES-2604
 Project: MyFaces Core
  Issue Type: Bug
 Environment: Deploying to Glassfish v2
Reporter: Bart Kummel
Priority: Minor

 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 
 

[jira] Commented: (MYFACES-2604) Unresolved dependency of org.apache.commons.el.Logger

2010-03-15 Thread Aleksei Valikov (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12845469#action_12845469
 ] 

Aleksei Valikov commented on MYFACES-2604:
--

 Unfortunately org.apache.commons.el.Logger seems to be one of the beans from 
 the ConfigurableListableBeanFactory and thus it has to be on the classpath in 
 order to function properly. 

Below is the source code from the current Orchestra distribution:

package org.apache.myfaces.shared_orchestra.util;

import org.apache.commons.el.Coercions;
import org.apache.commons.el.Logger;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import javax.faces.FacesException;
import javax.servlet.jsp.el.ELException;
import java.io.InputStream;
import java.io.IOException;
import java.lang.reflect.Array;
import java.util.*;


public final class ClassUtils
{
//~ Static fields/initializers 
-

private static final Log log  = 
LogFactory.getLog(ClassUtils.class);
private static final Logger COERCION_LOGGER   = new Logger(System.out);

...

}


 The code from MyFaces shared has no relation to org.apache.commons.el.Logger 
 and thus it does not need this dependency.

Apparently Orchestra uses an older version of MyFaces Shared. Would you please 
reopen the issue and assign it back to Mario so that Orchestra team would make 
sure that a newer Share is used in the next release? Thank you.

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

 Key: MYFACES-2604
 URL: https://issues.apache.org/jira/browse/MYFACES-2604
 Project: MyFaces Core
  Issue Type: Bug
 Environment: Deploying to Glassfish v2
Reporter: Bart Kummel
Priority: Minor

 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 
 

[jira] Commented: (MYFACES-2604) Unresolved dependency of org.apache.commons.el.Logger

2010-03-15 Thread Jakob Korherr (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12845476#action_12845476
 ] 

Jakob Korherr commented on MYFACES-2604:


Oh, I did not see that. Things have changed here, there a no dependencies to 
commons-el anymore in shared. I guess new orchestra releases will include the 
newest code from shared, so this should be automatically solved in the next 
release!

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

 Key: MYFACES-2604
 URL: https://issues.apache.org/jira/browse/MYFACES-2604
 Project: MyFaces Core
  Issue Type: Bug
 Environment: Deploying to Glassfish v2
Reporter: Bart Kummel
Priority: Minor

 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 
 

[jira] Commented: (MYFACES-2604) Unresolved dependency of org.apache.commons.el.Logger

2010-03-15 Thread Jakob Korherr (JIRA)

[ 
https://issues.apache.org/jira/browse/MYFACES-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12845479#action_12845479
 ] 

Jakob Korherr commented on MYFACES-2604:


Actually, this has not changed in the version of shared which orchestra uses 
(2.0.x). However, the pom.xml includes the following:

dependency
  groupIdcommons-el/groupId
  artifactIdcommons-el/artifactId
  version1.0/version
  scopecompile/scope
/dependency

This should be taken into account for the next orchestra release with shared 
2.0.x.

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

 Key: MYFACES-2604
 URL: https://issues.apache.org/jira/browse/MYFACES-2604
 Project: MyFaces Core
  Issue Type: Bug
 Environment: Deploying to Glassfish v2
Reporter: Bart Kummel
Priority: Minor

 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