[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588890#action_12588890
 ] 

Shiva Kumar H R commented on GERONIMODEVTOOLS-256:
--------------------------------------------------

Classes to watch for:
\plugins\org.eclipse.jst.ws.axis.consumption.core_*.jar
1) 
org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployCommand.class
2) 
org.eclipse.jst.ws.internal.axis.consumption.core.command.GeronimoAxisDeployCommand.class
 !!

\plugins\org.eclipse.jst.ws.axis.creation.ui_*.jar
3) org.eclipse.jst.ws.internal.axis.creation.ui.wsrt.AxisWebService.class

In class 3) above, observe following method:
        public ICommandFactory run(IEnvironment env, IContext ctx, ISelection 
sel,
                        String project, String earProject)
        {
                        ...
                        if 
(getWebServiceInfo().getServerFactoryId().equals("org.eclipse.jst.server.geronimo.10"))
 {
                                commands.add(new 
GeronimoAxisDeployCommand(project));
                        }
                        else {
                            commands.add(new AxisDeployCommand());
                        }
                        ...
        }

> 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.0
>
>
> 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.

Reply via email to