[ https://issues.apache.org/jira/browse/GERONIMO-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093350#comment-13093350 ]
Tina Li edited comment on GERONIMO-6123 at 8/30/11 1:28 AM: ------------------------------------------------------------ 1)For apache-tomcat-7.0.20, this application can be deployed successfully,but can't started successfully. The reason is missing dependency, add the missed dependency to pom.xml: <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.2</version> </dependency> Then build this application again following the above steps and this application can be started and accessed successfully on apache-tomcat-7.0.20. 2)Try to deploy this appliction again on geronimo server, this application still can't be deployed and the problem still existed. was (Author: lylyuchen): For apache-tomcat-7.0.20, this application can be deployed successfully,but can't started successfully. The reason is missing dependency, add the missed dependency to pom.xml: <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.2</version> </dependency> Then build this application again following the above steps and this application can be started and accessed successfully on apache-tomcat-7.0.20. > spring sample "jpetstore" can't be deployed successfully > -------------------------------------------------------- > > Key: GERONIMO-6123 > URL: https://issues.apache.org/jira/browse/GERONIMO-6123 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: osgi > Affects Versions: 3.0 > Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 > jvmwi3260sr9-20110203_74623 (JIT enabled, AOT enabled) > Reporter: Tina Li > Priority: Minor > > 1.Use Aug 23 build of Geronimo server,start the server if it's not started > 2.Download spring sample from svn: > https://src.springframework.org/svn/spring-samples > 3.According to sample named "jpetstore", modify the pom.xml file which under > trunk folder: Change the element of spring vesion from > <spring.version>3.0.0.RELEASE</spring.version> to > <spring.version>3.0.6.RELEASE</spring.version> > 4.Build this sample successfully using cmd : mvn clean package, then can find > web application: org.springframework.samples.jpetstore-1.0.0-SNAPSHOT.war > under \jpetstore\trunk\org.springframework.samples.jpetstore\target folder > 5.Start HSQLDB via "db\hsqldb\server.bat" > 6.Deploy this web application via admin console, but find this application > can'be deployed: > The application was not deployed. > Could not fully load class: > org.apache.struts.taglib.html.JavascriptValidatorTag > due to:org.apache.commons.validator.ValidatorResources > in classLoader: > org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@5b995b99 > java.lang.NoClassDefFoundError: Could not fully load class: > org.apache.struts.taglib.html.JavascriptValidatorTag > due to:org.apache.commons.validator.ValidatorResources > in classLoader: > org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@5b995b99 > at org.apache.xbean.finder.ClassFinder.(ClassFinder.java:136) > at > org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:164) > at > org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:700) > at > org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:174) > at > org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:763) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255) > at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) > at java.lang.reflect.Method.invoke(Method.java:611) > at > org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883) > at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) > 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:736) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira