Uploaded image for project: 'Seam for Apache Wicket'
  1. Seam for Apache Wicket
  2. SEAMWICKET-14

Looks like the JNDI name is wrong for looking up the manager in GlassFish

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.1.Final
    • Fix Version/s: Future
    • Labels:
      None
    • Environment:

      Ubuntu 10.04, GlassFish OS Ed 3.0.1

    • Steps to Reproduce:
      Hide

      Sorry, I'm not sure.

      Show
      Sorry, I'm not sure.
    • Workaround Description:
      Hide

      (17:34:30) Zta: What have I forgottten? Or what am I doing wrong? http://pastebin.ca/1926851
      (17:41:03) pmuir: aha, I think I see the problem, looks like the JNDI name is wrong for looking up the manager in GF
      (17:41:39) pmuir: if you want to try fix it, you can grab the source from http://anonsvn.jboss.org/repos/seam/modules/wicket/trunk
      (17:42:00) pmuir: and change the path to the BeanManager in JNDI in BeanManagerLookup
      (17:42:10) pmuir: to java:comp/BeanManager (there is a TODO there)

      Show
      (17:34:30) Zta: What have I forgottten? Or what am I doing wrong? http://pastebin.ca/1926851 (17:41:03) pmuir: aha, I think I see the problem, looks like the JNDI name is wrong for looking up the manager in GF (17:41:39) pmuir: if you want to try fix it, you can grab the source from http://anonsvn.jboss.org/repos/seam/modules/wicket/trunk (17:42:00) pmuir: and change the path to the BeanManager in JNDI in BeanManagerLookup (17:42:10) pmuir: to java:comp/BeanManager (there is a TODO there)

      Description

      [#|2010-08-27T16:28:08.954+0200|WARNING|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=25;_ThreadName=http-thread-pool-8080-(1);|StandardWrapperValve[default]: PWC1406: Servlet.service() for servlet default threw exception
      java.lang.NullPointerException
      at org.jboss.weld.wicket.util.NonContextual.<init>(NonContextual.java:33)
      at org.jboss.weld.wicket.WeldApplication.internalInit(WeldApplication.java:50)
      at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:716)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:259)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
      at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
      at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
      at java.lang.Thread.run(Thread.java:619)

      #]

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Zta Stephan Henningsen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: