tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kishbabud <kishba...@gmail.com>
Subject Re: Unable to resolve driver class
Date Tue, 09 Jan 2018 22:48:34 GMT
Kishore Babu Diyyana : 
The problem is not with jar or lib.
The problem is with resource file, it should be like below

	<Resource id="asaDataSource" type="javax.sql.DataSource"
	 	jdbcDriver = "oracle.jdbc.OracleDriver"
	    jdbcUrl = "jdbc:oracle:thin:@localhost:1521:myoradb"
	    password = "kishore"
	    userName = "diyyana"
	    defaultAutoCommit = "true"
	    initialSize = "5"
	    jtaManaged = "true"
	    maxActive = "30"
	    maxIdle = "20"
	    maxOpenPreparedStatements = "0"
	    maxWaitTime = "-1 millisecond"
	    minEvictableIdleTime = "30 minutes"
	    minIdle = "0"
	    numTestsPerEvictionRun = "3"
	    poolPreparedStatements = "false"
	    testOnBorrow = "true"
	    testOnReturn = "false"
	    testWhileIdle = "false"
	    timeBetweenEvictionRuns = "-1 millisecond"
	    validationQuery = "SELECT 1 from DUAL"
	/>

While class loading the Properties class is not parsing the value jdbcDriver
class name. It is taking with "" or appending with next line property. But
same format works when you change tomee-home/config 



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html

Mime
View raw message