portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramaj <ramjme...@gmail.com>
Subject javax.security.auth.login.LoginException: java.lang.OutOfMemoryError: Java heap space
Date Tue, 16 Oct 2007 11:12:32 GMT

Hello,

I have installed Jetspeed2.1
i am doing Portal login stress testing using JMETER.

My requests is :

Total requests= 5000
concurrent requests= 500

For this above test,i have recieved following error in log file
/webportal/logs/ catalina.2007-10-16.log

SEVERE: Exception invoking periodic operation:
java.lang.OutOfMemoryError: Java heap space
Oct 16, 2007 5:37:02 AM org.apache.catalina.realm.JAASRealm authenticate
WARNING: Login exception authenticating username "aa3519"
javax.security.auth.login.LoginException: java.lang.OutOfMemoryError: Java
heap space

        at
javax.security.auth.login.LoginContext.invoke(LoginContext.java:872)
        at
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
        at
javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
        at java.security.AccessController.doPrivileged(Native Method)
        at
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
        at
javax.security.auth.login.LoginContext.login(LoginContext.java:580)
        at
org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:365)
        at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:257)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:416)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)



Note :

My m/c has 8GB RAM.
To solve this error,I have increased RAM size in following files :

  /webportal/bin/catalina.bat:set JAVA_OPTS=%JAVA_OPTS% -Xmx2048m
  /webportal/bin/catalina.sh:JAVA_OPTS="$JAVA_OPTS "-Xmx2048m
  /webportal/bin/catdebug.bat:set CATALINA_OPTS=-Xmx2048m
  /webportal/bin/startJetspeed.bat:set CATALINA_OPTS=-Xmx2048m
  
and also use command as :

   java -D-Xms2048m -Xmx2048

But no progress.........

plz help me.

Thanks
RAMJ

-- 
View this message in context: http://www.nabble.com/javax.security.auth.login.LoginException%3A-java.lang.OutOfMemoryError%3A-Java-heap-space-tf4633529.html#a13231153
Sent from the Jetspeed - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message