aspose file tools*
The moose likes JDBC and the fly likes How to config when use Oracle in J2EE? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to config when use Oracle in J2EE?" Watch "How to config when use Oracle in J2EE?" New topic
Author

How to config when use Oracle in J2EE?

kunchi wang
Greenhorn

Joined: Oct 10, 2001
Posts: 1
Who can tell me the detail about config step? Thanks!!
when I run (j2ee -verbose)
following display:
J2EE server listen port:1050
Naming service started:1050
Error loading J2EE resource file
java.lang.NullPointerException at com.sun.enterprise.resource.ResourceInstaller.<init><ResourceInstaller.java:95>
........
I have config as follow:
1. (run) jar cf Oracle.jar d:\oracle(the directory of Oracle driver)
and reside Oracle.jar in J2EEHOME\lib\system;
set J2EE_CLASSPATH = J2EEHOME\lib\system\Oracle.jar
2. (run) j2eeadmin -addJdbcDriver
3. resource.properties
jdbcDataSource.0.name=jdbc/Oracle
jdbcDataSource.0.url=jdbc:sequelink://remotehost:1521 rcl/
jdbcDriver.0.name=com.merant.sequelink.jdbc.SequeLinkDriver
jdbcXADataSource.0.name=jdbc/Merant
jdbcXADataSource.0.classname=com.merant.sequelink.jdbcx.datasource.
SequeLinkDataSource
jdbcXADataSource.0.dbpassword=education
jdbcXADataSource.0.dbuser=mde
jdbcXADataSource.0.prop.serverName=remotehost
jdbcXADataSource.0.prop.portNumber=1521
jmsCnxFactory.0.name=QueueConnectionFactory
jmsCnxFactory.0.isQueue=true
jmsCnxFactory.1.name=TopicConnectionFactory
jmsCnxFactory.1.isQueue=false
jmsCnxFactory.2.name=jms/QueueConnectionFactory
jmsCnxFactory.2.isQueue=true
jmsCnxFactory.3.name=jms/TopicConnectionFactory
jmsCnxFactory.3.isQueue=false
jmsDestination.0.name=jms/Queue
jmsDestination.0.isQueue=true
jmsDestination.1.name=jms/Topic
jmsDestination.1.isQueue=false

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to config when use Oracle in J2EE?
 
Similar Threads
Starting The Cloudscape database
Here's why bad command appears... (WIN98)
confusion with output of java -version command
No suitable driver?
Problem with starting j2sdk RI server