Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3605746E for ; Tue, 30 Aug 2011 01:23:01 +0000 (UTC) Received: (qmail 94151 invoked by uid 500); 30 Aug 2011 01:23:01 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 93715 invoked by uid 500); 30 Aug 2011 01:23:00 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 93707 invoked by uid 99); 30 Aug 2011 01:23:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 01:22:59 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2011 01:22:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C3B0FD67E7 for ; Tue, 30 Aug 2011 01:22:37 +0000 (UTC) Date: Tue, 30 Aug 2011 01:22:37 +0000 (UTC) From: "Tina Li (JIRA)" To: dev@geronimo.apache.org Message-ID: <1345465123.5702.1314667357798.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1115105312.12703.1314258148998.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (GERONIMO-6123) spring sample "jpetstore" can't be deployed successfully MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093350#comment-13093350 ] Tina Li commented on GERONIMO-6123: ----------------------------------- 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: org.slf4j slf4j-api 1.6.2 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 3.0.0.RELEASE to 3.0.6.RELEASE > 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