Berin Loritsch wrote:

Are you calling the lookup like this:


manager.lookup( DataSourceComponent.ROLE + "Selector" ); //?


No - I didn't! :-) Thank you very much - I got the example
working! Even if there are some errors/bugs in it's a great written
document to start with the basic concept of Avalon!

For your next version of the document (maybe you want to fix it)

- page 32, method dispose():
  dbResource misspelled (dbresource)

- page 36, in both <component-instance>:
  as far as I know there is not org.mysql.MySqlDriver, so you should use
  org.gjt.mm.mysql.Driver for the MM driver.

- page 39, <jdbc> section in XML file:
  <driver>...</driver> missing

- page 39, in both <jdbc>:
  as far as I know there is not org.mysql.MySqlDriver, so you should use
  org.gjt.mm.mysql.Driver for the MM driver.

- page 39, <jdbc ...>:
  parameter must be "name" (not "hint")

Patrick Hess

| metazoa GmbH        | fon   +49-211-175447-20 |
| Erkrather Str. 206  | fax   +49-211-175447-27 |
| 40233 Düsseldorf    | mail  [EMAIL PROTECTED] |


-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to