[JBoss JIRA] Created: (WELD-505) Copyright headers missing in some files
by Barbara Louis (JIRA)
Copyright headers missing in some files
---------------------------------------
Key: WELD-505
URL: https://jira.jboss.org/jira/browse/WELD-505
Project: Weld
Issue Type: Bug
Affects Versions: 1.0.1.CR2
Reporter: Barbara Louis
Fix For: 1.0.2.CR1
Some files in weld do not have the Apache 2.0 copyright header. Could you please add the headers to these files ?
./impl/src/main/java/org/jboss/weld/manager/BeanManagers.java
./impl/src/main/java/org/jboss/weld/resolution/InterceptorResolvableBuilder.java
./tests/src/test/java/org/jboss/weld/tests/alternatives/Consumer.java
./tests/src/test/java/org/jboss/weld/tests/alternatives/Foo.java
./tests/src/test/java/org/jboss/weld/tests/alternatives/Producer.java
./tests/src/test/java/org/jboss/weld/tests/alternatives/Test.java
./tests/src/test/java/org/jboss/weld/tests/contexts/sessionInvalidation/SomeBean.java
./tests/src/test/java/org/jboss/weld/tests/ejb/mdb/Control.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/AbstractDAO.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/AbstractDAOImpl.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/Bird.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/Capercaillie.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/Castle.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/Feed.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/HelloAction.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/HelloBean.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/IHelloBean.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/Result.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/ResultClient.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/ResultDAO.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/ResultDAOImpl.java
./tests/src/test/java/org/jboss/weld/tests/enterprise/Scottish.java
./tests/src/test/java/org/jboss/weld/tests/extensions/annotatedType/Clothes.java
./tests/src/test/java/org/jboss/weld/tests/extensions/annotatedType/Coins.java
./tests/src/test/java/org/jboss/weld/tests/extensions/annotatedType/HotAir.java
./tests/src/test/java/org/jboss/weld/tests/extensions/annotatedType/invalidParameters/Clothes.java
./tests/src/test/java/org/jboss/weld/tests/extensions/annotatedType/invalidParameters/TumbleDryer.java
./tests/src/test/java/org/jboss/weld/tests/extensions/annotatedType/Plug.java
./tests/src/test/java/org/jboss/weld/tests/extensions/annotatedType/RunningTime.java
./tests/src/test/java/org/jboss/weld/tests/extensions/annotatedType/SerialNumber.java
./tests/src/test/java/org/jboss/weld/tests/extensions/annotatedType/TumbleDryer.java
./tests/src/test/java/org/jboss/weld/tests/extensions/interceptors/FullMarathon.java
./tests/src/test/java/org/jboss/weld/tests/extensions/interceptors/Incremented.java
./tests/src/test/java/org/jboss/weld/tests/extensions/interceptors/IncrementingInterceptor.java
./tests/src/test/java/org/jboss/weld/tests/extensions/interceptors/LifecycleInterceptor.java
./tests/src/test/java/org/jboss/weld/tests/extensions/interceptors/Marathon.java
./tests/src/test/java/org/jboss/weld/tests/extensions/interceptors/NumberSource.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/Author.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/AuthorLiteral.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/BlogConsumer.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/BlogFormatter.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/BlogSource.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/Consumer.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/ConsumerLiteral.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/FormattedBlog.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/FormattedBlogLiteral.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/MultipleBeansExtension.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/MultipleBeansTest.java
./tests/src/test/java/org/jboss/weld/tests/extensions/multipleBeans/UselessBean.java
./tests/src/test/java/org/jboss/weld/tests/injectionPoint/Pig.java
./tests/src/test/java/org/jboss/weld/tests/injectionPoint/PigSty.java
./tests/src/test/java/org/jboss/weld/tests/nonContextual/LogManager.java
./tests/src/test/java/org/jboss/weld/tests/nonContextual/ServletContextListenerImpl.java
./tests/src/test/java/org/jboss/weld/tests/nonContextual/ServletListenerTest.java
./tests/src/test/java/org/jboss/weld/tests/producer/field/named/Employee.java
./tests/src/test/java/org/jboss/weld/tests/producer/field/named/NewUserAction.java
./tests/src/test/java/org/jboss/weld/tests/producer/field/named/SaveAction.java
./tests/src/test/java/org/jboss/weld/tests/producer/field/named/User.java
./tests/src/test/java/org/jboss/weld/tests/resolution/named/FooBean.java
./tests/src/test/java/org/jboss/weld/tests/resolution/named/NamedBeanConsumer.java
./tests/src/test/java/org/jboss/weld/tests/resources/ResourceTest.java
./tests/src/test/java/org/jboss/weld/tests/resources/UTConsumer.java
./tests/src/test/java/org/jboss/weld/tests/serialization/LoggerConsumer.java
./tests/src/test/java/org/jboss/weld/tests/serialization/LoggerProducer.java
./tests/src/test/java/org/jboss/weld/tests/unit/jsf/JsfApiAbstractionTest.java
./tests/src/test/java/org/jboss/weld/tests/unit/util/AnnotatedTypesTest.java
./tests/src/test/java/org/jboss/weld/tests/unit/util/Chair.java
./tests/src/test/java/org/jboss/weld/tests/unit/util/ComfyChair.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/AbstractTestAnnotatedCallable.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/AbstractTestAnnotatedElement.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/AbstractTestAnnotatedMember.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/TestAnnotatedConstructor.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/TestAnnotatedField.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/TestAnnotatedMethod.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/TestAnnotatedParameter.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/TestAnnotatedType.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/TestAnnotatedTypeBuilder.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/TestAnnotationBuilder.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/TestAnnotationStore.java
./tests/src/test/java/org/jboss/weld/tests/util/annotated/TestTypeClosureBuilder.java
--
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, 6 months
[JBoss JIRA] Created: (WELDX-101) WeldX-1.0.0-SNAPSHOT fails to deploy on Glassfish
by Lincoln Baxter III (JIRA)
WeldX-1.0.0-SNAPSHOT fails to deploy on Glassfish
-------------------------------------------------
Key: WELDX-101
URL: https://jira.jboss.org/jira/browse/WELDX-101
Project: Weld Extensions
Issue Type: Bug
Environment: Latest HEAD of WeldX, GlassFish bundled with NetBeans 6.8
Reporter: Lincoln Baxter III
Priority: Blocker
Simply include WeldX as a dependency and you get:
SEVERE: Exception while loading the app
org.glassfish.deployment.common.DeploymentException: Injection point has unstatisfied dependencies. Injection point: field org.jboss.weld.extensions.interceptor.Interceptors.interceptorExtension; Qualifiers: [@javax.enterprise.inject.Default()]
at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:183)
at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:125)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:239)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:340)
at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:163)
at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:236)
at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.weld.DeploymentException: Injection point has unstatisfied dependencies. Injection point: field org.jboss.weld.extensions.interceptor.Interceptors.interceptorExtension; Qualifiers: [@javax.enterprise.inject.Default()]
at org.jboss.weld.Validator.validateInjectionPoint(Validator.java:232)
at org.jboss.weld.Validator.validateBean(Validator.java:80)
at org.jboss.weld.Validator.validateRIBean(Validator.java:100)
at org.jboss.weld.Validator.validateBeans(Validator.java:282)
at org.jboss.weld.Validator.validateDeployment(Validator.java:268)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:389)
at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:180)
... 29 more
SEVERE: Exception while loading the app : org.glassfish.deployment.common.DeploymentException: Injection point has unstatisfied dependencies. Injection point: field org.jboss.weld.extensions.interceptor.Interceptors.interceptorExtension; Qualifiers: [@javax.enterprise.inject.Default()]
INFO: GlassFish v3 (74.2) startup time : Felix(2217ms) startup services(9080ms) total(11297ms)
--
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, 6 months
[JBoss JIRA] Created: (WELDX-95) Need common method of scanning for annotations (static or dynamic)
by Lincoln Baxter III (JIRA)
Need common method of scanning for annotations (static or dynamic)
------------------------------------------------------------------
Key: WELDX-95
URL: https://jira.jboss.org/jira/browse/WELDX-95
Project: Weld Extensions
Issue Type: Feature Request
Components: Weld Extensions
Reporter: Lincoln Baxter III
There needs to be a common way of scanning classes and methods for annotation information: A Utility class for common @{@link Annotation} scanning operations. Enables scanning classes and methods for specific annotation types, and retrieving those annotation instances.
Here is the solution currently being used in Faces Module -- it still needs a call to the BeanManager.getStereotypeDefinition(...) in order to be fully portable.
----------------------
package org.jboss.weld.extensions.util;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import javax.enterprise.inject.Stereotype;
/**
* Utility class for common @{@link Annotation} scanning operations. Enables
* scanning classes and methods for specific annotation types, and retrieving
* those annotation instances.
* <p>
*
* @author <a href="mailto:lincolnbaxter@gmail.com>Lincoln Baxter, III</a>
*
*/
public class Annotations
{
/**
* Discover if a Method <b>m</b> has been annotated with <b>type</b>. This
* also discovers annotations defined through a @{@link Stereotype}.
*
* @param m The method to inspect.
* @param type The targeted annotation class
*
* @return True if annotation is present either on the method itself, or on
* the declaring class of the method. Returns false if the annotation
* is not present.
*/
public static boolean has(final Method m, final Class<? extends Annotation> type)
{
boolean result = false;
if (m.isAnnotationPresent(type))
{
result = true;
}
else
{
for (Annotation a : m.getAnnotations())
{
if (a.annotationType().isAnnotationPresent(type))
{
result = true;
}
}
}
if (result == false)
{
result = has(m.getDeclaringClass(), type);
}
return result;
}
/**
* Discover if a Class <b>c</b> has been annotated with <b>type</b>. This
* also discovers annotations defined through a @{@link Stereotype}.
*
* @param c The class to inspect.
* @param type The targeted annotation class
*
* @return True if annotation is present either on class, false if the
* annotation is not present.
*/
public static boolean has(final Class<?> c, final Class<? extends Annotation> type)
{
boolean result = false;
if (c.isAnnotationPresent(type))
{
result = true;
}
else
{
for (Annotation a : c.getAnnotations())
{
if (a.annotationType().isAnnotationPresent(type))
{
result = true;
}
}
}
return result;
}
/**
* Inspect method <b>m</b> for a specific <b>type</b> of annotation. This
* also discovers annotations defined through a @ {@link Stereotype}.
*
* @param m The method to inspect.
* @param type The targeted annotation class
*
* @return The annotation instance found on this method or enclosing class,
* or null if no matching annotation was found.
*/
public static <A extends Annotation> A get(final Method m, final Class<A> type)
{
A result = m.getAnnotation(type);
if (result == null)
{
for (Annotation a : m.getAnnotations())
{
if (a.annotationType().isAnnotationPresent(type))
{
result = a.annotationType().getAnnotation(type);
}
}
}
if (result == null)
{
result = get(m.getDeclaringClass(), type);
}
return result;
}
/**
* Inspect class <b>c</b> for a specific <b>type</b> of annotation. This also
* discovers annotations defined through a @ {@link Stereotype}.
*
* @param c The class to inspect.
* @param type The targeted annotation class
*
* @return The annotation instance found on this class, or null if no
* matching annotation was found.
*/
public static <A extends Annotation> A get(final Class<?> c, final Class<A> type)
{
A result = c.getAnnotation(type);
if (result == null)
{
for (Annotation a : c.getAnnotations())
{
if (a.annotationType().isAnnotationPresent(type))
{
result = a.annotationType().getAnnotation(type);
}
}
}
return result;
}
}
--
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, 6 months
[JBoss JIRA] Created: (WELDX-99) BeanManagerAware should provide a static accessor
by Lincoln Baxter III (JIRA)
BeanManagerAware should provide a static accessor
-------------------------------------------------
Key: WELDX-99
URL: https://jira.jboss.org/jira/browse/WELDX-99
Project: Weld Extensions
Issue Type: Feature Request
Reporter: Lincoln Baxter III
Priority: Critical
BeanManagerAware currently requires class inheritance in order to access the beanManager. This is fine, but it doesn't work in cases where the deriving class already inherits from another type.
BeanManagerAware should provide a static accessor:
public class BeanManagerAccessor extends BeanManagerAware
{
public static BeanManager getManager()
{
return new BeanManagerAccessor().getBeanManager();
}
}
Something like that, contained within BeanManagerAware, would suffice.
--
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, 6 months
[JBoss JIRA] Created: (WELD-519) TCK Test Failures: Assertion Errors
by Roger Kitain (JIRA)
TCK Test Failures: Assertion Errors
-----------------------------------
Key: WELD-519
URL: https://jira.jboss.org/jira/browse/WELD-519
Project: Weld
Issue Type: Bug
Affects Versions: 1.0.1.Final
Environment: GlassFish 3.0.1
Reporter: Roger Kitain
The following TCK tests fail with assertion errors:
TEST NAME: org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.testInjectionIntoJSFManagedBean
TEST LOG:
[testng] -deploy:
[testng] [gf.echo] Deploying: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.war
[testng] [gf.echo] 0 archive(s) to undeploy
[testng] [gf.echo] 1 archive(s) to deploy
[testng] [copy] Copying 1 file to /Users/rogerk/weld/tck/glassfishv3/glassfish/domains/domain1/autodeploy
[testng] [gf.echo] Deploying archive: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.war
[testng] [gf.echo] Deployment Succeeded: org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.war
[testng] java.lang.AssertionError
[testng] at org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.testInjectionIntoJSFManagedBean(InjectionIntoNonContextualComponentTest.java:163)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
[testng] at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
[testng] at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
[testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
[testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
[testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
[testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
[testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
[testng] at org.testng.TestRunner.runWorkers(TestRunner.java:759)
[testng] at org.testng.TestRunner.privateRun(TestRunner.java:592)
[testng] at org.testng.TestRunner.run(TestRunner.java:486)
[testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
[testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
[testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
[testng] at org.testng.SuiteRunner.run(SuiteRunner.java:204)
[testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
[testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
[testng] at org.testng.TestNG.run(TestNG.java:784)
[testng] at org.testng.TestNG.privateMain(TestNG.java:949)
[testng] at org.testng.TestNG.main(TestNG.java:922)
[testng] ********************************************************************
[testng] FINISHED TEST: FAILED........org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.testInjectionIntoJSFManagedBean
[testng] ********************************************************************
TEST NAME: org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.testRequestScopeDestroyedAfterCallToEjbTimeoutMethod
TEST LOG:
[testng] -deploy:
[testng] [gf.echo] Deploying: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.ear
[testng] [gf.echo] 0 archive(s) to undeploy
[testng] [gf.echo] 1 archive(s) to deploy
[testng] [copy] Copying 1 file to /Users/rogerk/weld/tck/glassfishv3/glassfish/domains/domain1/autodeploy
[testng] [gf.echo] Deploying archive: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.ear
[testng] [gf.echo] Deployment Succeeded: org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.ear
[testng] java.lang.AssertionError
[testng] at org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.testRequestScopeDestroyedAfterCallToEjbTimeoutMethod(EJBRequestContextTest.java:67)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
[testng] at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
[testng] at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
[testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
[testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
[testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
[testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
[testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
[testng] at org.testng.TestRunner.runWorkers(TestRunner.java:759)
[testng] at org.testng.TestRunner.privateRun(TestRunner.java:592)
[testng] at org.testng.TestRunner.run(TestRunner.java:486)
[testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
[testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
[testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
[testng] at org.testng.SuiteRunner.run(SuiteRunner.java:204)
[testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
[testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
[testng] at org.testng.TestNG.run(TestNG.java:784)
[testng] at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
[testng] at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
[testng] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
[testng] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[testng] at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
[testng] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
[testng] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
[testng] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
[testng] at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
[testng] at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
[testng] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
[testng] at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
[testng] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
[testng] at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
[testng] at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
[testng] at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
[testng] at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
[testng] at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
[testng] at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
[testng] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
[testng] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
[testng] at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
[testng] at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
[testng] at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
[testng] at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
[testng] at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
[testng] at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
[testng] at java.lang.Thread.run(Thread.java:637)
[testng] ********************************************************************
[testng] FINISHED TEST: FAILED........org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.testRequestScopeDestroyedAfterCallToEjbTimeoutMethod
[testng] ********************************************************************
TEST NAME: org.jboss.jsr299.tck.tests.context.application.ejb.ApplicationContextSharedTest.testApplicationContextShared
TEST LOG:
[testng] -deploy:
[testng] [gf.echo] Deploying: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.context.application.ejb.ApplicationCo
ntextSharedTest.ear [testng] [gf.echo] 0 archive(s) to undeploy
[testng] [gf.echo] 1 archive(s) to deploy
[testng] [copy] Copying 1 file to /Users/rogerk/weld/tck/glassfishv3/glassfish/domains/domain1/autodeploy
[testng] [gf.echo] Deploying archive: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.context.application.ejb.ApplicationContextSharedTest.ear
[testng] [gf.echo] Deployment Succeeded: org.jboss.jsr299.tck.tests.context.application.ejb.ApplicationContextSharedTest.ear
[testng] java.lang.AssertionError
[testng] at org.jboss.jsr299.tck.tests.context.application.ejb.ApplicationContextSharedTest.testApplicationContextShared(ApplicationContextShar
edTest.java:48)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
[testng] at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
[testng] at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
[testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
[testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
[testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
[testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
[testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
[testng] at org.testng.TestRunner.runWorkers(TestRunner.java:759)
[testng] at org.testng.TestRunner.privateRun(TestRunner.java:592)
[testng] at org.testng.TestRunner.run(TestRunner.java:486)
[testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
[testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
[testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
[testng] at org.testng.SuiteRunner.run(SuiteRunner.java:204)
[testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
[testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
[testng] at org.testng.TestNG.run(TestNG.java:784)
[testng] at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
[testng] at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
[testng] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
[testng] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[testng] at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
[testng] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
[testng] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
[testng] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
[testng] at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
[testng] at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
[testng] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
[testng] at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
[testng] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
[testng] at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
[testng] at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
[testng] at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
[testng] at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
[testng] at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
[testng] at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
[testng] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
[testng] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
[testng] at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
[testng] at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
[testng] at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
[testng] at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
[testng] at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
[testng] at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
[testng] at java.lang.Thread.run(Thread.java:637)
[testng] ********************************************************************
[testng] FINISHED TEST: FAILED........org.jboss.jsr299.tck.tests.context.application.ejb.ApplicationContextSharedTest.testApplicationContextShared
[testng] ********************************************************************
TEST NAME: org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.testRequestScopeActiveDuringCallToEjbTimeoutMethod
TEST LOG:
[testng] -deploy:
[testng] [gf.echo] Deploying: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.ear
[testng] [gf.echo] 0 archive(s) to undeploy
[testng] [gf.echo] 1 archive(s) to deploy
[testng] [copy] Copying 1 file to /Users/rogerk/weld/tck/glassfishv3/glassfish/domains/domain1/autodeploy
[testng] [gf.echo] Deploying archive: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.ear
[testng] [gf.echo] Deployment Succeeded: org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.ear
[testng] java.lang.AssertionError
[testng] at org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.testRequestScopeActiveDuringCallToEjbTimeoutMethod(EJBRequestContextTest.java:51)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
[testng] at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
[testng] at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
[testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
[testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
[testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
[testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
[testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
[testng] at org.testng.TestRunner.runWorkers(TestRunner.java:759)
[testng] at org.testng.TestRunner.privateRun(TestRunner.java:592)
[testng] at org.testng.TestRunner.run(TestRunner.java:486)
[testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
[testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
[testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
[testng] at org.testng.SuiteRunner.run(SuiteRunner.java:204)
[testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
[testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
[testng] at org.testng.TestNG.run(TestNG.java:784)
[testng] at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
[testng] at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
[testng] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
[testng] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[testng] at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
[testng] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
[testng] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
[testng] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
[testng] at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
[testng] at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
[testng] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
[testng] at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
[testng] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
[testng] at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
[testng] at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
[testng] at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
[testng] at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
[testng] at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
[testng] at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
[testng] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
[testng] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
[testng] at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
[testng] at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
[testng] at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
[testng] at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
[testng] at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
[testng] at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
[testng] at java.lang.Thread.run(Thread.java:637)
[testng] ********************************************************************
[testng] FINISHED TEST: FAILED........org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest.testRequestScopeActiveDuringCallToEjbTimeoutMethod
[testng] ********************************************************************
--
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, 6 months
[JBoss JIRA] Created: (WELD-518) TCK Test FAilure: IllegalStateException: Unable to convert ejbRef
by Roger Kitain (JIRA)
TCK Test FAilure: IllegalStateException: Unable to convert ejbRef
-----------------------------------------------------------------
Key: WELD-518
URL: https://jira.jboss.org/jira/browse/WELD-518
Project: Weld
Issue Type: Bug
Affects Versions: 1.0.1.Final
Environment: GlassFish 3.0.1
Reporter: Roger Kitain
TEST NAME: org.jboss.jsr299.tck.tests.implementation.producer.method.definition.enterprise.EnterpriseProducerMethodDefinitionTest.testNonStaticProducerMethodInheritedBySpecializingSubclass
TEST LOG:
[testng] -deploy:
[testng] [gf.echo] Deploying: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.implementation.producer.method.definition.enterprise.EnterpriseProducerMethodDefinitionTest.ear
[testng] [gf.echo] 0 archive(s) to undeploy
[testng] [gf.echo] 1 archive(s) to deploy
[testng] [copy] Copying 1 file to /Users/rogerk/weld/tck/glassfishv3/glassfish/domains/domain1/autodeploy
[testng] [gf.echo] Deploying archive: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.implementation.producer.method.definition.enterprise.EnterpriseProducerMethodDefinitionTest.ear
[testng] [gf.echo] Deployment Succeeded: org.jboss.jsr299.tck.tests.implementation.producer.method.definition.enterprise.EnterpriseProducerMethodDefinitionTest.ear
[testng] java.lang.IllegalStateException: Unable to convert ejbRef for ejb AndalusianChicken to a business object of type interface org.jboss.jsr299.tck.tests.implementation.producer.method.definition.enterprise.ChickenLocal
[testng] at com.sun.ejb.containers.EjbContainerServicesImpl.getBusinessObject(EjbContainerServicesImpl.java:104)
[testng] at org.glassfish.weld.ejb.SessionObjectReferenceImpl.getBusinessObject(SessionObjectReferenceImpl.java:60)
[testng] at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:123)
[testng] at org.jboss.weld.util.CleanableMethodHandler.invoke(CleanableMethodHandler.java:43)
[testng] at org.jboss.jsr299.tck.tests.implementation.producer.method.definition.enterprise.AndalusianChickenLocal_$$_javassist_401.produceEgg(AndalusianChickenLocal_$$_javassist_401.java)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:304)
[testng] at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
[testng] at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
[testng] at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:298)
[testng] at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:200)
[testng] at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstance(MethodInjectionPoint.java:164)
[testng] at org.jboss.weld.bean.ProducerMethod$1.produce(ProducerMethod.java:143)
[testng] at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:360)
[testng] at org.jboss.weld.context.DependentContext.get(DependentContext.java:62)
[testng] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:709)
[testng] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:735)
[testng] at org.jboss.jsr299.tck.impl.OldSPIBridge.getInstanceByType(OldSPIBridge.java:42)
[testng] at org.jboss.jsr299.tck.AbstractJSR299Test.getInstanceByType(AbstractJSR299Test.java:160)
[testng] at org.jboss.jsr299.tck.tests.implementation.producer.method.definition.enterprise.EnterpriseProducerMethodDefinitionTest.testNonStaticProducerMethodInheritedBySpecializingSubclass(EnterpriseProducerMethodDefinitionTest.java:46)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
[testng] at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
[testng] at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
[testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
[testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
[testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
[testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
[testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
[testng] at org.testng.TestRunner.runWorkers(TestRunner.java:759)
[testng] at org.testng.TestRunner.privateRun(TestRunner.java:592)
[testng] at org.testng.TestRunner.run(TestRunner.java:486)
[testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
[testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
[testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
[testng] at org.testng.SuiteRunner.run(SuiteRunner.java:204)
[testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
[testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
[testng] at org.testng.TestNG.run(TestNG.java:784)
[testng] at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
[testng] at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
[testng] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
[testng] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[testng] at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
[testng] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
[testng] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
[testng] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
[testng] at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
[testng] at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
[testng] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
[testng] at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
[testng] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
[testng] at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
[testng] at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
[testng] at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
[testng] at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
[testng] at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
[testng] at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
[testng] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
[testng] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
[testng] at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
[testng] at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
[testng] at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
[testng] at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
[testng] at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
[testng] at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
[testng] at java.lang.Thread.run(Thread.java:637)
[testng] ********************************************************************
[testng] FINISHED TEST: FAILED........org.jboss.jsr299.tck.tests.implementation.producer.method.definition.enterprise.EnterpriseProducerMethodDefinitionTest.testNonStaticProducerMethodInheritedBySpecializingSubclass
[testng] ********************************************************************
--
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, 6 months
[JBoss JIRA] Created: (WELD-513) TCK Test Failures: IllegalArg Exceptions - Invalid Ejb Jar
by Roger Kitain (JIRA)
TCK Test Failures: IllegalArg Exceptions - Invalid Ejb Jar
----------------------------------------------------------
Key: WELD-513
URL: https://jira.jboss.org/jira/browse/WELD-513
Project: Weld
Issue Type: Bug
Affects Versions: 1.0.1.Final
Environment: GlassFish 3.0.1
Reporter: Roger Kitain
Tck test failure:
TEST NAME: org.jboss.jsr299.tck.tests.deployment.packaging.bundledLibrary.LibraryInEarTest.test
SERVER LOG:
[#|2010-04-30T13:01:54.654-0400|SEVERE|glassfish3.0|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=24;_ThreadName=AutoDeployer;|Exception while deploying the app
java.lang.IllegalArgumentException: Invalid ejb jar [org.jboss.jsr299.tck.tests.deployment.packaging.bundledLibrary.LibraryInEarTest.jar]: it contains zero ejb.
Note:
1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message-driven bean.
2. EJB3+ entity beans (@Entity) are POJOs and please package them as library jar.
3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@Stateless, @Stateful, @MessageDriven, @Singleton), please check server.log to see whether the annotations were processed properly.
at com.sun.enterprise.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:72)
at com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:124)
at com.sun.enterprise.deployment.EjbBundleDescriptor.visit(EjbBundleDescriptor.java:722)
at com.sun.enterprise.deployment.Application.visit(Application.java:1744)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.validate(ApplicationArchivist.java:774)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openWith(ApplicationArchivist.java:253)
at com.sun.enterprise.deployment.archivist.ApplicationFactory.openWith(ApplicationFactory.java:222)
at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:152)
at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:79)
at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:612)
at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:554)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:310)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:141)
at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:459)
at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:391)
at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:376)
at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:195)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
--
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, 6 months
[JBoss JIRA] Created: (CDITCK-154) TCK Test Failure: Assertion Error After Injecting Into JSF Managed Bean
by Roger Kitain (JIRA)
TCK Test Failure: Assertion Error After Injecting Into JSF Managed Bean
-----------------------------------------------------------------------
Key: CDITCK-154
URL: https://jira.jboss.org/jira/browse/CDITCK-154
Project: CDI TCK
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Tests
Affects Versions: 1.0.1.Final
Environment: GlassFish v3.0.1
Reporter: Roger Kitain
The following TCK tests fail with assertion errors:
TEST NAME: org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.testInjectionIntoJSFManagedBean
TEST LOG:
[testng] -deploy:
[testng] [gf.echo] Deploying: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.war
[testng] [gf.echo] 0 archive(s) to undeploy
[testng] [gf.echo] 1 archive(s) to deploy
[testng] [copy] Copying 1 file to /Users/rogerk/weld/tck/glassfishv3/glassfish/domains/domain1/autodeploy
[testng] [gf.echo] Deploying archive: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.war
[testng] [gf.echo] Deployment Succeeded: org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.war
[testng] java.lang.AssertionError
[testng] at org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.testInjectionIntoJSFManagedBean(InjectionIntoNonContextualComponentTest.java:163)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
[testng] at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
[testng] at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[testng] at java.lang.reflect.Method.invoke(Method.java:597)
[testng] at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
[testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
[testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
[testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
[testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
[testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
[testng] at org.testng.TestRunner.runWorkers(TestRunner.java:759)
[testng] at org.testng.TestRunner.privateRun(TestRunner.java:592)
[testng] at org.testng.TestRunner.run(TestRunner.java:486)
[testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
[testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
[testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
[testng] at org.testng.SuiteRunner.run(SuiteRunner.java:204)
[testng] at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
[testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
[testng] at org.testng.TestNG.run(TestNG.java:784)
[testng] at org.testng.TestNG.privateMain(TestNG.java:949)
[testng] at org.testng.TestNG.main(TestNG.java:922)
[testng] ********************************************************************
[testng] FINISHED TEST: FAILED........org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.InjectionIntoNonContextualComponentTest.testInjectionIntoJSFManagedBean
[testng] ********************************************************************
--
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, 6 months