问题描述:
系统之前是使用tomcat开发、运行,一切正常。
但是,切换到金蝶的apusic运行系统后,系统能够正常启动,也可以正常访问,并且可以正常登陆。
问题是:如果连续正确或者错误的账号进行登陆操作测试,会出现偶尔无法访问的现象,浏览器表现的特征如图:
刷新后又可继续正常访问。
还有,就是在停止apusic时,按下CTRL+C,apusic的运行窗口会出现如下信息:
IP granted to 192.168.2.12
Licensed from 2011-09-23 to 2011-12-22
CPUs limited to 1
2011-11-29 17:38:52 错误 [apusic.server.Main] 停止 'apusic:name=J2EEDeployer,j2
eType=Service' 服务失败。
java.lang.ExceptionInInitializerError
at java.io.File.deleteOnExit(File.java:939)
at com.apusic.deploy.runtime.J2EEApplication.stopApplication(Unknown So
rce)
at com.apusic.deploy.runtime.J2EEApplication.stopService(Unknown Source
at com.apusic.service.Service.stop(Unknown Source)
at com.apusic.deploy.runtime.J2EEDeployer.stopUserApplications(Unknown
ource)
at com.apusic.deploy.runtime.J2EEDeployer.stopService(Unknown Source)
at com.apusic.service.Service.stop(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.apusic.jmx.MBeanDescriptor.invoke(Unknown Source)
at com.apusic.jmx.DynamicMBeanSupport.invoke(Unknown Source)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Default
BeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:76
)
at com.apusic.server.J2EEServer.stop(Unknown Source)
at com.apusic.server.J2EEServer$1ShutdownHook.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Shutdown in progress
at java.lang.Shutdown.add(Shutdown.java:62)
at java.lang.System$2.registerShutdownHook(System.java:1146)
at java.io.DeleteOnExitHook.<clinit>(DeleteOnExitHook.java:20)
... 17 more
终止批处理操作吗(Y/N)?
将apusic应用服务器的jvm虚拟机内存,调大一下试试!