WL Server version - 6.1 sp1
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0
EJB//EN' 'http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
..........................
..........................
<persistence-descriptor>
<delay-updates-until-end-of-tx>true</delay-updates-until-end-of-tx>
<finders-call-ejbload>true</finders-call-ejbload>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.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>5.1.0</type-version>
</persistence-use>
</persistence-descriptor>
...........................
...........................
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
"b. smith" <bs_s...@hotmail.com> wrote in message
news:3c1a3768$2...@newsgroups.bea.com...
> When running a ant script I'm get this message. Could someone kindly
> elaborate if they have encountered the problem before. I don't think that
I
> changed anything around. The deployment descriptor looks correct and
> contains the persistence type. The build script worked before.
>
> [ejbjar] building abc.jar with 9 files
> [ejbc] ERROR: Error from ejbc: Error initializing the CMP Persistence
> Type for your bean:
> [ejbc] No installed Persistence Type matches the signature of
> (identifier 'WebLogic_CMP_RDBMS',
> version '5.1.0').
> [ejbc]
> [ejbc] ERROR: ejbc found errors
>
> BUILD FAILED
>
>
> thx
>
> bs
<!DOCTYPE weblogic-ejb-jar PUBLIC
"-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN"
"http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd" >
"b. smith" wrote:
--
Rajesh Mirchandani
Developer Relations Engineer
BEA Support
thx
bs
changed to
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0
EJB//EN" "http://www.bea
.com/servers/wls600/dtd/weblogic-ejb-jar.dtd" >
<weblogic-ejb-jar>
I have also tried the above without the empty spaces.
results
[ejbjar] building abc.jar with 9 files
[ejbc] org.xml.sax.SAXException: Could not locate a local resource
corresponding to public Id -
//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN.
[ejbc] Is the XML DOCTYPE header correct?
[ejbc] at
weblogic.ejb.deployment.xml.EJBEntityResolver.resolveEntity(EJBEntityResolve
r.jav
a:55)
[ejbc] at
com.sun.xml.parser.ExternalEntity.getInputSource(ExternalEntity.java:46)
[ejbc] at com.sun.xml.parser.Parser.pushReader(Parser.java:2748)
[ejbc] at
com.sun.xml.parser.Parser.externalParameterEntity(Parser.java:2500)
[ejbc] at
com.sun.xml.parser.Parser.maybeDoctypeDecl(Parser.java:1136)
[ejbc] at com.sun.xml.parser.Parser.parseInternal(Parser.java:480)
[ejbc] at com.sun.xml.parser.Parser.parse(Parser.java:283)
[ejbc] at
weblogic.xml.dom.SunDOMParser.getDocument(SunDOMParser.java:69)
[ejbc] at
weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:102)
[ejbc] at
weblogic.ejb.deployment.dd.DescriptorLoader.<init>(DescriptorLoader.java:157
)
[ejbc] at weblogic.ejbc.runBody(ejbc.java:298)
[ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:80)
[ejbc] at weblogic.ejbc.main(ejbc.java:353)
[ejbc] --------------- nested within: ------------------
[ejbc] Received SAXException from Sun Parser: org.xml.sax.SAXException:
Could not locate a loca
l resource corresponding to public Id -//BEA Systems, Inc.//DTD WebLogic
6.0.0 EJB//EN.
[ejbc] Is the XML DOCTYPE header correct?
[ejbc] at
weblogic.xml.dom.SunDOMParser.getDocument(SunDOMParser.java:72)
[ejbc] at
weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:102)
[ejbc] at
weblogic.ejb.deployment.dd.DescriptorLoader.<init>(DescriptorLoader.java:157
)
[ejbc] at weblogic.ejbc.runBody(ejbc.java:298)
[ejbc] at weblogic.utils.compiler.Tool.run(Tool.java:80)
[ejbc] at weblogic.ejbc.main(ejbc.java:353)
[ejbc] ERROR: Received SAXException from Sun Parser:
org.xml.sax.SAXException: Could not locate
a local resource corresponding to public Id -//BEA Systems, Inc.//DTD
WebLogic 6.0.0 EJB//EN.
[ejbc] Is the XML DOCTYPE header correct?
BUILD FAILED
/stage/build.xml:741: Exception while calling weblogic.ejbc. Details: Ejbc
reported an
error
"Rajesh Mirchandani" <Re...@ToNewsgroup.Only> wrote in message
news:3C1E3BCB...@ToNewsgroup.Only...
bs
"Rajesh Mirchandani" <Re...@ToNewsgroup.Only> wrote in message
news:3C1E4981...@ToNewsgroup.Only...