Women in Technology

Hear us Roar



Article:
  Using the Jakarta Commons, Part 1
Subject:   I cant upload big xml files by archiving it
Date:   2006-09-06 05:05:12
From:   javabuff
Issue with size of upload XML during archiving:
- During XML DOM object archive process, Admin servlet calls ADminEJB.archivePricingXMLData(Ljava.lang.String;Ljava


.lang.String;Ljava.lang.Object;). On this calls, getting java.lang.StackOverflowError.


- If the XML DOM object size is minimal, say in less kbs, no such error. Tested with 5 content format records and no such error occurred.


ERROR
--------
<Sep 6, 2006 1:18:03 PM IST> <Warning> <RMI> <BEA-080009> <Error thrown by RMI s
erver: [BaseEJBObject] home: com.h3g.pricingservice.admin.PricingServiceAdminEJB
_10a91p_HomeImpl@1cda7e7 invoking: archivePricingXMLData(Ljava.lang.String;Ljava
.lang.String;Ljava.lang.Object;)>
java.rmi.ServerError: A error occurred the server; nested exception is:
java.lang.StackOverflowError
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:20
1)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
at com.h3g.pricingservice.admin.PricingServiceAdminEJB_10a91p_EOImpl_812
_WLStub.archivePricingXMLData(Unknown Source)
at com.h3g.pricingservice.servlet.AdminServlet.feedPricingXMLData(AdminS
ervlet.java:679)
at com.h3g.pricingservice.servlet.AdminServlet.performXMLFileUpload(Admi
nServlet.java:386)
at com.h3g.pricingservice.servlet.AdminServlet.adminOperations(AdminServ
let.java:348)
at com.h3g.pricingservice.servlet.AdminServlet.service(AdminServlet.java
:270)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: java.lang.StackOverflowError