Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 119165 - EAR field was filled in even when Geronimo project was not in an EAR
Summary: EAR field was filled in even when Geronimo project was not in an EAR
Status: CLOSED DUPLICATE of bug 162769
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Kathy Chan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 111341
Blocks:
  Show dependency tree
 
Reported: 2005-12-03 08:22 EST by Kathy Chan CLA
Modified: 2008-02-28 13:59 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kathy Chan CLA 2005-12-03 08:22:08 EST
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.
Comment 1 Kathy Chan CLA 2005-12-03 08:26:30 EST
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)
Comment 2 Alexandre Poitras CLA 2005-12-22 10:07:21 EST
I have the same exact issue. Very frustating when you don't know why it is happening.
Comment 3 Kathy Chan CLA 2006-01-11 17:07:07 EST
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.
Comment 4 Kathy Chan CLA 2006-02-07 15:01:45 EST
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".
Comment 5 Kathy Chan CLA 2008-02-19 16:10:15 EST

*** This bug has been marked as a duplicate of bug 162769 ***
Comment 6 Kathy Chan CLA 2008-02-28 13:59:11 EST
Closing.