So there's no IBatis involved! How does the code in
com.stud.bean.studregBean.StudentHtml(studregBean.java:87)?
look like? Maybe you can post the whole method?
Tom
Vanessa schrieb:
This is what i get.
Error 500--Internal Server Error
java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkBounds(Buffer.java:454)
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:163)
at com.stud.bean.studregBean.StudentHtml(studregBean.java:87)
at
com.stud.controller.web.actions.studregAction.execute(studregAction.java:105)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
----- Oorspronkelijk bericht -----
Van: Tom Schindl [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag, augustus 14, 2007 09:10 AM
Aan: [email protected]
Onderwerp: Re: Problem with blob
Vanessa schrieb:
Hi Meindert
This is a part of the stacktrace.
what strange is, with the blobs of 65000 it works perfectly and that of 59056
it does not work. In my previous code before Ibatis it worked perfectly, sow I
think I have somewhere made a mistake in my code. Now, we have been switched
over to Ibatis and now I get this error only with those of length 59056.
<10-aug-2007 14.45 u. CEST> <Error> <HTTP> <BEA-101017>
<[ServletContext(id=29596326,name=STUDREG,context-path=/STUDREG)
] Root cause of ServletException.
java.lang.IndexOutOfBoundsException
at java.nio.Buffer.checkBounds(Buffer.java:454)
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:163)
Well the exception you are showing here is not enough please post more
line of the exection.
Tom