Make your own free website on Tripod.com

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: IDB Driver name


Hi Helge,

Actually it should. The Servlet 2.2 spec states that any .jar file in the
/lib directory will be loaded when the web app starts. I have verified that
idb.jar is in this directory (and that the jar does in fact contain the
driver class). I also have another jar file in the lib directory, and it is
getting loaded, so I'm 99.9% sure it is in fact already in the classpath.

Additional suggestions?

(In the meantime, I will try actually adding it to the classpath just to
verify 100%)

Christian
------------------------------------------------
Christian Cryder
Software Engineer, Rocks
Lutris Technologies, Inc.
christianc@lutris.com
------------------------------------------------
       "What a great time to be a Geek"
------------------------------------------------
 http://www.lutris.com ~ http://xmlc.enhydra.org


> -----Original Message-----
> From: owner-instantDB@enhydra.org [mailto:owner-instantDB@enhydra.org]On
> Behalf Of Pfeffer, Helge
> Sent: Thursday, November 16, 2000 12:21 AM
> To: 'instantDB@enhydra.org'
> Subject: AW: InstantDB: IDB Driver name
>
>
> Hi Christian,
>
> the Servlet-Server must know the idb.jar archive.
> If you're using Jakarta-Tomcat, just add it to the classpath of the
> startup-script and it should work.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christian Cryder [mailto:christian.cryder@lutris.com]
> Gesendet: Donnerstag, 16. November 2000 01:07
> An: InstantDB
> Cc: Peter Hearty
> Betreff: InstantDB: IDB Driver name
>
>
> Hey guys,
>
> I am trying to get the DiscRack example running (Enhydra 3.1b1), and I'm
> having problems with IDB 3.21
>
> I _think_ I have the database created correctly. My data
> directory contains
> the following files:
>
> create_tables.sql
> create_tables.sql.InstantDB
> create_tables.sql.Oracle
> create_tables.sql.PostgreSQL
> discRack.mdb
> discRack.prp
> drop_tables.sql
>
> Now, I modify the discRack.conf file to point to the proper location of
> discRack.prp, and I've verified I typed in the patch correctly. It looks
> somethign like this:
>
> DatabaseManager.DB.sid1.Connection.Url =
> "jdbc:idb://e/WebProjects/lutris/rocks/main/examples/RocksPR1/exam
> ples/Rocks
> DiscRack/Web-inf/db/discRack.prp"
>
> Now, when I fire up the application and the conf file  gets
> processed, I get
> the following message:
>
> Error setting up Enhydra
> Application:com.lutris.appserver.server.ApplicationException: Could not
> create logical database
> sid1: can't load JDBC driver class: org.enhydra.instantdb.jdbc.idbDriver:
> Could not create logical database sid1: can't load JDBC driver class:
> org.enhydra.instantdb.jdbc.idbDriver
>
> This would seem to imply that it can't find the idb.jar file.
> However, I am
> running this as a web app, and the jar file is in the /Web-inf/lib
> directory, so I know it's available.
>
> Does anyone have any suggestions?
>
> Thanks,
> Christian
> ------------------------------------------------
> Christian Cryder
> Software Engineer, Rocks
> Lutris Technologies, Inc.
> christianc@lutris.com
> ------------------------------------------------
>        "What a great time to be a Geek"
> ------------------------------------------------
>  http://www.lutris.com ~ http://xmlc.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.
> ------------------------------------------------------------------
> -----------
> 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.