• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebObjects with JBoss deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjects with JBoss deployment


  • Subject: Re: WebObjects with JBoss deployment
  • From: Thomas Pelaia II <email@hidden>
  • Date: Wed, 10 Aug 2005 15:14:29 -0400

I use JBoss to deploy my EOModel based WO applications. The following jboss-web.xml entry works for me:

<jboss-web>
  <resource-ref>
    <res-ref-name>jdbc/DefaultDataSource</res-ref-name>
    <jndi-name>java:/ConnectionFactory</jndi-name>
  </resource-ref>
</jboss-web>


Don't ask me what the entries mean. I just know that it works. I found it by searching through Apple's Application Server deployment guide which I found on their site.


_________
Tom Pelaia, Ph.D., R&D Staff
Spallation Neutron Source, Accelerator Systems Division
Oak Ridge National Laboratory



On Aug 10, 2005, at 2:09 PM, email@hidden wrote:

Message: 1
Date: Wed, 10 Aug 2005 10:44:14 -0400
From: "Ricardo Cortes" <email@hidden>
Subject: Re: WebObjects with JBoss deployment
To: "Andy Beier" <email@hidden>
Cc: WebObjects Development <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain

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: This email sent to email@hidden
  • Prev by Date: Re: Using LIKE with PostgreSQL
  • Next by Date: Optimization - Share All Objects -> Register Database Context?
  • Previous by thread: RE: WebObjects with JBoss deployment
  • Next by thread: Re: Stupid Person Question - Mysql Relationships
  • Index(es):
    • Date
    • Thread