EJB报异常,刚学,求解决

问题描述

17:15:05,635ERROR[org.jboss.ejb3.cache.simple.SimpleStatefulCache.MUserBLL]problempassivationthread:javax.ejb.EJBException:Couldnotpassivate;failedtosavestateatorg.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:409)[:1.7.21]atorg.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:397)[:1.7.21]atorg.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:301)[:1.7.21]Causedby:java.io.IOExceptionatorg.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)[:6.1.0.Final]Causedby:java.io.IOExceptionatorg.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)[:6.1.0.Final]atorg.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)[:6.1.0.Final]atjava.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)[:1.7.0_60]atjava.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1520)[:1.7.0_60]...103moreCausedby:java.lang.reflect.InvocationTargetExceptionatsun.reflect.GeneratedMethodAccessor349.invoke(UnknownSource)[:1.7.0_60]atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_60]atjava.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_60]atorg.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)[:6.1.0.Final]...110moreCausedby:java.io.IOExceptionatorg.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:129)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:86)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)[:6.1.0.Final]atorg.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)[:6.1.0.Final]atjava.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)[:1.7.0_60]atjava.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1520)[:1.7.0_60]...114moreCausedby:java.lang.reflect.InvocationTargetExceptionatsun.reflect.GeneratedMethodAccessor349.invoke(UnknownSource)[:1.7.0_60]atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_60]atjava.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_60]atorg.jboss.serial.persister.RegularObjectPersister.writeSlotWithMethod(RegularObjectPersister.java:120)[:6.1.0.Final]...141moreCausedby:java.lang.NoClassDefFoundError:org/mozilla/javascript/EvaluatorExceptionatjava.lang.Class.getDeclaredMethods0(NativeMethod)[:1.7.0_60]atjava.lang.Class.privateGetDeclaredMethods(Class.java:2570)[:1.7.0_60]atjava.lang.Class.getDeclaredMethod(Class.java:2002)[:1.7.0_60]atorg.jboss.serial.classmetamodel.ClassMetaData.lookupMethodOnHierarchy(ClassMetaData.java:102)[:6.1.0.Final]atorg.jboss.serial.classmetamodel.ClassMetaData.lookupInternalMethods(ClassMetaData.java:432)[:6.1.0.Final]atorg.jboss.serial.classmetamodel.ClassMetaData.<init>(ClassMetaData.java:122)[:6.1.0.Final]atorg.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData(ClassMetamodelFactory.java:350)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:168)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeSlotWithFields(RegularObjectPersister.java:182)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.defaultWrite(RegularObjectPersister.java:90)[:6.1.0.Final]atorg.jboss.serial.persister.RegularObjectPersister.writeData(RegularObjectPersister.java:62)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.ObjectDescriptorFactory.describeObject(ObjectDescriptorFactory.java:276)[:6.1.0.Final]atorg.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectOutput.writeObject(DataContainer.java:206)[:6.1.0.Final]atorg.jboss.serial.persister.ObjectOutputStreamProxy.writeObjectOverride(ObjectOutputStreamProxy.java:60)[:6.1.0.Final]atjava.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)[:1.7.0_60]atjava.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1520)[:1.7.0_60]...145moreCausedby:java.lang.ClassNotFoundException:org.mozilla.javascript.EvaluatorExceptionfromBaseClassLoader@14eb1ab0{vfs:///D:/jboss/server/default/deploy/RCS.UI.war}atorg.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480)[jboss-classloader.jar:2.2.1.GA]atjava.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_60]...162more

解决方案

时间: 2025-01-03 09:09:33

EJB报异常,刚学,求解决的相关文章

java定时器 run方法怎么返回值 我要返回result 代码里一直报错 晚生跪求解决

问题描述 java定时器 run方法怎么返回值 我要返回result 代码里一直报错 晚生跪求解决 public VirementResultInfo queryTransaction( final String bank, final TransactionInfo transactionInfo) { // final VirementResultInfo result = null; TimerTask task = new TimerTask() { @Override public v

weblogic环境下,EJB调用异常,有知道解决办法的吗

问题描述 SessionBean:packagecom.test.ejb;importjavax.ejb.Stateless;@StatelesspublicclassHelloWorldimplementsHelloWorldLocal,HelloWorldRemote{publicHelloWorld(){}publicStringsayHello(Stringname){returnname+":lllll";}}客户端调用:packageejb.client;importjav

关于java异常的问题求解决

问题描述 关于java异常的问题求解决 import java.io.*; class DivisorIsZeroException extends Exception { public DivisorIsZeroException(String name) { super(name); } } class A { public int divide(int a, int b) throws DivisorIsZeroException { int m = 0; if(0 == b) throw

mysql没关闭 就关机了 再次开机 报 high service error 求解决

问题描述 重装也报错.............. 解决方案 解决方案二:#Otherdefaulttuningvalues#MySQLServerInstanceConfigurationFile#----------------------------------------------------------------------#GeneratedbytheMySQLServerInstanceConfigurationWizard解决方案三:InstallationInstructio

tomcat发布web项目 报ip地址非法 求解决

问题描述 Exceptioninthread"Thread-3"com.huawei.bme.commons.exception.GeneralBMEException:IP地址非法.atcom.huawei.bme.system.devicemgr.DeviceManagerProcess.checkDeviceInfo(DeviceManagerProcess.java:298)atcom.huawei.bme.system.devicemgr.DeviceManagerProce

android-安卓源码编译中 #include &amp;amp;lt;stdio.h&amp;amp;gt; 会报异常

问题描述 安卓源码编译中 #include <stdio.h> 会报异常 在kernel/driver中的c文件里面调用FILE*类指针.添加#include 头文件就会报异常.请教如何解决. CC scripts/mod/devicetable-offsets.s GEN scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o HOSTLD scripts/mod/modpost CHK include/genera

java-tao-ReviewBoard在进行pre-commit的时候报解析日期异常,求解决。。。

问题描述 tao-ReviewBoard在进行pre-commit的时候报解析日期异常,求解决... 解决方案 http://my.oschina.net/donhui/blog/350074

图片-求指教。。。刚学myeclipse,不知道这该怎么处理

问题描述 求指教...刚学myeclipse,不知道这该怎么处理 解决方案 一般来说myeclipse编译,我们无须太关注warning,主要要解决的是error,warning不会对你程序运行有影响,但是还是需要知道warning是什么意思, 如果对程序运行有影响再去解决吧. 解决方案二: 不报错就不影响,警告很容易就有,定义的方法,本页面没调用也会警告,不影响运行就行.

android-Android 写事件监听 真机调试出现闪退(我是新手,刚学Android,求大神指教)

问题描述 Android 写事件监听 真机调试出现闪退(我是新手,刚学Android,求大神指教) 这是我的程序: ImageView imageView = (ImageView) findViewById(R.id.login_image); imageView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { } }); 这是错误日志: 03-08 18:10:43