• 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
Sun Application server JDBC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sun Application server JDBC


  • Subject: Sun Application server JDBC
  • From: 時期 精霊 <email@hidden>
  • Date: Wed, 16 Nov 2005 00:52:01 +0100

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

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Sun Application server JDBC
      • From: Owen McKerrow <email@hidden>
  • Prev by Date: Re: More newbie questions
  • Next by Date: Re: AJAX and You backtracked too far error
  • Previous by thread: Re: AJAX and You backtracked too far error
  • Next by thread: Re: Sun Application server JDBC
  • Index(es):
    • Date
    • Thread