org.apache.avalon.framework.configuration.ConfigurationException: Cannot find ServletContext object in application context at org.apache.avalon.excalibur.logger.factory.ServletTargetFactory. createTarget(ServletTargetFactory.java:85) at org.apache.avalon.excalibur.logger.DefaultLogTargetManager. configure(DefaultLogTargetManager.java:92) at org.apache.avalon.framework.container.ContainerUtil. configure(ContainerUtil.java:201) Exception in thread "main" org.apache.avalon.framework.configuration. ConfigurationException: Cannot find ServletContext object in app at org.apache.avalon.excalibur.logger.factory.ServletTargetFactory. createTarget(ServletTargetFactory.java:85) at org.apache.avalon.excalibur.logger.DefaultLogTargetManager. configure(DefaultLogTargetManager.java:92) at org.apache.avalon.framework.container.ContainerUtil. configure(ContainerUtil.java:201) at org.apache.avalon.excalibur.logger.LogKitLoggerManager. setupTargetManager(LogKitLoggerManager.java:457) at org.apache.avalon.excalibur.logger.LogKitLoggerManager. configure(LogKitLoggerManager.java:403) at org.apache.cocoon.bean.CocoonWrapper.initialize (CocoonWrapper.java:144)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via lenya-user by Günter, 1 year ago
org.apache.avalon.excalibur.logger.DefaultLogTargetManager. configure(DefaultLogTargetManager.java:92) at org.apache.avalon.framework.container.ContainerUtil. configure(ContainerUtil.java:201) Exception in thread "main" org.apache.avalon.framework.configuration
org.apache.avalon.framework.configuration.ConfigurationException: Cannot find ServletContext object in application context at org.apache.avalon.excalibur.logger.factory.ServletTargetFactory. createTarget(ServletTargetFactory.java:85) at org.apache.avalon.excalibur.logger.DefaultLogTargetManager. configure(DefaultLogTargetManager.java:92) at org.apache.avalon.framework.container.ContainerUtil. configure(ContainerUtil.java:201) Exception in thread "main" org.apache.avalon.framework.configuration. ConfigurationException: Cannot find ServletContext object in app at org.apache.avalon.excalibur.logger.factory.ServletTargetFactory. createTarget(ServletTargetFactory.java:85) at org.apache.avalon.excalibur.logger.DefaultLogTargetManager. configure(DefaultLogTargetManager.java:92) at org.apache.avalon.framework.container.ContainerUtil. configure(ContainerUtil.java:201) at org.apache.avalon.excalibur.logger.LogKitLoggerManager. setupTargetManager(LogKitLoggerManager.java:457) at org.apache.avalon.excalibur.logger.LogKitLoggerManager. configure(LogKitLoggerManager.java:403) at org.apache.cocoon.bean.CocoonWrapper.initialize (CocoonWrapper.java:144)
at org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:102)
at org.apache.cocoon.Main.main(Main.java:320)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.