You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Cyril Furtado <cy...@skire.com> on 2009/03/31 22:57:47 UTC

Cannot see service give 500 Error

Hi
I  deployed axis1.4.1  on Tomcat 5.0 , using all the jars provided in the axis2 lib , added jms,jar , used the /conf/axis2.xml
Using the samples/pojo put StockQuoteService.aar as given in samples under /services directory
I have configured web.xml to start the Axis2 servlet
I have checked almost everything, but I cannot see the service

Here is the log --------------------------------------------------

2009-03-31 13:37:15,761   DEBUG engine.AxisEngine               - [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] sendFault:null

2009-03-31 13:37:15,761   DEBUG engine.Phase                    - [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Checking pre-condition for Phase "MessageOut"

2009-03-31 13:37:15,761   DEBUG engine.Phase                    - [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Invoking phase "MessageOut"

2009-03-31 13:37:15,761   DEBUG engine.Phase                    - [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Checking post-conditions for phase "MessageOut"

2009-03-31 13:37:15,761   DEBUG engine.Phase                    - [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Checking pre-condition for Phase "Security"

2009-03-31 13:37:15,761   DEBUG engine.Phase                    - [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Invoking phase "Security"

2009-03-31 13:37:15,761   DEBUG engine.Phase                    - [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Checking post-conditions for phase "Security"

2009-03-31 13:37:15,761   DEBUG addressing.EndpointReference    - hasAnonymousAddress: http://www.w3.org/2005/08/addressing/anonymous is Anonymous: true

2009-03-31 13:37:15,761   DEBUG http.ApplicationXMLFormatter    - contentType set from messageContext =null

2009-03-31 13:37:15,761   DEBUG om.OMOutputFormat               - Start getContentType: OMOutputFormat [ mimeBoundary =null rootContentId=null doOptimize=false doingSWA=false isSOAP11=false charSetEncoding=UTF-8 xmlVersion=null contentType=null ignoreXmlDeclaration=false autoCloseWriter=true actionProperty=null optimizedThreshold=0]

2009-03-31 13:37:15,761   DEBUG om.OMOutputFormat               - getContentType= {application/soap+xml}   OMOutputFormat [ mimeBoundary =null rootContentId=null doOptimize=false doingSWA=false isSOAP11=false charSetEncoding=UTF-8 xmlVersion=null contentType=application/soap+xml ignoreXmlDeclaration=false autoCloseWriter=true actionProperty=null optimizedThreshold=0]

2009-03-31 13:37:15,761   DEBUG http.ApplicationXMLFormatter    - (NOTE) contentType from format is=application/soap+xml

2009-03-31 13:37:15,761   DEBUG http.ApplicationXMLFormatter    - contentType returned =application/xml; charset=UTF-8

2009-03-31 13:37:15,761   DEBUG http.ApplicationXMLFormatter    - start writeTo()

2009-03-31 13:37:15,761   DEBUG util.StAXUtils                  - XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter

2009-03-31 13:37:15,761   DEBUG http.ApplicationXMLFormatter    - end writeTo()

2009-03-31 13:37:15,761   DEBUG transport.TransportUtils        - Did not find RequestResponseTransport cannot set response written

2009-03-31 13:37:15,761   DEBUG engine.Phase                    - [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Invoking flowComplete() in Phase "Security"

2009-03-31 13:37:15,761   DEBUG engine.Phase                    - [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Invoking flowComplete() in Phase "MessageOut"

Please let me know whats wrong
Thanks
Cyril


Re: Cannot see service give 500 Error

Posted by keith chapman <ke...@gmail.com>.
You could grab the war distribution for Axis2 and simple drop it into
Tomcat. You dont need to configure anything, It will work out of the box.

Thanks,
Keith.

On Wed, Apr 1, 2009 at 2:27 AM, Cyril Furtado <cy...@skire.com> wrote:

>  Hi
>
> I  deployed axis1.4.1  on Tomcat 5.0 , using all the jars provided in the
> axis2 lib , added jms,jar , used the /conf/axis2.xml
>
> Using the samples/pojo put StockQuoteService.aar as given in samples under
> /services directory
>
> I have configured web.xml to start the Axis2 servlet
>
> I have checked almost everything, but I cannot see the service
>
>
>
> Here is the log --------------------------------------------------
>
>
>
> 2009-03-31 13:37:15,761   DEBUG engine.AxisEngine               -
> [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777]
> sendFault:null
>
>
>
> 2009-03-31 13:37:15,761   DEBUG engine.Phase                    -
> [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Checking
> pre-condition for Phase "MessageOut"
>
>
>
> 2009-03-31 13:37:15,761   DEBUG engine.Phase                    -
> [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Invoking
> phase "MessageOut"
>
>
>
> 2009-03-31 13:37:15,761   DEBUG engine.Phase                    -
> [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Checking
> post-conditions for phase "MessageOut"
>
>
>
> 2009-03-31 13:37:15,761   DEBUG engine.Phase                    -
> [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Checking
> pre-condition for Phase "Security"
>
>
>
> 2009-03-31 13:37:15,761   DEBUG engine.Phase                    -
> [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Invoking
> phase "Security"
>
>
>
> 2009-03-31 13:37:15,761   DEBUG engine.Phase                    -
> [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Checking
> post-conditions for phase "Security"
>
>
>
> 2009-03-31 13:37:15,761   DEBUG addressing.EndpointReference    -
> hasAnonymousAddress: http://www.w3.org/2005/08/addressing/anonymous is
> Anonymous: true
>
>
>
> 2009-03-31 13:37:15,761   DEBUG http.ApplicationXMLFormatter    -
> contentType set from messageContext =null
>
>
>
> 2009-03-31 13:37:15,761   DEBUG om.OMOutputFormat               - Start
> getContentType: OMOutputFormat [ mimeBoundary =null rootContentId=null
> doOptimize=false doingSWA=false isSOAP11=false charSetEncoding=UTF-8
> xmlVersion=null contentType=null ignoreXmlDeclaration=false
> autoCloseWriter=true actionProperty=null optimizedThreshold=0]
>
>
>
> 2009-03-31 13:37:15,761   DEBUG om.OMOutputFormat               -
> getContentType= {application/soap+xml}   OMOutputFormat [ mimeBoundary =null
> rootContentId=null doOptimize=false doingSWA=false isSOAP11=false
> charSetEncoding=UTF-8 xmlVersion=null contentType=application/soap+xml
> ignoreXmlDeclaration=false autoCloseWriter=true actionProperty=null
> optimizedThreshold=0]
>
>
>
> 2009-03-31 13:37:15,761   DEBUG http.ApplicationXMLFormatter    - (NOTE)
> contentType from format is=application/soap+xml
>
>
>
> 2009-03-31 13:37:15,761   DEBUG http.ApplicationXMLFormatter    -
> contentType returned =application/xml; charset=UTF-8
>
>
>
> 2009-03-31 13:37:15,761   DEBUG http.ApplicationXMLFormatter    - start
> writeTo()
>
>
>
> 2009-03-31 13:37:15,761   DEBUG util.StAXUtils                  -
> XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter
>
>
>
> 2009-03-31 13:37:15,761   DEBUG http.ApplicationXMLFormatter    - end
> writeTo()
>
>
>
> 2009-03-31 13:37:15,761   DEBUG transport.TransportUtils        - Did not
> find RequestResponseTransport cannot set response written
>
>
>
> 2009-03-31 13:37:15,761   DEBUG engine.Phase                    -
> [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Invoking
> flowComplete() in Phase "Security"
>
>
>
> 2009-03-31 13:37:15,761   DEBUG engine.Phase                    -
> [MessageContext: logID=urn:uuid:64582CF668548213C21238531835777] Invoking
> flowComplete() in Phase "MessageOut"
>
>
>
> Please let me know whats wrong
>
> Thanks
>
> Cyril
>
>
>



-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org