Forums Register Login

Database Connections - Axis

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
 

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 ?
I will suppress my every urge. But not this shameless plug:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1041 times.
Similar Threads
Netbeans classpath problem
Connection pooling in weblogic8.1
unable to connect to mysql database from JSP
Resource Jar's
Problems with installing Axis 1.0
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 04:27:45.