x-application -build failed!!

X-Application Version: 3.1.2, 3.1.1
Tamino Version : 3.1.1
Platform : XP
WebContainer : Tomcat 3.3
JDK Version : 1.3.1



i didn’t understand because the build af x-application failed.this is the output after i exute setup.cmd. Someone knows the problem.i follow the istallation step.

Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


C:>cd xapplication

C:\xapplication>setup.cmd

C:\xapplication>build setup
Buildfile: ncconfig\buildLib.xml

setup:

setup.prerequisites:
[copy] Copying 8 files to C:\xapplication\prerequisites\lib\opt

setup.tomcat:
[echo] generating configuration file: C:\tomcat/conf/apps-xapplication.xml

examples.API:
[mkdir] Created dir: C:\xapplication\examples\API\debug
[javac] Compiling 7 source files to C:\xapplication\examples\API\debug

examples.jsp:
[echo] Build JSP Examples for Collection: xapplication312

WEB-INF:
[echo] creating web application directory C:\xapplication/examples/jsp/simp
le/WEB-INF

WEB-INF:
[echo] creating web application directory C:\xapplication/examples/jsp/prop
erty/WEB-INF

WEB-INF:
[echo] creating web application directory C:\xapplication/examples/jsp/invo
ice/WEB-INF

demos.jsp:

WEB-INF:
[echo] creating web application directory C:\xapplication/demos/jsp/propert
y/WEB-INF

generator:
[mkdir] Created dir: C:\xapplication\generator

WEB-INF:
[echo] creating web application directory generator/WEB-INF
[delete] Deleting directory C:\xapplication\generator\WEB-INF\jsp
[echo] generating web.xml
[echo] copying additional libs …
[copy] Copying 4 files to C:\xapplication\generator\WEB-INF\lib
[echo] copying images and other resources …
[copy] Copying 32 files to C:\xapplication\generator

setup.collection:

defineTSD:
[java] reading tsd file testsuite\xmlfiles\property\property.tsd
[java] java.lang.NoClassDefFoundError: javax/xml/parsers/SAXParserFactory
[java] at java.lang.ClassLoader.defineClass0(Native Method)
[java] at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
[java] at java.security.SecureClassLoader.defineClass(SecureClassLoader
.java:106)
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
[java] at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)

[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)

[java] at com.softwareag.xtools.xapplication.common.Util.inputToElement
(Util.java:307)
[java] at com.softwareag.xtools.xapplication.common.Util.inputToElement
(Util.java:282)
[java] at com.softwareag.xtools.xapplication.common.Util.fileToElement(
Util.java:217)
[java] at com.softwareag.xtools.xapplication.businessdocument.DefineTSD
.run(DefineTSD.java:95)
[java] at com.softwareag.xtools.xapplication.businessdocument.DefineTSD
.main(DefineTSD.java:65)
[java] Exception in thread “main”

BUILD FAILED

C:\xapplication\ncconfig\buildLib.xml:199: Java returned: 1

Total time: 33 seconds
C:\xapplication>

Looks as if xerces.jar(prerequisites\ext\lib\xerces.jar) is missing. Could you please delete the xapplication directory, unzip xapplication.zip and try again?

And: please make sure that jaxp is not installed as a Java extension (you can find more information about this limitation of X-Application in the limitations section of the documentation).

Michael

Software AG Germany, Darmstadt

the file xerces.jar is in the directory, and the jaxp isn’t in my hard disk.
a this point which is the problem?
thanks for the help

I don’t understand either …

Can you reproduce this problem with the original download file?

Do you have a different machine where you could test the same download file in a different environment?

Which JDK do you use?

Michael

Software AG Germany, Darmstadt

i istalled all component in a unique machine…
i am using jdk 1.3.1 and tomcat 3.3a it’s possible that it depend from the operating system?
i also download jikes and add the relative code in server.xml it was necessary???

Very stange, I have no idea …

Could you try to install the same xapplication.zip on a different machine?
I theory, its platform independent, but since everything works fine on other machines, this might give us a hint.

Michael

Software AG Germany, Darmstadt

X-Application Version: 3.1.2, 3.1.1
Tamino Version : 3.1.1
Platform : NT, Win2k, Solaris, …
WebContainer : Tomcat 3.3
JDK Version : 1.3.1