Re: Different data-sources for different applications?

2000-08-17 Thread Anders Bengtsson
Karl Avedal wrote: > > Hello Anders, > > I see you've gotten good answers already, just wanted to point that if you want > to use different defaults per application rather than per ejb, you can set the > default-data-source attribute in the orion-application.xml file. Yeah, there lots of good a

RE: Different data-sources for different applications?

2000-08-16 Thread Mike Cannon-Brookes
Orion-Interest Subject: RE: Different data-sources for different applications? Hi Karl, A further variation on the theme, We would also like to provide an Application Server service where each site has its own data-source [discussed already], shared EJB [coz the logic is the same] but custom JSP

RE: Different data-sources for different applications?

2000-08-16 Thread Neville Burnell
: Karl Avedal [mailto:[EMAIL PROTECTED]] Sent: Thursday, 17 August 2000 8:08 AM To: Orion-Interest Cc: Orion-Interest Subject: Re: Different data-sources for different applications? Hello Anders, I see you've gotten good answers already, just wanted to point that if you want to use different def

Re: Different data-sources for different applications?

2000-08-16 Thread Karl Avedal
Hello Anders, I see you've gotten good answers already, just wanted to point that if you want to use different defaults per application rather than per ejb, you can set the default-data-source attribute in the orion-application.xml file. Regards, Karl Avedal Anders Bengtsson wrote: > Rick Bos

Re: Different data-sources for different applications?

2000-08-16 Thread Robert Krueger
At 21:37 16.08.00 , you wrote: >Robert Krueger wrote: > > > > >The remaining problem is that this would require a different .ear file > > >for each deployment. I'm trying to deploy the same application many > > >times on the same Orion, with different databases, to separate our > > >different cust

Re: Different data-sources for different applications?

2000-08-16 Thread Anders Bengtsson
Rick Bos wrote: > > You can modify this in orion-ejb-jar.xml. > > This file is found in orion/application-deployments/your-app/ejb > > You can copy this file to /ear/ejb/orion/orion-ejb-jar.xml and modify it > there. > > ( where ear is your development directory and ejb is your Enterprise Java

Re: Different data-sources for different applications?

2000-08-16 Thread Robert Krueger
At 16:28 16.08.00 , you wrote: >Hello, >I'm looking for a way to have different data-sources defined for >different applications, installed in the same Orion. > >The parts of my applications that uses data-sources itself can easily be >configured to use a different JNDI name for each application.

RE: Different data-sources for different applications?

2000-08-16 Thread Rick Bos
You can modify this in orion-ejb-jar.xml. This file is found in orion/application-deployments/your-app/ejb You can copy this file to /ear/ejb/orion/orion-ejb-jar.xml and modify it there. ( where ear is your development directory and ejb is your Enterprise Java Bean directory). Hope this helps.