]
Nero M commented on JBIDE-17668:
--------------------------------
I have added a workaround for now into the addURL method of URLDeploymentScanner of JBoss
4.2.3
if(url.getFile().endsWith("/")){
urlList.add(url);
}
This definetly is the error, so if you guys know where the URL is added you can maybe
check if the URL is already contained.
Note: IF you add the same URL (even with the "/" two times) the error will still
happen, as the Jboss code doesnt check if an URL is already inserted
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
Attachments: duplicate-scanner.png
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