This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes <BEA-001112> <Test Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "<BEA-001112> <Test "select count(*) from dual" set up for pool "TicketrDS" failed with exception: "j" Watch "<BEA-001112> <Test "select count(*) from dual" set up for pool "TicketrDS" failed with exception: "j" New topic
Author

<BEA-001112> <Test "select count(*) from dual" set up for pool "TicketrDS" failed with exception: "j

Ali Al-Zayer
Greenhorn

Joined: Aug 17, 2009
Posts: 3
Greetings all,

I have upload files pages on my application which is working on weblogic 8.1 properly. [pop up page that make you select your file from any directory and upload it to the system]
However, when I try it on weblogic 10.3, it is not working and it gives me the following error [This is taken from the log file]:




####<Aug 17, 2009 1:32:14 PM GMT+03:00> <Info> <ServletContext-/pal> <webstage> <webes4> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1250505134777> <BEA-000000> <JspServlet: initialization complete>
####<Aug 17, 2009 1:32:52 PM GMT+03:00> <Info> <Health> <webstage> <webes4> <weblogic.GCMonitor> <<anonymous>> <> <> <1250505172967> <BEA-310002> <52% of the total memory in the server is free>
####<Aug 17, 2009 1:33:07 PM GMT+03:00> <Info> <Health> <webstage> <webes4> <weblogic.GCMonitor> <<anonymous>> <> <> <1250505187802> <BEA-310002> <64% of the total memory in the server is free>
####<Aug 17, 2009 1:33:07 PM GMT+03:00> <Error> <HTTP> <webstage> <webes4> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1250505187804> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@b80b84 - appName: 'test', name: 'testwar', context-path: '/test', spec-version: 'null'] Root cause of ServletException.
java.lang.OutOfMemoryError: Java heap space
at java.io.ByteArrayOutputStream.<init>(ByteArrayOutputStream.java:60)
at org.apache.commons.fileupload.DeferredFileOutputStream.<init>(DeferredFileOutputStream.java:131)
at org.apache.commons.fileupload.DefaultFileItem.getOutputStream(DefaultFileItem.java:558)
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:406)
at org.apache.myfaces.component.html.util.MultipartRequestWrapper.parseRequest(MultipartRequestWrapper.java:70)
at org.apache.myfaces.component.html.util.MultipartRequestWrapper.getParameter(MultipartRequestWrapper.java:151)
at org.apache.myfaces.context.servlet.RequestParameterMap.getAttribute(RequestParameterMap.java:39)
at org.apache.myfaces.context.servlet.AbstractAttributeMap.get(AbstractAttributeMap.java:87)
at org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getTreeStructureToRestore(HtmlResponseStateManager.java:181)
at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreTreeStructure(JspStateManagerImpl.java:142)
at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:181)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:124)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
####<Aug 17, 2009 1:33:56 PM GMT+03:00> <Error> <JDBC> <webstage> <webes4> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1250505236899> <BEA-001112> <Test "select count(*) from dual" set up for pool "TicketrDS" failed with exception: "java.lang.NullPointerException".>
####<Aug 17, 2009 1:33:56 PM GMT+03:00> <Info> <JDBC> <webstage> <webes4> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1250505236901> <BEA-001128> <Connection for pool "TicketrDS" closed.>
####<Aug 17, 2009 1:35:56 PM GMT+03:00> <Error> <JDBC> <webstage> <webes4> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1250505356880> <BEA-001112> <Test "select count(*) from dual" set up for pool "TicketrDS" failed with exception: "java.lang.NullPointerException".>
####<Aug

I increased the size of the heap, but it still doen't work.

I don't know what to do exactly.

More info:
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.6.0_05-b13


Regards,
kamal kannan
Ranch Hand

Joined: Oct 06, 2006
Posts: 33
Hi
you can try to change the nursury space and perm size , and gc algorithm those changes will give you good solution.


SCJP 1.5 95% /SCWCD 1.5 93% /RHCE EL4 100% /WEBLOGIC 9.2 SYSTEM ADMINISTRATION 100% / Oracle Weblogic 10g Server Certified System Export 88%
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

How did you confirm that you have increased the heap space ? The flags for perm gen space are, for example -> -XX:PermSize=256M, but the JVM does not seem to be complaining about that.

Here is a link that might be of help to you

http://java.sun.com/developer/technicalArticles/Programming/JVMPerf/


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: <BEA-001112> <Test "select count(*) from dual" set up for pool "TicketrDS" failed with exception: "j