hi friends Please help me I could not show my ejb in jmx-console i have deplyed it 
under the following naming context my jboss.xml is as  follows
my os is Windows XP


 <enterprise-beans>
     
        <ejb-name>TestEjb</ejb-name>
        <jndi-name>java:comp/env/ejb/HelloHomeBean</jndi-name>
        
   </enterprise-beans>
it is a session bean- if i dont give java:comp and deploy the bean with the simple 
name client says Bean not found.While in the server log file it is showing that bean 
has bean deployed.So please help me any body.Becuase if i deploy the bean with the 
above name the exception in running the client is comp not found.Then what should i  do

my ejb-jar.xml file is as follows-

<ejb-jar>
    <enterprise-beans>
        
            <ejb-name>TestEjb</ejb-name>
            hello.Test.HelloHomeBean
            hello.Test.HelloBean
            <ejb-class>hello.Test.HelloEjb</ejb-class>
            <session-type>Stateless</session-type>
           <transaction-type>Container</transaction-type>
         
</enterprise-beans>

<assembly-descriptor>
         
           <ejb-name>TestEjb</ejb-name>
       <method-name>*</method-name>
     
      <container-transaction>
      <trans-attribute>Required</trans-attribute>
   </container-transaction>
 </assembly-descriptor>
</ejb-jar>

If my jboss.xml is as follows

<enterprise-beans>
     
        <ejb-name>TestEjb</ejb-name>
        <jndi-name>HelloHomeBean</jndi-name>
        
   </enterprise-beans>
then it also show while running client that HelloHomeBean not found.
How to lookup in jmx-console about this bean and under which namespace should i see 
it.jmx-console shows nothing about the bean.

[/url]

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841450#3841450

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841450


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to