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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.0.0-M1
    • 7.0.0-M3
    • wicket-examples
    • 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

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: