[JBoss JIRA] (JBIDE-17668) JBoss 4.2.3 Hot Deployment does not work (worked with 4.1.x)
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17668?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-17668.
---------------------------------
> 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
> Assignee: Rob Stryker
> Priority: Blocker
> Fix For: 4.2.0.Beta3
>
> 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
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (JBIDE-17551) Duplicate full class name causing jacoco to fail
by Radoslav Rábara (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17551?page=com.atlassian.jira.plugi... ]
Radoslav Rábara closed JBIDE-17551.
-----------------------------------
Verified with the last build (58), which was successful.
> Duplicate full class name causing jacoco to fail
> ------------------------------------------------
>
> Key: JBIDE-17551
> URL: https://issues.jboss.org/browse/JBIDE-17551
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta2
> Reporter: Mickael Istria
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta3
>
>
> Jacoco reports are failing for webservices. When in verbose, the error is
> {code}
> /home/mistria/git/jbosstools-webservices/jacoco/jacoco-reports.xml:13: Error while creating report
> at org.jacoco.ant.ReportTask.execute(ReportTask.java:498)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:390)
> at org.apache.tools.ant.Target.performTasks(Target.java:411)
> at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
> at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
> at org.apache.tools.ant.Main.runBuild(Main.java:809)
> at org.apache.tools.ant.Main.startAnt(Main.java:217)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> Caused by: java.io.IOException: Error while analyzing class tests/org.jboss.tools.ws.jaxrs.ui.test/target/classes/org/jboss/tools/ws/jaxrs/ui/internal/utils/Logger$1.class.
> at org.jacoco.core.analysis.Analyzer.analyzerError(Analyzer.java:139)
> at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:133)
> at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:164)
> at org.jacoco.ant.ReportTask.createBundle(ReportTask.java:570)
> at org.jacoco.ant.ReportTask.createReport(ReportTask.java:545)
> at org.jacoco.ant.ReportTask.createReport(ReportTask.java:542)
> at org.jacoco.ant.ReportTask.execute(ReportTask.java:492)
> ... 17 more
> Caused by: java.lang.IllegalStateException: Can't add different class with same name: org/jboss/tools/ws/jaxrs/ui/internal/utils/Logger$1
> at org.jacoco.core.analysis.CoverageBuilder.visitCoverage(CoverageBuilder.java:89)
> at org.jacoco.core.analysis.Analyzer$1.visitEnd(Analyzer.java:81)
> {code}
> Jacoco (and life in general) doesn't like having different classes with same full name.
> Here are the culprits in that case:
> {quote}
> mistria@mistria--rh:~/git/jbosstools-webservices$ find . -name Logger\$1.class
> ./plugins/org.jboss.tools.ws.jaxrs.ui/target/classes/org/jboss/tools/ws/jaxrs/ui/internal/utils/Logger$1.class
> [...]
> ./tests/org.jboss.tools.ws.jaxrs.ui.test/target/classes/org/jboss/tools/ws/jaxrs/ui/internal/utils/Logger$1.class
> {quote}
> You should consider either having the test directly consuming the Logger from the non-test bundle, or at least change the package when duplicating a class.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (JBIDE-17737) org.jboss.tools.runtime.seam.detector.test.SeamRuntimeDetectionAllTests failure
by Radoslav Rábara (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17737?page=com.atlassian.jira.plugi... ]
Radoslav Rábara closed JBIDE-17737.
-----------------------------------
Verified with jbosstools-javaee's HEAD version 7f2854d76e7a9b713cff4483f7c8f5112b9b956b
> org.jboss.tools.runtime.seam.detector.test.SeamRuntimeDetectionAllTests failure
> --------------------------------------------------------------------------------
>
> Key: JBIDE-17737
> URL: https://issues.jboss.org/browse/JBIDE-17737
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: runtime-detection
> Affects Versions: 4.2.0.Beta3
> Reporter: Daniel Azarov
> Assignee: Snjezana Peco
> Fix For: 4.2.0.Beta3
>
> Attachments: org.jboss.tools.runtime.seam.detector.test.SeamRuntimeDetectionAllTests.txt
>
>
> {code}
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.jboss.tools.runtime.seam.detector.test.SeamRuntimeDetectionAllTests
> 0
> 0
> Tests run: 8, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.265 sec <<< FAILURE!
> Results :
> Failed tests: testJBossAs42(org.jboss.tools.runtime.seam.detector.test.SeamRuntimeDetectionTest): expected:<1> but was:<0>
> testJBossAs51(org.jboss.tools.runtime.seam.detector.test.SeamRuntimeDetectionTest): expected:<1> but was:<0>
> testJBossAs70(org.jboss.tools.runtime.seam.detector.test.SeamRuntimeDetectionTest): expected:<1> but was:<0>
> Tests run: 8, Failures: 3, Errors: 0, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months
[JBoss JIRA] (JBIDE-17548) Creation of JAX-RS Resource generate code with syntax error
by Radoslav Rábara (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17548?page=com.atlassian.jira.plugi... ]
Radoslav Rábara closed JBIDE-17548.
-----------------------------------
Verified with JBDS 8.0.0 Beta3-v20140706-0939-B172
> Creation of JAX-RS Resource generate code with syntax error
> -----------------------------------------------------------
>
> Key: JBIDE-17548
> URL: https://issues.jboss.org/browse/JBIDE-17548
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta2
> Reporter: Marián Labuda
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta3
>
> Attachments: jax-rs_resource.ogg.ogv
>
>
> Issue has been found in respin-a.
> Choosing other location for a JAX-RS Resource than default package cause leaving this junk of code in resource file
> {code}
> import ;
> {code}
> Choosing default package do not generate this line of code.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 10 months