Hi,
The list of beans to be loaded at jonas Server launch time
is specified via the jonas.beans.descriptors property in the
jonas.properties file.
The value of the jonas.beans.descriptors is a coma-separated
list of the names of the files of the standard XML deployment
descriptors.
If the files' names are relative path names, they are relatives
from where the EJBServer is launched.
You can check which beans are loaded at the EJBServer launching
by verifying the server traces.
When the level trace 31 is on,
(See trace.level property of the trace.properties file),
for each bean loaded, you have the following trace:
EJBHome:..... for . available
I hope this help you.
Hélène.
Deepak Sharma wrote:
>
> Hi,
> Am having some problem in executing the server.
> Am working on NT platform.When I try to run EJBSERVER
> from the directory where jonas.properties copied I get
> the following error.
>
> D:\EnhydraServer\JONAS\examples\src\sb>java
> -Dinstall.root=D:\EnhydraServer\JONA
> S
> -Djava.security.policy=D:\EnhydraServer\JONAS\java.policy
> org.objectweb.jonas
> .server.Server
> JOnAS Server, version 2.2.4, running on rmi.
> Cannot read the deployment descriptors 'ejb-jar.xml':
> org.objectweb.jonas_ejb.de
> ployment.api.DeploymentDescException: Home class not
> found for bean Op: sb.OpHom
> e
> Cannot create containers : EJBServer halting
>
>
> rmiregistry is running on 1099 port.
>
> Same time if I run EJBServer.bat from different
> directory...it works fine...
> But when I run the java sb.ClientOp I get exception
>
> D:\EnhydraServer\JONAS\examples\src>java sb.ClientOp
> Cannot lookup OpHome:
> javax.naming.NameNotFoundException: OpHome
>
> Am unable to solve this problem.Don't know where I
> went wrong.
> Please help.
>
> Thanks
> Deepak
>
--
-=- Hélène JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www.evidian.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".