> I got stuck with GenIC complaining about the jonas-resource in the DD. I
> couldn't find any documentation on what a jonas-resource is. There were
> declarations in both DD files just as the example; however, GenIC acts like
> its expecting the res-ref-name to be declared somewhere else. Is there
> documentation anywhere that describes this? Something that describes all
> deployment descriptor tags would be nice.
Look into xml/jonas-ejb-jar.dtd. You will find comments there which tags you have to
write and which are optional. JOnAS
needs this additional information to be able to load that JNDI-registered datasource,
that your been asks for by an alias and
some things more (beans only use aliases, which are translated into JNDI-names by the
jonas-specific DD).
> Second Problem.
> I read a problem on the user group migrating from version 1 to version 2 with
> the jonas-resource. It was suggested there that these entries be removed from
> the DD. So I did, and now I get an exception when looking up the datasource
> in JNDI. There is something about this that I'm missing.... How does the
> datasource get registered in JNDI??? It seems to me that Jonas has enough
> info in the config to do this...
Please post the error message, so we can tell you what is missing.