How to load propertie files for new jars?

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
KlingOne
Posts: 28
Joined: 11 Sep 2010, 12:26
Location: Germany
Contact:

How to load propertie files for new jars?

Post 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
KlingOne
Posts: 28
Joined: 11 Sep 2010, 12:26
Location: Germany
Contact:

Post by KlingOne »

Ok, got it working
Post Reply