1 Reply Latest reply on Jan 24, 2008 9:38 AM by Vikas S. Mane

    Error Accessing java:comp/env from SAR

    Vikas S. Mane Newbie

      Hello All,


      I have an Mbean which tries to bind an object to "java:comp/env/jbi/ClientFactory" name.


      The binding fails as env is not available under java: Namespace.

      How can I make env available under java: namespace? In other words i want to bind the given name from SAR.

      Any help will be appreciated.
      Regards/Vikas

        • 1. Re: Error Accessing java:comp/env from SAR
          Vikas S. Mane Newbie

          I tried to bind an object with name java:comp/vikas , this works fine but i cannot access it outside my mbean.

          can any one suggest how to get the access to jndi object outside my bbean.

          I can bind as well as lookup an object in my mbean, but i cannot see it through Jmx-Console or access it outside mbean( i.e. in jsp)

          Has any one tried doing this earlier?
          Is there separate jndi name space for mbeans?
          Thanks in advance
          Vikas