This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Re: Not able to connect to Oracle database.

 
Sandy Lee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • 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.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1868
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
1.3...
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic