RE: WebObjects with JBoss deployment
RE: WebObjects with JBoss deployment
- Subject: RE: WebObjects with JBoss deployment
- From: Andy Beier <email@hidden>
- Date: Wed, 10 Aug 2005 08:29:25 -0700
- Thread-topic: WebObjects with JBoss deployment
Yes, by including a file called jboss-web.xml in my projects resources
with the contents outlined below. As long as the jndi-name in the
jboss-web.xml file in the WO Project matches your jndi-name in the JBoss
datasource. I will work.
I have been successful with that but getting two datasoures to work has
been a mystery so far. :-)
-----Original Message-----
From: Ricardo Cortes [mailto:email@hidden]
Sent: Wednesday, August 10, 2005 7:44 AM
To: Andy Beier
Cc: WebObjects Development
Subject: Re: WebObjects with JBoss deployment
Has anyone got datasource deployments (xml files) in the
folder /usr/local/jboss/server/<appname>/deploy in JBoss to work with
WebObjects?
On Tue, 2005-08-09 at 16:57 -0700, Andy Beier wrote:
> Does anyone know how to specify multiple data sources entries when
> deploying WebObjects on JBoss?
>
> Currently my project has three EOModels pointing to different
> databases. By added a file called jboss-web.xml you can specify a
> default datasource:
>
> <jboss-web>
> <resource-ref>
> <res-ref-name>jdbc/DefaultDataSource</res-ref-name>
> <jndi-name>java:/MyDatasourceEntry</jndi-name>
> </resource-ref>
> </jboss-web>
>
> But in the case of multiple datasourses it is unclear how to specify
> which datasource each EOModel should use.
>
> Any help is appreciated.
>
> Thanks,
> Andy
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
f.com
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden