jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Verderi LUIGI (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2609) CMS bin temp file error
Date Mon, 19 Apr 2010 09:29:03 GMT
CMS bin temp file error
-----------------------

                 Key: JCR-2609
                 URL: https://issues.apache.org/jira/browse/JCR-2609
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: clustering, jackrabbit-core
    Affects Versions: core 1.4.5
         Environment: JBoss EPP 4.3.0.GA_CP01 on Red Hat Enterprise Linux ES release 4 (Nahant
Update 6)
            Reporter: Verderi LUIGI


Our JBoss Portal CMS is configured as Hibernate and MySQL based service.
After few weeks of production working without restarting, Jackrabbit module throws the following
exception while requesting a binary content resource:

2010-03-15 11:59:51,708 ERROR [org.jboss.portal.cms.impl.jcr.command.ContentGetCommand] (ContentGetCommand.java:167)
- Cannot get content
javax.jcr.RepositoryException: file backing binary value not found: /tmp/bin18310.tmp (No
such file or directory): /tmp/bin18310.tmp (No such file or directory)
	at org.apache.jackrabbit.core.value.BLOBInTempFile.getStream(BLOBInTempFile.java:155)
	at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:366)
	at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:469)
	at org.apache.jackrabbit.core.PropertyImpl.getStream(PropertyImpl.java:482)
	at org.jboss.portal.cms.impl.jcr.command.ContentGetCommand.execute(ContentGetCommand.java:160)
	at org.jboss.portal.cms.impl.jcr.JCRCommandContext.execute(JCRCommandContext.java:73)
	at org.jboss.portal.cms.impl.jcr.command.FileGetCommand.execute(FileGetCommand.java:113)
	at org.jboss.portal.cms.impl.jcr.JCRCMS$1.invoke(JCRCMS.java:120)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
	at org.jboss.portal.cms.impl.interceptors.ApprovalWorkflowInterceptor.invoke(ApprovalWorkflowInterceptor.java:105)
	at org.jboss.portal.cms.CMSInterceptor.invoke(CMSInterceptor.java:36)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.cms.impl.interceptors.ACLInterceptor.invoke(ACLInterceptor.java:254)
	at org.jboss.portal.cms.CMSInterceptor.invoke(CMSInterceptor.java:36)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
	at org.jboss.portal.cms.impl.jcr.JCRCMS.executeCommand(JCRCMS.java:524)
	at org.jboss.portal.cms.impl.jcr.JCRCMS.execute(JCRCMS.java:430)
	at org.jboss.portal.cms.impl.jcr.ha.HAJCRCMS.execute(HAJCRCMS.java:65)
	at org.jboss.portal.core.cms.CMSObjectCommandFactoryService.getFile(CMSObjectCommandFactoryService.java:124)
	at org.jboss.portal.core.cms.CMSObjectCommandFactoryService.doMapping(CMSObjectCommandFactoryService.java:135)
	at org.jboss.portal.core.controller.command.mapper.CommandFactoryDelegate.doMapping(CommandFactoryDelegate.java:87)
	at org.jboss.portal.core.controller.command.mapper.DelegatingCommandFactoryService.doMapping(DelegatingCommandFactoryService.java:142)
	at org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:69)
	at org.jboss.portal.core.controller.Controller.handle(Controller.java:252)
	at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
	at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:196)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.aspects.server.IdentityCacheInterceptor.invoke(IdentityCacheInterceptor.java:68)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
	at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
	at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
	at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
	at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
	at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)
	at org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)
	at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
	at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
	at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	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:173)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:97)
	at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
	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.jboss.web.tomcat.service.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:677)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
	at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.FileNotFoundException: /tmp/bin18310.tmp (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.apache.jackrabbit.core.value.BLOBInTempFile.getStream(BLOBInTempFile.java:153)
	... 86 more



As you can see, CMS cannot retrieve the bin file in the /tmp directory.
With a restart of the portal server, the situation comes back to normal.

As suggested by JBOSS Customer Support , the problem seems to be related to the following
discussion: http://comments.gmane.org/gmane.comp.apache.jackrabbit.devel/27750

At this time is there any solution or workaround ?

Thanks in advance.

Luigi Verderi

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message