error during installation: ./misclib.xml:243: Java returned:

when I am trying to install x_application I get the following error:

defineSchema.internal:
[java] defining tsd schema: C:\Program Files\Software AG\Tamino\xapplicatio
n_411\testsuite\xmlfiles\property\property.tsd → http://localhost/tamino/welcom
e_4_1_4/xapp4.1.1.4
[java] java.lang.NoSuchMethodError: org.apache.xerces.impl.xs.SchemaGrammar
.getElementDecl(Ljava/lang/String;)Lorg/apache/xerces/impl/xs/psvi/XSElementDecl
aration;
[java] at com.softwareag.xtools.xapplication.schema.ComponentMapping.cr
eateMapping(ComponentMapping.java:91)
[java] at com.softwareag.xtools.xapplication.schema.SchemaFactory.forLo
cation(SchemaFactory.java:197)
[java] at com.softwareag.xtools.xapplication.schema.SchemaFactory.forIn
putStream(SchemaFactory.java:137)
[java] at com.softwareag.xtools.xapplication.schema.Define.defineTsdAnd
Get(Define.java:188)
[java] at com.softwareag.xtools.xapplication.schema.Define.define(Defin
e.java:165)
[java] at com.softwareag.xtools.xapplication.schema.Define.main(Define.
java:107)
[java] Exception in thread “main”

BUILD FAILED
file:./misclib.xml:243: Java returned: 1

I changed the xerces file to endoresed directory of tomcat, but not success

Any idea?

X-Application Version: 4.1.1.4
Tamino Version : 4.1.1
Platform : WinXP
WebContainer : Tomcat 4.1.29
JDK Version : 1.4.1

I think you’re right, something’s wrong with you Xerces version.

What exactly did you do to change the Xerces version?

Jdk 1.4 might also cause problems, but as far as I know only when using the generator. The only know work-around so far is to use Jdk 1.3

Michael

Software AG Germany, Darmstadt

Hello Michael,
I copied the xerces files xercesImpl.jar and xml-apis.jar provided in the directory C:\xapplication_411\prerequisites\lib\ext
to TOMCAT_HOME/commons/endorsed directory in Tomcat. and I got the error.
The error is present during the build step.
Thanks for your help.
Saludos
Gabriel

That’s strange, I haven’t seen a behavior like this …

Here are some things you could check:
o Does your xapplication.conf point to the proper Tomcat directory?
o Do you have a CATALINA_HOME variable? If so, make sure it points
to the proper location
o Do you have xerces jars in %JAVA_HOME%/jre/lib/ext? If so, make sure
they have the property version
o Does it work if you use jdk 1.3.x?

Michael

Software AG Germany, Darmstadt