Is there a way to create Window Services for two different Bonita deployments in the same server?

1
0
-1

Hello,

I have a server with two Bonita deployments, DEV and TRN.

I was able to create my TRN environment Bonita Windows Services following the instructions in one of the posts.

For DEV however, I took the long route (I think); I modified all instances of CATALINA_HOME to CATALINA_HOME_DEV under the BonitaServer/bin directory, I was able to create the service without problems, I also modified the properties in the Java tab of Tomcat6w, and service came up without issues.

When I made the first transition, it was not moving forward, the error said it couldn't find data for that given opportunity, so I checked the process in Bonita and saw that it was pointing to the TRN environment.

I spoke with one of my colleagues and found out that one way to go around that issue is to modify my Bonita processes to use catalina.home property instead of CATALINA_HOME variable in each process and re-deploy every single one of the processes because, although both of them are defined in the Java tab properties, Bonita only honors catalina.home property value, not CATALINA_HOME variable:

-Dcatalina.base=C:\bonita\BOS-5.10-Tomcat-6.0.35
-Dcatalina.home=C:\bonita\BOS-5.10-Tomcat-6.0.35
-Djava.endorsed.dirs=C:\bonita\BOS-5.10-Tomcat-6.0.35\endorsed
-Djava.io.tmpdir=C:\bonita\BOS-5.10-Tomcat-6.0.35\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\bonita\BOS-5.10-Tomcat-6.0.35\conf\logging.properties
-DCATALINA_HOME=C:\bonita\BOS-5.10-Tomcat-6.0.35
-DBONITA_HOME=C:\bonita\BOS-5.10-Tomcat-6.0.35\bonita

Has anyone seen a similar issue before?
Thanks for your feedback.
Elena M

No answers yet.
Notifications