cancel
Showing results for 
Search instead for 
Did you mean: 
MLOPEZ
Level 7

Secure Web Reporter - java.lang.OutOfMemoryError: Java heap space

Hi,

I'm just on my first run with SWR 5.1.1. When trying to import  a bunch of logs I got this message you can see in attached screenshot. Settings of the application are comming from a previous version, but they seem to be ok. The size of the logs imported is average logs for us 10 GB per day. This actually worked in previous version.

Below you can find some output from server.log:

2011-03-01 18:11:15,844 ERROR [securecomputing.smartfilter.server.gateway.ejb3.session.SfTransactionGatewayBean] Caught AdminServerException

Programmer-Error: undeclared exception type=java.lang.NullPointerException caught

    at securecomputing.smartfilter.common.adminserver.AdminServerException.createProgrammerException(Unknown Source)

    at securecomputing.smartfilter.common.adminserver.AdminServerExceptionFactory.createProgrammerError(Unknown Source)

    at securecomputing.smartfilter.common.adminserver.AdminServerExceptionFactory.createProgrammerError(Unknown Source)

    at securecomputing.smartfilter.server.facade.AdminServerFacade.invokeUsingImplementations(Unknown Source)

    at securecomputing.smartfilter.server.facade.AdminServerFacade.invoke(Unknown Source)

    at securecomputing.smartfilter.server.facade.VersionMismatchInterceptorFacade.invoke(Unknown Source)

    at $Proxy119.getLogSource(Unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at securecomputing.smartfilter.server.gateway.interfaces.AdminServerDispatcher.onCommand(Unknown Source)

    at securecomputing.smartfilter.server.gateway.ejb3.session.SfTransactionGatewayBean.onCommand(Unknown Source)

    at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

    at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

    at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)

    at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

    at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:278)

    at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:79)

    at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:70)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)

    at $Proxy113.onCommand(Unknown Source)

    at securecomputing.smartfilter.server.gateway.ejb3.session.SfAdminGatewayBean.onCommand(Unknown Source)

    at sun.reflect.GeneratedMethodAccessor312.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

    at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

    at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)

    at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

    at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:278)

    at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)

    at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)

    at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)

    at org.jboss.remoting.transport.servlet.ServletServerInvoker.processRequest(ServletServerInvoker.java:231)

    at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

    at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)

    at $Proxy57.processRequest(Unknown Source)

    at securecomputing.smartfilter.server.remoting.servlet.SfServerInvokerServlet.processRequest(Unknown Source)

    at securecomputing.smartfilter.server.remoting.servlet.SfServerInvokerServlet.doPost(Unknown Source)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

    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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

    at java.lang.Thread.run(Thread.java:619)

2011-03-01 18:11:15,845 ERROR [STDERR]     at sun.awt.windows.WToolkit$5.run(WToolkit.java:855)

2011-03-01 18:11:15,848 WARN  [securecomputing.smartfilter.server.gateway.ejb3.session.SfTransactionGatewayBean] caught exception, rollback transaction.

2011-03-01 18:11:15,848 ERROR [STDERR]     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

2011-03-01 18:11:15,849 ERROR [STDERR]     at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)

2011-03-01 18:11:15,849 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_40] - Abort called on already aborted atomic action a4430c4:dccf:4d6d1c17:44bb

2011-03-01 18:11:15,849 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)

2011-03-01 18:11:15,849 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)

2011-03-01 18:11:15,849 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

2011-03-01 18:11:15,850 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

2011-03-01 18:11:15,850 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

2011-03-01 18:11:15,850 ERROR [STDERR]     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

2011-03-01 18:11:15,850 ERROR [STDERR] java.lang.OutOfMemoryError: Java heap space

2011-03-01 18:11:15,851 ERROR [STDERR]     at ranab.server.ftp.ConnectionService.timerTask(Unknown Source)

2011-03-01 18:11:15,851 ERROR [STDERR]     at ranab.server.ftp.ConnectionService$1.run(Unknown Source)

