Hey Eric,
Seems like you have a problem with your path to the prp file. Try using this:
"jdbc:idb:c:/support/database/SupportCentral.prp"
You might have to use RmiJdbc if you want to use idb on a homepage,see more at
http://www.objectweb.org/RmiJdbc/RmiJdbcHomePage.htm
Hope this help you.
Regards,
Martin
"eric07 eric07" <eric07_news@hotmail.com> on 24-07-2000 04:49:59
Please respond to instantDB@enhydra.org
To: instantDB@enhydra.org
cc:
Subject: InstantDB: Help with settuing up InstantDB path
Trying to figure out how to put the path for instantdb:
Using jdk1.3, resin, windows 2000 integrted with IIS
Trying to connect with the database:
Here is my path:
Class.forName( "org.enhydra.instantdb.jdbc.idbDriver" );
_conn = DriverManager.getConnection( "jdbc:idb:SupportCentral.prp" );
but it just sits there:
the bean thats calling it is located in:
c:\inetpub\wwwroot\WEB-INF\classes\support
the database is located:
c:\support\database
when i try this;
jdbc:idb:c:\\support\\database\\SupportCentral.prp
it just sits there and does nothing
If i move the whole database in the
c:\inetpub\wwwroot\WEB-INF\classes\support directory and use
jdbc:idb:SupportCentral.prp it seems to connect but when I do the
Class.forName( "org.enhydra.instantdb.jdbc.idbDriver" );
_conn = DriverManager.getConnection( "jdbc:idb:SupportCentral.prp" );
_stmt = _conn.createStatement();
It seems to fail around the createStatement.
Any ideas on this:
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------
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.
|