在JBoss上部署同一应用程序的多个实例

时间:2022-04-06 20:00:26

I want to deploy multiple instances of the same Seam/EJB3 application that differ only in their database settings on the same JBoss server instance. That way I want to provide different demo instances of this application.

我想部署同一个Seam / EJB3应用程序的多个实例,这些实例仅在同一JBoss服务器实例上的数据库设置上有所不同。这样我想提供这个应用程序的不同演示实例。

Is this possible at all? And if it is what do I need to change in the configuration of JBoss and the application instances themselves (I could use ant to build different versions of the application with different configuration files if needed).

这有可能吗?如果我需要更改JBoss的配置和应用程序实例本身(我可以使用ant来构建不同版本的应用程序,如果需要,可以使用不同的配置文件)。

1 个解决方案

#1


0  

Yes that should be possible. Just remember to also change the application.xml so that each instance gets its own name.

是的,应该是可能的。只需记住也要更改application.xml,以便每个实例都有自己的名称。

#1


0  

Yes that should be possible. Just remember to also change the application.xml so that each instance gets its own name.

是的,应该是可能的。只需记住也要更改application.xml,以便每个实例都有自己的名称。