3 Replies Latest reply on Oct 20, 2003 12:03 PM by Viet

    Error with News Module

    samus Newbie

      I have everything working fine except the news module. I see where it starts to deploy but then this exception is generated 2003-10-14 16:30:19,730 WARN [org.jboss.system.ServiceController] Problem starting service nukes.modules:name=news

      javax.naming.NameNotFoundException: Comment not bound

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)

      at org.jnp.server.NamingServer.getObject(NamingServer.java:509)

      at org.jnp.server.NamingServer.lookup(NamingServer.java:282)

      at org.jnp.server.NamingServer.lookup(NamingServer.java:256)

      at org.jnp.server.NamingServer.lookup(NamingServer.java:256)

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528)

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)

      at javax.naming.InitialContext.lookup(InitialContext.java:347)

      at org.jboss.nukes.addons.modules.news.NewsModule.start(NewsModule.java:94)
      ...snip...

      I have tried this with the cvs daily snapshot from a few weeks ago and from the one that was linked on 10/14/03. As far as I can tell the deployment descriptors look right but on the line that creates the comment home ojbect it fails.

        • 1. Re: Error with News Module
          Viet Master

          that means the EJB home is not found were it would expect to be.

          julien

          • 2. Re: Error with News Module
            samus Newbie

            I finally figured out why it wasn't finding it. Or at least something to do that triggered it to work. I added the line jboss.j2ee:service=EJB,jndiName=nukes/news/Comment
            to the mbean tag in jboss-service.xml in the nukes-news.sar. It has entries for the three other beans so I decided to try and put the comment one in there. I imagine this is a generated file but I haven't got the time to look into where its generated from right now.

            • 3. Re: Error with News Module
              Viet Master

              actually this is not generated. after the failure depends on system, for me it does not fail even if there is a missing dependency.

              I fixed the file in the CVS, thanks

              julien