redistemplate事务返回问题

redistemplate在执行exec() 方法后,如果事务中都是对redis的set,那么不论事务是否执行成功,都返回空。
目前的解决办法是,事务中set后,添加get。如果返回list为空。说明事务执行失败。循环再执行。

请问大神们,你们是如何解决的?

http://blog.csdn.net/congcong68/article/details/52734735

tomcat-users.xml:




pom.xml:
    <plugin>
        <groupId>org.apache.tomcat.maven</groupId>  
        <artifactId>tomcat7-maven-plugin</artifactId>  
        <version>2.2</version> 
        <configuration>
            <url>http://localhost:8080/manager/html</url>
            <username>admin</username>  
            <password>123456</password>  
            <path>/${project.artifactId}</path>
        </configuration>
    </plugin>

            mvn tomcat7:deploy 返回:
            Uploading: http://localhost:8080/manager/deploy?path=%2Fmyweb
            2074/5863 KB
            [INFO] I/O exception (java.net.SocketException) caught when processing request:
            Connection reset by peer: socket write error

            在浏览器中打开:http://localhost:8080/manager/deploy?path=%2Fmyweb, 提示
            403 Access Denied
            You are not authorized to view this page. 

            为何啊,http://localhost:8080/manager/html是可以访问的