Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 100677

Summary: Axis deploy problem with Geronimo server
Product: [WebTools] WTP Webservices Reporter: Kathy Chan <kathy>
Component: jst.wsAssignee: 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:
Description Flags
axis consumption core patch
none
axis creation ui patch
none
ws consumption patch
none
ws consumption ui patch
none
axis.consumption.core patch
none
axis.creation.ui patch
none
ws.consumption patch
none
ws.consumption.ui patch none

Description Kathy Chan CLA 2005-06-17 17:28:30 EDT
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
Comment 1 Seng Phung Lu CLA 2005-07-08 10:59:43 EDT
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.
Comment 2 Chris Brealey CLA 2005-07-11 13:55:58 EDT
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
Comment 3 Chris Brealey CLA 2005-07-12 16:19:14 EDT
Seng, targetting to M6 since you indicated you have a possible fix coming.
Comment 4 Chris Brealey CLA 2005-07-14 09:52:36 EDT
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.
Comment 5 Seng Phung Lu CLA 2005-07-19 12:56:38 EDT
Created attachment 24987 [details]
axis consumption core patch

Added the GeronimoAxisDeployCommand
Comment 6 Seng Phung Lu CLA 2005-07-19 12:57:10 EDT
Created attachment 24988 [details]
axis creation ui patch
Comment 7 Seng Phung Lu CLA 2005-07-19 12:57:31 EDT
Created attachment 24989 [details]
ws consumption patch
Comment 8 Seng Phung Lu CLA 2005-07-19 12:58:03 EDT
Created attachment 24990 [details]
ws consumption ui patch
Comment 9 Seng Phung Lu CLA 2005-07-19 12:59:39 EDT
Adding Chris for reviewing the code.  Thanks!
Comment 10 Seng Phung Lu CLA 2005-07-27 09:51:39 EDT
*** Bug 105151 has been marked as a duplicate of this bug. ***
Comment 11 Seng Phung Lu CLA 2005-08-30 18:20:42 EDT
Created attachment 26662 [details]
axis.consumption.core patch

Refitting for the 0825 driver.
Comment 12 Seng Phung Lu CLA 2005-08-30 18:21:12 EDT
Created attachment 26663 [details]
axis.creation.ui patch

Refitting for the 0825 driver.
Comment 13 Seng Phung Lu CLA 2005-08-30 18:21:39 EDT
Created attachment 26664 [details]
ws.consumption patch

Refitting for the 0825 driver.
Comment 14 Seng Phung Lu CLA 2005-08-30 18:22:04 EDT
Created attachment 26665 [details]
ws.consumption.ui patch

Refitting for the 0825 driver.
Comment 15 Seng Phung Lu CLA 2005-08-30 18:28:56 EDT
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.
Comment 16 Kathy Chan CLA 2005-09-12 10:28:49 EDT
Patch committed and released as v20050912_1025.  
Comment 17 Kathy Chan CLA 2005-09-12 10:34:52 EDT
Defect 109292 had been opened to remove this workaround.
Comment 18 Kathy Chan CLA 2005-10-31 11:27:10 EST
Fix tested with the old Geronimo plugins in WTP, will have to test again with 
the Apache Geronimo plugin when they are available.