I'm trying to deploy the ear file from the calculator example from
http://cwiki.apache.org/GMOxDOC20/using-some-of-ejb-30-functionalities.html
I've downloaded the calculator-stateless-pojo.zip and unpacked it.
I go to the Geronimo 2.0.1 console,Applications, Deploy New.
I browse to the archive, and then click Install.
I get:
Deployment failed:
org.apache.geronimo.common.DeploymentException: Problem deploying war 
What am I doing wrong? Is there something missing from that ear file? Has
anyone else got it to work straight out of the box?
(full text of error at bottom).
Thanks for any help
Peter
I'm using Geronimo 2.0.1 on Windows Xp with Sun Java JDK 1.5.0

rg.apache.geronimo.common.DeploymentException: Problem deploying war
org.apache.geronimo.common.DeploymentException:
org.apache.geronimo.common.DeploymentException: Problem deploying war
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:385)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:126)
        at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:865)
        at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
        at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
        at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.geronimo.common.DeploymentException: Problem deploying
war
        at
org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.installModule(AbstractWebModuleBuilder.java:308)
        at
org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder$$FastClassByCGLIB$$8523248f.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$b654160f.installModule(<generated>)
        at
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.installModule(SwitchingModuleBuilder.java:153)
        at
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClassByCGLIB$$d0c31844.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$b654160f.installModule(<generated>)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:567)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
        at 
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at
org.apache.geronimo.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByCGLIB$$ed819024.buildConfiguration(<generated>)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:304)
        ... 10 more
Caused by: java.io.FileNotFoundException: C:\Program
Files\geronimo-tomcat6-jee5-2.0.1\repository\org\apache\geronimo\samples\calculator-stateless-ear\2.0-SNAPSHOT\calculator-stateless-ear-2.0-SNAPSHOT.ear\calculator-stateless-war-2.0-SNAPSHOT.war\apidocs\org\apache\geronimo\samples\calculator\CalculatorServlet.html
(The system cannot find the path specified)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at
org.apache.geronimo.deployment.CopyResourceContext.addFile(CopyResourceContext.java:194)
        at
org.apache.geronimo.deployment.CopyResourceContext.addFile(CopyResourceContext.java:163)
        at
org.apache.geronimo.deployment.CopyResourceContext.addFile(CopyResourceContext.java:132)
        at
org.apache.geronimo.deployment.DeploymentContext.addFile(DeploymentContext.java:449)
        at
org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.installModule(AbstractWebModuleBuilder.java:293)
        ... 40 more

-- 
View this message in context: 
http://www.nabble.com/Calculator-sample-%27problem-deploying-war%27-tf4532454s134.html#a12934606
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to