EOS中BPS的WorkSpace启动不了,提示服务器连接失败。
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
原因是系统中新添加了一个Jar包(wsdl4j-1.5.1.jar)和原系统的wsdl4j-1.6.2.jar冲突,项目在启动时报错。
java.lang.NoSuchMethodError: javax.wsdl.Definition.getAllBindings()Ljava/util/Map;
解决方法就是删除wsdl4j-1.5.1.jar
项目启动具体错误如下:
[default][2015-03-12 10:10:06,219][INFO ][SystemService:185] Primeton Platform version 6.6.0.0 Build No: 1787 (201205181238--1787) Build date: 2012-05-18 12:38
[default][2015-03-12 10:10:06,222][INFO ][SystemService:230] EOS system service started successfully
[BPS Process Server][2015-03-12 10:10:23,324][INFO] Start BPS Process Server !
[BPS Process Server][2015-03-12 10:10:24,623][INFO] BPS Cluster Framework is False !
[BPS Process Server][2015-03-12 10:10:25,305][INFO] Initialize BPS bizResource module successful .
[BPS Process Server][2015-03-12 10:10:25,305][INFO] BPS Process Server start up in 2017 ms
[BPS Process Server][2015-03-12 10:10:25,306][INFO] BPS Message Framework is False !
[default][2015-03-12 10:10:33,611][ERROR][com.primeton.runtime.core.impl.RuntimeListenerManagerImpl:50] Runtime Listener start error.
java.lang.NoSuchMethodError: javax.wsdl.Definition.getAllBindings()Ljava/util/Map;
at org.apache.tuscany.sca.binding.ws.wsdlgen.WSDLDefinitionGenerator.getBindingNames(WSDLDefinitionGenerator.java:167)
at org.apache.tuscany.sca.binding.ws.wsdlgen.WSDLDefinitionGenerator.configureBinding(WSDLDefinitionGenerator.java:139)
at org.apache.tuscany.sca.binding.ws.wsdlgen.WSDLDefinitionGenerator.createBinding(WSDLDefinitionGenerator.java:116)
at org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGenerator.generate(Interface2WSDLGenerator.java:232)
at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenerator.createWSDLInterfaceContract(BindingWSDLGenerator.java:343)
at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenerator.createWSDLDocument(BindingWSDLGenerator.java:225)
at org.apache.tuscany.sca.binding.ws.wsdlgen.BindingWSDLGenerator.generateWSDL(BindingWSDLGenerator.java:170)
at org.apache.tuscany.sca.binding.ws.xml.BindingBuilderImpl.build(BindingBuilderImpl.java:48)
at org.apache.tuscany.sca.assembly.builder.impl.ComponentServiceBindingBuilderImpl.buildServiceBindings(ComponentServiceBindingBuilderImpl.java:66)
at org.apache.tuscany.sca.assembly.builder.impl.ComponentServiceBindingBuilderImpl.build(ComponentServiceBindingBuilderImpl.java:48)
at org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl.build(CompositeBuilderImpl.java:152)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.buildComposite(ReallySmallRuntime.java:234)
at org.apache.tuscany.sca.host.embedded.impl.EmbeddedSCADomain.buildComposite(EmbeddedSCADomain.java:101)
at com.primeton.sca.host.impl.EOSSCADomain.buildContribution(EOSSCADomain.java:72)
at com.primeton.sca.host.impl.EOSSCADomain.addContribution(EOSSCADomain.java:124)
at com.primeton.ext.sca.host.ScaSystem.addContribution(ScaSystem.java:243)
at com.primeton.sca.host.impl.SCAResourceLoadListener.load(SCAResourceLoadListener.java:59)
at com.primeton.runtime.resource.impl.ResourceNotify.notifyResource(ResourceNotify.java:106)
at com.primeton.runtime.resource.impl.ApplicationResourceLoaderManager.loadApplicationResource(ApplicationResourceLoaderManager.java:38)
at com.primeton.ext.runtime.resource.startup.ResourceLoaderStartUpListener.start(ResourceLoaderStartUpListener.java:36)
at com.primeton.runtime.core.impl.RuntimeListenerManagerImpl.startListener(RuntimeListenerManagerImpl.java:43)
at com.primeton.ext.runtime.core.RuntimeManager.start(RuntimeManager.java:64)
at com.primeton.ext.runtime.core.RuntimeJ2EEHost.contextInitialized(RuntimeJ2EEHost.java:52)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
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 org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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:592)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
WorkSpace登录报错:
[default][2015-03-10 09:32:53,929][ERROR][com.primeton.access.client.impl.skeleton.ServiceEngine:38]
java.lang.reflect.InvocationTargetException
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:592)
at com.primeton.access.client.impl.skeleton.ScaServiceReceiveTarget.invoke(ScaServiceReceiveTarget.java:79)
at com.primeton.access.client.impl.skeleton.ServiceEngine.receive(ServiceEngine.java:36)
at com.primeton.access.client.impl.skeleton.DefaultServiceSkeleton.invokeService(DefaultServiceSkeleton.java:130)
at com.primeton.access.client.impl.skeleton.DefaultServiceSkeleton.invoke(DefaultServiceSkeleton.java:32)
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:592)
at com.primeton.ext.system.method.LocalMethodCaller.call(LocalMethodCaller.java:156)
at com.primeton.access.client.impl.processor.CommonServiceProcessor.process(CommonServiceProcessor.java:66)
at com.primeton.access.http.impl.ProcessorWebInterceptor.doIntercept(ProcessorWebInterceptor.java:111)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.access.authorization.impl.AccessedHttpResourceFilter.doIntercept(AccessedHttpResourceFilter.java:127)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.eos.access.http.UserLoginCheckedFilter.doIntercept(UserLoginCheckedFilter.java:133)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.access.http.impl.WebI18NInterceptor.doIntercept(WebI18NInterceptor.java:64)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.sca.host.webapp.SCAWebServiceServletFilter.doIntercept(SCAWebServiceServletFilter.java:122)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.eos.access.http.InterceptorFilter.doFilter(InterceptorFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.osoa.sca.ServiceUnavailableException: Unable to create SCA binding invoker for local target default reference default (bindingURI=com.primeton.bps.component.manager.BPSWSManagerComponent/BPSWSManagerService operation=hasBizProcessStatisticsModule)
at org.apache.tuscany.sca.binding.sca.impl.RuntimeSCAReferenceBindingProvider.createInvoker(RuntimeSCAReferenceBindingProvider.java:193)
at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.addReferenceBindingInterceptor(RuntimeWireImpl.java:229)
at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.initInvocationChains(RuntimeWireImpl.java:167)
at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.getInvocationChains(RuntimeWireImpl.java:109)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.getInvocationChain(JDKInvocationHandler.java:338)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:220)
at $Proxy31.hasBizProcessCustomizeModule(Unknown Source)
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:592)
at com.primeton.sca.host.impl.ServiceInvokerLoggerJdkInvocationHandler$1.invokeService(ServiceInvokerLoggerJdkInvocationHandler.java:40)
at com.primeton.sca.host.impl.ServiceInvokerLoggerJdkInvocationHandler.invokeService(ServiceInvokerLoggerJdkInvocationHandler.java:84)
at com.primeton.sca.host.impl.ServiceInvokerLoggerJdkInvocationHandler.invoke(ServiceInvokerLoggerJdkInvocationHandler.java:37)
at $Proxy31.hasBizProcessCustomizeModule(Unknown Source)
... 39 more
[workspace][2015-03-10 09:32:53,948][ERROR][com.primeton.bps.workspace.frame.permission.Login_flow:134] [Name=com.primeton.bps.workspace.frame.permission.Login.flow][activity name=验证用户并登陆][activity id=invokePojo1] throw an exception:java.lang.Exception,exception :
org.osoa.sca.ServiceUnavailableException: Unable to create SCA binding invoker for local target default reference default (bindingURI=com.primeton.bps.component.manager.BPSWSManagerComponent/BPSWSManagerService operation=hasBizProcessStatisticsModule)
at org.apache.tuscany.sca.binding.sca.impl.RuntimeSCAReferenceBindingProvider.createInvoker(RuntimeSCAReferenceBindingProvider.java:193)
at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.addReferenceBindingInterceptor(RuntimeWireImpl.java:229)
at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.initInvocationChains(RuntimeWireImpl.java:167)
at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.getInvocationChains(RuntimeWireImpl.java:109)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.getInvocationChain(JDKInvocationHandler.java:338)
at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:220)
at $Proxy31.hasBizProcessCustomizeModule(Unknown Source)
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:592)
at com.primeton.sca.host.impl.ServiceInvokerLoggerJdkInvocationHandler$1.invokeService(ServiceInvokerLoggerJdkInvocationHandler.java:40)
at com.primeton.sca.host.impl.ServiceInvokerLoggerJdkInvocationHandler.invokeService(ServiceInvokerLoggerJdkInvocationHandler.java:84)
at com.primeton.sca.host.impl.ServiceInvokerLoggerJdkInvocationHandler.invoke(ServiceInvokerLoggerJdkInvocationHandler.java:37)
at $Proxy31.hasBizProcessCustomizeModule(Unknown Source)
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:592)
at com.primeton.access.client.impl.skeleton.ScaServiceReceiveTarget.invoke(ScaServiceReceiveTarget.java:79)
at com.primeton.access.client.impl.skeleton.ServiceEngine.receive(ServiceEngine.java:36)
at com.primeton.access.client.impl.skeleton.DefaultServiceSkeleton.invokeService(DefaultServiceSkeleton.java:130)
at com.primeton.access.client.impl.skeleton.DefaultServiceSkeleton.invoke(DefaultServiceSkeleton.java:32)
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:592)
at com.primeton.ext.system.method.LocalMethodCaller.call(LocalMethodCaller.java:156)
at com.primeton.access.client.impl.processor.CommonServiceProcessor.process(CommonServiceProcessor.java:66)
at com.primeton.access.http.impl.ProcessorWebInterceptor.doIntercept(ProcessorWebInterceptor.java:111)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.access.authorization.impl.AccessedHttpResourceFilter.doIntercept(AccessedHttpResourceFilter.java:127)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.eos.access.http.UserLoginCheckedFilter.doIntercept(UserLoginCheckedFilter.java:133)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.access.http.impl.WebI18NInterceptor.doIntercept(WebI18NInterceptor.java:64)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.primeton.sca.host.webapp.SCAWebServiceServletFilter.doIntercept(SCAWebServiceServletFilter.java:122)
at com.primeton.access.http.impl.WebInterceptorChainImpl.doIntercept(WebInterceptorChainImpl.java:54)
at com.eos.access.http.InterceptorFilter.doFilter(InterceptorFilter.java:120)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)