2011-03-01 18:11:15,851 ERROR [STDERR]     at java.util.TimerThread.mainLoop(Timer.java:512)

2011-03-01 18:11:15,851 ERROR [STDERR]     at java.util.TimerThread.run(Timer.java:462)

2011-03-01 18:11:15,851 ERROR [STDERR] Exception in thread "Thread-12"

2011-03-01 18:11:15,851 ERROR [STDERR] java.lang.OutOfMemoryError: Java heap space

2011-03-01 18:11:15,852 ERROR [STDERR] java.lang.OutOfMemoryError: Java heap space

2011-03-01 18:11:15,856 WARN  [securecomputing.smartfilter.server.gateway.ejb3.session.SfAdminGatewayBean] Caught RuntimeException on 'getLogSource' e=java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active! caused by=null

2011-03-01 18:11:15,856 WARN  [securecomputing.smartfilter.common.adminserver.AdminServerException] dropping cause=null

2011-03-01 18:11:16,801 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/servlet-invoker].[SfServerInvokerServlet]] Servlet.service() for servlet SfServerInvokerServlet threw exception

java.lang.OutOfMemoryError: Java heap space

2011-03-01 18:11:16,802 INFO  [org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you.  Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection@7f3a033

2011-03-01 18:11:24,745 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] before method doLogout

2011-03-01 18:11:24,745 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] after method doLogout

2011-03-01 18:11:24,745 INFO  [securecomputing.smartfilter.server.project.ScheduledTask] Scheduled task exit: 0

2011-03-01 18:11:24,746 ERROR [STDERR] Exception in thread "pool-5-thread-4"

2011-03-01 18:11:24,746 ERROR [STDERR] java.lang.OutOfMemoryError: Java heap space

2011-03-01 18:11:56,658 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] before method doLoginInternal

2011-03-01 18:11:56,658 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] doLoginInternal, props={java.naming.provider.url=localhost:9109, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.namingSmiley Surprisedrg.jnp.interfaces,java.protocol.handler.pkgs}

2011-03-01 18:11:56,658 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] MIC100

2011-03-01 18:11:56,658 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] naming null

2011-03-01 18:11:56,661 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] after method doLoginInternal

2011-03-01 18:11:56,663 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/reporter].[jsp]] Servlet.service() for servlet jsp threw exception

java.lang.OutOfMemoryError: Java heap space

2011-03-01 18:12:14,570 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] before method doLoginInternal

2011-03-01 18:12:14,570 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] doLoginInternal, props={java.naming.provider.url=localhost:9109, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.namingSmiley Surprisedrg.jnp.interfaces,java.protocol.handler.pkgs}

2011-03-01 18:12:14,570 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] MIC100

2011-03-01 18:12:14,570 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] naming null

2011-03-01 18:12:14,571 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] after method doLoginInternal

2011-03-01 18:12:14,572 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/reporter].[jsp]] Servlet.service() for servlet jsp threw exception

java.lang.OutOfMemoryError: Java heap space

2011-03-01 18:16:17,958 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] before method doLoginInternal

2011-03-01 18:16:17,959 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] doLoginInternal, props={java.naming.provider.url=localhost:9109, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.namingSmiley Surprisedrg.jnp.interfaces,java.protocol.handler.pkgs}

2011-03-01 18:16:17,959 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] MIC100

2011-03-01 18:16:17,959 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] naming null

2011-03-01 18:16:17,961 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] after method doLoginInternal

2011-03-01 18:16:17,961 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/reporter].[jsp]] Servlet.service() for servlet jsp threw exception

java.lang.OutOfMemoryError: Java heap space

2011-03-01 18:16:19,041 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] before method doLoginInternal

2011-03-01 18:16:19,042 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] doLoginInternal, props={java.naming.provider.url=localhost:9109, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.namingSmiley Surprisedrg.jnp.interfaces,java.protocol.handler.pkgs}

