[JBoss JIRA] Created: (JBJCA-677) MySQLValidConnectionChecker throw java.lang.IllegalArgumentException
by Vincent MATHON (JIRA)
MySQLValidConnectionChecker throw java.lang.IllegalArgumentException
--------------------------------------------------------------------
Key: JBJCA-677
URL: https://issues.jboss.org/browse/JBJCA-677
Project: IronJacamar
Issue Type: Bug
Components: JDBC
Affects Versions: 1.0.4.Final, 1.0.3.Final, 1.0.1.Final, 1.0.0.Final
Environment: Windows7, JSK Oracle 1.6_25
Reporter: Vincent MATHON
Assignee: Jesper Pedersen
Using org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker leads to
10:26:47,889 WARN [org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker] (MSC service thread 1-3) Unexpected error in ping: java.lang.IllegalArgumentException: wrong number of arguments
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_25]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
at org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker.isValidConnection(MySQLValidConnectionChecker.java:91)
at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:1151)
at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:454)
at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.matchManagedConnections(XAManagedConnectionFactory.java:478)
at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool.java:260)
at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getTransactionNewConnection(AbstractPool.java:488)
at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:369)
at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:351)
at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:367)
at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:467)
at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:129)
at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111) [spring-jdbc-3.0.5.RELEASE.jar:]
at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77) [spring-jdbc-3.0.5.RELEASE.jar:]
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:381) [spring-jdbc-3.0.5.RELEASE.jar:]
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:455) [spring-jdbc-3.0.5.RELEASE.jar:]
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:463) [spring-jdbc-3.0.5.RELEASE.jar:]
at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:471) [spring-jdbc-3.0.5.RELEASE.jar:]
at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:476) [spring-jdbc-3.0.5.RELEASE.jar:]
at org.springframework.jdbc.core.JdbcTemplate.queryForInt(JdbcTemplate.java:485) [spring-jdbc-3.0.5.RELEASE.jar:]
at org.springframework.jdbc.core.simple.SimpleJdbcTemplate.queryForInt(SimpleJdbcTemplate.java:113) [spring-jdbc-3.0.5.RELEASE.jar:]
at com.amdm.espacesocietaire.application.ReplicationStrategyImpl.initializeOnStartup(ReplicationStrategyImpl.java:128) [EspaceSocietaireApplication-process-1.0.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_25]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.5.RELEASE.jar:]
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.5.RELEASE.jar:]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.5.RELEASE.jar:]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.0.5.RELEASE.jar:]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.5.RELEASE.jar:]
at $Proxy220.initializeOnStartup(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_25]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) [spring-aop-3.0.5.RELEASE.jar:]
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.0.5.RELEASE.jar:]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.0.5.RELEASE.jar:]
at com.amdm.ajf.interceptor.threadcache.ThreadCacheInterceptor.invoke(ThreadCacheInterceptor.java:38) [AMDMJEEFramework-server-8.0.jar:]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:]
at com.amdm.ajf.interceptor.log.LogInterceptor.invoke(LogInterceptor.java:61) [AMDMJEEFramework-server-8.0.jar:]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:]
at com.amdm.ajf.interceptor.serialization.JdkSerializationInterceptor.invoke(JdkSerializationInterceptor.java:32) [AMDMJEEFramework-server-8.0.jar:]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:]
at com.amdm.ajf.interceptor.monitoring.SecurityAwareMonitoringInterceptor.invoke(SecurityAwareMonitoringInterceptor.java:31) [AMDMJEEFramework-client-8.0.jar:]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:]
at org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:124) [spring-aop-3.0.5.RELEASE.jar:]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:]
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:50) [spring-aop-3.0.5.RELEASE.jar:]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.5.RELEASE.jar:]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.5.RELEASE.jar:]
at $Proxy221.initializeOnStartup(Unknown Source) at com.amdm.replication.fmk.impl.ReplicationHandlerImpl.initializeOnStartup(ReplicationHandlerImpl.java:238) [ReplicationFramework-process-1.0.jar:]
at com.amdm.replication.fmk.impl.ReplicationHandlerImpl.onApplicationEvent(ReplicationHandlerImpl.java:299) [ReplicationFramework-process-1.0.jar:]
at com.amdm.replication.fmk.impl.ReplicationHandlerImpl.onApplicationEvent(ReplicationHandlerImpl.java:59) [ReplicationFramework-process-1.0.jar:]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97) [spring-context-3.0.5.RELEASE.jar:]
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303) [spring-context-3.0.5.RELEASE.jar:]
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911) [spring-context-3.0.5.RELEASE.jar:]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428) [spring-context-3.0.5.RELEASE.jar:]
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) [spring-web-3.0.5.RELEASE.jar:]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) [spring-web-3.0.5.RELEASE.jar:]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.5.RELEASE.jar:]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) [jbossweb-7.0.1.Final.jar:7.0.1.Final]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821) [jbossweb-7.0.1.Final.jar:7.0.1.Final]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.1.Final.jar:7.0.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] Created: (JBAS-9087) Expose the domain management API over JMX
by Brian Stansberry (JIRA)
Expose the domain management API over JMX
-----------------------------------------
Key: JBAS-9087
URL: https://issues.jboss.org/browse/JBAS-9087
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Domain Management
Reporter: Brian Stansberry
Priority: Critical
Fix For: 7.0.0.Beta4
Create a JMX domain for the AS 7 management layer; expose management resources as mbeans.
Two options:
1) An mbean per resource.
2) Create an adapter layer.
Requirement: do not add significant boot time overhead. Populating the mbean server in the background is permissible.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] Created: (JBRULES-3129) Regression: Evaluator '==' does not support 'null' any more
by Wolfgang Laun (JIRA)
Regression: Evaluator '==' does not support 'null' any more
-----------------------------------------------------------
Key: JBRULES-3129
URL: https://issues.jboss.org/browse/JBRULES-3129
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler
Affects Versions: 5.2.0.Final
Reporter: Wolfgang Laun
Assignee: Mark Proctor
Fix For: 5.2.1.Final
The DRL file given below causes these error messages (although it compiled and executed correctly in 5.1.1).
=============================================================
Evaluator '==' does not support type 'null : [Rule name='rule1']
[DialectError message='Unable to wire compiled classes, probably related to compilation failures:[Error: unable to resolve method using strict-mode: java.lang.Object.a()]
[Near : {... list[0].a ....}]
^
[Line: 1, Column: 9]']
=============================================================
import java.util.List
declare Three
a : String
b : String
c : String
end
declare ListOfThree
list : List
clazz : Class
end
rule 'rule1'
when
ListOfThree( list.size > 0 && list[0].a == null, $c: clazz );
then
System.out.println( "rule1 " + $c.getSimpleName() );
end
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month
[JBoss JIRA] Created: (AS7-1391) org.apache.commons.beanutils module should depend on org.apache.commons.collections
by Scott Kroll (JIRA)
org.apache.commons.beanutils module should depend on org.apache.commons.collections
-----------------------------------------------------------------------------------
Key: AS7-1391
URL: https://issues.jboss.org/browse/AS7-1391
Project: Application Server 7
Issue Type: Bug
Components: Modules
Affects Versions: 7.0.0.Final
Reporter: Scott Kroll
Assignee: David Lloyd
When deploying a project that depends on the org.commons.beanutils project, the classloader for the org.commons.beanutils module throws an exception:
java.lang.ClassNotFoundException:org.apache.commons.collections.Transformer from [Module "org.apache.commons.beanutils:main" from local module loader @6ef137d
After adding the org.commons.collections dependency to the org.commons.beanutils module, this is resolved.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 1 month