[JBoss JIRA] Created: (JBAS-4444) The invoker-proxy-binding in the base container configuration is ignored on sub-configurations.
by Dimitris Andreadis (JIRA)
The invoker-proxy-binding in the base container configuration is ignored on sub-configurations.
-----------------------------------------------------------------------------------------------
Key: JBAS-4444
URL: http://jira.jboss.com/jira/browse/JBAS-4444
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB2
Affects Versions: JBossAS-4.2.0.GA, JBossAS-4.0.5.GA
Reporter: Dimitris Andreadis
Assigned To: Dimitris Andreadis
Fix For: JBossAS-5.0.0.Beta3, JBossAS-4.2.1.CR1
When overriding a container configuration, without specifying an explicit invoker-proxy-binding-name e.g.
<container-configurations>
<container-configuration extends="Standard CMP 2.x EntityBean">
<container-name>CMP 2.x and Cache</container-name>
<commit-option>A</commit-option>
</container-configuration>
</container-configurations>
Then, instead of deriving it from the base configuration invoker-proxy-binding-name (since we are extending it), it falls back to whatever is the hardcoded default, e.g. for entity beans in 4.2.x it is:
public class EntityMetaData
extends BeanMetaData
{
... public static final String DEFAULT_ENTITY_INVOKER_PROXY_BINDING =
"entity-unified-invoker";
--
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.atlassian.com/software/jira
19 years, 2 months
[JBoss JIRA] Created: (JBMESSAGING-511) JDBC and Transaction close/cleanup operations should be bullet-proofed JDBCChannelMapper and elsewhere.
by Joel Lindheimer (JIRA)
JDBC and Transaction close/cleanup operations should be bullet-proofed JDBCChannelMapper and elsewhere.
-------------------------------------------------------------------------------------------------------
Key: JBMESSAGING-511
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-511
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.0.1.CR4
Environment: Windows
Reporter: Joel Lindheimer
Assigned To: Ovidiu Feodorov
I am concerned with object close and wrap.end() methods in JDBCChannelMapper possibly being bypassed if an exception is thrown in the rs.close(), ps.close() blocks (code below is an example of what is currently in the JDBCChannelMapper).
JDBCChannelMapper :
public DurableSubscription getDurableSubscription(String clientID, String subscriptionName, MessageStore ms, PersistenceManager pm, MemoryManager mm) throws Exception {
// Look in memory first
DurableSubscription sub = getDurableSubscription(clientID, subscriptionName);
if (sub != null) {
return sub;
}
//Now look in the db
Connection conn = null;
PreparedStatement ps = null;
ResultSet rs = null;
TransactionWrapper wrap = new TransactionWrapper();
try {
conn = ds.getConnection();
ps = conn.prepareStatement(selectDurableSub);
(do stuff here... )
return sub;
} finally {
if (rs != null) { // JL what if it blose up here?
rs.close();
}
if (ps != null) { // JL or here?
ps.close();
}
if (conn != null) { // or here?
conn.close();
}
wrap.end();
}
}
--
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.atlassian.com/software/jira
19 years, 2 months
[JBoss JIRA] Created: (JBMESSAGING-916) CLONE -JDBCPersistenceManager and JDBCSupport do not close Statements
by jivkoto (JIRA)
CLONE -JDBCPersistenceManager and JDBCSupport do not close Statements
---------------------------------------------------------------------
Key: JBMESSAGING-916
URL: http://jira.jboss.com/jira/browse/JBMESSAGING-916
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Affects Versions: 1.0.1.GA, 1.2.0.Alpha2
Environment: JBoss 4.0.4 GA, Windows XP + SP2, MS SQL SERVER 2000
Reporter: jivkoto
Assigned To: Juha Lindfors
Priority: Minor
Fix For: 1.0.2.CR1
After starting jboss-messaging configured to use MS SQLServer2000 there a lots of mumbles that there are lots of statements that are left open.
10:38:32,265 WARN [WrappedConnection] Closing a statement you left open, please do your own housekeeping
java.lang.Throwable: STACKTRACE
The places where the statements are left open are:
org.jboss.jms.server.plugin.JDBCChannelMapper#createSchema
org.jboss.messaging.core.plugin.JDBCPersistenceManager#createSchema
Even if my report is for jboss-messaging 1.0.1.GA I checked the related places in jboss-messaging-1.2.0.Alpha2. And there is code such as conn.createStatement().executeUpdate(statement) too.
The places I found it are:
org.jboss.jms.server.plugin.JDBCJMSUserManager#insertUserRoleData
org.jboss.messaging.core.plugin.JDBCSupport#createSchema
Please close the statements. I hope that what I am reporting is useful for you.
--
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.atlassian.com/software/jira
19 years, 2 months