facebook

[Closed] XDoclet / Weblogic90

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #240000 Reply

    naga1
    Member

    Hello,

    Eclipse:
    Version: 3.1.0
    Build id: I20050627-1435

    Myeclipse:
    Version: 4.0.0 GA
    Build id: 20050829-4.0.0-GA

    Server : Weblogic90

    java :
    JRE home directory: C:\j2sdk1.4.2_09

    OS : Windows XP

    With the above environment, I tried to run Xdoclet thro myeclipse to generate ejb interfaces.

    I get the following error:

    Buildfile: C:\Eclipseworkspace\CenterViewAE\.xdoclet-build.tmp.xml
    N10004:

    BUILD FAILED
    C:\Eclipseworkspace\CenterViewAE\.xdoclet-build.tmp.xml:33: 9 is not a legal value for this attribute

    Total time: 1 second

    Please advise me, how to go about.

    regards

    #240013 Reply

    Greg
    Member

    Are you specifying the weblogic subtask version as “9”? According to the XDoclet documention for the weblogic ejb subtask here:
    http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/bea/wls/ejb/WebLogicSubTask.html

    The only valid version attribute values are 6.0, 6.1, 7.0, 8.1.

    So try switching your version attribute for weblogic 8.1 and that should work. It is likely that XDoclet will go ahead and generate weblogic files that will be compatible with weblogic 9. Unless you are using weblogic 9 only features in your weblogic deployment descriptors.

    #240062 Reply

    naga1
    Member

    Thanks for the hint.

    In addition to the “Version” value to be set as “8.1”, it required the “Createtables” value to be set “Disabled”, to generate the files, without error.

    kind regards

    #240075 Reply

    Greg
    Member

    Glad you got it working. Thanks for the followup and the good tip.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] XDoclet / Weblogic90

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