2 Replies Latest reply on Sep 2, 2002 9:55 AM by patrick

    <env-entry>

    patrick Novice

      Is there anywhere in jboss where i can find all my env-entry elements which are in a ejb-jar.xml file.

      Something like the Agent View which is found at port 8082.

      Here is a piece of the xcml file.

      <env-entry>
      <env-entry-name>param/IssueDataSource</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>com.anachron.excelon.dao.DataSource</env-entry-value>
      </env-entry>

      I get this error.

      How do i know what is mapped to what. Do i need to add something to my jboss.xml???

      All hints are welcome

      14:30:01,500 ERROR [STDERR] Exception com.anachron.contentmanagement.util.Conte
      ntManagementSysException: IssueDAOImpl:this - could not lookup component java:co
      mp/env/param/IssueDataSource : javax.naming.NameNotFoundException: param not bou
      nd

      grt Patrick

        • 1. Re: <env-entry>
          patrick Novice

          And this is what i found in the management tool

          Strange stuff. Because here i seer
          java:comp/env/param/IssueDataSource

          And the jndi lookup fails ?????

          java:comp namespace of the IssueBean bean:
          +- env (class: org.jnp.interfaces.NamingContext)
          | +- ejb (class: org.jnp.interfaces.NamingContext)
          | | +- local (class: org.jnp.interfaces.NamingContext)
          | | | +- Subscription[link -> local/SubscriptionBean] (class: javax.naming.LinkRef)
          | +- param (class: org.jnp.interfaces.NamingContext)
          | | +- IssueDataSource (class: java.lang.String)
          | | +- IssueDAO (class: java.lang.String)

          • 2. Re: <env-entry>
            patrick Novice

            Sorry

            Don't bother