> Ray Madigan wrote:
> 
> I have a rather large java server application that I am considerint
> porting to the EJB and JOnAS.  I am trying to figure out a few things
> and I simply can't figure them out.  I attempting to get the simple
> beans working in the "Enterprise Java Beans" book from O'Reilly.  Here
> is what I did to one of the beans, I figured I could replicate this to
> the other examples and then to my applications.
> 
> I created a directory /gedulah/dev and took the directory structure
> from the sample and installed it in this tree.  I then have:
> /gedulah/dev/com/titan/cruise and a bunch of other directories at the
> cruise level.
> 
> I created a jonas-ejb-jar.xml file for the bean and put it in the
> cruise directory.  I didn't touch the sample.
> 
> I compile the source from the dev directory with the command
> java com/titan/cruise/*.java
> 
> I then create the interposition classes with the command
> GenIC -d /gedulah/dev -keepgenerated com/titan/cruise/ejb-jar.xml
> 
> I create the META-INF directory and copy the xml files with
> cp com/titan/cruise/*.xml META-INF
> 
> I create the jar archive with
> jar -cvf cruise.jar META-INF/*.xml com/titan/cruise/*.class
> 
> I add cruise.jar to the path in config_env and add it to the
> jonas.properties as
> jonas.beans.descriptors /gedulah/dev/cruise.jar
> 
> When I run the EJBServer I get the error
> ClassNotFoundException JOnASCruiseBeanHome_Stub
> 
> Thanks in Advance

Hi,
Are you sure taht you have run the registry with cruise.jar in its
CLASSPATH?
best regards,
-- 
        Philippe

Philippe Coq  Evidian   Phone: (33) 04 76 29 78 49
Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
Download our EJBServer 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".

Reply via email to