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 ?
LotsOfQuestionsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.