I am using tomcat to connect cloudscape database. I am try to store the input var from a HTML to the database. However, when I press the submit button, it is an unavailalbe exception --Error: 503 Location: /techSupport/servlet/techSupport Driver not found in the classpath. Service is permanently unavailable -- I've opened %Tomcat_home\bin\tomcat.bat and type set CLOUDSCAPE_CP=%CLOUDSCAPE_INSTALL%\lib\cloudscape.jar (other classpath settings) set CLASSPATH=%CLASSPATH%;%CLOUDSCAPE_CP% I can't figure out what's the problem is. As this is my first JDBC project~~ Anyone help? Pls..........
Thanks in advance~~
posted 14 years ago
Are you embedding Cloudscape within your Tomcat engine, or accessing a remote server? For instructions on setting up the embedding, see http://www.cloudscape.com/support/techinfo.jsp#EMBED. If it's a remote server, you need to have the framework classes in your CLASSPATH too, what they are depends on which server framework you are using (RmiJdbc, Cloudconnector are two that Informix ships; RmiJdbc comes with Cloudscape). Also make sure you are loading the Cloudscape JDBC Driver, use Class.forName("COM.cloudscape.core.JDBCDriver"). You might want to contact email@example.com for more assistance, too. Hope this helps, Ames Carlson. ames.carlson-at-informix.com