You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shiva Kumar H R (JIRA)" <ji...@apache.org> on 2008/04/17 09:09:21 UTC

[jira] Updated: (GERONIMODEVTOOLS-256) Publish operation after an Eclipse restart deletes a deployed Web Service's "server-config.wsdd" file

     [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shiva Kumar H R updated GERONIMODEVTOOLS-256:
---------------------------------------------

    Fix Version/s:     (was: 2.1.0)
                   2.1.x

As said before, this will only be available in WTP 3.0. As a workaround until then, with GEP 2.1.0 & WTP 2.0.1, we will have to request users to manually do these:

Use "Web Services Wizard" to create & deploy web-services. Then,
1) Go to the below deployed path on Geronimo server: <GERONIMO_HOME>\repository\<path-to-deployed-EAR>\<war name>\WEB-INF
ex.: E:\AG-Servers\geronimo-tomcat6-javaee5-2.1\repository\default\HelloWorldEAR\1.0\HelloWorldEAR-1.0.car\HelloWorld.war\WEB-INF

2) Copy "server-config.wsdd" from here into the following path on your eclipse workspace:
<eclipse-workspace-path>\<web-project-containing-webservice>\WebContent\WEB-INF
ex: E:\IDEworkspaces\testWebService\HelloWorld\WebContent\WEB-INF
(or you can easily drag-n-drop "server-config.wsdd" into the above workspace path).

That's it and all further deploy/redeploy will work correctly even across eclipse restarts.

> Publish operation after an Eclipse restart deletes a deployed Web Service's "server-config.wsdd" file
> -----------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-256
>                 URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-256
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.0.0
>         Environment: AG 2.0.2 + Geronimo Eclipse Plug-in v2.0 + WTP 2.0.1
>            Reporter: Shiva Kumar H R
>            Assignee: Shiva Kumar H R
>             Fix For: 2.1.x
>
>
> Steps to recreate:
> 1) Create a Web Service as per the instructions at 
> http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/BottomUpWebService/BottomUpWebService.html
> 2) Test the web service using (the auto launched) Web Service Explorer. Everything works fine.
> 3) Shut down server and restart the server. Again launch the web service. It runs fine without any error.
> 4) Shut down server, close eclipse, restart eclipse, start server. This time try to access the web service and you will not be able to access it.
> An initial analysis shows that in Step-4 (after a Eclipse & Server restart) the "Publish" operation of Eclipse is deleting "server-config.wsdd" from <GERONIMO_HOME>\repository\<path-to-deployed-EAR>\<war name>\WEB-INF directory.
> You will get the following error in the console:
> 17:01:56,218 ERROR [EngineConfigurationFactoryServlet] Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
> Is this related to the issue reported in http://mail-archive.ow2.org/jonas-team/2006-08/msg00046.html ? Needs to be explored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.