Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 116941 - unexpected exception running web service Ant - service scenario
Summary: unexpected exception running web service Ant - service scenario
Status: CLOSED DUPLICATE of bug 102117
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.command (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Joan Haggarty CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-17 16:35 EST by Joan Haggarty CLA
Modified: 2005-12-12 08:30 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joan Haggarty CLA 2005-11-17 16:35:33 EST
Running through scenario with following properties causes exception in console.
Files are still generated but this message shouldn't be presented to the user. 
Need to investigate.


...
 [wsgen] IWAB0014E Unexpected exception occured.
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] Processing file
D:\workspaces\code_wspaces\runtime-workspaceb\antProject\WebContent\WEB-INF\deploy.wsdd
       [wsgen] axis-admin failed with 
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
java.net.ConnectException: Connection refused: connect
       [wsgen] 	at
org.apache.axis.tools.ant.axis.AdminClientTask.logOrThrow(AdminClientTask.java:379)
       [wsgen] 	at
org.apache.axis.tools.ant.axis.AdminClientTask.executeInCurrentVM(AdminClientTask.java:365)
       [wsgen] 	at
org.apache.axis.tools.ant.axis.AdminClientTask.execute(AdminClientTask.java:316)
       [wsgen] 	at
org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployCommand.executeAntTask(AxisDeployCommand.java:109)
       [wsgen] 	at
org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployCommand.execute(AxisDeployCommand.java:70)
       [wsgen] 	at
org.eclipse.wst.command.internal.env.ant.AntOperationManager.runCommand(AntOperationManager.java:360)
       [wsgen] 	at
org.eclipse.wst.command.internal.env.ant.AntOperationManager.visitTop(AntOperationManager.java:315)
       [wsgen] 	at
org.eclipse.wst.command.internal.env.ant.AntOperationManager.moveForwardToNextStop(AntOperationManager.java:223)
       [wsgen] 	at
org.eclipse.wst.command.internal.env.ant.AntController.<init>(AntController.java:62)
       [wsgen] 	at
ws.ant.task.WebServiceGenerationAntTask.execute(WebServiceGenerationAntTask.java:26)
       [wsgen] 	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
       [wsgen] 	at org.apache.tools.ant.Task.perform(Task.java:364)
       [wsgen] 	at org.apache.tools.ant.Target.execute(Target.java:341)
       [wsgen] 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
       [wsgen] 	at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
       [wsgen] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
       [wsgen] 	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
       [wsgen] 	at
org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
       [wsgen] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
       [wsgen] 	at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:704)
       [wsgen] 	at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:455)
       [wsgen] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [wsgen] 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       [wsgen] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       [wsgen] 	at java.lang.reflect.Method.invoke(Method.java:324)
       [wsgen] 	at org.eclipse.ant.core.AntRunner.run(AntRunner.java:356)
       [wsgen] 	at
org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:215)
       [wsgen] 	at java.lang.Thread.run(Thread.java:534)
       [wsgen] IWAB0489E Error when deploying Web service to Axis runtime
Comment 1 Joan Haggarty CLA 2005-11-18 09:36:04 EST
If I start the server before I run the task this exception goes away.
Comment 2 Joan Haggarty CLA 2005-11-18 09:55:26 EST
This appears to be a duplicate of 102117. The problem I am seeing occurs on
Tomcat 5.0.  Fails also on the first run if the server is started but restarting
and re-running the scenario fixes the problem and the exception goes away.

*** This bug has been marked as a duplicate of 102117 ***
Comment 3 Joan Haggarty CLA 2005-12-12 08:29:26 EST
This looks good now.
Comment 4 Joan Haggarty CLA 2005-12-12 08:30:12 EST
Closing