aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Problem using EJBGen. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem using EJBGen." Watch "Problem using EJBGen." New topic
Author

Problem using EJBGen.

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 576
I am using EJBGen to create my deployment descriptors.
when I run the following command line.
javadoc -docletpath ejbgen.jar -doclet weblogic.tools.ejbgen.EJBGen request/*
where the dir request contains two files RequestDataManager.java RequestResearch.java.
Problem is it gives me the following error message:
In doclet class weblogic.tools.ejbgen.EJBGen, method start has thrown an exception java.lang.reflect.InvocationTargetException
weblogic tools.ejbgen.EJBGenException:
EJB class name RequestDataManager doesnt match the -ejbPrefix/-ejbSuffix options '' 'Bean'
I added Bean to the name creating RequestDataManagerBean and got a differant error message .
[RequestDataManagerBean] Error:Mandatory tag:[Tag:ejbgen:session (claass)] not found.
Thanks for any help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem using EJBGen.