[JBoss Seam] - seam with oracle adf
by lschaffer
Hello everybody
I would like to use seam with ADF
I am using JDeveloper 10.1.3.1.0
Latest seam (1.1.1GA) version has been download installed
I prepared a new project with seam-gen (thats works)
Then I made a jdev project (using ... project from source) and added new JSP (jspx) page with a simple seam action listener
Then I modified the build.xml (because of jdev needed to prepare own WEB-INF/libs and configs to use jsp editor)
Then I replaced the original (sem generated) web.xml, faces-config.xml ..etc) with files from adfregistration example
Finally I tried to deploy ... no success
Because of I have got various exceptions and I do not know already what I replaced and overwritten ...etc
So could somebody send me (laszlo.schaffer(a)t-online.hu) with a real working prototype where
seam is used with ADF (.jsp or jspx ) (maybe with facelets)
I think it would be enough the
web, faces-config.xml ... the list of the used jars and the build.xml
(Otherwise seam impressed me)
Thanks
Lschaffer
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003877#4003877
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003877
19 years, 3 months
[JBoss jBPM] - Re: removeTaskInstance doesn't work!
by MindTheGap2
Sorry, the real code is this:
| public void removeStateProcessInstance(Integer keyRef, String processNname, String state) {
| JbpmContext jc = jbpmConfiguration.createJbpmContext();
| TaskMgmtSession tms = jc.getTaskMgmtSession();
| try {
| GraphSession gs = jc.getGraphSession();
| ProcessDefinition pd = gs.findLatestProcessDefinition(processName);
|
| List processInstances = gs.findProcessInstances(pd.getId());
| if (processInstances.isEmpty() == false) {
| ListIterator listProcessInstances = processInstances.listIterator();
| while (listProcessInstances.hasNext() ) {
| ProcessInstance pi = (ProcessInstance)listProcessInstances.next();
| ContextInstance contextInstance = pi.getContextInstance();
| if(contextInstance.getVariable("key")!=null) {
| if(keyRef.intValue() == Integer.parseInt(contextInstance.getVariable("key").toString())) {
|
| //Obtém o TaskInstanceId da última tarefa da lista actual
| Iterator taskInstances = pi.getTaskMgmtInstance().getTaskInstances().iterator();
| TaskInstance ti = null;
|
| long tid = 0;
| while (taskInstances.hasNext()) {
| ti = (TaskInstance) taskInstances.next();
| if(ti.getName().equals(state)) tid = ti.getId();
| }
|
| //Put 'End' field to null and get token node
| Node node = null;
| ArrayList<Long> x = new ArrayList<Long>();
| for(Iterator i=pi.getTaskMgmtInstance().getTaskInstances().iterator(); i.hasNext();) {
| ti = (TaskInstance) i.next();
| if(ti.getId()==tid) {
| ti.setEnd(null);
| node = ti.getToken().getNode();
| }
|
| if(ti.getId()>tid){
| x.add(ti.getId());
| }
| }
|
|
| Token token = pi.getRootToken();
| token.setNode(node);
|
| int i;
| //remove taskInstances
| for(i=0;i<x.size();i++) {
| TaskInstance tit = tms.loadTaskInstance(Long.parseLong(x.get(i).toString()));
| pi.getTaskMgmtInstance().removeTaskInstance(tit);
|
| }
|
| }
| }
| jc.save(pi);
| break;
| }
| }
| }catch (Exception e) {
| System.out.println(e.getMessage());
| } finally {
| jc.close();
| }
| }
|
It doesn't save the changes in the db!
Is there any restriction to remove taskInstances?
Thanks in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003867#4003867
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003867
19 years, 3 months
[JBoss Seam] - Clustering issue
by mikepkp17
maybe someone can give me a pointer what to check to solve this issue.
I am working with JBoss-4.0.5.GA installed with the latest JEMS-installer. I installed the EJB3-cluster profile.
In my application I have several SFSBs annotated with @Clustered and after a certain amount of time the following huge stacktrace is printed.
The class which is not found can be any of my SFSBs so it is not always the same class which is not found. The my.TestSFSBean has 3 private String members and a private static Collection where SelectItem implements Serializable.
Any idea?
| 16:10:48,031 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: my.TestSFSBean
| 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
| 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
| 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
| 16:10:48,031 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| 16:10:48,031 ERROR [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| 16:10:48,031 ERROR [STDERR] at java.lang.Class.forName0(Native Method)
| 16:10:48,031 ERROR [STDERR] at java.lang.Class.forName(Class.java:242)
| 16:10:48,031 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.resolveClass(JBossObjectInputStream.java:141)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream$1.resolveClass(JBossObjectInputStream.java:127)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.resolveClassByName(ClassMetamodelFactory.java:266)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:289)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.StreamingClass.readStream(StreamingClass.java:72)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:381)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
| 16:10:48,046 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
| 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68)
| 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342)
| 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.getInterceptorInstances(StatefulBeanContext.java:333)
| 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.getLifecycleInvocationContext(LifecycleInvocationContextImpl.java:65)
| 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate(LifecycleInterceptorHandler.java:143)
| 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.invokePostActivate(StatefulContainer.java:376)
| 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBeanContext.java:183)
| 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheListener.nodeActivate(StatefulTreeCache.java:275)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.TreeCache.notifyNodeActivate(TreeCache.java:5714)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.ActivationInterceptor.remove(ActivationInterceptor.java:162)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.ActivationInterceptor.invoke(ActivationInterceptor.java:152)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:34)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:69)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:183)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.TreeCache.get(TreeCache.java:3367)
| 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheListener.nodePassivate(StatefulTreeCache.java:285)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.TreeCache.notifyNodePassivate(TreeCache.java:5739)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:62)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:179)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.TreeCache.evict(TreeCache.java:3716)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.eviction.BaseEvictionPolicy.evict(BaseEvictionPolicy.java:34)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.eviction.LRUAlgorithm.evict(LRUAlgorithm.java:90)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.eviction.LRUAlgorithm.prune(LRUAlgorithm.java:121)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:98)
| 16:10:48,046 ERROR [STDERR] at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:80)
| 16:10:48,046 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
| 16:10:48,046 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)
| 16:10:48,046 INFO [TxInterceptor] There was a problem handling this request
| java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: No ClassLoaders found for: my.TestSFSBean
| at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate(LifecycleInterceptorHandler.java:152)
| at org.jboss.ejb3.stateful.StatefulContainer.invokePostActivate(StatefulContainer.java:376)
| at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBeanContext.java:183)
| at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheListener.nodeActivate(StatefulTreeCache.java:275)
| at org.jboss.cache.TreeCache.notifyNodeActivate(TreeCache.java:5714)
| at org.jboss.cache.interceptors.ActivationInterceptor.remove(ActivationInterceptor.java:162)
| at org.jboss.cache.interceptors.ActivationInterceptor.invoke(ActivationInterceptor.java:152)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:34)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:69)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345)
| at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:183)
| at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520)
| at org.jboss.cache.TreeCache.get(TreeCache.java:3367)
| at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheListener.nodePassivate(StatefulTreeCache.java:285)
| at org.jboss.cache.TreeCache.notifyNodePassivate(TreeCache.java:5739)
| at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:62)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345)
| at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:179)
| at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520)
| at org.jboss.cache.TreeCache.evict(TreeCache.java:3716)
| at org.jboss.cache.eviction.BaseEvictionPolicy.evict(BaseEvictionPolicy.java:34)
| at org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210)
| at org.jboss.cache.eviction.LRUAlgorithm.evict(LRUAlgorithm.java:90)
| at org.jboss.cache.eviction.LRUAlgorithm.prune(LRUAlgorithm.java:121)
| at org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:98)
| at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:80)
| at java.util.TimerThread.mainLoop(Timer.java:512)
| at java.util.TimerThread.run(Timer.java:462)
| Caused by: java.lang.RuntimeException: java.io.IOException: No ClassLoaders found for: my.TestSFSBean
| at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:367)
| at org.jboss.ejb3.stateful.StatefulBeanContext.getInterceptorInstances(StatefulBeanContext.java:333)
| at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.getLifecycleInvocationContext(LifecycleInvocationContextImpl.java:65)
| at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate(LifecycleInterceptorHandler.java:143)
| ... 37 more
| Caused by: java.io.IOException: No ClassLoaders found for: my.TestSFSBean
| at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:332)
| at org.jboss.serial.classmetamodel.StreamingClass.readStream(StreamingClass.java:72)
| at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:381)
| at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
| at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
| at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196)
| at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172)
| at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
| at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
| at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
| at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
| at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68)
| at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342)
| ... 40 more
| Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: my.TestSFSBean
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:242)
| at org.jboss.serial.classmetamodel.ClassMetamodelFactory.resolveClassByName(ClassMetamodelFactory.java:269)
| at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:289)
| ... 53 more
| 16:10:48,062 INFO [TxInterceptor] There was a problem handling this request
| java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: No ClassLoaders found for: my.TestSFSBean
| at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5526)
| at org.jboss.cache.TreeCache.get(TreeCache.java:3367)
| at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheListener.nodePassivate(StatefulTreeCache.java:285)
| at org.jboss.cache.TreeCache.notifyNodePassivate(TreeCache.java:5739)
| at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:62)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345)
| at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:179)
| at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520)
| at org.jboss.cache.TreeCache.evict(TreeCache.java:3716)
| at org.jboss.cache.eviction.BaseEvictionPolicy.evict(BaseEvictionPolicy.java:34)
| at org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210)
| at org.jboss.cache.eviction.LRUAlgorithm.evict(LRUAlgorithm.java:90)
| at org.jboss.cache.eviction.LRUAlgorithm.prune(LRUAlgorithm.java:121)
| at org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:98)
| at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:80)
| at java.util.TimerThread.mainLoop(Timer.java:512)
| at java.util.TimerThread.run(Timer.java:462)
| Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: No ClassLoaders found for: my.TestSFSBean
| at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate(LifecycleInterceptorHandler.java:152)
| at org.jboss.ejb3.stateful.StatefulContainer.invokePostActivate(StatefulContainer.java:376)
| at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBeanContext.java:183)
| at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheListener.nodeActivate(StatefulTreeCache.java:275)
| at org.jboss.cache.TreeCache.notifyNodeActivate(TreeCache.java:5714)
| at org.jboss.cache.interceptors.ActivationInterceptor.remove(ActivationInterceptor.java:162)
| at org.jboss.cache.interceptors.ActivationInterceptor.invoke(ActivationInterceptor.java:152)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:34)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:69)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345)
| at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156)
| at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
| at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:183)
| at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520)
| ... 19 more
| Caused by: java.lang.RuntimeException: java.io.IOException: No ClassLoaders found for: my.TestSFSBean
| at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:367)
| at org.jboss.ejb3.stateful.StatefulBeanContext.getInterceptorInstances(StatefulBeanContext.java:333)
| at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.getLifecycleInvocationContext(LifecycleInvocationContextImpl.java:65)
| at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate(LifecycleInterceptorHandler.java:143)
| ... 37 more
| Caused by: java.io.IOException: No ClassLoaders found for: my.TestSFSBean
| at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:332)
| at org.jboss.serial.classmetamodel.StreamingClass.readStream(StreamingClass.java:72)
| at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:381)
| at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
| at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
| at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196)
| at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172)
| at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
| at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
| at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
| at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
| at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68)
| at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342)
| ... 40 more
| Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: my.TestSFSBean
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Class.java:242)
| at org.jboss.serial.classmetamodel.ClassMetamodelFactory.resolveClassByName(ClassMetamodelFactory.java:269)
| at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:289)
| ... 53 more
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003865#4003865
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003865
19 years, 3 months