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

Transaction-isolation

0 views
Skip to first unread message

Dirk-Jan van der Pol

unread,
Oct 12, 2001, 9:55:52 AM10/12/01
to
I am developping EJB's with Weblogic 5.1 on a solaris platform.
I am trying to add transaction-isolation to the weblogic-ejb-jar.xml
like the following:

<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>Helpteksten</ejb-name>
<persistence-descriptor>
<persistence-type>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
<type-storage>META-INF/Helpteksten-cmp-rdbms-jar.xml</type-storage>
</persistence-type>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>5.1.0</type-version>
</persistence-use>
</persistence-descriptor>
<jndi-name>Helpteksten</jndi-name>
<transaction-isolation>
<isolation-level>TRANSACTION_READ_COMMITTED</isolation-level>
<ejb-name>Helpteksten</ejb-name>
<method>
<method-name>*</method-name>
</method>
</transaction-isolation>
</weblogic-enterprise-bean>

When I try to deploy the bean I get the next error message:

"aebotEntity.ejbgrpx": org.xml.sax.SAXParseException:
com.sun.xml.parser/V-036 weblogic-enterprise-bean
transaction-isolation
"aebotEntity.ejbgrpx": at
com.sun.xml.parser.Parser.error(Parser.java:2775)
"aebotEntity.ejbgrpx": at
com.sun.xml.parser.ValidatingParser$ChildrenValidator.consume(ValidatingParser.java:310)
"aebotEntity.ejbgrpx": at
com.sun.xml.parser.Parser.maybeElement(Parser.java:1280)
"aebotEntity.ejbgrpx": at
com.sun.xml.parser.Parser.content(Parser.java:1498)
"aebotEntity.ejbgrpx": at
com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
"aebotEntity.ejbgrpx": at
com.sun.xml.parser.Parser.content(Parser.java:1498)
"aebotEntity.ejbgrpx": at
com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
"aebotEntity.ejbgrpx": at
com.sun.xml.parser.Parser.parseInternal(Parser.java:491)
"aebotEntity.ejbgrpx": at
com.sun.xml.parser.Parser.parse(Parser.java:283)
"aebotEntity.ejbgrpx": at
weblogic.xml.dom.SunDOMParser.getDocument(SunDOMParser.java:69)
"aebotEntity.ejbgrpx": at
weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:102)
"aebotEntity.ejbgrpx": at
weblogic.ejb.deployment.dd.DescriptorLoader.<init>(DescriptorLoader.java:157)
"aebotEntity.ejbgrpx": at weblogic.ejbc.runBody(ejbc.java:298)
"aebotEntity.ejbgrpx": at
weblogic.utils.compiler.Tool.run(Tool.java:80)
"aebotEntity.ejbgrpx": at weblogic.ejbc.main(ejbc.java:353)
"aebotEntity.ejbgrpx": --------------- nested within:
------------------
"aebotEntity.ejbgrpx": Received SAXParseException from Sun Parser at
line 17, column -1: org.xml.sax.SAXParseException:
com.sun.xml.parser/V-036 weblogic-enterprise-bean
transaction-isolation
"aebotEntity.ejbgrpx": at
weblogic.xml.dom.SunDOMParser.getDocument(SunDOMParser.java:72)
"aebotEntity.ejbgrpx": at
weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:102)
"aebotEntity.ejbgrpx": at
weblogic.ejb.deployment.dd.DescriptorLoader.<init>(DescriptorLoader.java:157)
"aebotEntity.ejbgrpx": at weblogic.ejbc.runBody(ejbc.java:298)
"aebotEntity.ejbgrpx": at
weblogic.utils.compiler.Tool.run(Tool.java:80)
"aebotEntity.ejbgrpx": at weblogic.ejbc.main(ejbc.java:353)
"aebotEntity.ejbgrpx": ERROR: Received SAXParseException from Sun
Parser at line 17, column -1: org.xml.sax.SAXParseException:
com.sun.xml.parser/V-036 weblogic-enterprise-bean
transaction-isolation


I already read all kind of things on newsgroups and they doesn't work.
Who can help me???

Dimitri Rakitine

unread,
Oct 12, 2001, 5:56:06 PM10/12/01
to
Do you have service pack jar pre-pended to your classpath when
you run ejbc?

--
Dimitri

0 new messages