Could u please help me

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

Could u please help me

skpradeepkumar
Hi all,

I would like to upload the image for the communication event, I am using the
UploadCategoryImage bsh file and the form to upload the image but i'm
getting this error:

waiting.....................................................................................................................3
ms
waiting.....................................................................................................................3
ms
waiting.....................................................................................................................3
ms

java.io.IOException: waited 21 times, bailing out while still expecting 3139
bytes.
 i : -1
 in : org.apache.catalina.connector.CoyoteInputStream@cf7fda buf :
[B@de6570off : 0  len : 4096 reqLen: 3139
        at
org.ofbiz.base.util.HttpRequestFileUpload.waitingReadLine(HttpRequestFileUpload.java:306)

waitingwaited 21 times, bailing out while still expecting 3139 bytes.

        at
org.ofbiz.base.util.HttpRequestFileUpload.doUpload(HttpRequestFileUpload.java:155)
        at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at bsh.Reflect.invokeOnMethod(Reflect.java:117)
        at bsh.Reflect.invokeObjectMethod(Reflect.java:91)
        at bsh.Name.invokeMethod(Name.java:689)
        at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
        at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
        at bsh.BSHBlock.eval(BSHBlock.java:79)
        at bsh.BSHBlock.eval(BSHBlock.java:44)
        at bsh.BSHTryStatement.eval(BSHTryStatement.java:86)
        at bsh.BSHBlock.eval(BSHBlock.java:79)
        at bsh.BSHBlock.eval(BSHBlock.java:44)
        at bsh.BSHIfStatement.eval(BSHIfStatement.java:48)
        at bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
        at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:161)
        at
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:387)
        at
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:117)
        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:238)
        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:135)
        at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
        at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
        at
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
        at
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
        at
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
        at
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
        at
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)




--
With regards,
S K Pradeep kumar
Reply | Threaded
Open this post in threaded view
|

Re: Could u please help me

Jacques Le Roux
Administrator
Did you check that the point you are uploading to is working ?

Jacques

From: "Pradeep Kumar" <[hidden email]>

> Hi all,
>
> I would like to upload the image for the communication event, I am using the
> UploadCategoryImage bsh file and the form to upload the image but i'm
> getting this error:
>
> waiting.....................................................................................................................3
> ms
> waiting.....................................................................................................................3
> ms
> waiting.....................................................................................................................3
> ms
>
> java.io.IOException: waited 21 times, bailing out while still expecting 3139
> bytes.
> i : -1
> in : org.apache.catalina.connector.CoyoteInputStream@cf7fda buf :
> [B@de6570off : 0  len : 4096 reqLen: 3139
>        at
> org.ofbiz.base.util.HttpRequestFileUpload.waitingReadLine(HttpRequestFileUpload.java:306)
>
> waitingwaited 21 times, bailing out while still expecting 3139 bytes.
>
>        at
> org.ofbiz.base.util.HttpRequestFileUpload.doUpload(HttpRequestFileUpload.java:155)
>        at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at bsh.Reflect.invokeOnMethod(Reflect.java:117)
>        at bsh.Reflect.invokeObjectMethod(Reflect.java:91)
>        at bsh.Name.invokeMethod(Name.java:689)
>        at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
>        at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>        at bsh.BSHBlock.eval(BSHBlock.java:79)
>        at bsh.BSHBlock.eval(BSHBlock.java:44)
>        at bsh.BSHTryStatement.eval(BSHTryStatement.java:86)
>        at bsh.BSHBlock.eval(BSHBlock.java:79)
>        at bsh.BSHBlock.eval(BSHBlock.java:44)
>        at bsh.BSHIfStatement.eval(BSHIfStatement.java:48)
>        at bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
>        at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:161)
>        at
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:387)
>        at
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:117)
>        at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:238)
>        at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:135)
>        at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>        at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>        at
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>        at
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>        at
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>        at
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>        at
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>        at
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>        at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
>
>
>
> --
> With regards,
> S K Pradeep kumar
>
Reply | Threaded
Open this post in threaded view
|

Re: Could u please help me

skpradeepkumar
Hi,

I checked that point and all the neccessary data is also there for that
function.

On Wed, Jun 18, 2008 at 7:53 PM, Jacques Le Roux <
[hidden email]> wrote:

