jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Buffagni <buffa...@otconsulting.com>
Subject PerGen Exception in RepositoryImpl.create
Date Mon, 03 Jul 2006 09:21:15 GMT

I all!
I've an application deployed under jboss and, after many deploy (5 in
average) when I try to execute this instruction

RepositoryImpl r = RepositoryImpl.create(config);

i've the errore above, what is the problem?

Note: i use the latest version of JackRabbit

Exception in: _getRepositoryImpl
2006-07-03 11:00:17,123 ERROR
<init>(ExceptionUtility.java:29)-http-0.0.0.0-8280-5- - Message: Cannot
instantiate persistence manager
org.apache.jackrabbit.core.state.db.DerbyPersistenceManager: Java exception:
'PermGen space: java.lang.OutOfMemoryError'.
2006-07-03 11:00:17,123 ERROR
<init>(ExceptionUtility.java:30)-http-0.0.0.0-8280-5- - Exception Message:
Cannot instantiate persistence manager
org.apache.jackrabbit.core.state.db.DerbyPersistenceManager: Java exception:
'PermGen space: java.lang.OutOfMemoryError'.
2006-07-03 11:00:17,123 ERROR
<init>(ExceptionUtility.java:31)-http-0.0.0.0-8280-5- - StackTrace: Cannot
instantiate persistence manager
org.apache.jackrabbit.core.state.db.DerbyPersistenceManager: Java exception:
'PermGen space: java.lang.OutOfMemoryError'.
2006-07-03 11:00:17,134 ERROR
<init>(ExceptionUtility.java:36)-http-0.0.0.0-8280-5- -
javax.jcr.RepositoryException: Cannot instantiate persistence manager
org.apache.jackrabbit.core.state.db.DerbyPersistenceManager: Java exception:
'PermGen space: java.lang.OutOfMemoryError'.: Java exception: 'PermGen
space: java.lang.OutOfMemoryError'.
	at
org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1033)
	at
org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:286)
	at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:235)
	at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:484)
	at
com.otconsulting.bpm.wf.cmsmgr.CmsManager._getRepositoryImpl(CmsManager.java:379)
	at
com.otconsulting.bpm.wf.cmsmgr.CmsManager._getRepository(CmsManager.java:158)
	at
com.otconsulting.bpm.wf.cmsmgr.CmsManager._getSession(CmsManager.java:179)
	at
com.otconsulting.bpm.wf.cmsmgr.CmsManager._initializeNodeOTBPM(CmsManager.java:291)
	at com.otconsulting.bpm.wf.cmsmgr.CmsManager.<init>(CmsManager.java:123)
	at com.otconsulting.bpm.wf.mgr.ServiceMgr.getCmsMgr(ServiceMgr.java:937)
	at
com.otconsulting.bpm.wf.mgr.ServiceMgr.getActivityEformString(ServiceMgr.java:1020)
	at
com.otconsulting.bpm.eui.action.FormEditorAction.executeLoadFormActivity(FormEditorAction.java:222)
	at
com.otconsulting.bpm.eui.action.FormEditorAction.executeDispatch(FormEditorAction.java:61)
	at
com.otconsulting.bpm.eui.action.BpmBaseAction.executePreDispatch(BpmBaseAction.java:161)
	at
com.otconsulting.bpm.common.presentation.BaseAction.execute(BaseAction.java:102)
	at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
	at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
	at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
	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:856)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
	at java.lang.Thread.run(Unknown Source)
Caused by: SQL Exception: Java exception: 'PermGen space:
java.lang.OutOfMemoryError'.
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
	at
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source)
	at
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown
Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown
Source)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown
Source)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.<init>(Unknown
Source)
	at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.<init>(Unknown
Source)
	at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Unknown Source)
	at
org.apache.derby.impl.jdbc.EmbedConnection.prepareMetaDataStatement(Unknown
Source)
	at org.apache.derby.impl.jdbc.EmbedDatabaseMetaData.getTables(Unknown
Source)
	at
org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager.checkSchema(SimpleDbPersistenceManager.java:1007)
	at
org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager.init(SimpleDbPersistenceManager.java:303)
	at
org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1029)
	... 39 more
java.lang.OutOfMemoryError: PermGen space
-- 
View this message in context: http://www.nabble.com/PerGen-Exception-in-RepositoryImpl.create-tf1883463.html#a5148852
Sent from the Jackrabbit - Users forum at Nabble.com.


Mime
View raw message