[JBoss JIRA] Created: (EJBTHREE-2067) KnownIssuesXMLJUnitResultFormatter counts tests double if there is an error post-tests
by Carlo de Wolf (JIRA)
KnownIssuesXMLJUnitResultFormatter counts tests double if there is an error post-tests
--------------------------------------------------------------------------------------
Key: EJBTHREE-2067
URL: https://jira.jboss.org/jira/browse/EJBTHREE-2067
Project: EJB 3.0
Issue Type: Bug
Components: testsuite
Reporter: Carlo de Wolf
Assignee: Carlo de Wolf
Priority: Blocker
[junit] Running org.jboss.ejb3.test.interceptors2.unit.InterceptorsTestCase
[junit] junit.framework.TestListener: tests to run: 13
[junit] junit.framework.TestListener: startTest(testAnnotatedOnlySLSB)
[junit] junit.framework.TestListener: endTest(testAnnotatedOnlySLSB)
[junit] junit.framework.TestListener: startTest(testXmlOnlySLSB)
[junit] junit.framework.TestListener: endTest(testXmlOnlySLSB)
[junit] junit.framework.TestListener: startTest(testDefaultOnlySLSB)
[junit] junit.framework.TestListener: endTest(testDefaultOnlySLSB)
[junit] junit.framework.TestListener: startTest(testNoInterceptorsSLSB)
[junit] junit.framework.TestListener: endTest(testNoInterceptorsSLSB)
[junit] junit.framework.TestListener: startTest(testMixedConfigSFSB)
[junit] junit.framework.TestListener: endTest(testMixedConfigSFSB)
[junit] junit.framework.TestListener: startTest(testBeanHierarchy)
[junit] junit.framework.TestListener: endTest(testBeanHierarchy)
[junit] junit.framework.TestListener: startTest(testOverrideOrdering)
[junit] junit.framework.TestListener: endTest(testOverrideOrdering)
[junit] junit.framework.TestListener: startTest(testService)
[junit] junit.framework.TestListener: endTest(testService)
[junit] junit.framework.TestListener: startTest(testDefaultOnlyService)
[junit] junit.framework.TestListener: endTest(testDefaultOnlyService)
[junit] junit.framework.TestListener: startTest(testMixedConsumer)
[junit] junit.framework.TestListener: endTest(testMixedConsumer)
[junit] junit.framework.TestListener: startTest(testDefaultOnlyConsumer)
[junit] junit.framework.TestListener: endTest(testDefaultOnlyConsumer)
[junit] junit.framework.TestListener: startTest(testMethodOnlySLSB)
[junit] junit.framework.TestListener: endTest(testMethodOnlySLSB)
[junit] junit.framework.TestListener: startTest(testServerFound)
[junit] junit.framework.TestListener: endTest(testServerFound)
[junit] junit.framework.TestListener: addError(unknown, HornetQException[errorCode=104 message=Cannot delete queue jms.queue.defaultonlyqueue on binding jms.queue.defaultonlyqueue - it has consumers = org.hornetq.core.postoffice.impl.LocalQueueBinding])
[junit] Tests run: 13, Failures: 0, Errors: 1, Time elapsed: 14.14 sec
[junit] Exception in thread "main" java.lang.AssertionError: runCount (26) != oldRunCount (13)
[junit] at org.jboss.ejb3.testsuite.ant.taskdefs.optional.junit.KnownIssuesXMLJUnitResultFormatter.endTestSuite(KnownIssuesXMLJUnitResultFormatter.java:100)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:619)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:452)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
[junit] Using System properties {java.runtime.name=Java(TM) SE Runtime Environment, sun.boot.library.path=/usr/java/jdk1.6.0_11/jre/lib/amd64, java.vm.version=11.0-b16, ant.library.dir=/opt/apache/ant/apache-ant-1.7.1/lib, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=:, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, file.encoding.pkg=sun.io, sun.java.launcher=SUN_STANDARD, user.country=US, sun.os.patch.level=unknown, java.vm.specification.name=Java Virtual Machine Specification, user.dir=/home/hudson/workspace/JBoss-AS-6.x-tests-ejb3/ejb3home/testsuite, java.runtime.version=1.6.0_11-b03, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, java.endorsed.dirs=/usr/java/jdk1.6.0_11/jre/lib/endorsed, os.arch=amd64, java.io.tmpdir=/tmp, line.separator=
[junit] , java.vm.specification.vendor=Sun Microsystems Inc., os.name=Linux, ant.home=/opt/apache/ant/apache-ant-1.7.1, sun.jnu.encoding=UTF-8, java.library.path=/usr/java/jdk1.6.0_11/jre/lib/amd64/server:/usr/java/jdk1.6.0_11/jre/lib/amd64:/usr/java/jdk1.6.0_11/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib, java.specification.name=Java Platform API Specification, java.class.version=50.0, sun.management.compiler=HotSpot 64-Bit Server Compiler, os.version=2.6.18-128.el5xen, user.home=/home/hudson, user.timezone=America/New_York, java.awt.printerjob=sun.print.PSPrinterJob, file.encoding=UTF-8, java.specification.version=1.6, java.class.path=/opt/apache/ant/apache-ant-1.7.1/lib/ant-launcher.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-regexp.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-jsch.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-netrexx.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-trax.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-resolver.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-swing.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-antlr.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-nodeps.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-oro.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-launcher.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-commons-logging.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-log4j.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ivy.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-starteam.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-junit.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-commons-net.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-bcel.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-jmf.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-jai.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-stylebook.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-testutil.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-weblogic.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-jdepend.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-javamail.jar:/opt/apache/ant/apache-ant-1.7.1/lib/xercesImpl.jar:/opt/apache/ant/apache-ant-1.7.1/lib/ant-apache-bsf.jar:/opt/apache/ant/apache-ant-1.7.1/lib/xml-apis.jar:/usr/java/jdk1.6.0_11/lib/tools.jar, user.name=hudson, java.vm.specification.version=1.0, java.home=/usr/java/jdk1.6.0_11/jre, sun.arch.data.model=64, user.language=en, java.specification.vendor=Sun Microsystems Inc., java.vm.info=mixed mode, java.version=1.6.0_11, java.ext.dirs=/usr/java/jdk1.6.0_11/jre/lib/ext:/usr/java/packages/lib/ext, sun.boot.class.path=/usr/java/jdk1.6.0_11/jre/lib/resources.jar:/usr/java/jdk1.6.0_11/jre/lib/rt.jar:/usr/java/jdk1.6.0_11/jre/lib/sunrsasign.jar:/usr/java/jdk1.6.0_11/jre/lib/jsse.jar:/usr/java/jdk1.6.0_11/jre/lib/jce.jar:/usr/java/jdk1.6.0_11/jre/lib/charsets.jar:/usr/java/jdk1.6.0_11/jre/classes, java.vendor=Sun Microsystems Inc., file.separator=/, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, sun.cpu.isalist=}
[junit] Running org.jboss.ejb3.test.interceptors2.unit.InterceptorsTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Test org.jboss.ejb3.test.interceptors2.unit.InterceptorsTestCase FAILED (crashed)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Commented: (JBAS-7818) RMIAdaptor replacement based on JSR160
by jaikiran pai (JIRA)
[ https://jira.jboss.org/jira/browse/JBAS-7818?page=com.atlassian.jira.plug... ]
jaikiran pai commented on JBAS-7818:
------------------------------------
Scott,
It appears that with the recent changes around this, the following lookup:
MBeanServerConnection adaptor = (MBeanServerConnection) ctx.lookup("jmx/rmi/RMIAdaptor");
runs into issues (in EJB3 testsuite). This throws a:
javax.naming.Reference cannot be cast to javax.management.MBeanServerConnection
java.lang.ClassCastException: javax.naming.Reference cannot be cast to javax.management.MBeanServerConnection
at org.jboss.test.JBossTestServices.getServer(JBossTestServices.java:154)
at org.jboss.test.JBossTestServices.invoke(JBossTestServices.java:228)
at org.jboss.test.JBossTestServices.undeploy(JBossTestServices.java:364)
at org.jboss.test.JBossTestSetup.undeploy(JBossTestSetup.java:197)
at org.jboss.test.JBossTestCase$1.tearDown(JBossTestCase.java:333)
at junit.extensions.TestSetup$1.protect(TestSetup.java:24)
at junit.extensions.TestSetup.run(TestSetup.java:27)
The root cause appears to be the class org.jboss.system.server.jmx.JMXAdapter (present in JBOSS_HOME/lib/jboss-system.jar) missing from the client classpath (which uses the jars in JBOSS_HOME/client folder, especially jbossall-client.jar). Looking at the name of that class, i don't think it would be appropriate to include that in the client jar files.
> RMIAdaptor replacement based on JSR160
> --------------------------------------
>
> Key: JBAS-7818
> URL: https://jira.jboss.org/jira/browse/JBAS-7818
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: JMX
> Reporter: Scott M Stark
> Assignee: Scott Marlow
> Fix For: JBossAS-6.0.0.M3
>
>
> A replacement for the proprietary RMIAdaptor is needed that supports authentication, authorization and SSL.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (JBLOGGING-38) Enforce JDK6+ compiler
by Andrew Lee Rubinger (JIRA)
Enforce JDK6+ compiler
----------------------
Key: JBLOGGING-38
URL: https://jira.jboss.org/jira/browse/JBLOGGING-38
Project: JBoss Logging
Issue Type: Task
Security Level: Public (Everyone can see)
Components: jboss-logmanager
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Using JDK5 leads to:
[INFO] Compilation failure
/home/alr/business/jboss/wc/common/jboss-logmanager/trunk/src/main/java/org/jboss/logmanager/PropertyConfigurator.java:[78,22] load(java.io.InputStream) in java.util.Properties cannot be applied to (java.io.InputStreamReader)
/home/alr/business/jboss/wc/common/jboss-logmanager/trunk/src/main/java/org/jboss/logmanager/PropertyConfigurator.java:[78,22] load(java.io.InputStream) in java.util.Properties cannot be applied to (java.io.InputStreamReader)
Enforce the environment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (JBLOGGING-42) Include version information in stack traces
by Randall Hauch (JIRA)
Include version information in stack traces
-------------------------------------------
Key: JBLOGGING-42
URL: https://jira.jboss.org/jira/browse/JBLOGGING-42
Project: JBoss Logging
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Randall Hauch
Assignee: David Lloyd
Priority: Minor
Including JAR and version information for each class in a stack trace provides a lot of useful information. For example (taken from the LogBack documentation):
14:28:48.835 [btpool0-7] INFO c.q.l.demo.prime.PrimeAction - 99 is not a valid value
java.lang.Exception: 99 is invalid
at ch.qos.logback.demo.prime.PrimeAction.execute(PrimeAction.java:28) [classes/:na]
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) [struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) [struts-1.2.9.jar:1.2.9]
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) [struts-1.2.9.jar:1.2.9]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [servlet-api-2.5-6.1.12.jar:6.1.12]
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) [jetty-6.1.12.jar:6.1.12]
at ch.qos.logback.demo.UserServletFilter.doFilter(UserServletFilter.java:44) [classes/:na]
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) [jetty-6.1.12.jar:6.1.12]
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) [jetty-6.1.12.jar:6.1.12]
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) [jetty-6.1.12.jar:6.1.12]
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) [jetty-6.1.12.jar:6.1.12]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (JBAS-6292) Documentation should include transitioning from AS 4.2 to AS 5.0
by Bruce Link (JIRA)
Documentation should include transitioning from AS 4.2 to AS 5.0
----------------------------------------------------------------
Key: JBAS-6292
URL: https://jira.jboss.org/jira/browse/JBAS-6292
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Docs/Installation and Getting Started Guide
Affects Versions: JBossAS-5.0.0.GA
Environment: Not applicable
Reporter: Bruce Link
Assignee: Samson Kittoli
The installation and getting started guide should have a chapter on transitioning applications from JBoss AS 4.2 to JBoss AS 5.0. Examples discussed might be changes in build class path and configuration documents. For example, when using EJB3, the persistence.xml seems to need to specify a JBoss schema. The release notes is vague in this area.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month