Hello,

Yea, I found it, but it's not working.

http://lists.apple.com/archives/Webobjects-deploy/2003/Dec/msg00009.html

(Having EOF using directly the Driver work)

I don't know what's wrong.

Thanks anyway

regards

Kuon
On Nov 16, 2005, at 2:09 AM, Owen McKerrow wrote:

Yes,

Check the archives ( possible OmniGroup ones ). We played with that a while back and ended up sending out an email explaining the hoops we had to jump through to get it to work.

I can't seem to locate it now, must be on a back up CD somewhere, but we did send it to the list.

Owen

On 16/11/2005, at 10:52 AM, 時期 精霊 wrote:

Hello,

I try to deploy an application to sun application server.

I got the following problem:

An exception occurred while trying to open a channel: java.lang.RuntimeException: Exception during lookup: javax.naming.NameNotFoundException: No object bound for java:comp/ env/jdbc/Nadesico [Root exception is java.lang.NullPointerException]


in my sun-web.xml:

<resource-ref>
<res-ref-name>jdbc/Nadesico</res-ref-name>
<jndi-name>java:comp/env/jdbc/Nadesico</jndi-name>
</resource-ref>

I tried a lot of combinaison (<jndi-name>jdbc/Nadesico</jndi-name> for an example)

in web.xml I got:

  <resource-ref>
<description>The data source to be used by EOF. If there are multiple data sources, then the definition below must be used to configure which JDBC URL (Model) should use which data source. If EOF should use a JDBC driver directly, this section must be commented out</description>
    <res-ref-name>jdbc/Nadesico</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
  </resource-ref>

I have an oracle database, and I have the oracle pool configured on my application server.

Anybody know if webobjects has specials things to do to get it working?

regards

Kuon _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/owen% 40uow.edu.au

This email sent to [EMAIL PROTECTED]

Owen McKerrow
WebMaster, emlab
http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

People who prefer typing to pointing then seem to prefer acronyms to save typing :-)
-Denis Stanton, On people using Command Line Interfaces



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to