Thank a lot Adrian it helped me. I have just one more question.

In JBoss IDE Fibo tutorial there is binding to "ejb/tutorial/Fibo" and that
is exactly what JBoss shows when it deployes application.
But when connecting to client servlet, client looks for the
"java:/comp/env/ejb/Fibo" client call is succesfull even if the if the Fibo
ejb is bind to "ejb/tutorial/Fibo". What is interesting to me is that from
the servlet i`m able to make an instance of Fibo ejb, but when looking up
from for example HelloWorld client I`m not able to get the bounded object.
when looking up "java:/comp/env/ejb/Fibo".

so my qestion:
Where in the depl. descr. is told to bind Fibo bean to
"java:/comp/env/ejb/Fibo".

Thanks and redards
Robert



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Adrian Brock
Sent: Friday, December 05, 2003 1:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBoss example problem - new to J2EE


No, the bean is deployed into global jndi. You are confusing
the bean's jndi binding (not part of the spec) and ejb-refs.

> 08:56:22,843 INFO  [StatelessSessionContainer] Started
> jboss.j2ee:jndiName=ejb/HelloWorld,service=EJB

The global jndi name is ejb/HelloWorld.

Your second error is because you are missing something from your
classpath.
Try using client/jbossall-client.jar

Regards,
Adrian



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to