[Opensource] Copying the Expresso_Config dtd to Core
directory
larry hamel
expresso at codeguild.com
Sat Jan 10 10:02:21 PST 2004
copying the DTD to /classess is indeed the permanent solution. it is searched for as a resource. I typically use an ant target to do the copy as part of my compile/distribute phase. if you do a "clean", then you must recopy.
the DTD must be somewhere since it is needed for parsing, and we do not just want it to be fetched via HTTP since, in the HTTP case, you wouldn't be able to start up the server without a working internet connection. so it has to be in the file system somewhere. if it is in /classes, we can retrieve it as a resource.
larry
At 08:41 PM 1/9/2004, Venkatesh Krishnamurthy wrote:
>Hi,
>
>Sometimes when I start my Tomcat/Expresso server I get the following message, and I read in one of the mail archives that, when somebody gets the following message, copy the Expresso_ConfigXXX.dtd to webapps\ROOT\WEB-INF\classes\com\jcorporate\expresso\core directory. Actually, this works, and I know that this is not a permanent solution. More than that, after copying the file to the above directory, it works fine for sometime, but at some point of time the file is getting deleted and I need to recopy the dtd file back to the above directly. Any permanent solution to the above problem is appreciated.
>
>
>javax.servlet.ServletException: ConfigManager: Unable to get URL to the expresso-config dtd
> at com.jcorporate.expresso.core.misc.ConfigManager.config(ConfigManager.java:1046)
> at com.jcorporate.expresso.core.servlet.StdServlet.init(StdServlet.java:378)
> at com.jcorporate.expresso.core.servlet.DBServlet.init(DBServlet.java:105)
...
Larry Hamel
----------------------
Free link-test tool (special handling for Expresso sites): http://morebot.org
Custom web site development: http://codeguild.com
More information about the Opensource
mailing list