2011-03-01 18:16:19,042 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] MIC100

2011-03-01 18:16:19,042 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] naming null

2011-03-01 18:16:19,044 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] after method doLoginInternal

2011-03-01 18:16:19,044 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/reporter].[jsp]] Servlet.service() for servlet jsp threw exception

java.lang.OutOfMemoryError: Java heap space

2011-03-01 18:19:29,013 WARN  [securecomputing.smartfilter.logparsing.parsers.util.ParsingUtils] invalid url of 'NONE://' (no host).  Packet not sent.

2011-03-01 18:19:34,719 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] before method doLoginInternal

2011-03-01 18:19:34,719 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] doLoginInternal, props={java.naming.provider.url=localhost:9109, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.namingSmiley Surprisedrg.jnp.interfaces,java.protocol.handler.pkgs}

2011-03-01 18:19:34,719 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] MIC100

2011-03-01 18:19:34,719 DEBUG [securecomputing.smartfilter.server.gateway.interfaces.AdminServerConnection] naming null

2011-03-01 18:19:34,723 INFO  [securecomputing.smartfilter.server.gateway.interfaces.AdminServerMerger] after method doLoginInternal

2011-03-01 18:19:34,723 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/reporter].[jsp]] Servlet.service() for servlet jsp threw exception

java.lang.OutOfMemoryError: Java heap space

Regards

El mensaje fue editado por: MLOPEZ on 1/03/11 11:22:10 CST
0 Kudos
5 Replies
MLOPEZ
Level 7

Secure Web Reporter - java.lang.OutOfMemoryError: Java heap space

Hi,

I've increased -Xms and -Xmx without much success.. Could someone please explain me how can I increase the memory that JVM is using? What are reasonable values here?

AdminServerErrorChecker.invoke: intercepted method=getDirectoryResourceListForLoginScreen

AdminServerErrorChecker.invoke: Invoke succeeded

AdminServerErrorChecker.invoke: intercepted method=getLanguagesForLoginScreen

AdminServerErrorChecker.invoke: Invoke succeeded

AdminServerErrorChecker.invoke: intercepted method=getI18nImpls

AdminServerErrorChecker.invoke: Invoke succeeded

AdminServerErrorChecker.actionAfterSeriousServerProblem: wereLoggedIn=false

AdminServerErrorChecker.handleAdminServerException: Programmer-Error: undeclared exception type=java.lang.OutOfMemoryError caught

AdminServerErrorChecker.handleAdminServerException: throwing ase...

PageCounter.handlePageChangeFailure: Failed to update page.

Programmer-Error: undeclared exception type=java.lang.OutOfMemoryError caught

    at securecomputing.smartfilter.common.adminserver.AdminServerException.createProgrammerException(Unknown Source)

    at securecomputing.smartfilter.common.adminserver.AdminServerExceptionFactory.createProgrammerError(Unknown Source)

    at securecomputing.smartfilter.common.adminserver.AdminServerExceptionFactory.createProgrammerError(Unknown Source)

    at securecomputing.smartfilter.server.facade.AdminServerFacade.invokeUsingImplementations(Unknown Source)

    at securecomputing.smartfilter.server.facade.AdminServerFacade.invoke(Unknown Source)

    at securecomputing.smartfilter.server.facade.VersionMismatchInterceptorFacade.invoke(Unknown Source)

    at $Proxy119.getLogSource(Unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at securecomputing.smartfilter.server.gateway.interfaces.AdminServerDispatcher.onCommand(Unknown Source)

    at securecomputing.smartfilter.server.gateway.ejb3.session.SfTransactionGatewayBean.onCommand(Unknown Source)

    at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

    at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

    at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)

    at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

    at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:278)

    at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:79)

    at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:70)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)

    at $Proxy113.onCommand(Unknown Source)

    at securecomputing.smartfilter.server.gateway.ejb3.session.SfAdminGatewayBean.onCommand(Unknown Source)

    at sun.reflect.GeneratedMethodAccessor312.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

    at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

    at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)

    at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

    at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

    at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:278)

    at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)

    at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)

    at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)

    at org.jboss.remoting.transport.servlet.ServletServerInvoker.processRequest(ServletServerInvoker.java:231)

    at sun.reflect.GeneratedMethodAccessor447.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)

    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)

    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

    at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)

    at $Proxy57.processRequest(Unknown Source)

    at securecomputing.smartfilter.server.remoting.servlet.SfServerInvokerServlet.processRequest(Unknown Source)

    at securecomputing.smartfilter.server.remoting.servlet.SfServerInvokerServlet.doPost(Unknown Source)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

    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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

    at java.lang.Thread.run(Thread.java:619)

