Hi,

I am not able to register my stateful session bean. I downloaded the binary
on July 13, 2000. I can register my stateless bean and two BMP entity beans.
Here's what I see during deployment:

[Container factory] Deploying BMPEntityBean1
[Container factory] Deploying BMPEntityBean2
[Container factory] Deploying StatelessSessionBean
[Container factory] Deploying StateFULSessionBean
[Container factory] Using default DataSource:Databasename
[Container factory] Started: BMPEntityBean1
[Container factory] Using default DataSource:Databasename
[Container factory] Started: BMPEntityBean2
[Container factory] Bind ejb/StateFULSessionBean to
[Container factory] Using default DataSource:Databasename
[Container factory] Started: StatelessSessionBean
[Container factory] Bound BMPEntityBean1 to app/Name1
[Container factory] Bound BMPEntityBean2 to app/Name2
[Container factory] Bound StatelessSessionBean to app/StatelessName

The key to solving is in the line "[Container factory] Bind
ejb/StateFULSessionBean to". When I view the source Container.java the
Logger.debug() message prints when ref.getJndiName().equals("") == true. I
think the XML is correct, as far as I can tell:

===ejb-jar.xml:===

<session>
 <ejb-name>StateFULSessionBean</ejb-name>
 ...
 <session-type>Stateful</session-type>
 <transaction-type>Bean</transaction-type>
 ... ejb-refs and resource-ref
</session>

===jboss.xml===

<session>
 <ejb-name>StateFULSessionBean</ejb-name>
 <jndi-name>app/StatefulName</jndi-name>
 <configuration-name>Default Stateful SessionBean</configuration-name>
 ... ejb-refs and resource-ref
</session>

Any ideas?

Vaughn




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to