axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans G Knuden (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1763) AxisServlet does not start (Mail) transportReceivers
Date Thu, 23 Nov 2006 12:08:01 GMT
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


Mime
View raw message