aspose file tools*
The moose likes JDBC and the fly likes connection problem with cloudscape Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connection problem with cloudscape" Watch "connection problem with cloudscape" New topic
Author

connection problem with cloudscape

vivi santa
Greenhorn

Joined: Feb 02, 2001
Posts: 26
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~~
Ames Carlson
Greenhorn

Joined: Apr 23, 2001
Posts: 9
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 cloudhelp@informix.com for
more assistance, too.
Hope this helps,
Ames Carlson.
ames.carlson-at-informix.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connection problem with cloudscape