• 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

Re: Not able to connect to Oracle database.

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
I am trying to connect to Oracle database on a remote server.
I am using j2ee reference implementation from Sun.
I have set the following:
J2EE_CLASSPATH to include classes111.zip.
Added the following entries to the resources.properties file.
jdbcXADataSource.6.name=jdbc/CRDEV
jdbcXADataSource.6.url=jdbc racle:thin:@Server:1521:dbName
jdbcXADataSource.6.classname=oracle.jdbc.driver.OracleDriver
jdbcDriver.6.name=jdbc.oracle.driver.OracleDriver
jdbcXADataSource.6.dbpassword=user
jdbcXADataSource.6.dbuser=user1
When I start the j2ee server, I am getting a message which says that the index 6 is invalid.
Can someone help?
Thanks.
Sundeep.
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sandy are u using J2EE 1.2 or 1.3 Reference implementaiton
 
Sandy Lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1.3...
Thanks
reply
    Bookmark Topic Watch Topic
  • New Topic