InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: connection problems


Mine compiles just fine, but when I try to connect, I get a "null" 
exception, meaning, it couldnt' create the instance of the connection.  

Here is my code:

driverName = "org.enhydra.instantdb.jdbc.idbDriver";
connectionURL = "jdbc:idb:C:/Inetpub/wwwroot/HMG/Database/HMG.prp";

try {
	Class.forName(driverName);
} catch (Exception e) {		
	ErrMsg = e.getMessage();
} finally {
	try {
		con = DriverManager.getConnection(connectionURL);
	} catch (Exception e2) {			
		ErrMsg = e2.getMessage();
	}
}

BTW, ScriptTool and CommSQL work fine and there are no compile errors.
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.