Resolve cannot create JDBC driver of class ' for connect URL ' null ' problem

Source: Internet
Author: User
Tags tomcat server

These two days with a database link pool, there is a problem on my computer to run is very good no problem, but switched to a colleague on the computer on the show "Cannot create JDBC driver of class" for connect URL ' null ' "very depressed, not had finally settled.

My Computer environment: Myeclipse10 +apache-tomcat-6.0.37

Colleague Environment: myeclipse8.5 +apache-tomcat-6.0.37

My server.xml:

<resource name= "Jdbc/minaservice" auth= "Container" type= "Javax.sql.DataSource" maxactive= "$" maxidle= "30" Maxwait= "10000" username= "root" password= ##### "driverclassname=" Oracle.jdbc.driver.OracleDriver "url= 
	" jdbc : Oracle:thin:@192.168.0.108:1521:orcl "removeabandoned=" true " 
	


Colleagues Server.xml and I, (under Context.xml server.xml configuration can also context.xml is the global configuration).

The problem is here myeclipse8.5 the Tomcat server below is the case when you import an external tomcat there will be one of the following folders you will find below:

Server.xml and Context.xml, when I opened it, I found that the contents were not the same as the contents of my modified Server.xml in the Tomcat directory, and I changed the configuration to the same as in Tomcat's Conf.

And then the startup actually OK.

Summary: No problem with my profile the version of MyEclipse makes it impossible for Tomcat to load the configuration file, just configure it in the picture above and in Tomcat's Conf.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.