[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

Servlet Problem

I have a servlet which uses JDBC to connect to MS Access 97 database.

It works fine when used under Personal WebServer or Servlet Runner,
but it throws an exception "No Sutable driver" when used under Domino Server.

What might be the problem ?
0
LotsOfQuestions
Asked:
LotsOfQuestions
1 Solution
 
g_senthilkumarCommented:
Hi,
  Normally when u didnt load the required driver you will get "no suitable driver" exception.What type of driver you are using,let me know about that.
0
 
z_karthikCommented:
The driver must be in the class path of the Domino server or the environment at which the domino server is started.
0
 
rjackmanCommented:
probleme is that it may not be getting the driver loaded
check that u have specified the driver names correctly
eg.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                  
con = DriverManager.getConnection("jdbc:odbc:dbname,loginname,password
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
rjackmanCommented:
probleme is that it may not be getting the driver loaded
check that u have specified the driver names correctly
eg.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                  
con = DriverManager.getConnection("jdbc:odbc:dbname,loginname,password

0
 
LotsOfQuestionsAuthor Commented:
Mr z_karthik

You have answered my question by saying

"The driver must be in the class path of the Domino server or the environment at which the domino server is started."


But how do you set the class path of a domino server and what exactly will you set?

0
 
brlmutiaCommented:
In the Domino servers configuration, add the class path of your driver.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now