aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Re: Not able to connect to Oracle database. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Re: Not able to connect to Oracle database." Watch "Re: Not able to connect to Oracle database." New topic
Author

Re: Not able to connect to Oracle database.

Sandy Lee
Greenhorn

Joined: Jan 18, 2001
Posts: 18
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

Joined: Jul 28, 2000
Posts: 1850
Sandy are u using J2EE 1.2 or 1.3 Reference implementaiton
Sandy Lee
Greenhorn

Joined: Jan 18, 2001
Posts: 18
1.3...
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Re: Not able to connect to Oracle database.