I am deploying a Stateful Session bean. I have listed the following ejb-jar.xml & jboss.xml. On deployment, logging says that
15:20:29,864 INFO [EjbModule] Deploying VSXAccount
15:20:30,287 INFO [StatefulSessionInstancePool] Started jboss.j2ee:jndiName=VSXAccount,plugin=pool,service=EJB
15:20:30,288 INFO [StatefulSessionFilePersistenceManager] Started null
Am I missing anything in my config files or is this normal for non-clustered stateful session beans?
Thanks, Alex
ejb-jar.xml
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
<ejb-jar>
<enterprise-beans>
Auction Trading System Investor's Account Statefull Session Bean
<ejb-name>VSXAccount</ejb-name>
com.acs.vsx.businesslogic.common.ejb.VSXAccountHome
com.acs.vsx.businesslogic.common.ejb.VSXAccount
<ejb-class>com.acs.vsx.businesslogic.common.ejb.VSXAccountEJB</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<ejb-name>VSXAccount</ejb-name>
<method-name>*</method-name>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
jboss.xml
<?xml version="1.0" encoding="UTF-8"?>
<enterprise-beans>
<ejb-name>VSXAccount</ejb-name>
<jndi-name>VSXAccount</jndi-name>
false
</enterprise-beans>
Ignore it.
It just means this MBean hasn't been registered with the JMX server.
It is just used internally with no management exposure.
Regards,
Adrian