ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Hatton" <khat...@axiomsystems.com>
Subject RE: ejbc error
Date Fri, 26 Sep 2003 09:18:07 GMT
I would check that all your developers are using *exactly* the same weblogic.jar (down to which
service pack).



-----Original Message-----
From: Suresh Babu Koya [mailto:skoya@cislworld.com]
Sent: 26 September 2003 06:57
To: user@ant.apache.org
Subject: ejbc error


Greetings group,

   I am new to writing weblogic tasks for Ant. When I am running the ant
task with the following code. I get errors that I copied below. This does
not occur in everyone's system and occurs only in some systems. Could
someone tell me if they faced this error and if so how the fix is.



		<java classname="weblogic.ejbc" fork="yes" dir="${dest.jar.dir}">
			<arg value="${dest.jar.dir}/${jarName}.jar"/>
			<arg value="${dest.jar.dir}/${jarName}Deploy.jar"/>
			<classpath refid="wlgbuild.classpath"/>
		</java>

Regards,
Suresh

Error:
-------
     [java] org.xml.sax.SAXParseException: Element
"weblogic-enterprise-bean" al
lows no further input; "transaction-isolation" is not allowed.
     [java]     at com.sun.xml.parser.Parser.error(Parser.java:2775)
     [java]     at
com.sun.xml.parser.ValidatingParser$ChildrenValidator.consume
(ValidatingParser.java:306)
     [java]     at com.sun.xml.parser.Parser.maybeElement(Parser.java:1280)
     [java]     at com.sun.xml.parser.Parser.content(Parser.java:1498)
     [java]     at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
     [java]     at com.sun.xml.parser.Parser.content(Parser.java:1498)
     [java]     at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
     [java]     at com.sun.xml.parser.Parser.parseInternal(Parser.java:491)
     [java]     at com.sun.xml.parser.Parser.parse(Parser.java:283)
     [java]     at
weblogic.xml.dom.SunDOMParser.getDocument(SunDOMParser.java:6
9)
     [java]     at
weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:102)
     [java]     at
weblogic.ejb.deployment.dd.DescriptorLoader.<init>(Descriptor
Loader.java:157)
     [java]     at weblogic.ejbc.runBody(ejbc.java:298)
     [java]     at weblogic.utils.compiler.Tool.run(Tool.java:80)
     [java]     at weblogic.ejbc.main(ejbc.java:353)
     [java] --------------- nested within: ------------------
     [java] Received SAXParseException from Sun Parser at line 14,
column -1: or
g.xml.sax.SAXParseException: Element "weblogic-enterprise-bean" allows no
furthe
r input; "transaction-isolation" is not allowed.
     [java]     at
weblogic.xml.dom.SunDOMParser.getDocument(SunDOMParser.java:7
2)
     [java]     at
weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:102)
     [java]     at
weblogic.ejb.deployment.dd.DescriptorLoader.<init>(Descriptor
Loader.java:157)
     [java] count = 0, total = 682
     [java] count = 0, total = 382
     [java]     at weblogic.ejbc.runBody(ejbc.java:298)
     [java]     at weblogic.utils.compiler.Tool.run(Tool.java:80)
     [java]     at weblogic.ejbc.main(ejbc.java:353)
     [java] ERROR: Received SAXParseException from Sun Parser at line 14,
column
 -1: org.xml.sax.SAXParseException: Element "weblogic-enterprise-bean"
allows no
 further input; "transaction-isolation" is not allowed.
     [java] Java Result: 1


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message