Thanks, it worked (after multiple: 1. clean, 2.build 3.goto 1 again; eclipse 
and ant after some attempts finally did what they should and it worked).

Unfourtunately there still is an error that shows up:


  | ... //Server Start
  | 13:35:47,062 INFO  [STDOUT] I have been created by 
de.somewhere.test.ejbean.NatPersLstSFBea
  | ... // some verbose Hibernate output about creating factory and c3p0 pool 
stuff
  | 13:41:21,234 WARN  [CacheLoaderInterceptor] CacheLoader.get(Fqn) returned a 
null; assuming the node nodes not exist.
  | 13:41:21,234 WARN  [CacheLoaderInterceptor] The CacheLoader interface has 
changed since JBossCache 1.3.x
  | 13:41:21,234 WARN  [CacheLoaderInterceptor] Please see 
http://jira.jboss.com/jira/browse/JBCACHE-118
  | 13:41:21,234 WARN  [CacheLoaderInterceptor] CacheLoader.get() should return 
an empty Map if the node does exist but doesn't have any attributes.
  | 13:58:06,859 INFO  [STDOUT] I will be serial soon 
de.somewhere.test.ejbean.NatPersLstSFBean //done from @PrePassivate
  | 14:00:08,359 INFO  [STDOUT] I have been created by 
de.somewhere.test.ejbean.NatPersLstSFBean //done from @Init
  | 14:03:35,046 ERROR [STDERR] java.lang.RuntimeException: 
java.lang.RuntimeException: java.io.IOException
  | 14:03:35,046 ERROR [STDERR]         at 
org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.prePassivate(LifecycleInterceptorHandler.java:160)
  | 14:03:35,046 ERROR [STDERR]         at 
org.jboss.ejb3.stateful.StatefulContainer.invokePrePassivate(StatefulContainer.java:351)
  | 14:03:35,046 ERROR [STDERR]         at 
org.jboss.ejb3.stateful.StatefulBeanContext.prePassivate(StatefulBeanContext.java:178)
  | 14:03:35,046 ERROR [STDERR]         at 
org.jboss.ejb3.cache.tree.StatefulEvictionPolicy.passivate(StatefulEvictionPolicy.java:73)
  | 14:03:35,046 ERROR [STDERR]         at 
org.jboss.ejb3.cache.tree.StatefulEvictionPolicy.evict(StatefulEvictionPolicy.java:63)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.cache.eviction.LRUAlgorithm.evict(LRUAlgorithm.java:90)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.cache.eviction.LRUAlgorithm.prune(LRUAlgorithm.java:121)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:98)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:80)
  | 14:03:35,062 ERROR [STDERR]         at 
java.util.TimerThread.mainLoop(Timer.java:512)
  | 14:03:35,062 ERROR [STDERR]         at 
java.util.TimerThread.run(Timer.java:462)
  | 14:03:35,062 ERROR [STDERR] Caused by: java.lang.RuntimeException: 
java.io.IOException
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.ejb3.stateful.StatefulBeanContext.getInterceptorInstances(StatefulBeanContext.java:333)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.getLifecycleInvocationContext(LifecycleInvocationContextImpl.java:65)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.prePassivate(LifecycleInterceptorHandler.java:151)
  | 14:03:35,062 ERROR [STDERR]         ... 11 more
  | 14:03:35,062 ERROR [STDERR] Caused by: java.io.IOException
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  | 14:03:35,062 ERROR [STDERR]         at 
org.jboss.serial.persister.ProxyPersister.readData(ProxyPersister.java:66)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165)
  | 14:03:35,078 ERROR [STDERR]         at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342)
  | 14:03:35,078 ERROR [STDERR]         ... 14 more
  | 14:03:35,078 ERROR [STDERR] Caused by: 
java.lang.reflect.InvocationTargetException
  | 14:03:35,078 ERROR [STDERR]         at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 14:03:35,078 ERROR [STDERR]         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 14:03:35,078 ERROR [STDERR]         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 14:03:35,078 ERROR [STDERR]         at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103)
  | 14:03:35,078 ERROR [STDERR]         ... 38 more
  | 14:03:35,078 ERROR [STDERR] Caused by: 
org.jboss.serial.exception.SerializationException: Object reference 5 was not 
found
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:117)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
  | 14:03:35,078 ERROR [STDERR]         at 
org.jboss.serial.persister.ObjectInputStreamProxy.defaultReadObject(ObjectInputStreamProxy.java:78)
  | 14:03:35,078 ERROR [STDERR]         at 
org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.readObject(ThreadLocalSessionContext.java:334)
  | 14:03:35,078 ERROR [STDERR]         ... 43 more
  | 

  | 14:03:35,078 WARN  [CacheLoaderInterceptor] CacheLoader.get(Fqn) returned a 
null; assuming the node nodes not exist.
  | 14:03:35,078 WARN  [CacheLoaderInterceptor] The CacheLoader interface has 
changed since JBossCache 1.3.x
  | 14:03:35,078 WARN  [CacheLoaderInterceptor] Please see 
http://jira.jboss.com/jira/browse/JBCACHE-118
  | 14:03:35,078 WARN  [CacheLoaderInterceptor] CacheLoader.get() should return 
an empty Map if the node does exist but doesn't have any attributes.
  | 14:03:35,078 WARN  [CacheLoaderInterceptor] CacheLoader.get(Fqn) returned a 
null; assuming the node nodes not exist.
  | 14:03:35,078 WARN  [CacheLoaderInterceptor] The CacheLoader interface has 
changed since JBossCache 1.3.x
  | 14:03:35,078 WARN  [CacheLoaderInterceptor] Please see 
http://jira.jboss.com/jira/browse/JBCACHE-118
  | 14:03:35,078 WARN  [CacheLoaderInterceptor] CacheLoader.get() should return 
an empty Map if the node does exist but doesn't have any attributes.
  | 14:06:03,984 ERROR [STDERR] java.lang.NullPointerException
  | 14:06:03,984 ERROR [STDERR]         at 
org.jboss.ejb3.cache.tree.StatefulEvictionPolicy.evict(StatefulEvictionPolicy.java:48)
  | 14:06:03,984 ERROR [STDERR]         at 
org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210)
  | 14:06:04,015 ERROR [STDERR]         at 
org.jboss.cache.eviction.BaseEvictionAlgorithm.emptyRecycleQueue(BaseEvictionAlgorithm.java:461)
  | 14:06:04,015 ERROR [STDERR]         at 
org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:97)
  | 14:06:04,015 ERROR [STDERR]         at 
org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:80)
  | 14:06:04,015 ERROR [STDERR]         at 
java.util.TimerThread.mainLoop(Timer.java:512)
  | 14:06:04,015 ERROR [STDERR]         at 
java.util.TimerThread.run(Timer.java:462)
  | ...
the last part keeps flushing out endlessly, since it keeps calling 
org.jboss.ejb3.cache.tree.StatefulEvictionPolicy.evict(). The SFSB was called 
twice (client startet, sfsb called, client ends).
The first warnings showed up shortly before the @PrePassivate of the SFSB was 
called. The Error seems to be due too the attempt of Passivating the second 
SFSB and prior evicting it from the cache.
Is there something I missed ? 

Sincerly 
Marc
(Sorry for buging you with the endless issue....)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956176#3956176

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956176

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to