wood burning stoves
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem using EJBGen." Watch "Problem using EJBGen." New topic

Problem using EJBGen.

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 594
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Problem using EJBGen.
It's not a secret anymore!