[JBoss JIRA] (WFLY-11858) [Wildfly16] CDI fails to inject InitialContext during startup
by Laird Nelson (Jira)
[ https://issues.jboss.org/browse/WFLY-11858?page=com.atlassian.jira.plugin... ]
Laird Nelson commented on WFLY-11858:
-------------------------------------
One possibility for an immediate workaround (I haven't tried it) might be to throw a quick portable extension together that programmatically adds `@Dependent` to the `InitialContext` class. This should make `InitialContext` be discovered and used directly instead of the `AbstractBean` subclass.
> [Wildfly16] CDI fails to inject InitialContext during startup
> -------------------------------------------------------------
>
> Key: WFLY-11858
> URL: https://issues.jboss.org/browse/WFLY-11858
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, Transactions
> Affects Versions: 16.0.0.Final
> Reporter: Rakesh K. Cherukuri
> Assignee: Matej Novotny
> Priority: Major
> Attachments: stacktrace.log
>
>
> We are in the process of upgrading from 14.0.1.Final. While Wildfly 15.0.1 works fine, 16.0.0.Final is intermittently (3 out of 5 times) failing to start with following error
> _WELD-001334: Unsatisfied dependencies for type InitialContext with qualifiers_
> In our application, a bootstrap servlet startsup services (Stateless EJBs) during server startup. During this process the server fails to start with above error.
> Basically CDI is not able to find the appropriate InitialContext bean *intermittently*. This is not failing in our application code but in the wildfly libraries itself.
> Any pointers on this will be helpful. Don't want to end up with startup issues in stage/production :)
> Unfortunately my efforts to come up with a simplified maven module to showcase the error didn't succeed. So, please let me know if any further information is required and i will be glad to fill it in.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (WFLY-11858) [Wildfly16] CDI fails to inject InitialContext during startup
by Laird Nelson (Jira)
[ https://issues.jboss.org/browse/WFLY-11858?page=com.atlassian.jira.plugin... ]
Laird Nelson commented on WFLY-11858:
-------------------------------------
My guess (I don't really know, as I'm not up on the sophisticated classloading involved in .ear files here) is that any solution that allows the {{InitialContext}} to be created at the point that the {{lookup}} call is made will work. So it would seem that in general it is not OK to have a single instance of {{InitialContext}} floating around, i.e. I believe that the scope of the {{AbstractBean<InitialContext>}} subclass should be {{Dependent}}, not {{Singleton}}. I've updated this in my other (approved so far) [PR|https://github.com/jbosstm/narayana/pull/1403].
Making the {{JNDIBean}} "use directly the initial context with {{new InitialContext().lookup(this.name)}}" is exactly the same as placing the {{AbstractBean<InitialContext>}} in {{Dependent}} scope. I personally prefer going through the bean here as it allows user-supplied {{InitialContext}} bean implementations.
> [Wildfly16] CDI fails to inject InitialContext during startup
> -------------------------------------------------------------
>
> Key: WFLY-11858
> URL: https://issues.jboss.org/browse/WFLY-11858
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, Transactions
> Affects Versions: 16.0.0.Final
> Reporter: Rakesh K. Cherukuri
> Assignee: Matej Novotny
> Priority: Major
> Attachments: stacktrace.log
>
>
> We are in the process of upgrading from 14.0.1.Final. While Wildfly 15.0.1 works fine, 16.0.0.Final is intermittently (3 out of 5 times) failing to start with following error
> _WELD-001334: Unsatisfied dependencies for type InitialContext with qualifiers_
> In our application, a bootstrap servlet startsup services (Stateless EJBs) during server startup. During this process the server fails to start with above error.
> Basically CDI is not able to find the appropriate InitialContext bean *intermittently*. This is not failing in our application code but in the wildfly libraries itself.
> Any pointers on this will be helpful. Don't want to end up with startup issues in stage/production :)
> Unfortunately my efforts to come up with a simplified maven module to showcase the error didn't succeed. So, please let me know if any further information is required and i will be glad to fill it in.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (WFLY-11858) [Wildfly16] CDI fails to inject InitialContext during startup
by Ondra Chaloupka (Jira)
[ https://issues.jboss.org/browse/WFLY-11858?page=com.atlassian.jira.plugin... ]
Ondra Chaloupka commented on WFLY-11858:
----------------------------------------
[~ljnelson] I think the scope of the {{JNDIBean}} to be Singleton is fine. And I assume more correct. I'm currently trying to think in context of this WFLY-11858 issue.
Would be correct and possibly fixing this issue, removing the defintion of the bean {{AbstractBean<IntialContext>}} altogether and let the {{JNDIBean}} to use directly the initial context with {{new InitialContext().lookup(this.name)}}?
> [Wildfly16] CDI fails to inject InitialContext during startup
> -------------------------------------------------------------
>
> Key: WFLY-11858
> URL: https://issues.jboss.org/browse/WFLY-11858
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, Transactions
> Affects Versions: 16.0.0.Final
> Reporter: Rakesh K. Cherukuri
> Assignee: Matej Novotny
> Priority: Major
> Attachments: stacktrace.log
>
>
> We are in the process of upgrading from 14.0.1.Final. While Wildfly 15.0.1 works fine, 16.0.0.Final is intermittently (3 out of 5 times) failing to start with following error
> _WELD-001334: Unsatisfied dependencies for type InitialContext with qualifiers_
> In our application, a bootstrap servlet startsup services (Stateless EJBs) during server startup. During this process the server fails to start with above error.
> Basically CDI is not able to find the appropriate InitialContext bean *intermittently*. This is not failing in our application code but in the wildfly libraries itself.
> Any pointers on this will be helpful. Don't want to end up with startup issues in stage/production :)
> Unfortunately my efforts to come up with a simplified maven module to showcase the error didn't succeed. So, please let me know if any further information is required and i will be glad to fill it in.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (WFLY-11874) Remove unneeded dependencies from Hibernate ORM module
by Scott Marlow (Jira)
[ https://issues.jboss.org/browse/WFLY-11874?page=com.atlassian.jira.plugin... ]
Scott Marlow commented on WFLY-11874:
-------------------------------------
output from Tattletail:
{code}
hibernate-core-5.3.9.Final.jar
antlr.ANTLRException, antlr.ANTLRHashString, antlr.ANTLRStringBuffer, antlr.ASTFactory, antlr.ASTNULLType, antlr.ASTPair, antlr.ByteBuffer, antlr.CharBuffer, antlr.CharScanner, antlr.CharStreamException, antlr.CharStreamIOException, antlr.CommonAST, antlr.CommonToken, antlr.InputBuffer, antlr.LLkParser, antlr.LexerSharedInputState, antlr.MismatchedTokenException, antlr.NoViableAltException, antlr.NoViableAltForCharException, antlr.ParserSharedInputState, antlr.RecognitionException, antlr.SemanticException, antlr.Token, antlr.TokenBuffer, antlr.TokenStream, antlr.TokenStreamException, antlr.TokenStreamIOException, antlr.TokenStreamRecognitionException, antlr.TreeParser, antlr.TreeParserSharedInputState, antlr.collections.AST, antlr.collections.impl.ASTArray, antlr.collections.impl.BitSet,
com.fasterxml.classmate.AnnotationConfiguration, com.fasterxml.classmate.AnnotationOverrides, com.fasterxml.classmate.MemberResolver, com.fasterxml.classmate.ResolvedType, com.fasterxml.classmate.ResolvedTypeWithMembers, com.fasterxml.classmate.TypeResolver, com.fasterxml.classmate.members.ResolvedField, com.fasterxml.classmate.members.ResolvedMember,
com.fasterxml.classmate.members.ResolvedMethod,
java.io.UncheckedIOException, java.lang.AutoCloseable, java.lang.ReflectiveOperationException, java.lang.SafeVarargs, java.lang.annotation.Repeatable, java.nio.charset.StandardCharsets, java.time.Duration, java.time.Instant, java.time.LocalDate, java.time.LocalDateTime, java.time.LocalTime, java.time.OffsetDateTime, java.time.OffsetTime, java.time.ZoneId, java.time.ZoneOffset, java.time.ZonedDateTime, java.time.format.DateTimeFormatter, java.time.temporal.TemporalAccessor, java.util.Objects, java.util.Optional, java.util.concurrent.ConcurrentHashMap$KeySetView, java.util.concurrent.atomic.LongAdder, java.util.function.Consumer, java.util.function.Function, java.util.function.Supplier, java.util.stream.Stream,
javassist.CannotCompileException, javassist.ClassPath, javassist.ClassPool, javassist.CtClass, javassist.CtField, javassist.CtMember, javassist.CtMethod, javassist.CtNewMethod, javassist.LoaderClassPath, javassist.Modifier, javassist.NotFoundException, javassist.bytecode.AccessFlag, javassist.bytecode.AnnotationsAttribute, javassist.bytecode.AttributeInfo, javassist.bytecode.BadBytecode, javassist.bytecode.Bytecode, javassist.bytecode.ClassFile, javassist.bytecode.CodeAttribute, javassist.bytecode.CodeIterator, javassist.bytecode.ConstPool, javassist.bytecode.FieldInfo, javassist.bytecode.MethodInfo, javassist.bytecode.Opcode, javassist.bytecode.SignatureAttribute, javassist.bytecode.SignatureAttribute$ClassType, javassist.bytecode.SignatureAttribute$MethodSignature, javassist.bytecode.SignatureAttribute$ObjectType, javassist.bytecode.SignatureAttribute$Type, javassist.bytecode.SignatureAttribute$TypeArgument, javassist.bytecode.StackMapTable, javassist.bytecode.StackMapTable$Writer, javassist.bytecode.annotation.Annotation, javassist.bytecode.stackmap.MapMaker, javassist.util.proxy.FactoryHelper, javassist.util.proxy.MethodFilter, javassist.util.proxy.MethodHandler, javassist.util.proxy.Proxy, javassist.util.proxy.ProxyFactory, javassist.util.proxy.RuntimeSupport,
javax.enterprise.context.ContextNotActiveException, javax.enterprise.context.spi.Contextual, javax.enterprise.context.spi.CreationalContext, javax.enterprise.inject.Instance, javax.enterprise.inject.spi.AnnotatedType, javax.enterprise.inject.spi.Bean, javax.enterprise.inject.spi.BeanManager, javax.enterprise.inject.spi.InjectionTarget, javax.enterprise.util.AnnotationLiteral, javax.inject.Named,
javax.persistence.Access, javax.persistence.AccessType, javax.persistence.AssociationOverride, javax.persistence.AssociationOverrides,
javax.persistence.AttributeConverter, javax.persistence.AttributeNode, javax.persistence.AttributeOverride, javax.persistence.AttributeOverrides, javax.persistence.Basic, javax.persistence.Cache, javax.persistence.CacheRetrieveMode, javax.persistence.CacheStoreMode, javax.persistence.Cacheable, javax.persistence.CascadeType, javax.persistence.CollectionTable, javax.persistence.Column, javax.persistence.ColumnResult, javax.persistence.ConstraintMode, javax.persistence.ConstructorResult, javax.persistence.Convert, javax.persistence.Converter, javax.persistence.Converts, javax.persistence.DiscriminatorColumn, javax.persistence.DiscriminatorType, javax.persistence.DiscriminatorValue, javax.persistence.ElementCollection, javax.persistence.Embeddable, javax.persistence.Embedded, javax.persistence.EmbeddedId, javax.persistence.Entity, javax.persistence.EntityExistsException, javax.persistence.EntityGraph, javax.persistence.EntityListeners, javax.persistence.EntityManager, javax.persistence.EntityManagerFactory, javax.persistence.EntityNotFoundException, javax.persistence.EntityResult, javax.persistence.EntityTransaction, javax.persistence.EnumType, javax.persistence.Enumerated, javax.persistence.ExcludeDefaultListeners, javax.persistence.ExcludeSuperclassListeners, javax.persistence.FetchType, javax.persistence.FieldResult, javax.persistence.FlushModeType, javax.persistence.ForeignKey, javax.persistence.GeneratedValue, javax.persistence.GenerationType, javax.persistence.Id, javax.persistence.IdClass, javax.persistence.Index, javax.persistence.Inheritance, javax.persistence.InheritanceType, javax.persistence.JoinColumn, javax.persistence.JoinColumns, javax.persistence.JoinTable, javax.persistence.Lob, javax.persistence.LockModeType, javax.persistence.LockTimeoutException, javax.persistence.ManyToMany, javax.persistence.ManyToOne, javax.persistence.MapKey, javax.persistence.MapKeyClass, javax.persistence.MapKeyColumn, javax.persistence.MapKeyEnumerated, javax.persistence.MapKeyJoinColumn, javax.persistence.MapKeyJoinColumns, javax.persistence.MapKeyTemporal, javax.persistence.MappedSuperclass, javax.persistence.MapsId, javax.persistence.NamedAttributeNode, javax.persistence.NamedEntityGraph, javax.persistence.NamedEntityGraphs, javax.persistence.NamedNativeQueries, javax.persistence.NamedNativeQuery, javax.persistence.NamedQueries, javax.persistence.NamedQuery, javax.persistence.NamedStoredProcedureQueries, javax.persistence.NamedStoredProcedureQuery, javax.persistence.NamedSubgraph, javax.persistence.NoResultException, javax.persistence.NonUniqueResultException, javax.persistence.OneToMany, javax.persistence.OneToOne, javax.persistence.OptimisticLockException, javax.persistence.OrderBy, javax.persistence.OrderColumn, javax.persistence.Parameter, javax.persistence.ParameterMode, javax.persistence.PersistenceException, javax.persistence.PersistenceUnitUtil, javax.persistence.PessimisticLockException, javax.persistence.PostLoad, javax.persistence.PostPersist, javax.persistence.PostRemove, javax.persistence.PostUpdate, javax.persistence.PrePersist, javax.persistence.PreRemove, javax.persistence.PreUpdate, javax.persistence.PrimaryKeyJoinColumn, javax.persistence.PrimaryKeyJoinColumns, javax.persistence.Query, javax.persistence.QueryHint, javax.persistence.QueryTimeoutException, javax.persistence.RollbackException, javax.persistence.SecondaryTable, javax.persistence.SecondaryTables, javax.persistence.SequenceGenerator, javax.persistence.SharedCacheMode, javax.persistence.SqlResultSetMapping, javax.persistence.SqlResultSetMappings, javax.persistence.StoredProcedureParameter, javax.persistence.StoredProcedureQuery, javax.persistence.Subgraph, javax.persistence.SynchronizationType, javax.persistence.Table, javax.persistence.TableGenerator, javax.persistence.Temporal, javax.persistence.TemporalType, javax.persistence.TransactionRequiredException, javax.persistence.Transient, javax.persistence.Tuple, javax.persistence.TupleElement, javax.persistence.TypedQuery, javax.persistence.UniqueConstraint, javax.persistence.ValidationMode, javax.persistence.Version, javax.persistence.criteria.AbstractQuery, javax.persistence.criteria.CollectionJoin, javax.persistence.criteria.CommonAbstractCriteria, javax.persistence.criteria.CompoundSelection, javax.persistence.criteria.CriteriaBuilder, javax.persistence.criteria.CriteriaBuilder$Coalesce, javax.persistence.criteria.CriteriaBuilder$In, javax.persistence.criteria.CriteriaBuilder$Trimspec, javax.persistence.criteria.CriteriaDelete, javax.persistence.criteria.CriteriaQuery, javax.persistence.criteria.CriteriaUpdate, javax.persistence.criteria.Expression, javax.persistence.criteria.Fetch, javax.persistence.criteria.FetchParent, javax.persistence.criteria.From, javax.persistence.criteria.Join, javax.persistence.criteria.JoinType, javax.persistence.criteria.ListJoin, javax.persistence.criteria.MapJoin, javax.persistence.criteria.Order, javax.persistence.criteria.ParameterExpression, javax.persistence.criteria.Path, javax.persistence.criteria.PluralJoin, javax.persistence.criteria.Predicate, javax.persistence.criteria.Predicate$BooleanOperator, javax.persistence.criteria.Root, javax.persistence.criteria.Selection, javax.persistence.criteria.SetJoin, javax.persistence.criteria.Subquery, javax.persistence.metamodel.Attribute, javax.persistence.metamodel.Attribute$PersistentAttributeType, javax.persistence.metamodel.BasicType, javax.persistence.metamodel.Bindable, javax.persistence.metamodel.Bindable$BindableType, javax.persistence.metamodel.CollectionAttribute, javax.persistence.metamodel.EmbeddableType, javax.persistence.metamodel.EntityType, javax.persistence.metamodel.IdentifiableType, javax.persistence.metamodel.ListAttribute, javax.persistence.metamodel.ManagedType, javax.persistence.metamodel.MapAttribute, javax.persistence.metamodel.MappedSuperclassType, javax.persistence.metamodel.Metamodel, javax.persistence.metamodel.PluralAttribute, javax.persistence.metamodel.PluralAttribute$CollectionType, javax.persistence.metamodel.SetAttribute, javax.persistence.metamodel.SingularAttribute, javax.persistence.metamodel.Type, javax.persistence.metamodel.Type$PersistenceType, javax.persistence.spi.ClassTransformer, javax.persistence.spi.LoadState, javax.persistence.spi.PersistenceProvider, javax.persistence.spi.PersistenceUnitInfo, javax.persistence.spi.PersistenceUnitTransactionType, javax.persistence.spi.ProviderUtil, javax.security.jacc.EJBMethodPermission, javax.security.jacc.PolicyConfiguration, javax.security.jacc.PolicyConfigurationFactory, javax.security.jacc.PolicyContext, javax.security.jacc.PolicyContextException,
javax.transaction.NotSupportedException, javax.transaction.RollbackException, javax.transaction.Status,
javax.transaction.Synchronization, javax.transaction.SystemException, javax.transaction.Transaction, javax.transaction.TransactionManager, javax.transaction.TransactionSynchronizationRegistry, javax.transaction.UserTransaction, javax.validation.ConstraintViolation, javax.validation.ConstraintViolationException, javax.validation.Path, javax.validation.Path$Node, javax.validation.TraversableResolver, javax.validation.Validation, javax.validation.Validator, javax.validation.ValidatorContext, javax.validation.ValidatorFactory, javax.validation.constraints.Digits, javax.validation.constraints.Max, javax.validation.constraints.Min, javax.validation.constraints.NotNull, javax.validation.constraints.Size, javax.validation.groups.Default, javax.validation.metadata.BeanDescriptor, javax.validation.metadata.ConstraintDescriptor, javax.validation.metadata.PropertyDescriptor,
net.bytebuddy.ClassFileVersion, net.bytebuddy.asm.Advice, net.bytebuddy.asm.Advice$Argument, net.bytebuddy.asm.Advice$FieldValue, net.bytebuddy.asm.Advice$OnMethodEnter, net.bytebuddy.asm.Advice$OnMethodExit, net.bytebuddy.asm.Advice$Return, net.bytebuddy.asm.Advice$This, net.bytebuddy.asm.Advice$WithCustomMapping, net.bytebuddy.asm.AsmVisitorWrapper, net.bytebuddy.asm.AsmVisitorWrapper$ForDeclaredMethods, net.bytebuddy.asm.AsmVisitorWrapper$ForDeclaredMethods$MethodVisitorWrapper, net.bytebuddy.description.ByteCodeElement, net.bytebuddy.description.ByteCodeElement$TypeDependant, net.bytebuddy.description.annotation.AnnotationDescription, net.bytebuddy.description.annotation.AnnotationDescription$Loadable, net.bytebuddy.description.annotation.AnnotationList, net.bytebuddy.description.annotation.AnnotationValue, net.bytebuddy.description.field.FieldDescription, net.bytebuddy.description.field.FieldDescription$InDefinedShape, net.bytebuddy.description.field.FieldList, net.bytebuddy.description.method.MethodDescription, net.bytebuddy.description.method.MethodDescription$ForLoadedMethod, net.bytebuddy.description.method.MethodDescription$InDefinedShape, net.bytebuddy.description.modifier.ModifierContributor, net.bytebuddy.description.modifier.ModifierContributor$ForMethod, net.bytebuddy.description.modifier.Visibility, net.bytebuddy.description.type.TypeDefinition, net.bytebuddy.description.type.TypeDefinition$Sort, net.bytebuddy.description.type.TypeDescription, net.bytebuddy.description.type.TypeDescription$ForLoadedType, net.bytebuddy.description.type.TypeDescription$Generic, net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType, net.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType$ForLoadedType, net.bytebuddy.description.type.TypeList, net.bytebuddy.description.type.TypeList$Generic, net.bytebuddy.dynamic.DynamicType, net.bytebuddy.dynamic.DynamicType$Builder, net.bytebuddy.dynamic.DynamicType$Builder$MethodDefinition, net.bytebuddy.dynamic.DynamicType$Builder$MethodDefinition$ExceptionDefinition, net.bytebuddy.dynamic.DynamicType$Builder$MethodDefinition$ImplementationDefinition, net.bytebuddy.dynamic.DynamicType$Builder$MethodDefinition$ImplementationDefinition$Optional, net.bytebuddy.dynamic.DynamicType$Builder$MethodDefinition$ParameterDefinition, net.bytebuddy.dynamic.DynamicType$Builder$MethodDefinition$ParameterDefinition$Initial, net.bytebuddy.dynamic.DynamicType$Builder$MethodDefinition$ReceiverTypeDefinition, net.bytebuddy.dynamic.scaffold.FieldLocator, net.bytebuddy.dynamic.scaffold.FieldLocator$ForClassHierarchy, net.bytebuddy.dynamic.scaffold.FieldLocator$ForClassHierarchy$Factory, net.bytebuddy.dynamic.scaffold.FieldLocator$Resolution, net.bytebuddy.dynamic.scaffold.InstrumentedType, net.bytebuddy.implementation.FieldAccessor, net.bytebuddy.implementation.FieldAccessor$AssignerConfigurable, net.bytebuddy.implementation.FieldAccessor$OwnerTypeLocatable, net.bytebuddy.implementation.FieldAccessor$PropertyConfigurable, net.bytebuddy.implementation.Implementation, net.bytebuddy.implementation.Implementation$Context, net.bytebuddy.implementation.Implementation$Simple, net.bytebuddy.implementation.Implementation$Target, net.bytebuddy.implementation.MethodDelegation, net.bytebuddy.implementation.StubMethod, net.bytebuddy.implementation.bind.annotation.AllArguments, net.bytebuddy.implementation.bind.annotation.FieldValue, net.bytebuddy.implementation.bind.annotation.Origin, net.bytebuddy.implementation.bind.annotation.RuntimeType, net.bytebuddy.implementation.bind.annotation.StubValue, net.bytebuddy.implementation.bind.annotation.This, net.bytebuddy.implementation.bytecode.ByteCodeAppender, net.bytebuddy.implementation.bytecode.ByteCodeAppender$Compound, net.bytebuddy.implementation.bytecode.ByteCodeAppender$Size, net.bytebuddy.implementation.bytecode.StackManipulation, net.bytebuddy.implementation.bytecode.StackManipulation$Size, net.bytebuddy.implementation.bytecode.StackSize, net.bytebuddy.implementation.bytecode.assign.Assigner, net.bytebuddy.implementation.bytecode.assign.Assigner$Typing, net.bytebuddy.implementation.bytecode.assign.primitive.PrimitiveBoxingDelegate, net.bytebuddy.implementation.bytecode.assign.primitive.PrimitiveUnboxingDelegate, net.bytebuddy.implementation.bytecode.assign.primitive.PrimitiveUnboxingDelegate$UnboxingResponsible, net.bytebuddy.implementation.bytecode.assign.reference.ReferenceTypeAwareAssigner, net.bytebuddy.jar.asm.Label, net.bytebuddy.jar.asm.MethodVisitor, net.bytebuddy.jar.asm.Opcodes, net.bytebuddy.jar.asm.Type, net.bytebuddy.matcher.ElementMatcher, net.bytebuddy.matcher.ElementMatcher$Junction, net.bytebuddy.matcher.ElementMatchers, net.bytebuddy.matcher.FilterableList, net.bytebuddy.pool.TypePool, net.bytebuddy.pool.TypePool$Resolution,
org.apache.tools.ant.BuildException, org.apache.tools.ant.DirectoryScanner, org.apache.tools.ant.Project, org.apache.tools.ant.Task, org.apache.tools.ant.taskdefs.MatchingTask, org.apache.tools.ant.types.FileSet,
org.dom4j.Attribute, org.dom4j.Comment, org.dom4j.Document, org.dom4j.DocumentFactory, org.dom4j.Element, org.dom4j.Node, org.dom4j.io.SAXReader, org.dom4j.io.STAXEventReader,
org.hibernate.annotations.common.AssertionFailure, org.hibernate.annotations.common.annotationfactory.AnnotationDescriptor, org.hibernate.annotations.common.annotationfactory.AnnotationFactory, org.hibernate.annotations.common.reflection.AnnotationReader, org.hibernate.annotations.common.reflection.ClassLoaderDelegate, org.hibernate.annotations.common.reflection.ClassLoadingException, org.hibernate.annotations.common.reflection.Filter, org.hibernate.annotations.common.reflection.MetadataProvider, org.hibernate.annotations.common.reflection.MetadataProviderInjector, org.hibernate.annotations.common.reflection.ReflectionManager, org.hibernate.annotations.common.reflection.ReflectionUtil, org.hibernate.annotations.common.reflection.XAnnotatedElement, org.hibernate.annotations.common.reflection.XClass, org.hibernate.annotations.common.reflection.XMethod, org.hibernate.annotations.common.reflection.XPackage, org.hibernate.annotations.common.reflection.XProperty, org.hibernate.annotations.common.reflection.java.JavaMetadataProvider, org.hibernate.annotations.common.reflection.java.JavaReflectionManager, org.hibernate.annotations.common.reflection.java.JavaXMember, org.hibernate.annotations.common.util.StandardClassLoaderDelegateImpl, org.hibernate.annotations.common.util.StringHelper, org.hibernate.boot.internal.InFlightMetadataCollectorImpl, org.hibernate.boot.internal.SessionFactoryOptionsBuilder, org.hibernate.boot.model.convert.internal.AttributeConverterManager, org.hibernate.boot.model.process.internal.ManagedResourcesImpl, org.hibernate.boot.model.source.internal.hbm.AbstractPluralAttributeSourceImpl, org.hibernate.boot.registry.internal.StandardServiceRegistryImpl, org.hibernate.boot.registry.selector.internal.StrategySelectorImpl, org.hibernate.boot.spi.SessionFactoryOptions, org.hibernate.bytecode.enhance.internal.bytebuddy.ByteBuddyEnhancementContext, org.hibernate.bytecode.enhance.internal.bytebuddy.EnhancerImpl, org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributesMetadata, org.hibernate.bytecode.internal.bytebuddy.BasicProxyFactoryImpl, org.hibernate.bytecode.internal.bytebuddy.ByteBuddyState, org.hibernate.bytecode.internal.bytebuddy.ByteBuddyState$ProxyDefinitionHelpers, org.hibernate.bytecode.internal.bytebuddy.BytecodeProviderImpl, org.hibernate.cache.cfg.internal.DomainDataRegionConfigImpl$Builder, org.hibernate.cache.internal.CollectionCacheInvalidator, org.hibernate.cache.internal.EnabledCaching, org.hibernate.cache.spi.support.AbstractDomainDataRegion, org.hibernate.cfg.AnnotationBinder, org.hibernate.cfg.IndexOrUniqueKeySecondPass, org.hibernate.context.internal.ThreadLocalSessionContext, org.hibernate.event.internal.DefaultRefreshEventListener, org.hibernate.hql.internal.HolderInstantiator, org.hibernate.hql.internal.ast.ParameterTranslationsImpl, org.hibernate.hql.internal.ast.tree.FromElement, org.hibernate.hql.internal.classic.QueryTranslatorImpl, org.hibernate.id.enhanced.PooledLoThreadLocalOptimizer, org.hibernate.internal.AbstractSharedSessionContract, org.hibernate.internal.SessionFactoryImpl, org.hibernate.internal.SessionImpl, org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl, org.hibernate.loader.custom.CustomLoader, org.hibernate.mapping.SimpleValue, org.hibernate.metamodel.internal.MetamodelImpl, org.hibernate.persister.entity.AbstractEntityPersister, org.hibernate.procedure.internal.ProcedureCallImpl, org.hibernate.procedure.internal.ProcedureOutputsImpl$ProcedureCurrentReturnState, org.hibernate.proxy.pojo.bytebuddy.ByteBuddyProxyHelper, org.hibernate.proxy.pojo.javassist.JavassistProxyFactory, org.hibernate.query.criteria.internal.CriteriaBuilderImpl, org.hibernate.query.criteria.internal.expression.SearchedCaseExpression, org.hibernate.query.criteria.internal.expression.SimpleCaseExpression, org.hibernate.query.internal.AbstractProducedQuery, org.hibernate.query.internal.QueryParameterBindingsImpl, org.hibernate.query.procedure.internal.ProcedureParamBindings, org.hibernate.query.procedure.internal.ProcedureParameterMetadata, org.hibernate.resource.beans.container.internal.CdiBeanContainerExtendedAccessImpl, org.hibernate.resource.beans.container.spi.AbstractCdiBeanContainer, org.hibernate.result.internal.ResultSetOutputImpl, org.hibernate.stat.internal.StatisticsImpl, org.hibernate.tool.schema.internal.AbstractSchemaMigrator, org.hibernate.tuple.TimestampGenerators, org.hibernate.type.TypeFactory, org.hibernate.type.descriptor.java.JavaTypeDescriptorRegistry, org.hibernate.type.descriptor.java.spi.JavaTypeDescriptorRegistry, org.jboss.jandex.IndexView, org.jboss.logging.BasicLogger, org.jboss.logging.DelegatingBasicLogger, org.jboss.logging.Logger, org.jboss.logging.Logger$Level, org.jboss.logging.MDC, org.jboss.logging.annotations.Cause, org.jboss.logging.annotations.LogMessage, org.jboss.logging.annotations.Message, org.jboss.logging.annotations.MessageLogger, org.jboss.logging.annotations.ValidIdRange
hibernate-envers-5.3.9.Final.jar
java.lang.annotation.Repeatable,
java.util.Objects,
javax.persistence.Column, javax.persistence.ElementCollection, javax.persistence.EntityManager, javax.persistence.FetchType, javax.persistence.GeneratedValue, javax.persistence.Id, javax.persistence.JoinColumn, javax.persistence.JoinTable, javax.persistence.MappedSuperclass, javax.persistence.NoResultException, javax.persistence.NonUniqueResultException, javax.persistence.Transient, javax.persistence.criteria.JoinType, javax.persistence.metamodel.SetAttribute, javax.persistence.metamodel.SingularAttribute, javax.persistence.metamodel.StaticMetamodel,
org.dom4j.Attribute, org.dom4j.Document, org.dom4j.DocumentException, org.dom4j.DocumentFactory, org.dom4j.DocumentHelper, org.dom4j.Element, org.dom4j.io.OutputFormat, org.dom4j.io.XMLWriter, org.dom4j.tree.DefaultElement,
org.hibernate.annotations.common.reflection.ClassLoadingException, org.hibernate.annotations.common.reflection.ReflectionManager,
org.hibernate.annotations.common.reflection.XClass, org.hibernate.annotations.common.reflection.XProperty, org.hibernate.envers.configuration.internal.metadata.reader.AuditedPropertiesReader,
org.hibernate.envers.configuration.internal.metadata.reader.ClassAuditingData, org.hibernate.envers.configuration.internal.metadata.reader.ComponentAuditingData, org.hibernate.envers.query.internal.impl.RevisionsOfEntityQuery, org.hibernate.mapping.SimpleValue,
org.jboss.jandex.IndexView,
org.jboss.logging.BasicLogger, org.jboss.logging.DelegatingBasicLogger, org.jboss.logging.Logger, org.jboss.logging.annotations.MessageLogger
{code}
> Remove unneeded dependencies from Hibernate ORM module
> ------------------------------------------------------
>
> Key: WFLY-11874
> URL: https://issues.jboss.org/browse/WFLY-11874
> Project: WildFly
> Issue Type: Task
> Components: JPA / Hibernate
> Affects Versions: 16.0.0.Final
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Priority: Major
>
> As mentioned in [https://github.com/wildfly/wildfly/pull/12155], we should remove remove ASM dependency from org/hibernate/main/module.xml. Check other Hibernate dependencies as well.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months