geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Han Hong Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6123) spring sample "jpetstore" can't be deployed successfully
Date Wed, 31 Aug 2011 08:43:09 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094382#comment-13094382
] 

Han Hong Fang commented on GERONIMO-6123:
-----------------------------------------

yes, adding all the addtional jars in the app should also work. Thanks Tina for the confirmation.

> 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

        

Mime
View raw message