快乐着飞舞着

---Nothing to do is doing nothing
随笔 - 93, 文章 - 5, 评论 - 56, 引用 - 0
数据加载中……

一个诡异问题终于得已解决

最近在学着在 struts 中使用 spring ,但是在发布到服务器上时总是有如表一的错误 。
所有的配置文件 都是正确的,在网上就根本就没有什么解决办法。
下载一个例子能发布成功,配置文件基本一致,我仔细比较了两个文件 发现差别就是 发布到服务器上 的war文件是否在/WEB-INF/lib文件夹下包含了struts 的所有类库,我当时觉得问题就是出在这里。

把所有的依赖类库复制到jboss server 的lib 目录下,更改设置使得 发布时不包含类库 只发布 代码。经过这样的更改问题解决。

后记:现在想一想 出现ClassCastException 难道是 由于类库跟 server上的类库版本不一致 导致不能类型强制转换 ?



表一

16 : 59 : 47 , 202  ERROR [[ / myUsers]] action:  null
java.lang.ClassCastException: org.springframework.web.struts.ContextLoaderPlugIn
    at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:
816 )
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:
332 )
    at javax.servlet.GenericServlet.init(GenericServlet.java:
211 )
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1105 )
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
932 )
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3917 )
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:
4201 )
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:
759 )
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
739 )
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
524 )
    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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
503 )
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:
164 )
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
659 )
    at org.apache.catalina.core.StandardContext.init(StandardContext.java:
5116 )
    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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
503 )
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:
164 )
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
659 )
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:
297 )
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:
103 )
    at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:
371 )
    at org.jboss.web.WebModule.startModule(WebModule.java:
83 )
    at org.jboss.web.WebModule.startService(WebModule.java:
61 )
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:
289 )
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:
245 )
    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.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:
417 )
    at sun.reflect.GeneratedMethodAccessor6.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 $Proxy41.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:
466 )
    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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:
97 )
    at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:
238 )
    at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:
117 )
    at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:
188 )
    at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:
95 )
    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 $Proxy42.start(Unknown Source)
    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 sun.reflect.GeneratedMethodAccessor8.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 )
16 : 59 : 47 , 218  INFO  [[ / myUsers]] Marking servlet action as unavailable
16 : 59 : 47 , 218  ERROR [[ / myUsers]] Servlet  / myUsers threw load() exception
javax.servlet.UnavailableException
    at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:
850 )
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:
332 )
    at javax.servlet.GenericServlet.init(GenericServlet.java:
211 )
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1105 )
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
932 )
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3917 )
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:
4201 )
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:
759 )
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
739 )
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
524 )
    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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
503 )
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:
164 )
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
659 )
    at org.apache.catalina.core.StandardContext.init(StandardContext.java:
5116 )
    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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:
503 )
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:
164 )
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
659 )
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:
297 )
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:
103 )
    at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:
371 )
    at org.jboss.web.WebModule.startModule(WebModule.java:
83 )
    at org.jboss.web.WebModule.startService(WebModule.java:
61 )
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:
289 )
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:
245 )
    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.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:
417 )
    at sun.reflect.GeneratedMethodAccessor6.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 $Proxy41.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:
466 )
    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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:
97 )
    at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:
238 )
    at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:
117 )
    at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:
188 )
    at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:
95 )
    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 $Proxy42.start(Unknown Source)
    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 sun.reflect.GeneratedMethodAccessor8.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 )

posted on 2006-08-08 17:49 快乐着飞舞着 阅读(5190) 评论(1)  编辑 收藏 引用 所属分类: Java

评论

# re: 一个诡异问题终于得已解决  回复  更多评论   

先谢谢你
2010-12-06 13:07 | 苍狼
只有注册用户登录后才能发表评论。

Clicky