Hi,

Just to follow up: I CAN deploy the same bean as stateLESS if I change the
home interface to have a no-argument create() method, change the
implementation to match it with ejbCreate(), and change the xml to define it
stateless.

I have also tried removing all references to it by other session beans, but
still cannot deploy it if it is stateful.

>From this I assume that stateful session beans are not supported in the
version I downloaded on July 13.

Correct?

Vaughn

----- Original Message -----
From: "Vaughn Vernon" <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Wednesday, July 19, 2000 1:09 PM
Subject: [jBoss-User] Stateful SessionBean Not Bound


> 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]
>



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

Reply via email to