I am trying to deploy
> stateless EJB's . When a put a several jar files (one for each EJB)
> into deploy directory and than start JBOSS I get an output that all
> my jar files are DEPLOYED .
>
> However when I try to do lookup for my EJB's from a different VM
> using
> jndiCtx.lookup , I can only get a reference to the only first of my
> EJB's which comes first alphabetically.
>
I checked , they all have different jndi names in the deployment
descriptors.
> What am I doing wrong ?
>
>
> This is an output from my server:
>
> ----> [Container factory] Deploying bean1 - this message is
> repeated in many places !!!
>
> [Auto deploy] Auto deploy of file:/C:/JBoss21/deploy/bean1.jar
> [J2EE Deployer Default] Deploy J2EE application:
> file:/C:/JBoss21/deploy/bean1.jar
> [J2EE Deployer Default] Create application bean1.jar
> [J2EE Deployer Default] install module bean1.jar
> [Container factory]
> Deploying:file:/C:/JBoss21/tmp/deploy/Default/bean1.jar
> [Verifier] Verifying
> file:/C:/JBoss21/tmp/deploy/Default/bean1.jar/ejb1001.jar
> [Container factory] Deploying bean1
> [Container factory] Deployed application:
> file:/C:/JBoss21/tmp/deploy/Default/bean1.jar
> [J2EE Deployer Default] J2EE application:
> file:/C:/JBoss21/deploy/bean1.jar is deployed.
> [Auto deploy] Auto deploy of file:/C:/JBoss21/deploy/bean2.jar
> [J2EE Deployer Default] Deploy J2EE application:
> file:/C:/JBoss21/deploy/bean2.jar
> [J2EE Deployer Default] Create application bean2.jar
> [J2EE Deployer Default] install module bean2.jar
> [Container factory]
> Deploying:file:/C:/JBoss21/tmp/deploy/Default/bean2.jar
> [Verifier] Verifying
> file:/C:/JBoss21/tmp/deploy/Default/bean2.jar/ejb1002.jar
> [Container factory] Deploying bean1
> [Container factory] Deployed application:
> file:/C:/JBoss21/tmp/deploy/Default/bean2.jar
> [J2EE Deployer Default] J2EE application:
> file:/C:/JBoss21/deploy/bean2.jar is deployed.
> [Auto deploy] Auto deploy of file:/C:/JBoss21/deploy/contr.jar
> [J2EE Deployer Default] Deploy J2EE application:
> file:/C:/JBoss21/deploy/contr.jar
> [J2EE Deployer Default] Create application contr.jar
> [J2EE Deployer Default] install module contr.jar
> [Container factory]
> Deploying:file:/C:/JBoss21/tmp/deploy/Default/contr.jar
> [Verifier] Verifying
> file:/C:/JBoss21/tmp/deploy/Default/contr.jar/ejb1003.jar
> [Container factory] Deploying bean1
> [Container factory] Deployed application:
> file:/C:/JBoss21/tmp/deploy/Default/contr.jar
> [J2EE Deployer Default] J2EE application:
> file:/C:/JBoss21/deploy/contr.jar is deployed.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user