facebook

XDoclet not generating jboss.xml [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #223882 Reply

    Pat Osterday
    Member

    I’m fairly new to XDoclet and EJBs, so I hope someone can help me out. I’m trying to create a simple bean using the tutorial here: http://www.laliluna.de/simple-xdoclet-ejb-tutorial.html – I’m using JBoss 4.0 and MySQL, so I’ve modified a few things, but I don’t see how that could be causing my problem.

    My main issue is that when I run XDoclet on the project, I see [ejbdoclet] Generating jboss.xml in the console output, but a jboss.xml (or jbosscmp-jdbc.xml) is not being created.

    After deploying the bean and running a simple client, the bean looks to be running ok, but there is no record in the database. I’m guessing this is because there’s nothing telling JBoss what datasource to use. I see no errors in the logs, though.

    Hope someone can help me out, it’s driving me nuts!

    Thanks,
    Pat

    #223887 Reply

    Riyad Kalla
    Member

    Pat, can you tell us what version of Eclipse and MyEclipse you are using? Also pasting in your file’s contents so we can see how it is being generated can help.

    Please note we aren’t EJB/XDoclet gururs, we encourage any of our users to pitch in.

    #223902 Reply

    Pat Osterday
    Member

    Jeez I feel stupid! I found my problem! Just a typo… I had set destDir to /src/META-INF not src/META-INF. So I guess I have been having the files created someplace else – now I have them in the proper place. Thanks for the response and sorry for wasting your time, but by asking for the code, it forced me to check my settings again – which I had done, but I guess still missed that one!

    Thanks again,
    Pat

    #223906 Reply

    Riyad Kalla
    Member

    Glad to hear it!

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: XDoclet not generating jboss.xml [Closed]

You must be logged in to post in the forum log in