Xapplication 411 installation successful but can't run the e

X-Application Version: 4.1.1,
Tamino Version : 4.1.1,
Platform : Win2k,
WebContainer : Tomcat 4.1.28,
JDK Version : 1.4.1,

I can sucessfully install Xapplication 411, but I got error when running all the examples.

e.g http://localhost:8080/xapp/simple/hello/Hello.jsp

return

exception : org.apache.jasper.JasperException: internal error

:confused:
log.xml (39 KB)

Hi,

I can reproduce your problem.
I tried X-Application with Java J2SDK1.4.1 and the newest Tomcat available 4.1.24.

The error occurs as you have reported.
It seems that the behavior changed from Tomcat 4.1.18 to 4.1.24.

As a quick solution, I would recommend you to step back on Tomcat 4.1.18, if this is possible to you and your purposes.

If you need Tomcat 4.1.24, please let me know.

Bye
Thorsten

Ok. it works fine now with tomcat 4.1.18.

Thanks.

Tomcat 4.1.24 was upgraded to use Xerces 2.3 — previous Tomcat versions used Xerces 2.1.

X-Application requires Xerces 2.1. Thus, if you want to use Tomcat 4.1.24 or later, you have to change Tomcat’s Xerces version. This can be done as follows:

1) rename tomcat/commons/endorsed to tomcat/commons/endorsedOrig
2) create a new tomcat/commons/endorsed directory
3) copy the files xapplication/prerequisites/lib/ext/xml-apis.jar and
xapplication/prerequisites/lib/ext/xercesImpl.jar to the new directory

That’s it. If you start one the X-Application examples, you should see Xerces version 2.1 printed to Tomcat’s console window.

Michael

Software AG Germany, Darmstadt