Hello

Are you sure that your beans are stateless ?
Maybe you have a bean with a static or shared property that could have side
effects ?
Definitely, there is something that is not thread-safe in your application.
I suggest to check that.

regards
--
Prisca


On Fri, Aug 5, 2011 at 5:26 PM, Nicola Zantedeschi <
[email protected]> wrote:

> Hi,
>
> I'm using apache CXF 2.3.3 on JBoss 4.2.3 GA.
> I developed a Web Service that is called from many application
> simultaneally
> in massive mode.
> Sometimes I have a problem with concurrency because the ws reply with the
> information required by an other request.
>
> The ws is exposed by Spring:
> <jaxws:endpoint
>      id="provaws"
>      implementor="package.impl.ProvaWsImpl"
>      address="/provaws">
>
> This is my web.xml
>
> <context-param>
>        <param-name>contextConfigLocation</param-name>
>        <param-value>WEB-INF/beans.xml</param-value>
>    </context-param>
>
>    <listener>
>        <listener-class>
>            org.springframework.web.context.ContextLoaderListener
>        </listener-class>
>    </listener>
>    <listener>
>
>
> <listener-class>it.cits.passws.listener.StartApplicationListener</listener-class>
>    </listener>
>
>    <servlet>
>        <servlet-name>CXFServlet</servlet-name>
>        <display-name>CXF Servlet</display-name>
>        <servlet-class>
>            org.apache.cxf.transport.servlet.CXFServlet
>        </servlet-class>
>        <load-on-startup>1</load-on-startup>
>    </servlet>
>
>    <servlet-mapping>
>        <servlet-name>CXFServlet</servlet-name>
>        <url-pattern>/webservice/*</url-pattern>
>    </servlet-mapping>
>    <session-config>
>        <session-timeout>
>            30
>        </session-timeout>
>    </session-config>
>    <welcome-file-list>
>        <welcome-file>home.do</welcome-file>
>    </welcome-file-list>
>
> Is there a particular configuration that I must check to solve the problem?
>
> Thanks for reply.
>

Reply via email to