Hi Luca,
>in Tomcat environment the System property java.class.path is not
>valued. For this reason you should specify the path where find
>descriptors in the applicationConfig.xml in >the bean
>SchemaClassResolver:
It appears that java.class.path is set but it may be used differently.
I used SuperSnoop (http://office.bensoft.com/SuperSnoop.zip) to output
the following:
java.class.path = C:\Program Files\Apache Software Foundation\Tomcat
5.5/bin/bootstrap.jar;C:\jdk1.5.0_04/lib/tools.jar
Which doesn't look application specific at all.
I don't like the idea of hard-coding the deployment path into
applicationConfig.xml.
Can't getServletContext().getRealPath("/WEB-INF/classes") be used
somehow?
--Dave
|