• 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: Help with Configuring WebObjects to connect to WebLogic Server DataSource
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with Configuring WebObjects to connect to WebLogic Server DataSource


  • Subject: Re: Help with Configuring WebObjects to connect to WebLogic Server DataSource
  • From: Dov Rosenberg <email@hidden>
  • Date: Thu, 16 May 2013 18:59:11 -0400

I think you only need to define the JDBC connection in the Weblogic engine and then add the resource to the web.xml. You shouldn't have to go thru the hassle of replacing the connection dictionary. For the prototypes you will still need to set the correct data types in the mapping however after the model loads.

Here is an example of the web.xml configuration

http://stackoverflow.com/questions/2887967/what-is-resource-ref-in-web-xml-used-for

Unless you are using multiple objectstorecoordinators - I don't think you want to try any connection pooling by the container.


Dov Rosenberg



On May 16, 2013, at 2:05 PM, Jon Espiritu <email@hidden> wrote:

> Hello,
>
> Currently, I am working on an issue where I need to connect my model to a database through a DataSource defined on my WebLogic Server. In my code, I am creating a NSMutableDictionary and inserting the key, "DataSourceJndiName", with the JNDI name of my DataSource as the value.  I then pass that NSMutableDictionary to "myModel.setConnectionDictionary(...)".  This does not work for me. I have confirmed that the JNDI name of my DataSource is in the context of my WebLogic Managed Server.  Am I missing another configuration?  Is this possible at all?
>
> Please let me know.
>
> Thank you very much,
> Jon Espiritu
> _______________________________________________
> 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


 _______________________________________________
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

References: 
 >Help with Configuring WebObjects to connect to WebLogic Server DataSource (From: Jon Espiritu <email@hidden>)

  • Prev by Date: Help with Configuring WebObjects to connect to WebLogic Server DataSource
  • Next by Date: chainable key path Qualifier question.
  • Previous by thread: Help with Configuring WebObjects to connect to WebLogic Server DataSource
  • Next by thread: chainable key path Qualifier question.
  • Index(es):
    • Date
    • Thread