[JBoss-user] Choosing datasource at runtime in CMP

2004-12-15 Thread Neil Andrew Ajero
Hi, May I know how to select the datasource at runtime in CMP instead of hardcoding it in jbosscmp-jdbc.xml? Background: I have a business application in which I need to create a new instance of the same 10MB EAR file (with a different datasource) for every new customer. If there's a way to sel

Re: [JBoss-user] Adding jboss-app.xml in ear file displays error

2003-11-05 Thread Neil Andrew Ajero
It worked. I have a duplicate commons-*.jar in my ear file that's already in the jbossweb-tomcat41.sar. Thanks! Neil --- Adrian Brock <[EMAIL PROTECTED]> wrote: > On Thu, 2003-11-06 at 01:02, Neil Andrew Ajero > wrote: > > Hi, > > > > When I deploy my ear

[JBoss-user] Adding jboss-app.xml in ear file displays error

2003-11-05 Thread Neil Andrew Ajero
Hi, When I deploy my ear file without a jboss-app.xml the ear file deploys fine. But when I add a jboss-app.xml it displays an error. BTW, I'm using jboss-3.2.2. See details below. Please help! Thanks! ear file structure: app1.ear |--> app1.jar |--> app1.war |--> META-INF/appl

[JBoss-user] Adding jboss-app.xml in ear file displays error

2003-11-05 Thread Neil Andrew Ajero
Hi, When I deploy my ear file without a jboss-app.xml the ear file deploys fine. But when I add a jboss-app.xml it displays an error. BTW, I'm using jboss-3.2.2. See details below. Please help! Thanks! ear file structure: app1.ear |--> app1.jar |--> app1.war |--> META-INF/appl