Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Can't create EJB project
Can't create EJB project [message #120572] Wed, 13 July 2005 21:17 Go to next message
Richard Rodseth is currently offline Richard RodsethFriend
Messages: 103
Registered: July 2009
Senior Member
I'm trying to explore the (new to me) world of EJBs via the latest WTP
builds, which I thought would help me and the WTP team, but I'm not having
much success. See:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=102957

Does anyone else see the same bug, and is there an updated version of the
tutorial in the works?

http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial /buildingejbs.html

Thanks!

- Richard
Re: Can't create EJB project [message #120762 is a reply to message #120572] Thu, 14 July 2005 08:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: susanne.deiters.gmail.com

Richard Rodseth wrote:
> I'm trying to explore the (new to me) world of EJBs via the latest WTP
> builds, which I thought would help me and the WTP team, but I'm not
> having much success. See:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=102957
>
> Does anyone else see the same bug, and is there an updated version of
> the tutorial in the works?
>
> http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial /buildingejbs.html
>
>
> Thanks!
>
> - Richard
>
Hi Richard,

I alway get this bug when trying to create an EJB project with client. I
only succeeded, when I also checked the option "Add module to EAR". Then
the client is created without exception. Sometimes the client project
does not include the necessary classes and I have to clean (i.e.
explicitly build) the project.

Susanne
Re: Can't create EJB project [message #120779 is a reply to message #120762] Thu, 14 July 2005 12:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: harry.raceeend.demon.nl

When I create an EJB Project, I always get this error:
java.lang.reflect.InvocationTargetException.
In the project only an ejbModule/META-INF/ejb-jar.xml is generated,
which always is not correct.
Can you create correct EJB Projects ?

> I alway get this bug when trying to create an EJB project with client. I
> only succeeded, when I also checked the option "Add module to EAR". Then
> the client is created without exception. Sometimes the client project
> does not include the necessary classes and I have to clean (i.e.
> explicitly build) the project.
>
> Susanne
Re: Can't create EJB project [message #120788 is a reply to message #120779] Thu, 14 July 2005 12:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: susanne.deiters.gmail.com

Harry van Rijn wrote:
> When I create an EJB Project, I always get this error:
> java.lang.reflect.InvocationTargetException.
> In the project only an ejbModule/META-INF/ejb-jar.xml is generated,
> which always is not correct.
> Can you create correct EJB Projects ?
>

It is this InvocationTargetException that occurs, if I want to create an
EJB project with client but uncheck the "Add to EAR..." box. If I also
add the project to an EAR, the EJB project and client project are
generated. As long as you have not added any EJBs, the ejb-jar.xml is
invalid due to the missing <enterprise-beans> entry.
Re: Can't create EJB project [message #120926 is a reply to message #120762] Thu, 14 July 2005 22:45 Go to previous messageGo to next message
Richard Rodseth is currently offline Richard RodsethFriend
Messages: 103
Registered: July 2009
Senior Member
I did a fresh install using today's 0714 build, and things seem to be
working for me now.

Thanks
- Richard


Susanne Deiters wrote:

> Richard Rodseth wrote:
>> I'm trying to explore the (new to me) world of EJBs via the latest WTP
>> builds, which I thought would help me and the WTP team, but I'm not
>> having much success. See:
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=102957
>>
>> Does anyone else see the same bug, and is there an updated version of
>> the tutorial in the works?
>>
>>
http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial /buildingejbs.html
>>
>>
>> Thanks!
>>
>> - Richard
>>
> Hi Richard,

> I alway get this bug when trying to create an EJB project with client. I
> only succeeded, when I also checked the option "Add module to EAR". Then
> the client is created without exception. Sometimes the client project
> does not include the necessary classes and I have to clean (i.e.
> explicitly build) the project.

> Susanne
Re: Can't create EJB project [message #120952 is a reply to message #120926] Thu, 14 July 2005 23:55 Go to previous messageGo to next message
Richard Rodseth is currently offline Richard RodsethFriend
Messages: 103
Registered: July 2009
Senior Member
Moving along in the tutorial, I'm now at the point where I've created the
Tiger bean, but XDoclet doesn't generate TigerHome etc. I have JBoss 3.2.3
and XDoclet installed, and I checked JBoss (version 3.2) in the XDoclet
prefs. Does the bean project have to be part of an EAR app in the newer
WTP builds, or is there some other common error I may be making?

Thanks

- Richard


Richard Rodseth wrote:

> I did a fresh install using today's 0714 build, and things seem to be
> working for me now.

> Thanks
> - Richard


> Susanne Deiters wrote:

>> Richard Rodseth wrote:
>>> I'm trying to explore the (new to me) world of EJBs via the latest WTP
>>> builds, which I thought would help me and the WTP team, but I'm not
>>> having much success. See:
>>>
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=102957
>>>
>>> Does anyone else see the same bug, and is there an updated version of
>>> the tutorial in the works?
>>>
>>>
>
http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial /buildingejbs.html
>>>
>>>
>>> Thanks!
>>>
>>> - Richard
>>>
>> Hi Richard,

>> I alway get this bug when trying to create an EJB project with client. I
>> only succeeded, when I also checked the option "Add module to EAR". Then
>> the client is created without exception. Sometimes the client project
>> does not include the necessary classes and I have to clean (i.e.
>> explicitly build) the project.

>> Susanne
Re: Can't create EJB project [message #121228 is a reply to message #120952] Fri, 15 July 2005 18:49 Go to previous message
Richard Rodseth is currently offline Richard RodsethFriend
Messages: 103
Registered: July 2009
Senior Member
<blush>

I didn't have "Enable XDoclet builder" checked. D'oh!

Richard Rodseth wrote:

> Moving along in the tutorial, I'm now at the point where I've created the
> Tiger bean, but XDoclet doesn't generate TigerHome etc. I have JBoss 3.2.3
> and XDoclet installed, and I checked JBoss (version 3.2) in the XDoclet
> prefs. Does the bean project have to be part of an EAR app in the newer
> WTP builds, or is there some other common error I may be making?

> Thanks

> - Richard


> Richard Rodseth wrote:

>> I did a fresh install using today's 0714 build, and things seem to be
>> working for me now.

>> Thanks
>> - Richard


>> Susanne Deiters wrote:

>>> Richard Rodseth wrote:
>>>> I'm trying to explore the (new to me) world of EJBs via the latest WTP
>>>> builds, which I thought would help me and the WTP team, but I'm not
>>>> having much success. See:
>>>>
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=102957
>>>>
>>>> Does anyone else see the same bug, and is there an updated version of
>>>> the tutorial in the works?
>>>>
>>>>
>>
>
http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial /buildingejbs.html
>>>>
>>>>
>>>> Thanks!
>>>>
>>>> - Richard
>>>>
>>> Hi Richard,

>>> I alway get this bug when trying to create an EJB project with client. I
>>> only succeeded, when I also checked the option "Add module to EAR". Then
>>> the client is created without exception. Sometimes the client project
>>> does not include the necessary classes and I have to clean (i.e.
>>> explicitly build) the project.

>>> Susanne
Previous Topic:JSP Debugging
Next Topic:RDB - Adding a new database & suppression of schema object lookup
Goto Forum:
  


Current Time: Sun Dec 22 03:21:17 GMT 2024

Powered by FUDForum. Page generated in 0.03722 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top