[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-2038) Problem uploading large files (more than 1Mb)

Alexandra Primeria (JIRA) jira-events at lists.jboss.org
Fri Jun 6 05:19:21 EDT 2008


Problem uploading large files (more than 1Mb)
---------------------------------------------

                 Key: JBPORTAL-2038
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-2038
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal CMS
    Affects Versions: 2.6.4 Final
         Environment: JBoss Portal 2.6.4-GA
MySQL 5.0
            Reporter: Alexandra Primeria
         Assigned To: Sohil Shah


I have a problem with MySQL 5.0 and JBoss Portal 2.6.4. 

When I try to upload a large file (more than 1Mb) I get this stack trace: 

Estado HTTP 500 - 

-------------------------------------------------------------------------------- 

type Informe de Excepción 

mensaje 

descripción El servidor encontró un error interno () que hizo que no pudiera rellenar este requerimiento. 

excepción 

javax.servlet.ServletException: javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53ef6fd1:45a:48466883:40c1 status: ActionStatus.ABORT_ONLY > 
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:276) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 


causa raíz 

javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53ef6fd1:45a:48466883:40c1 status: ActionStatus.ABORT_ONLY > 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:304) 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396) 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842) 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69) 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423) 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139) 
org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547) 
org.hibernate.loader.Loader.doQuery(Loader.java:673) 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) 
org.hibernate.loader.Loader.loadEntity(Loader.java:1907) 
org.hibernate.loader.entity.CollectionElementLoader.loadElement(CollectionElementLoader.java:72) 
org.hibernate.persister.collection.OneToManyPersister.getElementByIndex(OneToManyPersister.java:360) 
org.hibernate.collection.AbstractPersistentCollection.readElementByIndex(AbstractPersistentCollection.java:158) 
org.hibernate.collection.PersistentMap.get(PersistentMap.java:146) 
org.jboss.portal.core.impl.model.portal.PortalObjectImpl.getChild(PortalObjectImpl.java:427) 
org.jboss.portal.core.impl.model.portal.ContextImpl.getPortal(ContextImpl.java:51) 
org.jboss.portal.core.impl.model.CustomizationManagerService.getDashboard(CustomizationManagerService.java:282) 
org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.injectDashboardNav(PageCustomizerInterceptor.java:263) 
org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:164) 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78) 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81) 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42) 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:56) 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50) 
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157) 
org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134) 
org.jboss.portal.core.controller.Controller.processCommand(Controller.java:235) 
org.jboss.portal.core.controller.Controller.handle(Controller.java:217) 
org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) 
org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47) 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68) 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45) 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:297) 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:246) 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98) 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65) 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49) 
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java) 
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) 
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262) 
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java) 
org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java) 
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69) 
org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130) 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) 
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157) 
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:250) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 



However, if I try to upload a small file (less than 1Mb) the jboss portal upload the file without problems. 

Are there any patch wich solve this problem? What can I do? 

Thank you in advanced.


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

       




More information about the jboss-jira mailing list