[JBossCache] - Re: Eviction Policy problem cache clear
by Gorshkov
That`s my log:
| 2006-08-03 09:44:06,736 DEBUG [org.jboss.system.ServiceCreator] About to create bean: jboss.cache:service=TreeCache with code: org.jboss.cache.TreeCache
| 2006-08-03 09:44:06,767 DEBUG [org.jboss.system.ServiceCreator] Created bean: jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,767 DEBUG [org.jboss.system.ServiceController] recording that jboss.cache:service=TreeCache depends on jboss:service=Naming
| 2006-08-03 09:44:06,767 DEBUG [org.jboss.system.ServiceConfigurator] considering <anonymous> with object name jboss:service=Naming
| 2006-08-03 09:44:06,767 DEBUG [org.jboss.system.ServiceController] recording that jboss.cache:service=TreeCache depends on jboss:service=TransactionManager
| 2006-08-03 09:44:06,767 DEBUG [org.jboss.system.ServiceConfigurator] considering <anonymous> with object name jboss:service=TransactionManager
| 2006-08-03 09:44:06,767 DEBUG [org.jboss.system.ServiceConfigurator] TransactionManagerLookupClass set to org.jboss.cache.JBossTransactionManagerLookup in jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,767 DEBUG [org.jboss.system.ServiceConfigurator] IsolationLevel set to REPEATABLE_READ in jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,767 DEBUG [org.jboss.system.ServiceConfigurator] CacheMode set to LOCAL in jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,767 DEBUG [org.jboss.system.ServiceConfigurator] ClusterName set to EJB3-entity-cache in jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,783 DEBUG [org.jboss.system.ServiceConfigurator] ClusterConfig set to [config: null] in jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,783 INFO [org.jboss.cache.TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=2;loopback=false;mcast_addr=228.1.2.3;mcast_port=43333;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_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_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;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;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false)
| 2006-08-03 09:44:06,783 DEBUG [org.jboss.system.ServiceConfigurator] InitialStateRetrievalTimeout set to 5000 in jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,783 DEBUG [org.jboss.system.ServiceConfigurator] SyncReplTimeout set to 10000 in jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,783 DEBUG [org.jboss.system.ServiceConfigurator] LockAcquisitionTimeout set to 15000 in jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,783 DEBUG [org.jboss.system.ServiceConfigurator] EvictionPolicyClass set to org.jboss.cache.eviction.LRUPolicy in jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,783 DEBUG [org.jboss.system.ServiceConfigurator] EvictionPolicyConfig set to [config: null] in jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,783 INFO [org.jboss.cache.TreeCache] setEvictionPolicyConfig(): [config: null]
| 2006-08-03 09:44:06,783 DEBUG [org.jboss.system.ServiceController] Creating service jboss.cache:service=TreeCache
| 2006-08-03 09:44:06,783 DEBUG [org.jboss.system.ServiceController] waiting in create of jboss.cache:service=TreeCache waiting on jboss:service=Naming
| 2006-08-03 09:44:06,783 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying ejb3-entity-cache-service.xml
|
| 2006-08-03 09:44:08,406 DEBUG [org.jboss.cache.TreeCache] Creating jboss.cache:service=TreeCache
| 2006-08-03 09:44:08,406 DEBUG [org.jboss.cache.TreeCache] failed looking up TransactionManager, will not use transactions
| javax.naming.NameNotFoundException: TransactionManager not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
| at javax.naming.InitialContext.lookup(InitialContext.java:351)
| at org.jboss.cache.JBossTransactionManagerLookup.getTransactionManager(JBossTransactionManagerLookup.java:18)
| at org.jboss.cache.TreeCache._createService(TreeCache.java:1311)
| at org.jboss.cache.TreeCache.createService(TreeCache.java:1297)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
| 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.create(Unknown Source)
| at org.jboss.system.ServiceController.create(ServiceController.java:330)
| at org.jboss.system.ServiceController.create(ServiceController.java:273)
| at org.jboss.system.ServiceController.create(ServiceController.java:349)
| at org.jboss.system.ServiceController.create(ServiceController.java:273)
| at org.jboss.system.ServiceController.create(ServiceController.java:349)
| at org.jboss.system.ServiceController.create(ServiceController.java:273)
| at sun.reflect.GeneratedMethodAccessor5.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 $Proxy4.create(Unknown Source)
| at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at sun.reflect.GeneratedMethodAccessor14.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 $Proxy6.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.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 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.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 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 $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 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 $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:464)
| at java.lang.Thread.run(Thread.java:595)
| 2006-08-03 09:44:08,406 WARN [org.jboss.cache.TreeCache] Using deprecated configuration element 'EvictionPolicyProvider'. This is only provided for 1.2.x backward compatibility and may disappear in future releases.
| 2006-08-03 09:44:08,421 DEBUG [org.jboss.cache.eviction.LRUConfiguration] parseConfig: name -- /_default_ maxNodes -- 5 timeToLiveSeconds -- 10 maxAgeSeconds -- 15
| 2006-08-03 09:44:08,421 DEBUG [org.jboss.cache.eviction.RegionManager] createRegion(): creating region for fqn- /_default_
|
| 2006-08-03 09:44:08,608 DEBUG [org.jboss.cache.TreeCache] Starting jboss.cache:service=TreeCache
| 2006-08-03 09:44:08,608 INFO [org.jboss.cache.eviction.RegionManager] Starting eviction timer
| 2006-08-03 09:44:08,608 DEBUG [org.jboss.cache.TreeCache] Started jboss.cache:service=TreeCache
|
| 2006-08-03 09:44:33,650 DEBUG [org.jboss.cache.eviction.BaseEvictionAlgorithm] Adding element /imhotep/cmp/PubBean/imhotep.cmp.PubBean#49020 for a node that doesn't exist yet. Process as an add.
| 2006-08-03 09:44:33,650 DEBUG [org.jboss.cache.eviction.BaseEvictionAlgorithm] Adding element /imhotep/cmp/DocBean/imhotep.cmp.DocBean#5141322 for a node that doesn't exist yet. Process as an add.
|
| 2006-08-03 09:44:43,667 DEBUG [org.jboss.cache.eviction.BaseEvictionAlgorithm] Visiting node that was not added to eviction queues. Assuming that it has 1 element.
| 2006-08-03 09:44:43,667 DEBUG [org.jboss.cache.eviction.BaseEvictionAlgorithm] Visiting node that was not added to eviction queues. Assuming that it has 1 element.
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962716#3962716
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962716
18 years, 5 months
[EJB 3.0] - Deployment order and @Depends annotation
by jesla
Hi,
I have an ear package (named contact.ear) which classes I would like to use within another package (contactws.jar). Everything works fine if I first deploy the ear and then the another package. However, in normal situation (e.g. on server restart) the deployment order is different and contact.jar won?t deploy.
My question is, could I influence the deployment order with @Depends annotation and if so, what parameters (i.e. ear=contact.ear, jar...) give?
Regards, Matti
| 2006-08-03 08:50:42,484 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/C:/jboss-4.0.4.GA/server/default/deploy/contactws.jar
| java.lang.NoClassDefFoundError: contactinfo/ejb/Info
| at java.lang.Class.getDeclaredMethods0(Native Method)
| at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
|
Btw. contactinfo/ejb/Info is entity bean.
| --- Incompletely deployed packages ---
| org.jboss.deployment.DeploymentInfo@a1dbee32 { url=file:/C:/jboss-4.0.4.GA/server/default/deploy/contactws.jar }
| deployer: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
| status: Deployment FAILED reason: contactinfo/ejb/Info
| state: FAILED
| watch: file:/C:/jboss-4.0.4.GA/server/default/deploy/contactws.jar
| altDD: null
| lastDeployed: 1154584242093
| lastModified: 1154584242062
| mbeans:
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962713#3962713
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962713
18 years, 5 months
[JBoss Seam] - Problem with editing entity if it uses @EmbeddedId
by pczekaj
I'm having problems with editing entity with @EmbeddedId. On page I've placed inputText element for every PK field, for example:
<h:inputText id="id_nr" value="#{uscModpskr.id.nr}" required="true"/>
I can see in inputText proper values fetched from database but when I click h:commandButton I'm getting 5 times Conversion error occurred message. My PK contains 5 fields: 2 strings, 2 ints, one char field.
| @Stateful
| @Name("marriageSearch")
| @Scope(ScopeType.SESSION)
| public class MarriageSearchingAction implements MarriageSearching, Serializable {
|
| @In(required=false)
| @Out(required=false)
| private UscModpskr uscModpskr;
|
| //[...]
| }
|
| // Generated 2006-06-04 20:38:58 by Hibernate Tools 3.1.0.beta5
| @Entity
| @Table(name = "usc_modpskr", uniqueConstraints = {})
| @Name("uscModpskr")
| public class UscModpskr implements java.io.Serializable {
|
| // Fields
| private UscId id;
|
| private String dzpl;
| //[...many other fields...]
|
| @EmbeddedId
| @AttributeOverrides( {
| @AttributeOverride(name = "idusc", column = @Column(name = "idusc", unique = false, nullable = false, insertable = true, updatable = true, length = 10)),
| @AttributeOverride(name = "rk", column = @Column(name = "rk", unique = false, nullable = false, insertable = true, updatable = true)),
| @AttributeOverride(name = "dz", column = @Column(name = "dz", unique = false, nullable = false, insertable = true, updatable = true, length = 20)),
| @AttributeOverride(name = "nr", column = @Column(name = "nr", unique = false, nullable = false, insertable = true, updatable = true)),
| @AttributeOverride(name = "nrp", column = @Column(name = "nrp", unique = false, nullable = false, insertable = true, updatable = true, length = 1)) })
| public UscId getId() {
| return this.id;
| }
|
| public void setId(UscId id) {
| this.id = id;
| }
| }
|
| @Embeddable
| public class UscId implements java.io.Serializable {
|
| private String idusc;
|
| private int rk;
|
| private String dz;
|
| private int nr;
|
| private char nrp;
|
| //[...getters and setters...]
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962709#3962709
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962709
18 years, 5 months