Stefan Kolb wrote:
Hi,im trying to deploy my Webapp *.war in Geronimo. I used the calculator-webapp sample as a starting point, build and deployed it successfully on Geronimo. however when i tried this with my own application it throws alot of errors and cant complete the task. Errors: using GERONIMO installed at C:\geronimo-tomcat6-javaee5-2.2 Using GERONIMO_HOME: C:\geronimo-tomcat6-javaee5-2.2 Using GERONIMO_TMPDIR: var\temp Using JRE_HOME: C:\Program Files\Java\jdk1.6.0_18\jre 2010-02-23 11:57:36,903 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Operation failed: start of org.a pache.tuscany.sca/sca-webshop/1.6/war failed Unknown start exception Configuration org.apache.tuscany.sca/sca-webshop/1.6/war failed to start due to the following reasons: The service J2EEApplication=null,j2eeType=WebModule,name=org.apache.tuscany.sc a/sca-webshop/1.6/war did not start because ContainerBase.addChild: start: Lifec ycleException: java.io.IOException: Context did not start for an unknown reason at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(Co mmandDistribute.java:169) at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandD istribute.java:125) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java :168) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma inConfigurationBootstrapper.java:45) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31 ) In the Geronimo Server Console i can isolate errors like this: ... 81 more Caused by: org.apache.tuscany.sca.monitor.MonitorRuntimeException: Reference not found for component reference: Component = AvailabilityComponent Reference = wa rehousePartnerLink It seems like it can't find the references in the composites when it tries to deploy it, tho the folder structure etc is fine and the references are in the same Composite. What could have gone wrong here?
Hi Stefan, This message is usually caused by a mismatch between the references defined by the implementation code and the references configured in component definitions within composite files. Can you post your implementation code and component definitions here? Simon
Regards Stefan ______________________________________________________ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de
