on 05-08-2007 12:58 PM
I have an following issue: there is an XSTL + Java archive that is imported into XI to perform some mapping task (XSL transformation with calls to Java methods). Beside XSL and class files, this archive contains some property files needed by Java classes.
The exact problem is that Java classes can not read these property files (file not found exception). My assumption is that XI internally stores archive somewhere into a database (search for property files throughout file system did not give any results) ?
Does anybody have similar experience ?
Archive looks like:
com/.../A.class
B.properties
C.xsl
Hi,
How are you reading tjhe Properties file?
What I mean to ask here is ,
1. Is the properties file stored on the XI server and are you giving the path in the Java Class ( hard coded path ) to read hte proprty file using Java IO.
2 Or, is the Property File bundled along with the Imported Archive in the .jar file and you are using the getResource() method?
If 1 --> make sure that the Path is correct, the file is available and the foder in which the file is available has a 777 authorization.
If 2--> make sure that the filename etc in the code are correct.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.