You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hans G Knuden (JIRA)" <ji...@apache.org> on 2006/11/23 13:08:01 UTC

[jira] Created: (AXIS2-1763) AxisServlet does not start (Mail) transportReceivers

AxisServlet does not start (Mail) transportReceivers
----------------------------------------------------

                 Key: AXIS2-1763
                 URL: http://issues.apache.org/jira/browse/AXIS2-1763
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: transports
    Affects Versions: 1.1
         Environment: Windows XP/Mac OSX, Apache-Tomcat-5.5.20
            Reporter: Hans G Knuden


Tried to enable Mail transport for Axis2 1.1 (in axis2.xml)  running in the tomcat servlet container.

The SimpleMailListener in not initialized correctly, and trying to view the wsdl file using the listservice results in an error :



description The server encountered an internal error () that prevented it from fulfilling this request.

exception     java.lang.NullPointerException
	org.apache.axis2.transport.mail.SimpleMailListener.getEPRsForService(SimpleMailListener.java:371)
	org.apache.axis2.description.AxisService.getEPRs(AxisService.java:625)
	org.apache.axis2.description.AxisService.printWSDL(AxisService.java:600)
	org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:184)
	org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:177)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Comparing AxisServlet with SimpleAxis2Server a call to 

listenerManager.start();

is missing from AxisServlet, but I donot know i this is the correct way to initalize the context for mailtransport...

Tried to inserting the call to listenerManager.start (after the manual initialization of http) seems to work.






-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1763) AxisServlet does not start (Mail) transportReceivers

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1763?page=all ]

Deepal Jayasinghe resolved AXIS2-1763.
--------------------------------------

    Resolution: Duplicate

duplicate with 1488

> AxisServlet does not start (Mail) transportReceivers
> ----------------------------------------------------
>
>                 Key: AXIS2-1763
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1763
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.1
>         Environment: Windows XP/Mac OSX, Apache-Tomcat-5.5.20
>            Reporter: Hans G Knuden
>
> Tried to enable Mail transport for Axis2 1.1 (in axis2.xml)  running in the tomcat servlet container.
> The SimpleMailListener in not initialized correctly, and trying to view the wsdl file using the listservice results in an error :
> description The server encountered an internal error () that prevented it from fulfilling this request.
> exception     java.lang.NullPointerException
> 	org.apache.axis2.transport.mail.SimpleMailListener.getEPRsForService(SimpleMailListener.java:371)
> 	org.apache.axis2.description.AxisService.getEPRs(AxisService.java:625)
> 	org.apache.axis2.description.AxisService.printWSDL(AxisService.java:600)
> 	org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:184)
> 	org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:177)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> Comparing AxisServlet with SimpleAxis2Server a call to 
> listenerManager.start();
> is missing from AxisServlet, but I donot know i this is the correct way to initalize the context for mailtransport...
> Tried to inserting the call to listenerManager.start (after the manual initialization of http) seems to work.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org