facebook

[Closed] EJB2/Doclet/Weblogic 10 deployment question

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

    blawson
    Member

    I’m working with weblogic 10 using the new eclipse deployment connector and xdoclet-ed beans. However, when I deploy to the server, I get the following complaint from weblogic:

    Unable to deploy EJB:
    In EJB ISPEntity, the persistence-use element was not specified or could not be associated with a corresponding persistence-type element for a CMP entity bean in the weblogic-ejb-jar.xml descriptor file.

    The persistence-use tag from my weblogic-ejb-jar.xml looks like this:
    <persistence>
    <finders-load-bean>True</finders-load-bean>
    <persistence-type>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>6.0</type-version>
    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
    </persistence-type>
    <db-is-shared>True</db-is-shared>
    <persistence-use>
    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
    <type-version>7.0</type-version>
    </persistence-use>
    </persistence>

    Does anyone know which doclet tag would be in charge of the persistence-use and persistence-type elements? I’m having a little trouble locating what generates them.

    TIA –

    #272258

    Riyad Kalla
    Member

    Unfortunately the best I can offer is the XDoclet documentation:
    http://xdoclet.sf.net

    #272290

    blawson
    Member

    No worries. I think I stumbled across the problem. Since we’re in the process of converting from 6.1 to 10 (pass the rolaids, please), there were some older XDoclet parameter(s) that were in there which shouldn’t have been. “db-is-shared” might have been one that it didn’t appear to like. Thanks for responding, though.

    #272308

    Riyad Kalla
    Member

    Thanks for following up, I’m glad you guys got it worked out.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] EJB2/Doclet/Weblogic 10 deployment question

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