Forum Discussion
FICO
17 years agoCommunity Manager
Deploying using Java Deployment - Very Urgent!!!
Deploying using Java Deployment - Very Urgent!!! Hi, I'm trying to integrate the blaze server and deployment manager into a spring based project. I generated the Java deployment and am using a func...
FICO
17 years agoCommunity Manager
First of all, it looks like you are creating a new rule server instance each time before calling it. You should create an server instance only once and use it for all subsequent calls. With Spring you could define a bean from the Server class and specify Server.createServer() as a factory method in that bean's configuration.
As for the classloader issue, try locating the following parameter in your .server file and make sure it is set to true:
<UseDeploymentClassLoadingContext> true </UseDeploymentClassLoadingContext>