• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

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
 
Don't sweat petty things, or pet sweaty things. But cuddle this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic