Hi, thanks for the help. and thanks to david for the upmost support:clap::clap::clap:
Jarek Gawor-2 wrote: > > Change: > > <dep:environment > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"> > > to > > <dep:environment > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> > > in your openejb-jar.xml file. > > Jarek > > On Tue, Apr 1, 2008 at 5:59 AM, newbie-gero <[EMAIL PROTECTED]> wrote: >> >> /home/chongming/geronimo-2.1/var/temp/geronimo-deploymentUtil55902.jar >> MIME-Version: 1.0 >> Content-Type: text/plain; charset=us-ascii >> Content-Transfer-Encoding: 7bit >> X-Nabble-From: [EMAIL PROTECTED] >> >> >> This is in response from the message : Unable to resolve resource >> reference >> 'jdbc/MusicDB' (Found multiple matching resources. Try being more >> specific >> in a resource-ref mapping in your Geronimo deployment plan. >> >> Throughout the entire conversation and helpful discussions, i writing a >> openejb.xml file for the deployment of my session bean with jdbc ear >> file. >> >> Actually i do not know how to write the xml files. I just copied from >> various sources and put into the xml file and hope it could work. >> >> Previously, my ear file could not find the resource ref of jdbc/MusicDB. >> Therefore from the previous message advise, i follow the advise to write >> an >> openejb.xml as show below: >> http://www.nabble.com/file/p16417501/openejb-jar.xml openejb-jar.xml >> >> This are the errors i encounter: >> [EMAIL PROTECTED]:~/geronimo-2.1> java -jar bin/deployer.jar --user >> system >> --password manager deploy MusicApp.ear >> Error: Unable to distribute MusicApp.ear: Failed parsing descriptors >> for module: >> >> /home/chongming/geronimo-2.1/var/temp/geronimo-deploymentUtil55902.jar >> >> Cannot unmarshall the openejb-jar.xml. Xml content written to: >> /home/chongming/geronimo-2.1/var/temp/openejb-jar-55903.xml: >> unexpected element >> (uri:"http://geronimo.apache.org/xml/ns/deployment-1.1", >> local:"environment"). Expected elements are >> >> >> <{http://openejb.apache.org/xml/ns/openejb-jar-2.2}ejb-ql-compiler-factory>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}enterprise-beans>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}service>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}gbean>,<{http://java.sun.com/xml/ns/persistence}persistence>,<{http://geronimo.apache.org/xml/ns/naming-1.2}cmp-connection-factory>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}db-syntax-factory>,<{http://geronimo.apache.org/xml/ns/naming-1.2}message-destination>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}enforce-foreign-key-constraints>,<{http://geronimo.apache.org/xml/ns/security-2.0}security>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}relationships>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}environment>,<{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}security> >> >> unexpected element >> (uri:"http://geronimo.apache.org/xml/ns/deployment-1.1", >> local:"environment"). Expected elements are >> >> >> <{http://openejb.apache.org/xml/ns/openejb-jar-2.2}ejb-ql-compiler-factory>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}enterprise-beans>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}service>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}gbean>,<{http://java.sun.com/xml/ns/persistence}persistence>,<{http://geronimo.apache.org/xml/ns/naming-1.2}cmp-connection-factory>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}db-syntax-factory>,<{http://geronimo.apache.org/xml/ns/naming-1.2}message-destination>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}enforce-foreign-key-constraints>,<{http://geronimo.apache.org/xml/ns/security-2.0}security>,<{http://openejb.apache.org/xml/ns/openejb-jar-2.2}relationships>,<{http://geronimo.apache.org/xml/ns/deployment-1.2}environment>,<{http://geronimo.apache.org/xml/ns/j2ee/application-1.2}security> >> >> >> How can i solve? >> >> Thanks >> -- >> View this message in context: >> http://www.nabble.com/Error%3A-Unable-to-distribute-MusicApp.ear%3A-Failed-parsing-descriptors%0D%0A----for-module%3A%0D%0A-----home-chongming-geronimo-2.1-var-temp-geronimo-deploymentUtil55902.jar-tp16417501s134p16417501.html >> Sent from the Apache Geronimo - Users mailing list archive at >> Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Error%3A-Unable-to-distribute-MusicApp.ear%3A-Failed-parsing-descriptors%0D%0A----for-module%3A%0D%0A-----home-chongming-geronimo-2.1-var-temp-geronimo-deploymentUtil55902.jar-tp16417501s134p16427199.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
