Hello there,
I have a problem with a third-party-Jar file. The Jar file tries to
establish a connection to Jackrabbit (Content Repository). For that
connection a properties file is located in the Jar file.
When I try to load the Jar file, jruby returns a FileNotFoundException.
The file is loaded in Java with this code:
configFileLocation = this.getClass().getResource("/repository-" +
properties.getProperty(“configFile”) + “.xml”).getPath();
The error in jruby looks like that:
org.apache.jackrabbit.core.config.ConfigurationException: Configuration
file could not be read.
…
… (error stack)
…
Caused by: java.io.FileNotFoundException:
/home/mdohnke/arbeitskopien/kg/knowledgegrid/gsm/file:/home/mdohnke/arbeitskopien/kg/knowledgegrid/gsm/lib/ThirdPartyLibrary.jar!/repository-filesystem.xml
(No such file or directory)
Is it an error in Jruby with loading Resources or is the error located
in the Java code and the Java developer has to change these lines?
Thanks in advance,
greetings
Marco
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email