| Summary: | Axis deploy problem with Geronimo server | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Webservices | Reporter: | Kathy Chan <kathy> | ||||||||||||||||||
| Component: | jst.ws | Assignee: | Seng Phung Lu <sengpl> | ||||||||||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||||||||||
| Severity: | major | ||||||||||||||||||||
| Priority: | P4 | CC: | cbrealey, kathy, sengpl | ||||||||||||||||||
| Version: | 0.7 | ||||||||||||||||||||
| Target Milestone: | 1.0 M10 | ||||||||||||||||||||
| Hardware: | PC | ||||||||||||||||||||
| OS: | Windows 2000 | ||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||
An Axis deploy error occurs because the Axis servlet at the URL is not active. Here are some findings: 1. Although standalone Geronimo supports EAR deployment, it is not (yet) supported in WTP. We should be disabling the EAR support, and adding the Web module to the server rather than the EAR. 2. Geronimo uses the WebApp's ID as the context root. Typically, the web.xml or geronimo-jetty.xml file has the configuration settings. We should check/set the configuration ID and use that in the URL. 3. The server is unnecessarily re-started even though Geronimo supports active deployment to its server. Though not a duplicate of it, this defect depends upon getting a fix to blocking defect 103198 [1] [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=103198 Seng, targetting to M6 since you indicated you have a possible fix coming. Lowering to P4 and deferring for these reasons: 1. Some problems remain to be fixed under bug 103198. 2. The Axis 1.1 servlet on Geronimo fails to write its server-config.wsdd file. We don't yet know if this is an Axis bug or a Geronimo bug. 3. The requirement to support Axis on Geronimo is not crucial for WTP 0.7. Created attachment 24987 [details]
axis consumption core patch
Added the GeronimoAxisDeployCommand
Created attachment 24988 [details]
axis creation ui patch
Created attachment 24989 [details]
ws consumption patch
Created attachment 24990 [details]
ws consumption ui patch
Adding Chris for reviewing the code. Thanks! *** Bug 105151 has been marked as a duplicate of this bug. *** Created attachment 26662 [details]
axis.consumption.core patch
Refitting for the 0825 driver.
Created attachment 26663 [details]
axis.creation.ui patch
Refitting for the 0825 driver.
Created attachment 26664 [details]
ws.consumption patch
Refitting for the 0825 driver.
Created attachment 26665 [details]
ws.consumption.ui patch
Refitting for the 0825 driver.
Hi Kathy, Chris, I have refitted the original fix to compile with the 0825 driver. Unfortunately, the scenaio is still broken due to deployment problems on Axis 1.2 (my guess). There is a bug opened for this problem. (https://bugs.eclipse.org/bugs/show_bug.cgi?id=108156) It is still safe to commit this code as it has been previously tested with Axis 1.1, and pretty much just enables the wsdd file to be persisted, once deployment succeeds. Let me know if you have any questions. Patch committed and released as v20050912_1025. Defect 109292 had been opened to remove this workaround. Fix tested with the old Geronimo plugins in WTP, will have to test again with the Apache Geronimo plugin when they are available. |
Driver: 0610I with plugin.xml changed to support Geronimo Using flexible project targetted to Geronimo, if I create the server and add the module to server first, I could get through the bottom-up creation scenario until Axis deploy. Here's the error: axis-admin failed with {http://xml.apache.org/axis/}HTTP (404)%2Fg2m1% 2Fservices%2FAdminService+Not+Found at org.apache.axis.tools.ant.axis.AdminClientTask.logOrThrow (AdminClientTask.java:379) at org.apache.axis.tools.ant.axis.AdminClientTask.executeInCurrentVM (AdminClientTask.java:365) at org.apache.axis.tools.ant.axis.AdminClientTask.execute (AdminClientTask.java:316) at org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployCommand.exec uteAntTask(AxisDeployCommand.java:111) at org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployCommand.exec ute(AxisDeployCommand.java:72) I have not be able to get as far in the wizard in 0617I build because of other problems