Community
Participate
Working Groups
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 ?
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
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.
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.
Fix released to I-build. Server tools smoke tests passed, will update everyone after lunch.
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.
Verified on I-I20080229195548-20080229195548 driver.
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.
Closing.
New Gerrit change created: https://git.eclipse.org/r/108552