You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/07/02 11:25:24 UTC
[jira] [Commented] (WICKET-5620) Add Tomcat/Jetty deployment
descriptors for CDI example
[ https://issues.apache.org/jira/browse/WICKET-5620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14049773#comment-14049773 ]
Martin Grigorov commented on WICKET-5620:
-----------------------------------------
Today I am able to deploy wicket-examples.war in Tomcat 7.0.52.
The error happens only with Tomcat 8.0.9.
> Add Tomcat/Jetty deployment descriptors for CDI example
> -------------------------------------------------------
>
> Key: WICKET-5620
> URL: https://issues.apache.org/jira/browse/WICKET-5620
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-examples
> Affects Versions: 7.0.0-M1, 6.15.0
> Reporter: Martin Grigorov
>
> Trying to deploy wicket-examples.war (7.0) in Tomcat 7/8 fails with:
> 3-Jun-2014 10:28:09.485 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class org.jboss.weld.environment.servlet.BeanManagerResourceBindingListener
> java.lang.RuntimeException: Could not bind BeanManager reference to JNDI: Context is read only
> If the naming context is read-only, you may need to use a configuration tobind the BeanManager instead, such as Tomcat's context.xml or Jetty's jetty-web.xml.
> at org.jboss.weld.environment.servlet.BeanManagerResourceBindingListener.contextInitialized(BeanManagerResourceBindingListener.java:84)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4739)
> .....
--
This message was sent by Atlassian JIRA
(v6.2#6252)