You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Tina Li (JIRA)" <ji...@apache.org> on 2011/08/25 09:42:28 UTC
[jira] [Created] (GERONIMO-6123) spring sample "jpetstore" can't be
deployed successfully
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
[jira] [Issue Comment Edited] (GERONIMO-6123) spring sample
"jpetstore" can't be deployed successfully
Posted by "Tina Li (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (GERONIMO-6123) spring sample "jpetstore" can't
be deployed successfully
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091178#comment-13091178 ]
Jarek Gawor commented on GERONIMO-6123:
---------------------------------------
I believe I saw a similar exception when deploying our show-me-money or counter samples.
> 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
[jira] [Issue Comment Edited] (GERONIMO-6123) spring sample
"jpetstore" can't be deployed successfully
Posted by "Tina Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094363#comment-13094363 ]
Tina Li edited comment on GERONIMO-6123 at 8/31/11 7:41 AM:
------------------------------------------------------------
Hi Janet,
I tried adding the two dependencies to pom.xml:
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.1.4</version>
</dependency>
<dependency>
<groupId>org.apache.ibatis</groupId>
<artifactId>ibatis-sqlmap</artifactId>
<version>2.3.4.726</version>
</dependency>
Then build the sample again and found this application also works well on geronimo server.
was (Author: lylyuchen):
Hi Janet,
I tried adding the two dependencies to pom.xml:
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.1.4</version>
</dependency>
<dependency>
<groupId>org.apache.ibatis</groupId>
<artifactId>ibatis-sqlmap</artifactId>
<version>2.3.4.726</version>
</dependency>
Then build the sample again and found this application also works application on geronimo server.
> 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
[jira] [Commented] (GERONIMO-6123) spring sample "jpetstore" can't
be deployed successfully
Posted by "Tina Li (JIRA)" <ji...@apache.org>.
[ 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:
<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
[jira] [Commented] (GERONIMO-6123) spring sample "jpetstore" can't
be deployed successfully
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Issue Comment Edited] (GERONIMO-6123) spring sample
"jpetstore" can't be deployed successfully
Posted by "Tina Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094363#comment-13094363 ]
Tina Li edited comment on GERONIMO-6123 at 8/31/11 7:39 AM:
------------------------------------------------------------
Hi Janet,
I tried adding the two dependencies to pom.xml:
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.1.4</version>
</dependency>
<dependency>
<groupId>org.apache.ibatis</groupId>
<artifactId>ibatis-sqlmap</artifactId>
<version>2.3.4.726</version>
</dependency>
Then build the sample again and found this application also works application on geronimo server.
was (Author: lylyuchen):
Hi Janet,
I tried add the two dependencies to pom.xml:
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.1.4</version>
</dependency>
<dependency>
<groupId>org.apache.ibatis</groupId>
<artifactId>ibatis-sqlmap</artifactId>
<version>2.3.4.726</version>
</dependency>
Then build the sample again and found this application also works application on geronimo server.
> 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
[jira] [Commented] (GERONIMO-6123) spring sample "jpetstore" can't
be deployed successfully
Posted by "Tina Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094328#comment-13094328 ]
Tina Li commented on GERONIMO-6123:
-----------------------------------
Verified. This method works well.
> 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
[jira] [Closed] (GERONIMO-6123) spring sample "jpetstore" can't be
deployed successfully
Posted by "Tina Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tina Li closed GERONIMO-6123.
-----------------------------
Resolution: Fixed
Assignee: Han Hong Fang
Verified, problem solved.
> 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
> Assignee: Han Hong Fang
> 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
[jira] [Commented] (GERONIMO-6123) spring sample "jpetstore" can't
be deployed successfully
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093538#comment-13093538 ]
Han Hong Fang commented on GERONIMO-6123:
-----------------------------------------
In geronimo server, the following jar are missing.
1. commons-validator-1.1.4.jar: install it as bundle with "deploy:install-bundle" command.
2. ibatis-sqlmap-2.3.4.726.jar: add it as a jar in WEB-INF/lib folder.
Please have a try again with these additional jars.
> 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
[jira] [Commented] (GERONIMO-6123) spring sample "jpetstore" can't
be deployed successfully
Posted by "Han Hong Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094384#comment-13094384 ]
Han Hong Fang commented on GERONIMO-6123:
-----------------------------------------
BTW, I think the decision of adding the jar into geronimo server or in the app depends on whether this jar will be shared by other apps.
> 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
> Assignee: Han Hong Fang
> 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
[jira] [Commented] (GERONIMO-6123) spring sample "jpetstore" can't
be deployed successfully
Posted by "Tina Li (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094363#comment-13094363 ]
Tina Li commented on GERONIMO-6123:
-----------------------------------
Hi Janet,
I tried add the two dependencies to pom.xml:
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.1.4</version>
</dependency>
<dependency>
<groupId>org.apache.ibatis</groupId>
<artifactId>ibatis-sqlmap</artifactId>
<version>2.3.4.726</version>
</dependency>
Then build the sample again and found this application also works application on geronimo server.
> 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