You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Yannick LE NY (JIRA)" <de...@geronimo.apache.org> on 2010/11/24 15:55:13 UTC
[jira] Created: (DAYTRADER-85) DayTrader 2.1.3 : test
PingServlet2Session2 JDBCCollection : crash with NullPointerException
DayTrader 2.1.3 : test PingServlet2Session2 JDBCCollection : crash with NullPointerException
--------------------------------------------------------------------------------------------
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
Fix For: 2.1.7
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.
[jira] Assigned: (DAYTRADER-85) DayTrader 2.1.3 : test
PingServlet2Session2 JDBCCollection : java.sql.SQLException error
Posted by "Forrest Xia (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Forrest Xia reassigned DAYTRADER-85:
------------------------------------
Assignee: Forrest Xia
> 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
>
> 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.
[jira] Commented: (DAYTRADER-85) DayTrader 2.1.3 : test
PingServlet2Session2 JDBCCollection : java.sql.SQLException error
Posted by "Yannick LE NY (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964759#action_12964759 ]
Yannick LE NY commented on DAYTRADER-85:
----------------------------------------
Tested with daytrader 2.1.8 snapshot code source at
http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.1/?sortby=date
revision 1038956.
Bug fixed.
> 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.
[jira] Resolved: (DAYTRADER-85) DayTrader 2.1.3 : test
PingServlet2Session2 JDBCCollection : java.sql.SQLException error
Posted by "Forrest Xia (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Forrest Xia resolved DAYTRADER-85.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.0
2.2.1
please verify 2.1 branch. thank you for reporting this.
> 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.
[jira] Closed: (DAYTRADER-85) DayTrader 2.1.3 : test
PingServlet2Session2 JDBCCollection : java.sql.SQLException error
Posted by "Forrest Xia (JIRA)" <de...@geronimo.apache.org>.
[ 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.
[jira] Commented: (DAYTRADER-85) DayTrader 2.1.3 : test
PingServlet2Session2 JDBCCollection : java.sql.SQLException error
Posted by "Yannick LE NY (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935692#action_12935692 ]
Yannick LE NY commented on DAYTRADER-85:
----------------------------------------
I will try the patch tonight.
> 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.
[jira] Updated: (DAYTRADER-85) DayTrader 2.1.3 : test
PingServlet2Session2 JDBCCollection : crash with NullPointerException
Posted by "Yannick LE NY (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yannick LE NY updated DAYTRADER-85:
-----------------------------------
Attachment: PingServlet2Session2JDBCCollection.log
test PingServlet2Session2JDBCCollection.log error log file.
> DayTrader 2.1.3 : test PingServlet2Session2 JDBCCollection : crash with NullPointerException
> --------------------------------------------------------------------------------------------
>
> 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
> Fix For: 2.1.7
>
> 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.
[jira] Updated: (DAYTRADER-85) DayTrader 2.1.3 : test
PingServlet2Session2 JDBCCollection : java.sql.SQLException error
Posted by "Yannick LE NY (JIRA)" <de...@geronimo.apache.org>.
[ https://issues.apache.org/jira/browse/DAYTRADER-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yannick LE NY updated DAYTRADER-85:
-----------------------------------
Summary: DayTrader 2.1.3 : test PingServlet2Session2 JDBCCollection : java.sql.SQLException error (was: DayTrader 2.1.3 : test PingServlet2Session2 JDBCCollection : crash with NullPointerException)
> 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
> Fix For: 2.1.7
>
> 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.