Re: java.lang.IndexOutOfBoundsException trying to consume SCA component in a web app

2006-11-02 Thread Luciano Resende
Thanks, I was able to get things working by updating the scdl of the das service like this : http://www.osoa.org/xmlns/sca/1.0"; name="DASServiceComposite"> DASServiceComponent Basically adding the part. Thank you Luciano Resende On 11/2/06, Ji

Re: java.lang.IndexOutOfBoundsException trying to consume SCA component in a web app

2006-11-02 Thread Jim Marino
This is because there is no default service for the composite (we should probably check for this and throw a better error). What seems to be happening is that CompositeComponentExtension.locateService() is resolving to a child composite context which has no default service. It looks as if

java.lang.IndexOutOfBoundsException trying to consume SCA component in a web app

2006-11-02 Thread Luciano Resende
I have created a simple DASService component, and trying to use it in a client web application (based on webapp sample app)... Although, I'm getting the following exception : java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 java.util.ArrayList.RangeCheck(ArrayList.java:546)