axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Created: (AXIS-1378) No information is returned to user when deployment failed
Date Tue, 01 Jun 2004 13:25:00 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1378

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1378
    Summary: No information is returned to user when deployment failed
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             Deployment / Registries
   Versions:
             1.1

   Assignee: 
   Reporter: easyproglife

    Created: Tue, 1 Jun 2004 6:24 AM
    Updated: Tue, 1 Jun 2004 6:24 AM
Environment: PC / Win2000 / JDK1.4.2

Description:
I am trying to deploy "deploy.wsdd" file using Admin servlet.

When a class that defined in deploy.wsdd (in my case it's in type mapping element) could not
be found by the Axis engine, nothing is reported to the user. The user have no idea why the
service has not been deployed. He even doesn't know if the service is deployed or not. I have
to go to "http://<myhost>/<myApp>/services" to see if it has been deployed.

The solution is very simple!!!

After a few hours of debugging I have found that in class org.apache.axis.deployment.wsdd.WSDDDeployment
line 245 (it's in the constructor) there is an empty "catch (WSDDNonFatalException ex)" block.


I think that at least a warning message with the cause to the exception should be written
to the log. In my case the problem was: "ClassCastException" along with the missing class.
Having this piece of information caused me to solve the problem immediatlly.

A better solution should return the failure details to the user via the web service response.
But a log line is the easiest minimum you can do to solve this bug.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message