problem with submission while using openSTA(performancetool)

classic Classic list List threaded Threaded
2 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.
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.
 


--
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)

Erik Bruchez
Administrator
Laxmi,

I already responded to one of the multiple messages on this topic  
yousent. Most likely it is due to a GET done on /xforms-server-submit.  
I don't know why your testing tool performs that GET though.

-Erik

On May 19, 2008, at 5:04 AM, Laxmi Narayana wrote:

> 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.
>
>
> --
> 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
--
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