-
1. Re: java.io.NotSerializableException: org.jboss.invocation.I
danbender Apr 28, 2003 9:49 AM (in response to danbender)Problem resolved:
I had an error in my jboss.xml file with the ejb.jar META-INF directory.
The problem was that I specified 'container-name' instead of 'configuration-name'. I stupid mistake on my part; however, debugging this was extremily difficult because nothing in the exception message implied an error in the jboss.xml file.
I originally had:
<ejb-name>my.ejb</ejb-name>
<jndi-name>my.ejb.jndi.name</jndi-name>
<container-name>Standard Stateless SessionBean</container-name>
true
Should have been:
<ejb-name>my.ejb</ejb-name>
<jndi-name>my.ejb.jndi.name</jndi-name>
<configuration-name>Standard Stateless SessionBean</configuration-name>
true
or, just leave it out and let jboss except the default (what i ended up doing):
<ejb-name>my.ejb</ejb-name>
<jndi-name>my.ejb.jndi.name</jndi-name>
true