> Did you check that the point you are uploading to is working ?
>
> Jacques
>
> From: "Pradeep Kumar" <[hidden email]>
>
>> Hi all,
>>
>> I would like to upload the image for the communication event, I am using
>> the
>> UploadCategoryImage bsh file and the form to upload the image but i'm
>> getting this error:
>>
>>
>> waiting.....................................................................................................................3
>> ms
>>
>> waiting.....................................................................................................................3
>> ms
>>
>> waiting.....................................................................................................................3
>> ms
>>
>> java.io.IOException: waited 21 times, bailing out while still expecting
>> 3139
>> bytes.
>> i : -1
>> in : org.apache.catalina.connector.CoyoteInputStream@cf7fda buf :
>> [B@de6570off : 0  len : 4096 reqLen: 3139
>>
>>       at
>>
>> org.ofbiz.base.util.HttpRequestFileUpload.waitingReadLine(HttpRequestFileUpload.java:306)
>>
>> waitingwaited 21 times, bailing out while still expecting 3139 bytes.
>>
>>       at
>>
>> org.ofbiz.base.util.HttpRequestFileUpload.doUpload(HttpRequestFileUpload.java:155)
>>       at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
>>       at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>       at java.lang.reflect.Method.invoke(Method.java:585)
>>       at bsh.Reflect.invokeOnMethod(Reflect.java:117)
>>       at bsh.Reflect.invokeObjectMethod(Reflect.java:91)
>>       at bsh.Name.invokeMethod(Name.java:689)
>>       at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
>>       at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>>       at bsh.BSHBlock.eval(BSHBlock.java:79)
>>       at bsh.BSHBlock.eval(BSHBlock.java:44)
>>       at bsh.BSHTryStatement.eval(BSHTryStatement.java:86)
>>       at bsh.BSHBlock.eval(BSHBlock.java:79)
>>       at bsh.BSHBlock.eval(BSHBlock.java:44)
>>       at bsh.BSHIfStatement.eval(BSHIfStatement.java:48)
>>       at bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
>>       at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:161)
>>       at
>>
>> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:387)
>>       at
>>
>> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:117)
>>       at
>>
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:238)
>>       at
>>
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:135)
>>       at
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>>       at
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>>       at
>>
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
>>       at
>>
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
>>       at
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
>>       at
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>>       at
>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77)
>>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
>>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>>       at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>>       at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>       at
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
>>       at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>>       at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>>       at
>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>>       at
>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>>       at
>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>>       at
>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>>       at
>>
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>>       at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>>       at
>>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>       at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>>
>>
>>
>>
>> --
>> With regards,
>> S K Pradeep kumar
>>
>>


--
With regards,
S K Pradeep kumar
Reply | Threaded
Open this post in threaded view
|

Re: Could u please help me

skpradeepkumar
Hi,

   please find the attached files i am using to upload the image

On Wed, Jun 18, 2008 at 8:03 PM, Pradeep Kumar <[hidden email]> wrote:
Hi,

I checked that point and all the neccessary data is also there for that function.

On Wed, Jun 18, 2008 at 7:53 PM, Jacques Le Roux <[hidden email]> wrote:
Did you check that the point you are uploading to is working ?

Jacques

From: "Pradeep Kumar" <[hidden email]>
Hi all,

I would like to upload the image for the communication event, I am using the
UploadCategoryImage bsh file and the form to upload the image but i'm
getting this error:

waiting.....................................................................................................................3
ms
waiting.....................................................................................................................3
ms
waiting.....................................................................................................................3
ms

java.io.IOException: waited 21 times, bailing out while still expecting 3139
bytes.
i : -1
in : org.apache.catalina.connector.CoyoteInputStream@cf7fda buf :
[B@de6570off : 0  len : 4096 reqLen: 3139

      at
org.ofbiz.base.util.HttpRequestFileUpload.waitingReadLine(HttpRequestFileUpload.java:306)

waitingwaited 21 times, bailing out while still expecting 3139 bytes.

      at
org.ofbiz.base.util.HttpRequestFileUpload.doUpload(HttpRequestFileUpload.java:155)
      at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at bsh.Reflect.invokeOnMethod(Reflect.java:117)
      at bsh.Reflect.invokeObjectMethod(Reflect.java:91)
      at bsh.Name.invokeMethod(Name.java:689)
      at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
      at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
      at bsh.BSHBlock.eval(BSHBlock.java:79)
      at bsh.BSHBlock.eval(BSHBlock.java:44)
      at bsh.BSHTryStatement.eval(BSHTryStatement.java:86)
      at bsh.BSHBlock.eval(BSHBlock.java:79)
      at bsh.BSHBlock.eval(BSHBlock.java:44)
      at bsh.BSHIfStatement.eval(BSHIfStatement.java:48)
      at bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
      at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:161)
      at
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:387)
      at
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:117)
      at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:238)
      at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:135)
      at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
      at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
      at
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:78)
      at
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:668)
      at
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:452)
      at
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
      at
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
      at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)




--
With regards,
S K Pradeep kumar




--
With regards,
S K Pradeep kumar



--
With regards,
S K Pradeep kumar

ItsScreen.xml (3K) Download Attachment