[JBoss JIRA] Created: (JBAS-3385) cmp2.x jdbc2 pm Failed to Deploy 2 Identical EARs with Different Datasource Configuration
by Richard C. L. Li (JIRA)
cmp2.x jdbc2 pm Failed to Deploy 2 Identical EARs with Different Datasource Configuration
-----------------------------------------------------------------------------------------
Key: JBAS-3385
URL: http://jira.jboss.com/jira/browse/JBAS-3385
Project: JBoss Application Server
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: CMP service
Affects Versions: JBossAS-4.0.4.GA
Reporter: Richard C. L. Li
Assigned To: Alexey Loubyansky
Deploying 2 Identical EARs with different datasource configuration will generate the following exception:
2006-07-11 12:54:36,458 INFO [org.jboss.ejb.plugins.cmp.jdbc2.schema.PartitionedTableCache] Registration is not done -> stop
2006-07-11 12:54:36,458 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:module=retailsales.jar,uid=12606869,service=EjbModule
org.jboss.deployment.DeploymentException: Failed to register table cache for memo; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.cmp:service=tablecache,ejbname=Memo,table=memo already registered.)
at org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable.<init>(EntityTable.java:216)
at org.jboss.ejb.plugins.cmp.jdbc2.schema.Schema.createEntityTable(Schema.java:93)
at org.jboss.ejb.plugins.cmp.jdbc2.bridge.JDBCEntityBridge2.<init>(JDBCEntityBridge2.java:80)
at org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2.initStoreManager(JDBCStoreManager2.java:437)
at org.jboss.ejb.plugins.cmp.jdbc2.JDBCStoreManager2.start(JDBCStoreManager2.java:175)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172)
at org.jboss.ejb.EntityContainer.startPmAndInterceptors(EntityContainer.java:1063)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:422)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy16.start(Unknown Source)
at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662)
at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy17.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
Caused by: javax.management.InstanceAlreadyExistsException: jboss.cmp:service=tablecache,ejbname=Memo,table=memo already registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:225)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
at org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable.<init>(EntityTable.java:211)
... 67 more
--
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
16 years, 10 months
[JBoss JIRA] Created: (JBCACHE-725) Reduce the amount of INFO logging
by Dimitris Andreadis (JIRA)
Reduce the amount of INFO logging
---------------------------------
Key: JBCACHE-725
URL: http://jira.jboss.com/jira/browse/JBCACHE-725
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Affects Versions: 1.4.0
Reporter: Dimitris Andreadis
Assigned To: Manik Surtani
I've posted this to jboss-dev, and didn't get a reply, so:
No big deal, but you guys really need to reduce the amount of INFO logging that goes to the console.
This is from HEAD but Branch_4_x is not any better. Those should really be DEBUG level:
http://docs.jboss.org/process-guide/en/html/logging.html
(and why JGroups need to do that STDOUT printout anyway?)
14:40:24,374 INFO [TreeCache] setting cluster properties from xml to:
UDP(down_
thread=false;enable_bundling=true;ip_ttl=2;loopback=false;max_bundle_siz
e=64000;
max_bundle_timeout=30;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_b
uf_size=
25000000;mcast_send_buf_size=640000;ucast_recv_buf_size=20000000;ucast_s
end_buf_
size=640000;up_thread=false;use_incoming_packet_handler=true;use_outgoin
g_packet
_handler=false):PING(down_thread=false;num_initial_members=3;timeout=200
0;up_thr
ead=false):MERGE2(down_thread=false;max_interval=100000;min_interval=200
00;up_th
read=false):FD(down_thread=false;max_tries=5;shun=true;timeout=2500;up_t
hread=fa
lse):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbca
st.NAKAC
K(discard_delivered_msgs=true;down_thread=false;gc_lag=50;max_xmit_size=
60000;re
transmit_timeout=100,200,300,600,1200,2400,4800;up_thread=false;use_mcas
t_xmit=f
alse):UNICAST(down_thread=false;timeout=300,600,1200,2400,3600;up_thread
=false):
pbcast.STABLE(desired_avg_gossip=50000;down_thread=false;max_bytes=21000
00;stabi
lity_delay=1000;up_thread=false):pbcast.GMS(down_thread=false;join_retry
_timeout
=2000;join_timeout=3000;print_local_addr=true;shun=true;up_thread=false)
:FC(down
_thread=false;max_credits=10000000;min_threshold=0.20;up_thread=false):F
RAG2(dow
n_thread=false;frag_size=60000;up_thread=false):pbcast.STATE_TRANSFER(do
wn_threa
d=false;up_thread=false)
14:40:24,434 INFO [BuddyManager] Using buddy communication timeout of 2000 mill is
14:40:24,454 INFO [TreeCache] Not using an EvictionPolicy
14:40:24,504 INFO [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.DataGravitatorInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
14:40:24,524 INFO [TreeCache] cache mode is REPL_ASYNC
14:40:24,815 WARN [JChannel] option GET_STATE_EVENTS has been deprecated (it is always true now); this option is ignored
14:40:25,035 INFO [STDOUT]
-------------------------------------------------------
GMS: address is 192.168.0.20:3384
-------------------------------------------------------
14:40:27,088 INFO [TreeCache] viewAccepted() for Tomcat-Cluster:
[192.168.0.20:
3384|0] [192.168.0.20:3384]
14:40:27,088 INFO [TreeCache] processNewView(): [192.168.0.20:3384|0] [192.168.
0.20:3384]
14:40:27,138 INFO [TreeCache] processNewView(): [192.168.0.20:3384|0] [192.168.
0.20:3384]
14:40:27,138 INFO [TreeCache] TreeCache local address is
192.168.0.20:3384
14:40:27,138 INFO [BuddyManager] Instance 192.168.0.20:3384 broadcasting member ship in buddy pool default to recipients null
14:40:27,138 WARN [NextMemberBuddyLocator] Expected to look for 1 buddies but c ould only find 0 suitable candidates - trying with colocated buddies as well.
14:40:27,138 WARN [NextMemberBuddyLocator] Expected to look for 1 buddies but c ould only find 0 suitable candidates - trying again, ignoring buddy pool hints.
14:40:27,138 WARN [NextMemberBuddyLocator] Expected to look for 1 buddies but c ould only find 0 suitable candidates - trying with colocated buddies as well.
14:40:27,138 WARN [NextMemberBuddyLocator] Expected to look for 1 buddies but c ould only find 0 suitable candidates!
14:40:27,168 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty ...
14:40:34,609 INFO [TreeCache] setting cluster properties from xml to:
UDP(ip_mc
ast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=45551;
mcast_re
cv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;u
cast_sen
d_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=
2000;up_
thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thre
ad=false
;shun=true;up_thread=false):VERIFY_SUSPECT(down_thread=false;timeout=150
0;up_thr
ead=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;
retransm
it_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false
;timeout
=600,1200,2400):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false
;up_thre
ad=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.
GMS(join
_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):p
bcast.ST
ATE_TRANSFER(down_thread=false;up_thread=false)
14:40:34,639 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
14:40:34,639 WARN [TreeCache] No transaction manager lookup class has been defi ned. Transactions cannot be used
14:40:34,669 WARN [TreeCache] Using deprecated configuration element 'EvictionP olicyProvider'. This is only provided for 1.2.x backward compatibility and may disappear in future releases.
14:40:34,709 INFO [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.EvictionInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.ActivationInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.PassivationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
14:40:34,759 INFO [TreeCache] cache mode is REPL_ASYNC
14:40:34,779 WARN [JChannel] option GET_STATE_EVENTS has been deprecated (it is always true now); this option is ignored
14:40:34,799 INFO [STDOUT]
-------------------------------------------------------
GMS: address is 192.168.0.20:3391
-------------------------------------------------------
14:40:36,822 INFO [TreeCache] viewAccepted() for SFSB-Cache:
[192.168.0.20:3391
|0] [192.168.0.20:3391]
14:40:36,822 INFO [TreeCache] processNewView(): [192.168.0.20:3391|0] [192.168.
0.20:3391]
14:40:36,842 INFO [TreeCache] processNewView(): [192.168.0.20:3391|0] [192.168.
0.20:3391]
14:40:36,852 INFO [TreeCache] TreeCache local address is
192.168.0.20:3391
14:40:36,852 INFO [TreeCache] transferred state is null (may be first member in
cluster)
14:40:36,852 INFO [TreeCache] State could not be retrieved (we are the first me mber in group)
14:40:36,862 INFO [CacheLoaderManager] preloading transient state from cache lo ader org.jboss.cache.loader.FileCacheLoader@17d8769
14:40:36,872 INFO [CacheLoaderManager] preloading transient state from cache lo ader was successful (in 10 milliseconds)
14:40:36,872 INFO [RegionManager] Starting eviction timer
14:40:37,002 INFO [TreeCache] setting cluster properties from xml to:
UDP(ip_mc
ast=true;ip_ttl=2;loopback=false;mcast_addr=228.1.2.3;mcast_port=43333;m
cast_rec
v_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;uc
ast_send
_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2
000;up_t
hread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_threa
d=true;s
hun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;u
p_thread
=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;ret
ransmit_
timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;mi
n_thresh
old=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_
gossip=2
0000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size
=8192;up
_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;prin
t_local_
addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=f
alse)
14:40:37,022 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
14:40:37,032 WARN [TreeCache] Using deprecated configuration element 'EvictionP olicyProvider'. This is only provided for 1.2.x backward compatibility and may disappear in future releases.
14:40:37,032 INFO [InterceptorChainFactory] interceptor chain is:
class org.jboss.cache.interceptors.CallInterceptor
class org.jboss.cache.interceptors.EvictionInterceptor
class org.jboss.cache.interceptors.PessimisticLockInterceptor
class org.jboss.cache.interceptors.UnlockInterceptor
class org.jboss.cache.interceptors.ReplicationInterceptor
class org.jboss.cache.interceptors.TxInterceptor
class org.jboss.cache.interceptors.CacheMgmtInterceptor
14:40:37,102 INFO [TreeCache] cache mode is REPL_SYNC
14:40:37,122 ERROR [UNICAST] window_size is deprecated and will be ignored
14:40:37,122 ERROR [UNICAST] min_threshold is deprecated and will be ignored
14:40:37,122 WARN [JChannel] option GET_STATE_EVENTS has been deprecated (it is always true now); this option is ignored
14:40:37,142 INFO [STDOUT]
-------------------------------------------------------
GMS: address is 192.168.0.20:3394
-------------------------------------------------------
14:40:39,185 INFO [TreeCache] viewAccepted() for EJB3-entity-cache:
[192.168.0.
20:3394|0] [192.168.0.20:3394]
14:40:39,185 INFO [TreeCache] processNewView(): [192.168.0.20:3394|0] [192.168.
0.20:3394]
14:40:39,185 INFO [TreeCache] processNewView(): [192.168.0.20:3394|0] [192.168.
0.20:3394]
14:40:39,185 INFO [TreeCache] TreeCache local address is
192.168.0.20:3394
14:40:39,185 INFO [TreeCache] transferred state is null (may be first member in
cluster)
14:40:39,185 INFO [TreeCache] State could not be retrieved (we are the first me mber in group)
14:40:39,185 INFO [RegionManager] Starting eviction timer
--
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
16 years, 10 months
[JBoss JIRA] Created: (JBCACHE-701) PojoCache to revisit usage of get with gravitation
by Ben Wang (JIRA)
PojoCache to revisit usage of get with gravitation
--------------------------------------------------
Key: JBCACHE-701
URL: http://jira.jboss.com/jira/browse/JBCACHE-701
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Components: PojoCache
Reporter: Ben Wang
Assigned To: Ben Wang
Fix For: POJOCache
Currently we have in couple places to trigger data gravitation (for buddy replication) in PojoCache. But this is still prone to error (and may be inefficient as well) becuase of the possibility of recursive call. Is it possible that we do this from the user code instead? That is, before we go to PojoCache, can we do get(region, dataGravitation) to gravitate all data to this node first?
Let's check this with Brian.
--
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
16 years, 10 months
[JBoss JIRA] Created: (JBRULES-377) the whole rule set was looped.
by wen Lin (JIRA)
the whole rule set was looped.
------------------------------
Key: JBRULES-377
URL: http://jira.jboss.com/jira/browse/JBRULES-377
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Decision tables
Affects Versions: 3.0.1
Environment: window xp, eclipse-3.1.2
Reporter: wen Lin
Assigned To: Mark Proctor
There were some discussions about this issue in the drools-user mailing list already.
In the decision table, salience = true:
When I modify a variable in the action cell, even I have specified keyword "UNLOOP" to be true, all other rules satisfying the new conditions are fired (even for rules which already fired before). Therefore, the whole rule set is looped and can not stop running.
Currently I need to set up a lot of flags to avoid this situation ...
--
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
16 years, 11 months