I am working with an application which is currently running under JBoss 4.2.2 GA, The whole application is deployed as two separate ear. Ear 1 uses EJB2.1, Struts1.1. Ear 2 users Hibernate3.2.4.sp1, JSF1.2. I use the Single Sign-On valve to make sure that the both application works together seamlessly even though they are two separate ears.
The reason there are two ear's is that we are gradually migrating the existing EJB2.1, Struts1.1 app to Hibernate3.2.4 and JSF1.2. Each client hosts this application at their local servers and we supply them with the pre-configured JBoss. Both the application shares a single datasource and this is the configuration
<local-tx-datasource> <jndi-name>DefaultDataSource</jndi-name> <connection-url>jdbc:jtds:sqlserver://localhost:1433/database</connection-url> <min-pool-size>25</min-pool-size> <max-pool-size>25</max-pool-size> : : : </local-tx-datasource>