[Registry-dev] [jira] Commented: (REGISTRY-58) OutOfMemoryError occurs after adding more resources.

Chathura Ekanayake (JIRA) jira at wso2.org
Thu May 22 02:53:18 PDT 2008


    [ https://wso2.org/jira/browse/REGISTRY-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877#action_16877 ] 

Chathura Ekanayake commented on REGISTRY-58:
--------------------------------------------

Krishantha, can you check this with the new resource store implementation using Derby or MySQL as the database.

> OutOfMemoryError occurs after adding more resources.
> ----------------------------------------------------
>
>                 Key: REGISTRY-58
>                 URL: https://wso2.org/jira/browse/REGISTRY-58
>             Project: WSO2 Registry
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Ubuntu 7.10, JDK 1.5.0_08, tomcat 6.0.14, Firefox/2.0.0.8
>            Reporter: Krishantha Samaraweera
>            Assignee: Chathura Ekanayake
>            Priority: Blocker
>
> OutOfMemoryError occurs after adding more resources. I have added approximately total files size of 30 MB.
> Jan 4, 2008 4:28:39 PM org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet WebServlet threw exception
> java.lang.OutOfMemoryError: Java heap space
> after getting this exception I restarted tomcat server try to view the resource. at that time NPE occured.
> Jan 4, 2008 4:30:47 PM org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet WebServlet threw exception
> java.lang.NullPointerException
>         at org.wso2.usermanager.acl.realm.AuthorizingRealm.init(AuthorizingRealm.java:86)
>         at org.wso2.registry.secure.SecureRegistry.<init>(SecureRegistry.java:74)
>         at org.wso2.registry.web.actions.AbstractRegistryAction.getRegistry(AbstractRegistryAction.java:56)
>         at org.wso2.registry.web.actions.ResourceDetailsAction.execute(ResourceDetailsAction.java:71)
>         at org.wso2.registry.web.ControllerServlet.forwardToResources(ControllerServlet.java:828)
>         at org.wso2.registry.web.ControllerServlet.doGet(ControllerServlet.java:463)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Registry-dev mailing list