Community
Participate
Working Groups
Driver: RC1 12/02 00:59 After creating a Web project targeting Geronimo without selecting the check box to "add the project to an EAR", I tried to run through a bottom-up scenario. I noticed that on the 3rd page, the EAR fields are enabled. However, this did not seem to hinder the running of the scenario.
I spoke too soon. I was able to go through the Web service creation wizard a few times even with the EAR field filled in. However, I just tried again and got the following error on start server: Publishing failed Distribution of configuration failed. See .log for details. java.lang.Exception: Distributing project g3EAR failed. at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doFail(GeronimoServerBehaviour.java:277) at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doDeploy(GeronimoServerBehaviour.java:234) at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBehaviour.java:205) at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBehaviour.java:192) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:658) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:740) at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:596) at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:740) at org.eclipse.wst.server.core.internal.Server.publish(Server.java:729) at org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand$1.run(StartServerCommand.java:185) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
I have the same exact issue. Very frustating when you don't know why it is happening.
With WTP 1.0, Geronimo 1.0 server and the 01/09 Geronimo plugin, having Geronimo targetted server in an EAR no longer cause the problem in comment #1. The new problem is documented in when deploying more than 1 Web project in EAR to Geronimo: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-39 Since Geronimo targetted Web project can be in an EAR or not, as long as Geronimo can handle Web project with EAR properly, the fact that the Web services wizard always adds the project to an EAR is not that big of an issue. Currently, we enable the EAR field if server tooling API returns to tell us that EAR is supported on the server. There's no API to let us check to see if the Web project can be install directly on the server. Bug 111341 had been opened for this enhancement request. Please see bug 103999 for status on other issues found in deploying Web service to Geronimo.
With WTP M101 200602070438 + Geronimo 0206 plugins, if I do not put Geronimo targetted Web project into an EAR, I ran into "Error deploying to Axis".
*** This bug has been marked as a duplicate of bug 162769 ***
Closing.