[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Resolver Classes (Version 1.1) Cannot find CatalogManager.properties
I've got XML Catalogs working for the libxml2 tools (xmllint, xsltproc, etc.), and now I'm trying to get the Resolver Classes (1.1) working for Saxon and Xalan. Following the instructions at http://wwws.sun.com/software/xml/developers/resolver/article/ I placed resolver.jar where java could find it. Specifically I placed it with many other jars in the /usr/local/j2ee_1.4/jdk/jre/lib/ext directory. I created a CatalogManager.properties file and placed it in a directory on my CLASSPATH. Perhaps someone can shed some light on why I always get the message: Cannot find CatalogManager.properties My CLASSPATH variable in .profile looks like this: export CLASSPATH=$CLASSPATH:$HOME/bin %echo $CLASSPATH :/home/steve/bin:/home/steve/bin And I know that java is paying attention to CLASSPATH because I have a HelloWorldTest.class inside /home/steve/bin that java finds with no problem. My CatalogManager.properties file is set up like the example (Example 2. Example CatalogManager.properties File) and I am trying to execute the command from example 5 (Example 5. Resolving Identifiers), using the same example file and example directory. This is what happens: %java com.sun.resolver.apps.resolver -d 2 -c example/catalog.xml \ -p "-//Example//DTD Example V1.0//EN" public Cannot find CatalogManager.properties Cannot find CatalogManager.properties Cannot find CatalogManager.properties Cannot find CatalogManager.properties Loading catalog: ./xcatalog Cannot find CatalogManager.properties Loading catalog: example/catalog.xml Resolve PUBLIC (publicid, systemid): public id: -//Example//DTD Example V1.0//EN Result: null That's it. I can't go further until com.sun.resolver.apps.resolver can find my CatalogManager.properties file. So, why can't java find it? Java finds the class files in the same directory right next to it. java -version *********************** java version "1.4.2_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03) Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode) ************************ from j2ee_1.4 Thanks, Steve Whitlatch
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]