[jbosstools-issues] [JBoss JIRA] (JBIDE-17668) JBoss 4.2.3 Hot Deployment does not work (worked with 4.1.x)

Nero M (JIRA) issues at jboss.org
Wed Jun 25 05:42:24 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979173#comment-12979173 ] 

Nero M commented on JBIDE-17668:
--------------------------------

Hi, ive just tried to just start the JBoss Server 4.2.3 GA without any Projects. If the selection "Use workspace metadata (does not modify JBoss deploy folder)" is selected it seems to work, but when i select "Use the JBoss deploy folder" in the Deployment Tab of the Server runtime, the error occurrs. So to trigger we don't actually need any projects, this makes the bug finding more easy i guess. 

Note: You have to wait some seconds for the error to come

11:40:29,846 INFO  [AjpAprProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
11:40:29,856 INFO  [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 8s:787ms
11:40:34,875 INFO  [MainDeployer] Package: file:/C:/server/jboss/jboss-4.2.3/server/default/deploy/ejb3.deployer/jboss-annotations-ejb3.jar is already deployed

11:40:34,950 ERROR [MainDeployer] Could not create deployment: file:/C:/server/jboss/jboss-4.2.3/server/default/deploy/ejb3.deployer/
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3
	at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
	at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
	at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
	at org.jboss.system.ServiceController.install(ServiceController.java:226)
	at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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 com.sun.proxy.$Proxy4.install(Unknown Sour


> JBoss 4.2.3 Hot Deployment does not work (worked with 4.1.x)
> ------------------------------------------------------------
>
>                 Key: JBIDE-17668
>                 URL: https://issues.jboss.org/browse/JBIDE-17668
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.0.Beta2
>         Environment: Win7 x64, Eclipse Luna 4.4 RC3, JBoss 4.2.3GA
>            Reporter: Nero M
>            Priority: Blocker
>
> When i start JBoss 4.2.3GA i get this:
> org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3
> 	at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
> Then when i change any file (just an xhtml for instance) The Server shuts down. Instead it should just hot-deploy that file like it did with Kepler + AS Tools 4.1. But here it seems a full deployment is being done (Not just the file) resulting in a Server reboot 
> 12:09:29,452 INFO  [EARDeployer] Undeploying J2EE application, destroy step: file:/C:/server/jboss/............ear
> 12:09:29,452 INFO  [EARDeployer] Undeployed J2EE application: file:/C:/server/jboss/..........................ear
> Thanks for any help :( If this is not fixed, we cannot move to Luna. unfortunately i cant move to a different application server



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list