geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <...@geronimo.apache.org>
Subject [jira] Closed: (DAYTRADER-85) DayTrader 2.1.3 : test PingServlet2Session2 JDBCCollection : java.sql.SQLException error
Date Wed, 01 Dec 2010 07:37:14 GMT

     [ https://issues.apache.org/jira/browse/DAYTRADER-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Forrest Xia closed DAYTRADER-85.
--------------------------------


Close this one since it's verified. thank you! 

> DayTrader 2.1.3 : test PingServlet2Session2 JDBCCollection : java.sql.SQLException error
> ----------------------------------------------------------------------------------------
>
>                 Key: DAYTRADER-85
>                 URL: https://issues.apache.org/jira/browse/DAYTRADER-85
>             Project: DayTrader
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.1.3
>         Environment: Jboss EAP 5.1.0 (EAP -> Enterprise Application Platform)
> Sun 1.6_022
> Sun Solaris 10
> Mysql JDBC driver 5.1.13 (mysql-connector-java-5.1.13-bin.jar)
> Mysql Server 5.0.20
> Profile default for Jboss serveur (./run.sh -c default).
>    1. Trade configuration update. Current config:
> RunTimeMode: Full EJB3
> JPALayer: OpenJPA
> OrderProcessingMode: Synchronous
> AcessMode: Standard
> Workload Mix: Standard
> Web Interface: JSP
> CachingType: No Caching
> #Trade Users: 200
> #Trade Quotes: 400
> Market Summary Interval: 20
> Primitive Iterations: 1
> TradeStreamer MDB Enabled: false
> Long Run Enabled: true
> or
>    1. Trade configuration update. Current config:
> RunTimeMode: Session (EJB3) To Direct
> JPALayer: OpenJPA
> OrderProcessingMode: Synchronous
> AcessMode: Standard
> Workload Mix: Standard
> Web Interface: JSP
> CachingType: No Caching
> #Trade Users: 200
> #Trade Quotes: 400
> Market Summary Interval: 20
> Primitive Iterations: 1
> TradeStreamer MDB Enabled: false
> Long Run Enabled: true
>            Reporter: Yannick LE NY
>            Assignee: Forrest Xia
>             Fix For: 2.1.7, 2.2.1, 3.0
>
>         Attachments: PingServlet2Session2JDBCCollection.log
>
>
> Hello,
> I have downloaded the latest revision for Day Trader 2.1.3
> in the svn here
> http://svn.apache.org/viewvc/geronimo/daytrader/branches/old_2.1.3/?sortby=date
> and compiled it with :
>     * JDK 1.6_021
>     * Mandriva Linux 2010.1
>     * Maven 2.2.1
> by following the instructions in the file
> http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.1.3/README.jboss5?revision=907211&view=markup&sortby=file
> But when I launch the test PingServlet2Session2JDBCCollection , I have in the web page
:
> PingServlet2Session2JDBCCollection
> PingServlet2Session2JDBCCollection tests the common path of a Servlet calling a Session
EJB which perform a multi-row JDBC query.
> initTime: Wed Nov 24 14:42:02 CET 2010
> Hit Count: 4User: uid:57 is currently holding 0 stock holdings: 
> and I have the following errors in the logs :
> 15:33:13,887 ERROR [Log] Error: TradeDirect:getHoldings -- error getting user holings
>         java.sql.SQLException: You cannot set autocommit during a managed transaction!
> 15:33:13,887 INFO  [STDOUT] java.sql.SQLException: You cannot set autocommit during a
managed transaction!
> 15:33:13,888 INFO  [STDOUT]     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.setJdbcAutoCommit(BaseWrapperManagedConnection.java:599)
> ....
> 15:33:13,903 INFO  [CachedConnectionManager] Closing a connection for you.  Please close
them yourself: org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@15fddb7
> java.lang.Throwable: STACKTRACE
>         at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:278)
> ....

-- 
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