posted 16 years ago
Hi, probably I am not doing something right. I have an application EAR file it is a shopping platform with a catalog I deploy it on jboss4.x.x. This shopping platform has different payment methods. The user uploads a .class or .jar file with a payment method and the platform starts using it. Or if another language for the platform should be specified it uploads .properties file.
But the problem is that on shutdown all the tmp directory is deleted and all changes made are deleted to. Where and how to place all the content that needs to be persistent and at the same time to be in my classpath.
The last time I worked with application server Oracle an Bea Weblogic I think, I remember that the deployment was only once and it is not delted after.
Where I should store all this files so they don't get deleted after shutdown and at the same time they should be in my classpath so the program has access to this folder.
What should I do?