File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Database Connections - Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Database Connections - Axis" Watch "Database Connections - Axis" New topic
Author

Database Connections - Axis

jenn sie
Greenhorn

Joined: Sep 16, 2004
Posts: 3
I am using Axis and Tomcat and trying to get Access database content.

I can connect and print out info from the database outside of Axis using Java. But I am getting an error in my Tomcat window that says:

SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.

It works fine outside my axis application. I think it may be the classpath, because I have had problems with that and have to type in the following to execute my client:

java -cp .;%AXISCLASSPATH% SearchRoomsClient -lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1

If someone can please tell me what I should have in my classpath (if this is the problem), let me know.

Thanks
jenn
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by jenn sie:

java -cp .;%AXISCLASSPATH% SearchRoomsClient -lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1

Thanks
jenn


What is this -uuser1 and -wpass1, is that the username and password for database access ?


Spritle Software Blogs
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Database Connections - Axis
 
Similar Threads
unable to connect to mysql database from JSP
Connection pooling in weblogic8.1
Resource Jar's
Problems with installing Axis 1.0
Netbeans classpath problem