[ http://jira.jboss.com/jira/browse/JB
PORTAL-983?page=comments#action_12415548 ]
Alexandra Primeria commented on JBPORTAL-983:
---------------------------------------------
I have this 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(Porta
lServlet.java:276)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803
)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Rep
lyHeaderFilter.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.ge
tManagedConnection(TxConnectionManager.java:304)
org.jboss.resource.connectionmanager.BaseConnectionManager2
.allocateConnection(BaseConnectionManager2.java:396)
org.jboss.resource.connectionmanager.BaseConnectionManager2
$ConnectionManagerProxy.allocateConnection(BaseConnectionMan
ager2.java:842)
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnec
tion(WrapperDataSource.java:88)
org.hibernate.connection.DatasourceConnectionProvider.getCo
nnection(DatasourceConnectionProvider.java:69)
org.hibernate.jdbc.ConnectionManager.openConnection(Connect
ionManager.java:423)
org.hibernate.jdbc.ConnectionManager.getConnection(Connecti
onManager.java:144)
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(Ab
stractBatcher.java:139)
org.hibernate.loader.Loader.prepareQueryStatement(Loader.ja
va:1547)
org.hibernate.loader.Loader.doQuery(Loader.java:673)
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyColl
ections(Loader.java:236)
org.hibernate.loader.Loader.loadEntity(Loader.java:1907)
org.hibernate.loader.entity.CollectionElementLoader.loadEle
ment(CollectionElementLoader.java:72)
org.hibernate.persister.collection.OneToManyPersister.getEl
ementByIndex(OneToManyPersister.java:360)
org.hibernate.collection.AbstractPersistentCollection.readE
lementByIndex(AbstractPersistentCollection.java:158)
org.hibernate.collection.PersistentMap.get(PersistentMap.ja
va:146)
org.jboss.portal.core.impl.model.portal.PortalObjectImpl.ge
tChild(PortalObjectImpl.java:427)
org.jboss.portal.core.impl.model.portal.ContextImpl.getPort
al(ContextImpl.java:51)
org.jboss.portal.core.impl.model.CustomizationManagerServic
e.getDashboard(CustomizationManagerService.java:282)
org.jboss.portal.core.aspects.controller.PageCustomizerInte
rceptor.injectDashboardNav(PageCustomizerInterceptor.java:26
3)
org.jboss.portal.core.aspects.controller.PageCustomizerInte
rceptor.invoke(PageCustomizerInterceptor.java:164)
org.jboss.portal.core.controller.ControllerInterceptor.invo
ke(ControllerInterceptor.java:40)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.core.aspects.controller.PolicyEnforcementI
nterceptor.invoke(PolicyEnforcementInterceptor.java:78)
org.jboss.portal.core.controller.ControllerInterceptor.invo
ke(ControllerInterceptor.java:40)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.core.aspects.controller.node.PortalNodeInt
erceptor.invoke(PortalNodeInterceptor.java:81)
org.jboss.portal.core.controller.ControllerInterceptor.invo
ke(ControllerInterceptor.java:40)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.core.aspects.controller.NavigationalStateI
nterceptor.invoke(NavigationalStateInterceptor.java:42)
org.jboss.portal.core.controller.ControllerInterceptor.invo
ke(ControllerInterceptor.java:40)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.core.controller.ajax.AjaxInterceptor.invok
e(AjaxInterceptor.java:56)
org.jboss.portal.core.controller.ControllerInterceptor.invo
ke(ControllerInterceptor.java:40)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.core.aspects.controller.ResourceAcquisitio
nInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
org.jboss.portal.core.controller.ControllerInterceptor.invo
ke(ControllerInterceptor.java:40)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.common.invocation.Invocation.invoke(Invoca
tion.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(Controll
er.java:217)
org.jboss.portal.server.RequestControllerDispatcher.invoke(
RequestControllerDispatcher.java:51)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:131)
org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor
.invoke(IdentityBindingInterceptor.java:47)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInte
rceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.server.aspects.server.ContentTypeIntercept
or.invoke(ContentTypeInterceptor.java:68)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInte
rceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.core.aspects.server.PortalContextPathInter
ceptor.invoke(PortalContextPathInterceptor.java:45)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInte
rceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.core.aspects.server.LocaleInterceptor.invo
ke(LocaleInterceptor.java:297)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInte
rceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.core.aspects.server.UserInterceptor.invoke
(UserInterceptor.java:246)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInte
rceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.server.aspects.server.SignOutInterceptor.i
nvoke(SignOutInterceptor.java:98)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInte
rceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerI
nterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInte
rceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.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(TransactionIntercept
or$invoke_N5143606530999904530.java)
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:7
9)
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInt
erceptor.java:262)
org.jboss.portal.core.aspects.server.TransactionInterceptor
$invoke_N5143606530999904530.invokeNext(TransactionIntercept
or$invoke_N5143606530999904530.java)
org.jboss.portal.core.aspects.server.TransactionInterceptor
.invoke(TransactionInterceptor.java)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInte
rceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.server.aspects.LockInterceptor$InternalLoc
k.invoke(LockInterceptor.java:69)
org.jboss.portal.server.aspects.LockInterceptor.invoke(Lock
Interceptor.java:130)
org.jboss.portal.common.invocation.Invocation.invokeNext(In
vocation.java:115)
org.jboss.portal.common.invocation.Invocation.invoke(Invoca
tion.java:157)
org.jboss.portal.server.servlet.PortalServlet.service(Porta
lServlet.java:250)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803
)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Rep
lyHeaderFilter.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.
> Upload of large files fails.
> ----------------------------
>
> Key: JBPORTAL-983
> URL: http:/
/jira.jboss.com/jira/browse/JBPORTAL-983
> Project: JBoss Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Portal CMS
> Affects Versions: 2.6.Beta1
> Environment: Windows XP, JDK 1.5, JBoss AS
4.0.4GA
> Reporter: Peter Johnson
> Assigned To: Sohil Shah
> Fix For: 2.6.Beta1, 2.4.2 Final
>
> Attachments: jboss-service.xml,
OracleFileSystem.java, OraclePersistenceManager.java
>
>
> Using the CMS Admin portlet, I attempted to upload a
zip file into a directory, as per section 3.2.9 of the User
Guide. Initially I tried a zip ofabout 6MB containing many
files, and eventually got down to a a zip file of about 500M
with only a single Word document inside. The upload failed
and an "SQLException: could not reset reader"
error appeared (see forum post for stack trace).
> I am, however, able to upload very small zip files.
>
--
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.atl
assian.com/software/jira
_______________________________________________
jboss-jira mailing list
jboss-jira lists.jboss.org
h
ttps://lists.jboss.org/mailman/listinfo/jboss-jira
|