File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis 2 + DBCP

 
Gustavo Santos
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone, I've built a WS using Axis 2 and a Database Connection Pooling. I created the .aar file and uploaded it by Axis' Upload Service, and it turned out that I'm getting the following exception:

...
Caused by: java.lang.NullPointerException
...
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
...

I guessed that it must have been the context.xml file that wasn't in the correct directory, but I've put it inside the .aar file and the problem still remain... Can anybody help me with that?

Thanks in advance!
 
Gustavo Santos
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I still got the same problem... I found out that I got to set the services.xml file which is in tomcat home directory but things are still the same...

This is what I wrote in my services.xml:


Anyone?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic