Hi ,
I am encountering a strange exception while deploying a stateful bean in weblogic using appc .
The following is the error
java.lang.NullPointerException
at weblogic.ejb20.deployer.SessionBeanInfoImpl.assignDefaultTXAttributes
IfNecessary()V(SessionBeanInfoImpl.java:295)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeTransaction
Attribute(Lweblogic.management.descriptors.toplevel.EJBDescriptorMBean
V(MBeanD
eploymentInfoImpl.java:807)
at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(Lweblogic.mana
The following is my ejb-jar.xml
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC
'-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN'
'http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>Countsfsb</ejb-name>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>CountSFSB</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
weblogic-ejb-jar.xml
?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC
'-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN'
'http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>Countsfsb</ejb-name>
<stateful-session-descriptor>
<allow-remove-during-transaction>true</allow-remove-during-transaction>
</stateful-session-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>CountSFSB</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
I tried removing the stateful-session-descriptor stanza in weblgic-ejb-jar.xml it didnt work . I also tried switching the allow-remove-during-transaction to false .It didnt work .
Thanks
Murugan