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 Deepal Jayasinghe <de...@opensource.lk> on 2007/03/20 05:59:30 UTC

Re: first steps - failing...

Hi Jan;

Which Axis2 version are u using ?

Thanks
Deepal

Jan Kriesten wrote:

>hi everyone!
>
>i'm quite new to axis2 and hope you can help me out regarding a few issues i'm
>stumbling over...
>
>first my environment:
>
>i'm trying to use axis2 on linux (opensuse 10.2) with java 1.6 and apache 2.0.59
>/resin 3.1.0
>
>since resin gives problems when using the built-in xml-libs, i've configured it
>to use xalan/xerces.
>
>first step: running axis standalone works.
>
>second step: have it deployed as a webapp. iehx! :-/
>
>for one error, resin seems to be picky if session-attributes don't implement
>'Serializable':
>
>---
>[17:08:17.920] Failed storing persistent session attribute `servicemap'.
>Persistent session values must extend java.io.Serializable.
>[17:08:17.920] java.io.NotSerializableException:
>org.apache.axis2.description.AxisService
>---
>
>another problem seems to be, that at some points there's a redirect/forward when
>the buffer is already written.
>
>---
>[17:08:25.136] Caused by: java.lang.IllegalStateException: sendError() forbidden
>after buffer has been committed.
>[17:08:25.136]  at
>com.caucho.server.connection.AbstractHttpResponse.sendError(AbstractHttpResponse.java:460)
>[17:08:25.136]  at
>com.caucho.server.connection.AbstractHttpResponse.sendError(AbstractHttpResponse.java:447)
>[17:08:25.136]  at com.caucho.jsp.Page.pageservice(Page.java:562)
>[17:08:25.136]  at
>com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:192)
>[17:08:25.136]  at
>com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
>[17:08:25.136]  at
>com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:159)
>[17:08:25.136]  at
>com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:226)
>[17:08:25.136]  at
>com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:490)
>[17:08:25.136]  at
>com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:354)
>[17:08:25.136]  at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:971)
>[17:08:25.136]  at
>_jsp._axis2_22dweb._listServices__jsp._jspService(_listServices__jsp.java:43)
>---
>
>has anyone successfully deployed axis2 within resin 3.1 yet?
>
>best regards, --- jan.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



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


Re: first steps - failing...

Posted by Jan Kriesten <ja...@hamburg.de>.
hi deepal,

> Which Axis2 version are u using ?

i'm using version 1.1.1

best regards, --- jan.


>> hi everyone!
>>
>> i'm quite new to axis2 and hope you can help me out regarding a few issues i'm
>> stumbling over...
>>
>> first my environment:
>>
>> i'm trying to use axis2 on linux (opensuse 10.2) with java 1.6 and apache 2.0.59
>> /resin 3.1.0
>>
>> since resin gives problems when using the built-in xml-libs, i've configured it
>> to use xalan/xerces.
>>
>> first step: running axis standalone works.
>>
>> second step: have it deployed as a webapp. iehx! :-/
>>
>> for one error, resin seems to be picky if session-attributes don't implement
>> 'Serializable':
>>
>> ---
>> [17:08:17.920] Failed storing persistent session attribute `servicemap'.
>> Persistent session values must extend java.io.Serializable.
>> [17:08:17.920] java.io.NotSerializableException:
>> org.apache.axis2.description.AxisService
>> ---
>>
>> another problem seems to be, that at some points there's a redirect/forward when
>> the buffer is already written.
>>
>> ---
>> [17:08:25.136] Caused by: java.lang.IllegalStateException: sendError() forbidden
>> after buffer has been committed.
>> [17:08:25.136]  at
>> com.caucho.server.connection.AbstractHttpResponse.sendError(AbstractHttpResponse.java:460)
>> [17:08:25.136]  at
>> com.caucho.server.connection.AbstractHttpResponse.sendError(AbstractHttpResponse.java:447)
>> [17:08:25.136]  at com.caucho.jsp.Page.pageservice(Page.java:562)
>> [17:08:25.136]  at
>> com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:192)
>> [17:08:25.136]  at
>> com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
>> [17:08:25.136]  at
>> com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:159)
>> [17:08:25.136]  at
>> com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:226)
>> [17:08:25.136]  at
>> com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:490)
>> [17:08:25.136]  at
>> com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:354)
>> [17:08:25.136]  at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:971)
>> [17:08:25.136]  at
>> _jsp._axis2_22dweb._listServices__jsp._jspService(_listServices__jsp.java:43)
>> ---
>>
>> has anyone successfully deployed axis2 within resin 3.1 yet?
>>
>> best regards, --- jan.



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