You should specify the rar first followed by the plan file. Looks like there is another problem in your case... the file "C:\geronimo- tomcat6-jee5-2.0.2\bin\db2-geronimo-plan" does not exist. Make sure the file exists. Geronimo does not make any assumptions on the file extension. Use the full filename, for e.g. db2-geronimo-plan.xml.
++Vamsi On Fri, Mar 28, 2008 at 7:37 AM, SKService <[EMAIL PROTECTED]> wrote: > > Hi, > I'm trying to create a DB2 datasource on Geronimo 2.0.2. > > I've taken all education from the following link, > http://cwiki.apache.org/GMOxDOC20/configuring-db2-datasource.html > > My Db2 version is 8.1.7.706. > > as pointed out, after creating the deploy plan, I'm trying to use the > following command line sequence from the <geronimo_home>/bin directory. > deploy --user system --password manager deploy <dep_plan_home>\db2- > plan.xml > ..\repository\org\tranql\tranql-connector-ra\1.3\tranql- > connector-ra-1.3.rar > > > I'm getting the following error (I've also uploaded my deployment plan): > > > C:\geronimo-tomcat6-jee5-2.0.2\bin>deploy --user system --password manager > deploy db2-geronimo-plan > ..\repository\org\tranql\tranql-connector-ra\1.4\tranql-conne > ctor-ra-1.4.rar > Using GERONIMO_BASE: C:\geronimo-tomcat6-jee5-2.0.2 > Using GERONIMO_HOME: C:\geronimo-tomcat6-jee5-2.0.2 > Using GERONIMO_TMPDIR: var\temp > Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_06\jre > Error: Unable to read file > C:\geronimo-tomcat6-jee5-2.0.2\bin\db2-geronimo-plan > java.io.IOException: Cannot read file > C:\geronimo-tomcat6-jee5-2.0.2\bin\db2-geronimo-plan > at org.apache.geronimo.common.FileUtils.isZipFile(FileUtils.java > :53) > at > org.apache.geronimo.deployment.plugin.ConfigIDExtractor.isJarFile( > ConfigIDExtractor.java:242) > at > org.apache.geronimo.deployment.cli.CommandDistribute.execute( > CommandDistribute.java:82) > at > org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:161) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main( > MainConfigurationBootstrapper.java:45) > at > org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) > at > org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) > > > http://www.nabble.com/file/p16344329/db2-geronimo-plan.xml > db2-geronimo-plan.xml > -- > View this message in context: > http://www.nabble.com/Problem-creating-a-DB2-datasource-tp16344329s134p16344329.html > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. > >
