Jump to content
We've recently updated our Privacy Statement, available here ×

cannot load jdbc oracle driver


mrafalo

Recommended Posts

Hi

 

I am strugling with this problem almost 2 days. I have installed jasper-server and oracle XE. I need to access oracle database from jasper but I keep getting: "cannot load jdbc class oracle.jdbc.driver.OracleDriver" error. I put ojdbc14.jar into my classpath and into [tomcat]commonlib. It did not help. Then I tried to install jasper oracle patch. I did all the steps according to instruction and now jasper-server cannot start..;) The problem is still :"cannot load jdbc class oracle.jdbc.driver.OracleDriver". My context.xml is:

-----

<Resource name="jdbc/jasperserver" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000"

username="ji" password="ji" driverClassName="oracle.jdbc.driver.OracleDriver"

url="jdbc:oracle:oci:@xe" validationQuery="select 1 from dual"/>

------

If anyone can help me, I would be really gratetful.

Thanks,

 

Mario

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...
  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...