Thanks Aaron for the hints, but I still don't get it to work. After looking at the usage page I changed my deploymentplan as follows:
<?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0" xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0" configId="CRX-App" parentId="org/apache/geronimo/Server"> <dependency> <uri>openmdx/kernel/1.12.1/jar</uri> </dependency> <naming:resource-ref> <naming:ref-name>jdbc/datasource[0]</naming:ref-name> <naming:resource-link>jdbc_opencrx_CRX</naming:resource-link> </naming:resource-ref> </application> But this way I get a exception saying the structure of my deploymentplan is false. I looked at http://geronimo.apache.org/schemas-1.0/geronimo-config-1.0.xsd and saw, that my structure is false, but I did not find a hint how the correct structure looks like ;-( Can you help me at this point? Thanks Achim Am Montag, den 24.04.2006, 10:37 -0400 schrieb Aaron Mulder: > If you go into the admin console, select the Database Pools entry, and > then click "usage" next to the jdbc_opencrx_CRX pool, it will give you > an example of how to set this up. The example there is for a web app, > but the resource reference you'd put in openejb-jar.xml has the same > syntax as it shows for geronimo-web.xml -- the only difference is that > in openejb-jar.xml, the resource reference is configured at the level > of an individual EJB, whereas in geronimo-web.xml it's configured at > the level of the entire WAR. > > Let me know if this is enough to get you going. > > Thanks, > Aaron > > On 4/24/06, Achim Weßling <[EMAIL PROTECTED]> wrote: > > Hallo, > > > > I'm new to geronimo, so I've some difficulties to deploy apps to the > > server. > > > > I've a ear-file which I try to deploy with the following plan: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <application > > xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0" > > xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0" > > configId="CRX-App"> > > > > <dependency> > > <uri>openmdx/kernel/1.12.1/jar</uri> > > </dependency> > > </application> > > > > When doing so I get the following error: > > > > Unable to resolve resource reference 'jdbc/datasource[0]' (no matching > > resources found) > > > > So I looked inside the ear-file for config-files using > > 'jdbc/datasource[0]' and found this inside ejb-jar.xml: > > > > <resource-ref id="jdbc_datasource_0"> > > <res-ref-name>jdbc/datasource[0]</res-ref-name> > > <res-type>javax.sql.DataSource</res-type> > > <res-auth>Container</res-auth> > > </resource-ref> > > > > I created a Server-wide DatabasePool with the name 'jdbc_opencrx_CRX', > > how do I map this pool 'jdbc/datasource[0]'? > > > > Many thanks! > > > > > > -- > > Achim Weßling > > INFOKOM Gütersloh AöR > > Fachbereich Technische Anwendungen > > Herzebrocker Str. 140 > > 33334 Gütersloh > > Tel.: 0 52 41 / 85 - 29 26 > > [EMAIL PROTECTED] > > http://www.infokom-gt-de > >