WebReporterDialog.windowActivated: java.awt.event.WindowEvent[WINDOW_ACTIVATED,opposite=null,oldState=0,newState=0] on dialog0

WebReporterDialog.windowActivated: java.awt.event.WindowEvent[WINDOW_ACTIVATED,opposite=null,oldState=0,newState=0] on dialog0

0 Kudos
sroering
Level 13

Secure Web Reporter - java.lang.OutOfMemoryError: Java heap space

A few comments.

1) I believe that you are using version 5.1.x, in which case you should not be modifying our run script.  In version 5.1, there is an option in the GUI to configure the java memory settings.

2) If this is the swap buffer issue I described above, it doesn't matter how much memory you have, you will eventually run out.

3) You shouldn't need to increase the memory settings unless your are a larger company.  For example 10-12 gateway appliances, in which case the purpose of increasing memory is to accomodate the necessary larger cache values. The other thing I've asked you to keep at default values.

4) You also have a thread for assistance with loading the URL DB.  Increasing the java memory can cause problems with loading the list because it is not loaded in the JVM memory, and increasing the JVM memory will rob available memory for the URL DB.  In fact, if you are using 32-bit Web Reporter with the URL DB, then you cannot increase the JVM memory above the default 512 MB.

MLOPEZ wrote:

Hi,

I've increased -Xms and -Xmx without much success.. Could someone please explain me how can I increase the memory that JVM is using? What are reasonable values here?


0 Kudos
MLOPEZ
Level 7

Secure Web Reporter - java.lang.OutOfMemoryError: Java heap space

Hi soering,

Can you please send me your email? I would like yo validate with you the serial number & log file.

Regards,

Mario

0 Kudos
MLOPEZ
Level 7

Secure Web Reporter - java.lang.OutOfMemoryError: Java heap space

Answering some of your questions.

- I'm not using real time log importing, just plain directory importing. swapbuffers directory is empty.

- I'm using Windows 2008 Standard (x64)

- I'm using SQL Server Standard (x64)

- I'm using SWR 5.1.1 (x64)

- If changed to default all settings under performance

- I've increased memory usage of the GUI

With this modifications I'll try to import logs again

0 Kudos
sroering
Level 13

Secure Web Reporter - java.lang.OutOfMemoryError: Java heap space

Generally you should not get this error unless you increased the advanced performance options, such as number of log parsing jobs or cache szies, which you shouldn't do.  If you've modified any of those options, then please put them back to default values.

Other likely cause, if you have real-time log sources, is that the swap buffer file was currupted. When Web Reporter cannot keep up with parsing real-time data, it will cache it to disk in a swap buffer file.  If the WR service is killed or not shutdown cleanly, the swap buffer file can become corrupted and unusable, which then can cause the java heap to become ehxausted if WR cannot cache when under load.

Check the server.logs for "outputQueue is null".  If you see that, then it's a swapBuffer issue.  I couldn't find a KB article for this iissue, but to resolve it do the following.

1)Stop Web Reporter service

2) delete this directory .../Web Reporter/report/tmp/swapbuffers/

3) Start Web Reporter.

0 Kudos