Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ant build problem (No installed Persitence Type) - urgent

0 views
Skip to first unread message

b. smith

unread,
Dec 17, 2001, 10:01:43 AM12/17/01
to
Still no resolution to the problem. I did try to run the DDConverter
earlier. Then this problem start showing up afterwards. I'm not 100% sure
that the are related. I just know that this bean would compile earlier.
Here is more detail. Any help would be greatly appreciated.


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

Rajesh Mirchandani

unread,
Dec 17, 2001, 1:39:07 PM12/17/01
to
Change your DocType to and see if that makes a difference.

<!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


b. smith

unread,
Dec 17, 2001, 2:10:33 PM12/17/01
to
Thanks for the reply but I'm still unsuccessful. When I made the
recommended change I get the following (below). One important note, if I
copy the weblogic_rdbms.jar from weblogic/lib/persistence in 5.1 to the same
area in 6.1 it compiles fine. However, I don't like doing this because I
didn't have to before. Plus I don't want to run the risk of coping
something that might be deprecated or has deprecated deprecated methods.

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...

Rajesh Mirchandani

unread,
Dec 17, 2001, 2:37:37 PM12/17/01
to
Are you able to compile/run the EJB 1.1 bean examples shipped with WLS 6.1?

b. smith

unread,
Dec 17, 2001, 3:45:38 PM12/17/01
to
I have in the past. I will try them in a little to see if they work.

bs

"Rajesh Mirchandani" <Re...@ToNewsgroup.Only> wrote in message

news:3C1E4981...@ToNewsgroup.Only...

0 new messages