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 Rui Oliveira <ra...@gmail.com> on 2012/07/13 20:04:09 UTC

Axis2 beaninfo cache problem with ArrayList

Hello.

i've developed and deployed a soap Web Service, using Axis 1.6.2.

However, every time i send requests from the client to this Web Service, i
get the following message in the web service  console.

 WARN  [BeanInfoCache] Unable to locate a BeanInfo cache for class
java.util.ArrayList (stopClass=class java.util.AbstractList). This will
negatively affect performance!


I suppose from the error message, Axis2 is complaining about the usage of
an ArrayList in my Service code. However i, don't have a viable way to
replace it (for instance with a standard array)  on my source code because,
i do not know how many items the Array will have.


I was wondering it there is a known workaround for this at all (if possible
doesn't force me to replace the ArrayList)