Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5620

Remove second <listener-class> for CDI related stuff in wicket-examples' web.xml

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0-M1
    • Fix Version/s: 7.0.0-M3
    • Component/s: wicket-examples
    • Labels:
      None

      Description

      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)
      .....

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              mgrigorov Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: