ru.acs.st.common.exception.STFileUploadException: Ошибка создания файла: First.jar в хранилище, отсутствует транзакция для сохранения данных.

Google Groups | Dmitriy Vazilov | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    XADisk and IBM WebSphere Application Server Transaction

    Google Groups | 5 years ago | Dmitriy Vazilov
    ru.acs.st.common.exception.STFileUploadException: Ошибка создания файла: First.jar в хранилище, отсутствует транзакция для сохранения данных.

    Root Cause Analysis

    1. org.xadisk.filesystem.exceptions.NoTransactionAssociatedException

      The method that was called can only be called with a transaction associated, butthere is no such transaction present.

      at org.xadisk.filesystem.NativeXASession.getSessionForCurrentWorkAssociation()
    2. org.xadisk.filesystem
      NativeXASession.getSessionForCurrentWorkAssociation
      1. org.xadisk.filesystem.NativeXASession.getSessionForCurrentWorkAssociation(NativeXASession.java:223)
      1 frame
    3. org.xadisk.connector
      XADiskConnectionImpl.createFile
      1. org.xadisk.connector.outbound.XADiskConnectionImpl.createFile(XADiskConnectionImpl.java:64)
      1 frame
    4. ru.acs.st
      ArchiveStreamProcessorImpl.processArchiveStream
      1. ru.acs.st.core.jarstorage.FileSystemJarStorageImpl.saveFileTransactional(FileSystemJarStorageImpl.java:162)
      2. ru.acs.st.core.jarstorage.FileSystemJarStorageImpl.saveJar(FileSystemJarStorageImpl.java:118)
      3. ru.acs.st.core.upload.ArchiveStreamProcessorImpl.saveToDBAndFile(ArchiveStreamProcessorImpl.java:244)
      4. ru.acs.st.core.upload.ArchiveStreamProcessorImpl.processJarByteMassive(ArchiveStreamProcessorImpl.java:191)
      5. ru.acs.st.core.upload.ArchiveStreamProcessorImpl.processSingleFile(ArchiveStreamProcessorImpl.java:154)
      6. ru.acs.st.core.upload.ArchiveStreamProcessorImpl.processArchiveStream(ArchiveStreamProcessorImpl.java:90)
      6 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:615)
      4 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    7. Spring Tx
      WebSphereUowTransactionManager$UOWActionAdapter.run
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:132)
      2. org.springframework.transaction.jta.WebSphereUowTransactionManager$UOWActionAdapter.run(WebSphereUowTransactionManager.java:337)
      2 frames
    8. com.ibm.ws
      UOWManagerImpl.runUnderUOW
      1. com.ibm.ws.uow.UOWManagerImpl.runUnderNewUOW(UOWManagerImpl.java:950)
      2. com.ibm.ws.uow.UOWManagerImpl.runUnderUOW(UOWManagerImpl.java:511)
      2 frames
    9. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.jta.WebSphereUowTransactionManager.execute(WebSphereUowTransactionManager.java:281)
      2. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:127)
      2 frames
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    11. Unknown
      $Proxy136.processArchiveStream
      1. $Proxy136.processArchiveStream(Unknown Source)
      1 frame
    12. ru.acs.st
      UploadArchiveServlet.doPost
      1. ru.acs.st.core.service.UploadArchiveServlet.doPost(UploadArchiveServlet.java:77)
      1 frame
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      2 frames
    14. WebSphere
      ServletWrapper.handleRequest
      1. com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1213)
      2. com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:658)
      2 frames
    15. com.ibm.ws
      ServletWrapper.handleRequest
      1. com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
      1 frame
    16. WebSphere
      WebContainer.handleRequest
      1. com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
      2. com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:764)
      2 frames
    17. com.ibm.ws
      WCChannelLink.ready
      1. com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
      2. com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
      2 frames
    18. WebSphere
      AioReadCompletionListener.futureCompleted
      1. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:457)
      2. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:515)
      3. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:300)
      4. com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:271)
      5. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
      6. com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
      7. com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
      7 frames
    19. com.ibm.io
      ResultHandler$2.run
      1. com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
      2. com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
      3. com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
      4. com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
      5. com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
      6. com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
      6 frames
    20. com.ibm.ws
      ThreadPool$Worker.run
      1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
      1 frame