• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

v4.0 DataSource not working on WAS v5.0.1

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have created a v4.0 datasource on WAS v5.0.1 for Oracle 8.1.7 database. While trying to get a database connection through this DataSource I am getting the below error:

Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.

But the datasource created for v5.0 works fine.

Can anybody let me know what is the solution for the problem with v4.0 DataSource on WAS v5.0.1 as I can use only v4.0 datasources in my application?

Thanks in advance.

Thejaswi
[ October 27, 2004: Message edited by: Thejaswi Srinivasaiah ]
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am facing the same exception, could you please help me if you solved it.

Thank you,
Motasem
 
Thejaswi Srinivasaiah
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Motasem,

I am not able to resolve this issue yet.

Thejaswi
 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In your r web.xml replac


< !-- < !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> -->

with

< !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">;

regards


'classes made into objects girls should not be'
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I think, this has to do with the J2EE version. If your application is J2ee 1.3, you must use v5.0 DataSources and if it is j2ee 1.2 you should use v4.0 DataSource.

The persistance mechanism of 5.0 DataSource is different from 4.0 DataSource

Sathya
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can get around this by creating a new project that is J2EE 1.2 instead of 1.3 and then bring in all the files from the 1.3 project. The problem is that the higher servlet engine doesn't support 4.0 data sources. You should be able to use a 5.0 data source with Oracle however.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic