This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 220879 - Serious problem with Web Service Wizard
Summary: Serious problem with Web Service Wizard
Status: CLOSED FIXED
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: wst.server (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: 3.0 M6   Edit
Assignee: Tim deBoer CLA
QA Contact: Tim deBoer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 23:59 EST by Trung CLA
Modified: 2017-10-11 16:21 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trung CLA 2008-02-28 23:59:12 EST
Build ID: WTP3  -  I-I20080228162856

Steps To Reproduce:
1. Follow the tutorial to create a Bottom up Web Service with Axis 1 at http://wiki.eclipse.org/Creating_a_Bottom-Up_Java_Web_Service
2. At step 10 of the tutorial. We see a publishing error:
Publishing failed with multiple errors
  Error copying file META-INF\MANIFEST.MF: The system cannot find the path specified
  Error copying file WEB-INF\classes\wtp\Converter.class: The system cannot find the path specified
  Error copying file WEB-INF\ConverterService\wtp\deploy.wsdd: The system cannot find the path specified
  Error copying file WEB-INF\ConverterService\wtp\deploy.wsdd.bak: The system cannot find the path specified
  Error copying file WEB-INF\ConverterService\wtp\undeploy.wsdd: The system cannot find the path specified
  Error copying file WEB-INF\lib\axis.jar: The system cannot find the path specified
  Error copying file WEB-INF\lib\commons-discovery-0.2.jar: The system cannot find the path specified
  Error copying file WEB-INF\lib\commons-logging.jar: The system cannot find the path specified
  Error copying file WEB-INF\lib\jaxrpc.jar: The system cannot find the path specified
  Error copying file WEB-INF\lib\saaj.jar: The system cannot find the path specified
  Error copying file WEB-INF\lib\wsdl4j.jar: The system cannot find the path specified
  Error copying file WEB-INF\web.xml: The system cannot find the path specified
  Error copying file wsdl\Converter.wsdl: The system cannot find the path specified



More information:
-If we click Ok when the error occurs, and then instead of clicking on 'Finish', we click 'next' and keep on using 'Next'
we can get a little further and then the error appears again.
-Keep ignoring the error and clicking 'next'
-The web service and its test client is successfully created and started. 
HOWEVER, notice that another instance of Apache Tomkat server is added. This is definitely wrong.


This should be a critical bug, but I keep it at Major as most teams (I assume server tooling too) are in chaos now. Feel free to 'upgrade' severity

By cc to kathy: I believe there is still a decent chance that this is Web Service problem rather than Server tooling as we can get around it as said in the 'More information'. Maybe something wrong going on with our UI and Command flow ?
Comment 1 Trung CLA 2008-02-29 00:14:38 EST
The same problem happens with Axis 2. Just follow the tutorial 
http://wiki.eclipse.org/Creating_a_Bottom-Up_Java_Web_Service
but instead of using Axis, use Axis 2 (so generate both JPS test Client and service, and of course I did update the preference to point to Axis 2 runtime) 

This time. It's worse as we have an extra error. 

Now that Axis 2 also has problem. I'm think that these problems have nothing to do with my fix for Bug 119964 which is released recently
Comment 2 Kathy Chan CLA 2008-02-29 09:57:02 EST
I tried this with the latest WTP 3.0 driver (wtp-sdk-I-I20080229065303-20080229065303.zip) and got the same problem.  I further narrowed it down to this problem happening only the first time Web service wizard call publish.  The second time, it works.  It has nothing to do with Next or Finish.

Comment 3 Tim deBoer CLA 2008-02-29 12:01:35 EST
Tested, found that Tomcat is failing because it is now using the new
PublishHelper support that allows you to specify a temp dir to use for
publishing. Unfortunately, it is using a folder that doesn't exist :( and it
fails during publish. The easiest solution is to change the API in
wst.server.core to specify that it will create the temp folder if it doesn't
exist.
Comment 4 Tim deBoer CLA 2008-02-29 12:02:21 EST
Fix released to I-build. Server tools smoke tests passed, will update everyone after lunch.
Comment 5 Kathy Chan CLA 2008-02-29 14:19:20 EST
I just check the server tooling map file.  It seems like the fix for 220879 is only picked up in I20080229182755. 

Trung, please re-run smoke test when that build is available.
Comment 6 Kathy Chan CLA 2008-02-29 19:47:13 EST
Verified on I-I20080229195548-20080229195548 driver.
Comment 7 Larry Isaacs CLA 2008-02-29 20:08:08 EST
Thanks Tim.  Besides my mistake of not testing with a new workspace, which would have revealed this problem, the Tomcat JUnit tests should be able to catch something like this.  Before fetching your fix, I'll make sure the tests will fail if a problem like this is introduced in the future. I'll include it in the next I-build.
Comment 8 Tim deBoer CLA 2008-06-13 10:43:27 EDT
Closing.
Comment 9 Eclipse Genie CLA 2017-10-11 16:21:44 EDT
New Gerrit change created: https://git.eclipse.org/r/108552