今天用Eclipse部署一个ejb06项目是复制的ejb03项目,
将项目部署后,显示ejb06(3bj03)
报Endpoint already registered错误,
详细错误堆栈如下:
14:47:23,605 ERROR [MainDeployer] Could not start deployment: file:/E:/workspace11/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_AS_4.21483064204792/deploy/ejb03.jar/ java.lang.IllegalStateException: Endpoint already registered: jboss.ws:context=de-ejb03,endpoint=UserManagerBean at org.jboss.wsf.framework.management.DefaultEndpointRegistry.register(DefaultEndpointRegistry.java:89) at org.jboss.wsf.framework.management.ManagedEndpointRegistry.register(ManagedEndpointRegistry.java:59) at org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect.create(EndpointRegistryDeploymentAspect.java:49) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118) at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90) 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 com.sun.proxy.$Proxy34.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 com.sun.proxy.$Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) 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.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 com.sun.proxy.$Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.ServiceMBeanSupport.start(ServiceMBeanSupport.java:194) at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266) at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74) 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.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179) at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:818) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419) at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$240(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$1/319861506.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
原来在复制ejb03项目时,将要部署的路径和部署名一同都复制了过来,现在需要将ejb06中将要部署的路径和部署名改回来。
解决如下:
在项目根目录下有一个.settings的文件夹,该文件夹下有一个org.eclipse.wst.common.component文件,内容如下:
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> <wb-module deploy-name="ejb03"> <wb-resource deploy-path="/" source-path="/ejbModule" tag="defaultRootSource"/> <property name="java-output-path" value="/ejb03/build/classes"/> </wb-module> </project-modules>
把其中所有ejb03改为 ejb06
然后refresh重新加载配置,celan重新编译。就可以部署了
相关推荐
Endpoint Endpoint Endpoint Endpoint Endpoint Endpoint Endpoint Endpoint
IxChariot的核心在于它的Endpoint,这些Endpoint模拟网络中的不同设备或用户,执行预定义的脚本来模拟实际流量。在IxChariot 9.50中,Endpoint是测试过程中发送和接收数据的软件客户端。它们可以安装在多个系统上,...
内部包含32位和64位2个平台,版本号9.6 1、将安装包解压; # tar -zxvf pelnx_670.tar.gz 2、将当前用户切换至超级用户root,假设解压后文件路径为/root/Downloads/Ixia:...3、使用/usr/local/Ixia/endpoint命令即可
本压缩包"IxChariot 9.5 Endpoint WINDOWS+LINUX+macOS + Android.zip"包含了适用于多种操作系统的IxChariot终端点软件,包括Windows、Linux、macOS以及Android,这意味着用户可以在各种设备上进行网络性能测试。...
《Ixia Performance Endpoint 7.30.45.32 for Windows 32位:网络性能测试的关键组件》 Ixia Performance Endpoint是一款专为Windows 32位系统设计的性能测试工具,版本号为7.30.45.32,发布于2013年,适用于...
ESET_ENDPOINT_v6.6.x破解工具 ESET Endpoint 6.6.x Hacktivator 2018 INFO Supported products: - ESET Endpoint Security - ESET Endpoint Antivirus Supported versions: - 6.6.x Supported languages: - ...
标题 "win7 ixchariot endpoint" 指的是在Windows 7操作系统上运行的IxChariotEndpoint软件。IxChariot是由Ixia公司开发的一款网络性能测试工具,它允许用户模拟各种网络应用和流量模式,以评估网络的性能、稳定性和...
亲测可用,安装的时有需要connect输入的步骤直接跳过即可。 是由NetIQ公司推出的一款网络测试软件。作为业界公认的网络...t由两部分组成:控制端(Console)和远端(Endpoint),两者都可安装在普通PC或者服务器上。
标题中的"IxChariot 7.10 SP3 endpoint for win7 winxp 2003 vista"表明这个压缩包包含了适用于Windows 7、Windows XP、Windows Server 2003和Windows Vista操作系统的IxChariot 7.10 SP3版本的Endpoint组件。...
Ixia endpoint Android APP
Symantec Endpoint Protection Manager 安装实施步骤 Symantec Endpoint Protection Manager 是一个功能强大且复杂的endpoint安全管理系统,旨在保护计算机和网络免受恶意软件、僵尸网络和其他网络威胁的攻击。为了...
《NVIDIA Jetson AGX Xavier系列PCIe Endpoint设计指南》是针对使用双Jetson AGX Xavier模块进行PCI Express(PCIe)Endpoint设计的专业应用说明。该文档提供了详细的设计规范和建议,以确保在复杂的嵌入式系统中...
### 卸载Symantec Endpoint Protection的步骤及注意事项 #### 标题理解: - **标题**:“卸载symantec endpoint protection”明确指出本文将介绍如何卸载这一安全软件。 #### 描述理解: - **描述**:“卸载...
Endpoint8.0是一款专为Linux系统设计的32位应用程序,它主要用于网络性能测试和评估。在IT领域,网络性能是衡量系统效率和可靠性的关键因素之一,Endpoint8.0和IxChariot的组合提供了强大的工具来实现这一目标。 ...
手机上使用的endpoint 我已经测试过了,绝对可以使用。配后ixchariot使用
Symantec Endpoint Protection 14
"Symantec Endpoint Protection Remove Tools" 是一个专为卸载Symantec Endpoint Protection(SEP)设计的工具。这款工具主要用于解决在常规卸载过程中可能出现的问题,例如残留的注册表项、服务或者文件,这些问题...
IxChariot 的endpoint 的安卓客户端,可以配合服务端作为流量,响应,丢包,抖动等综合测试
《Ixchariot Endpoint Web:深度解析与应用指南》 Ixchariot是一款强大的网络性能测试工具,主要用于评估和分析网络通信的性能。其Endpoint组件是该软件的重要组成部分,特别是"Endpoint EXE version",它是...
ixchariot endpoint win7 64位