aspose file tools*
The moose likes Web Services and the fly likes Axis 2 + DBCP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis 2 + DBCP" Watch "Axis 2 + DBCP" New topic
Author

Axis 2 + DBCP

Gustavo Santos
Ranch Hand

Joined: Jan 22, 2009
Posts: 40
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

Joined: Jan 22, 2009
Posts: 40
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis 2 + DBCP