[
https://issues.apache.org/jira/browse/GERONIMO-5772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tina Li closed GERONIMO-5772.
-----------------------------
Resolution: Fixed
Problem be solved.
> Unable to start web application for bundle org.apache.aries.samples.blog.web
> when deploy Aries blog sample
> ----------------------------------------------------------------------------------------------------------
>
> Key: GERONIMO-5772
> URL: https://issues.apache.org/jira/browse/GERONIMO-5772
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Tomcat
> Affects Versions: 3.0
> Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32
> jvmwi3260sr9-20101124_69295 (JIT enabled, AOT enabled)
> Reporter: Tina Li
> Priority: Minor
> Attachments: aries-datasource.xml, geronimo.log
>
>
> 1.Get the Jan.20 geronimo server build
> 2.Start up the server if it is not started
> 3.Deploy the aries blog sample from
> "https://cwiki.apache.org/ARIES/downloads.html"
> fllow the steps:
> 3.1.rebuild the sample
> 3.2.Deploy the source file: aries-datasource.xml
> 3.3.Deploy the blog sample of two
> files:"org.apache.aries.samples.blog.jpa.eba-0.2-incubating.eba" and
> "org.apache.aries.samples.blog.jdbc.eba-0.2-incubating.eba"
> 4.Access the browser at http://localhost:8080/blog
> 5.Then http status 404 error happens and the geronimo.log file shows:
> 2011-01-20 11:05:07,906 WARN [TomcatModuleBuilder] Web application . does
> not contain a WEB-INF/geronimo-web.xml deployment plan. This may or may not
> be a problem, depending on whether you have things like resource references
> that need to be resolved. You can also give the deployer a separate
> deployment plan file on the command line.
> 2011-01-20 11:05:08,171 ERROR [WebApplication] Unable to start web
> application for bundle org.apache.aries.samples.blog.web
> java.lang.RuntimeException: getModuleFile() is not supported on Bundle-based
> deployment
> at
> org.apache.geronimo.j2ee.deployment.Module.getModuleFile(Module.java:154)
> at
> org.apache.geronimo.axis.builder.AxisBuilder.findWebServices(AxisBuilder.java:113)
> at
> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(AbstractWebModuleBuilder.java:476)
> at
> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(AbstractWebModuleBuilder.java:420)
> at
> org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:206)
> at
> org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:119)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
> at java.util.concurrent.FutureTask.run(FutureTask.java:149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
> at java.lang.Thread.run(Thread.java:736)
> 6.aries-datasource.xml and geronimo.log file are attached for detail.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira