• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB 2.0 and Xdcolet problems!

 
Ranch Hand
Posts: 50
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All, I am a newbie to EJB. I did a fair amount of research on EJBs and now comfortable with all the basic. SO I decided to do a sample project - but I am struck on this

I m trying the sample provided in this link - http://www.eclipse.org/webtools/community/tutorials/ejbtutorial/buildingejbs.html

But the Xdoclet never generated the files for me, it throws some Doclet exception. Can anyone tell me the reason for this exception and help me run this sample project sucessfully?

Thanks in advance....

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I've got the same problem. But after a whole bench of googling still haven't found the solution.
Have you found a solution in the mean time??
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
EJB2 & Xdoclet? Any reason you are using these old technologies? Is it a legacy application?
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
If you are using EJB 2.0 and XDoclet 1.2.3 in Eclipse IDE then problem might be the EJBSession implemented methods in the class HelloBean.
Please remove all the implemented methods expect the constructor. i.e from the line number the XDoclet is throwing exceptions.
I tried this and worked fine for me.

Please let me know whether it worked for you or not and if you have already resolved the problem please share it so that I can also try that method.

Thanks
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have experience with this problem. Please change the jre path to MyEclipse jre from Build Path Configuration. I think it will solved.

Thanks,
Sanjib
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To. Sanjib Pal

Hi. Sanjib Pal~

Please understand I have the grammar wrong.

How do I change the build path should we do?

According to the JRE in eclipse properties Execution environment, Alternate JRE, Workspace default JRE should I choose, what are you in?

How to ask for more.

Thanks. ^^
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am following the Eclipse Web Tools Platform by Naci Dai et al and when I use xdoclet I have to tell the project that it is xdoclet project. Just adding the xdoclet facet does not do it.

Net -> EJB Project
Configuration -> "EJB Project with XDoclet"

brian
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Today I handled some legacy code and I got the same stack trace as mentioned above.

The solution was to disable Eclipse Save-actions. Concrete, in my Eclipse configuration the Save-actions add missing Override-annotations. These annotations seem to be unparseable for XDoclet and cause the shown exception.

Maybe this hint saves someone else a lot of debugging time.

Best wishes!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic