java.lang.RuntimeException when using bin/deploy command to deploy an eba
-------------------------------------------------------------------------
Key: GERONIMO-5845
URL: https://issues.apache.org/jira/browse/GERONIMO-5845
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: deployment
Affects Versions: 3.0
Environment: ubuntu 10.04.1
oracle jdk 1.6.0_23
geronimo built on 20110301
Reporter: Forrest Xia
Attachments: RequireBundle-eba-3.0-SNAPSHOT.eba
1. start geronimo server
2. issue command:
bin/deploy deploy RequireBundle-eba-3.0-SNAPSHOT.eba
Then check console output, an exception like this:
2011-03-02 21:50:05,628 ERROR [WebApplication] Unable to start web application
for bundle org.apache.geronimo.samples.requirebundle.CalculatorServletBundle_A
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:207)
at
org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:120)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira