Problem in Deploying EJB through V cafe 4.1

Discussions

EJB programming & troubleshooting: Problem in Deploying EJB through V cafe 4.1

  1. Problem in Deploying EJB through V cafe 4.1 (2 messages)

    Hi ,
    I am getting this following error when I try to deploy EJB in Weblogic6.0 through Visual cafe 4.1
    ================================================================
    ;%WL_HOME%\lib\weblogic.jar
    Internal VM (07:21:26): Starting deployment to WebLogic Server 6.0 ...
    Internal VM (07:21:26): Building deployment descriptor...Created 2 DD files
    Internal VM (07:21:26): Building generic JAR file...Created file D:\VisualCafeEE\Projects\POTest\POTestEnterpriseBean.jar
    Internal VM (07:21:26): Processing Jar...
    Internal VM (07:21:26): D:\VisualCafeEE\jdk13\bin\java.exe -classpath C:\bea\wlserver6.0sp1\lib\weblogic_sp.jar;C:\bea\wlserver6.0sp1\lib\weblogic.jar;; weblogic.ejbc -compiler D:\VisualCafeEE\java2\bin\javac.exe -classpath
    Internal VM (07:21:26): C:\bea\wlserver6.0sp1\lib\weblogic_sp.jar;C:\bea\wlserver6.0sp1\lib\weblogic.jar;C:\bea\wlserver6.0sp1\lib\persistence\WebLogic_RDBMS.jar;ejbcgen;C:\bea\wlserver6.0sp1\lib\ejb20.ja r;C:\bea\wlserver6.0s
    Internal VM (07:21:26): p1\lib\weblogic.jar;C:\bea\wlserver6.0sp1\lib\jdom.jar;C:\bea\wlserver6.0sp1\config;D:\VisualCafeEE\Projects\POTest
    Internal VM (07:21:26): D:\VisualCafeEE\Projects\POTest\_POTestEnterpriseBean.jar -d D:\VisualCafeEE\Projects\POTest\POTestEnterpriseBean.jar
    Internal VM (07:21:28): org.xml.sax.SAXParseException: The content of element type "ejb-jar" is incomplete, it must match
    Internal VM (07:21:28): "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,assembly-descriptor?,ejb-client-jar?)".
    Internal VM (07:21:28): at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
    Internal VM (07:21:28): at weblogic.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1280)
    Internal VM (07:21:28): at weblogic.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:994)
    Internal VM (07:21:28): at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1200)
    Internal VM (07:21:28): at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    Internal VM (07:21:28): at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    Internal VM (07:21:28): at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:128)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.EjbJarLoader_EJB11.process(EjbJarLoader_EJB11.java:527)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:74)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:47)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:38)
    Internal VM (07:21:28): at weblogic.ejbc20.runBody(ejbc20.java:327)
    Internal VM (07:21:28): at weblogic.utils.compiler.Tool.run(Tool.java:81)
    Internal VM (07:21:28): at weblogic.ejbc.main(ejbc.java:20)
    Internal VM (07:21:28): --------------- nested within: ------------------
    Internal VM (07:21:28): weblogic.xml.process.XMLParsingException: The content of element type "ejb-jar" is incomplete, it must match
    Internal VM (07:21:28): "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,assembly-descriptor?,ejb-client-jar?)". - with nested exception:
    Internal VM (07:21:28): [org.xml.sax.SAXParseException: The content of element type "ejb-jar" is incomplete, it must match
    Internal VM (07:21:28): "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,assembly-descriptor?,ejb-client-jar?)".] Line: 3 Column: 20
    Internal VM (07:21:28): at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:132)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.EjbJarLoader_EJB11.process(EjbJarLoader_EJB11.java:527)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:74)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:47)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:38)
    Internal VM (07:21:28): at weblogic.ejbc20.runBody(ejbc20.java:327)
    Internal VM (07:21:28): at weblogic.utils.compiler.Tool.run(Tool.java:81)
    Internal VM (07:21:28): at weblogic.ejbc.main(ejbc.java:20)
    Internal VM (07:21:28): ERROR: weblogic.xml.process.XMLParsingException: The content of element type "ejb-jar" is incomplete, it must match
    Internal VM (07:21:28): "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,assembly-descriptor?,ejb-client-jar?)". - with nested exception:
    Internal VM (07:21:28): [org.xml.sax.SAXParseException: The content of element type "ejb-jar" is incomplete, it must match
    Internal VM (07:21:28): "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,assembly-descriptor?,ejb-client-jar?)".] Line: 3 Column: 20
    Internal VM (07:21:28):
    Internal VM (07:21:28): org.xml.sax.SAXParseException: The content of element type "ejb-jar" is incomplete, it must match
    Internal VM (07:21:28): "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,assembly-descriptor?,ejb-client-jar?)".
    Internal VM (07:21:28): at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
    Internal VM (07:21:28): at weblogic.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1280)
    Internal VM (07:21:28): at weblogic.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:994)
    Internal VM (07:21:28): at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1200)
    Internal VM (07:21:28): at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    Internal VM (07:21:28): at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    Internal VM (07:21:28): at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:128)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.EjbJarLoader_EJB11.process(EjbJarLoader_EJB11.java:527)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:74)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:47)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:38)
    Internal VM (07:21:28): at weblogic.ejbc20.runBody(ejbc20.java:327)
    Internal VM (07:21:28): at weblogic.utils.compiler.Tool.run(Tool.java:81)
    Internal VM (07:21:28): at weblogic.ejbc.main(ejbc.java:20)
    Internal VM (07:21:28): --------------- nested within: ------------------
    Internal VM (07:21:28): weblogic.xml.process.XMLParsingException: The content of element type "ejb-jar" is incomplete, it must match
    Internal VM (07:21:28): "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,assembly-descriptor?,ejb-client-jar?)". - with nested exception:
    Internal VM (07:21:28): [org.xml.sax.SAXParseException: The content of element type "ejb-jar" is incomplete, it must match
    Internal VM (07:21:28): "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,assembly-descriptor?,ejb-client-jar?)".] Line: 3 Column: 20
    Internal VM (07:21:28): at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:132)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.EjbJarLoader_EJB11.process(EjbJarLoader_EJB11.java:527)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:74)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:47)
    Internal VM (07:21:28): at weblogic.ejb20.dd.xml.DDUtils.loadDeploymentDescriptor(DDUtils.java:38)
    Internal VM (07:21:28): at weblogic.ejbc20.runBody(ejbc20.java:327)
    Internal VM (07:21:28): at weblogic.utils.compiler.Tool.run(Tool.java:81)
    Internal VM (07:21:28): at weblogic.ejbc.main(ejbc.java:20)
    Internal VM (07:21:28): ERROR: weblogic.xml.process.XMLParsingException: The content of element type "ejb-jar" is incomplete, it must match
    Internal VM (07:21:28): "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,assembly-descriptor?,ejb-client-jar?)". - with nested exception:
    Internal VM (07:21:28): [org.xml.sax.SAXParseException: The content of element type "ejb-jar" is incomplete, it must match
    Internal VM (07:21:28): "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,assembly-descriptor?,ejb-client-jar?)".] Line: 3 Column: 20
    Internal VM (07:21:28): . Jar Processing Failed!
    Internal VM (07:21:28): Cleaning up...Completed.
    ================================================================

    Pl tell me what additional settings I have to make in the IDE tool

  2. Visual Cafe 4.1 is only current for EJB 1.1 specs, ie: only can deploy to Weblogic 5.1 servers.

    Check out this link to www.webgain.com for more info:

    http://www.webgain.com/download/visualcafe/plugin_wl60sp1.html

    Greg.
  3. Hey Greg,

    I checked out the site and webgain provides a patch for running ejb2 and weblogic6