Page 1 of 1

How to load propertie files for new jars?

Posted: 11 Sep 2010, 12:32
by KlingOne
Hi

I'm currently developing an extension that should communicate with an amazon SimpleDB database.
In order to connect to this database I need to load a properties file with my login informations.
I have successfully loaded the needed jar files like explained here http://forums.smartfoxserver.com/viewtopic.php?t=1878 but was unable to load the properties file.

I allways get this exception:
javax.persistence.PersistenceException: java.io.FileNotFoundException: /simplejpa.properties not found on classpath. Could not initialize SimpleJPA.

I tried to add it by adding this to the wrapper.conf but that did not work wrapper.java.classpath.70=lib\SimpleJPALibs\simplejpa.properties

Thx in advance

Posted: 11 Sep 2010, 14:15
by KlingOne
Ok, got it working