Child pages
  • EOF-Using EOF-Common Pitfalls and Troubleshooting

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you get the following exception:

Panelnoformat

  com.webobjects.jdbcadaptor.JDBCAdaptorException: No suitable
driver
at
 driver
        at com.webobjects.jdbcadaptor.JDBCContext.connect(JDBCContext.java:244)

at

        at com.webobjects.jdbcadaptor.JDBCContext._tryConnect(JDBCContext.java:331)

at

        at com.webobjects.jdbcadaptor.JDBCContext._channelWillOpen(JDBCContext.java:468)

at

        at com.webobjects.jdbcadaptor.JDBCChannel.openChannel(JDBCChannel.java:81)

Odds are very good that your classpath is incorrect. There are two parts to database support in EOF, the JDBC driver, and the Database Plugin. You must make sure that BOTH are in your classpath. For instance, on FrontBase, you must have both frontbasejdbc.jar AND frontbaseplugin.jar (from the FrontBasePlugin.framework) in your classpath.

...