problem with submission while using openSTA(performancetool)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with submission while using openSTA(performancetool)

Laxmi Narayana-3
Hi all,

   while running our project on openSTA (performancetest) xforms-server-submit.xpl throws StringIndexOutofBoundException: index2. in Browserconsole.
On tomcatconsole it shows error likes this:
10:21:51,431 ERROR : Servlet.service() for servlet MainServlet threw exception
java.lang.IndexOutOfBoundsException
        at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:88).


while using normally it works fine(with out openSTA).

this is urgent requirement for our project plz help me.
Thanks in advance,
LaxmiNarayana.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: problem with submission while using openSTA(performancetool)

Alessandro Vernet
Administrator
On Fri, May 16, 2008 at 3:44 AM, Laxmi Narayana <[hidden email]> wrote:

>    while running our project on openSTA (performancetest)
> xforms-server-submit.xpl throws StringIndexOutofBoundException: index2. in
> Browserconsole.
> On tomcatconsole it shows error likes this:
> 10:21:51,431 ERROR : Servlet.service() for servlet MainServlet threw
> exception
> java.lang.IndexOutOfBoundsException
>         at
> java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:88).
>
> while using normally it works fine(with out openSTA).
I don't remember seeing anything like this. Do you have the full stack
trace? What is the request for (HTML, image, ...)?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: problem with submission while using openSTA(performancetool)

Erik Bruchez
Administrator

On May 16, 2008, at 6:26 PM, Alessandro Vernet wrote:

> On Fri, May 16, 2008 at 3:44 AM, Laxmi Narayana  
> <[hidden email]> wrote:
>>   while running our project on openSTA (performancetest)
>> xforms-server-submit.xpl throws StringIndexOutofBoundException:  
>> index2. in
>> Browserconsole.
>> On tomcatconsole it shows error likes this:
>> 10:21:51,431 ERROR : Servlet.service() for servlet MainServlet threw
>> exception
>> java.lang.IndexOutOfBoundsException
>>        at
>> java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:88).
>>
>> while using normally it works fine(with out openSTA).
>
> I don't remember seeing anything like this. Do you have the full stack
> trace? What is the request for (HTML, image, ...)?
I think I have seen this when a GET is done on the /xforms-server-
submit URL. That URL only supports POST. I am not sure why your tool  
does a GET on it.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: problem with submission while using openSTA(performancetool)

Laxmi Narayana-3
Hi all,
while running our project on openSTA (performancetest) xforms-server-submit.xpl throws StringIndexOutofBoundException: index2. in Browserconsole.
If we run it normally(without using openSTA) it works fine.
 
On tomcatconsole it shows error likes this:
 
08:59:24,160 ERROR : Servlet.service() for servlet MainServlet threw exception
java.lang.IndexOutOfBoundsException
        at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:88)
        at com.liferay.util.servlet.fileupload.LiferayInputStream.read(LiferayIn
putStream.java:73)
        at org.apache.commons.fileupload.MultipartStream.readByte(MultipartStrea
m.java:324)
        at org.apache.commons.fileupload.MultipartStream.readHeaders(MultipartSt
ream.java:432)
        at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadB
ase.java:328)
        at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(
ServletFileUpload.java:116)
.
.
.
 
08:59:45,807 INFO InitUtils: /xforms-server-submit - Received request
08:59:47,229 ERROR InitUtils: Exception at oxf:/ops/xforms/xforms-server-submit.
xpl, line 61, column 43, description executing processor
java.lang.StringIndexOutOfBoundsException: String index out of range: 2
        at java.lang.String.substring(String.java:1935)
        at org.orbeon.oxf.xforms.XFormsUtils.decodeString(XFormsUtils.java:911)
        at org.orbeon.oxf.xforms.XFormsUtils.decodeXML(XFormsUtils.java:894)
        at org.orbeon.oxf.xforms.XFormsUtils.decodeXML(XFormsUtils.java:887)
        at org.orbeon.oxf.xforms.XFormsStaticState.<init>(XFormsStaticState.java
:71)
.
.
Plz help me this is high priority for our project.
Thanks in advance,
Laxminarayana Yadavalli.


On 5/17/08, Erik Bruchez <[hidden email]> wrote:

On May 16, 2008, at 6:26 PM, Alessandro Vernet wrote:

On Fri, May 16, 2008 at 3:44 AM, Laxmi Narayana <[hidden email]> wrote:
 while running our project on openSTA (performancetest)
xforms-server-submit.xpl throws StringIndexOutofBoundException: index2. in
Browserconsole.
On tomcatconsole it shows error likes this:
10:21:51,431 ERROR : Servlet.service() for servlet MainServlet threw
exception
java.lang.IndexOutOfBoundsException
      at
java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:88).

while using normally it works fine(with out openSTA).

I don't remember seeing anything like this. Do you have the full stack
trace? What is the request for (HTML, image, ...)?

I think I have seen this when a GET is done on the /xforms-server-submit URL. That URL only supports POST. I am not sure why your tool does a GET on it.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.orbeon.com/" target="_blank">http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.ow2.org/wws" target="_blank">http://www.ow2.org/wws





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws