10 Replies Latest reply on Jan 6, 2015 2:52 AM by mkouba

    Is it possible to upgrade Weld version in Glassfish 3.1.2.2?

    edilmar

      Hi,

       

      Glassfish 3.1.2.2 uses by default Weld 1.1.8.

      I would like to use the new version 1.1.28.

      Then, I changed the file .../glassfish-3.1.2.2/glassfish/modules/weld-osgi-bundle.jar to the new JAR version from http://search.maven.org/.

      Grave: CORE10008: Cannot find sniffer for module type: weld

       

      The next test was to upgrade for new 4.1 version of weld-integration.jar and weld-integration-fragment.jar from http://search.maven.org/.

      Same problem.

       

      Then, I came back to WELD-000900 1.1.8 (Final).

        • 1. Re: Is it possible to upgrade Weld version in Glassfish 3.1.2.2?
          mkouba

          Hi Edilmar,

          re GF3 - have you tried to restart the Glassfish after replacing the weld-osgi-bundle.jar? 1.1.28.Final should be a drop in replacement. As for GF4.1 - you can't use its integration modules in GF3 because it's using Weld 2.2.x (CDI 1.2).

          • 2. Re: Is it possible to upgrade Weld version in Glassfish 3.1.2.2?
            tremes

            Yes and it's also good to clean (delete) files under domains/domain1/osgi-cache/felix/ in GF when replacing the jar.

            • 3. Re: Is it possible to upgrade Weld version in Glassfish 3.1.2.2?
              edilmar

              Hi,

               

              Thanks for replies.

               

              1) I can't use GF4.x, because my app is not JEE7-compatible

              2) There is no files weld* in osgi-cache/felix subdirs

              3) Today, I entered in my NetBeans8 and started again the GF3.1.2.2 with my app using Weld.

              Messages below:

              INFORMATIONS: Updated bundle 124 from /opt/lp/glassfish-3.1.2.2/glassfish/modules/weld-osgi-bundle.jar

              ...

              Informations: WELD-000900 1.1.28 (Final)

              Grave: Exception while loading the app

              Grave: Exception while shutting down application container

              Grave: Exception while shutting down application container : java.lang.NullPointerException

              ... my app was not deployed then...

              Grave: Exception while loading the app

               

              My environment is: NetBeans 8.0.1 + Glassfish 3.1.2.2 + JSF 2.1 + Richfaces 4.3.7 + CDI/Weld 1.1.8 (original) + Apache CODI 1.0.6 + JPA 2 + Hibernate 4.2.7 + RDBMS Firebird 2.5.2 + JasperReports 5.5.

              • 4. Re: Is it possible to upgrade Weld version in Glassfish 3.1.2.2?
                mkouba

                What's the full stack trace? java.lang.NullPointerException is not enough information...

                • 5. Re: Is it possible to upgrade Weld version in Glassfish 3.1.2.2?
                  edilmar

                  Hi,

                   

                  I added at end of logging.properties:

                  org.jboss.weld.bean.ManagedBean=DEBUG

                  org.jboss.weld.level=FINE

                   

                  Then, below is the server.log from Glassfish:

                   

                  Informações: WELD-000900 1.1.28 (Final)

                  Detalhado: WELD-000103 Enabled alternatives for Manager web

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager web

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager web

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [<class>util.CheckRemocaoInterceptor</class> in file:/sistemas/sitesat2/build/web/WEB-INF/beans.xml@8, <class>util.CheckInsercaoInterceptor</class> in file:/sistemas/sitesat2/build/web/WEB-INF/beans.xml@6, <class>util.CheckGravacaoInterceptor</class> in file:/sistemas/sitesat2/build/web/WEB-INF/beans.xml@7]

                  Detalhado: WELD-000103 Enabled alternatives for Manager WEB-INF/lib/myfaces-extcdi-message-module-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager WEB-INF/lib/myfaces-extcdi-message-module-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager WEB-INF/lib/myfaces-extcdi-message-module-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000103 Enabled alternatives for Manager WEB-INF/lib/myfaces-extcdi-jsf20-module-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager WEB-INF/lib/myfaces-extcdi-jsf20-module-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager WEB-INF/lib/myfaces-extcdi-jsf20-module-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000103 Enabled alternatives for Manager WEB-INF/lib/myfaces-extcdi-jsf20-module-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager WEB-INF/lib/myfaces-extcdi-jsf20-module-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager WEB-INF/lib/myfaces-extcdi-jsf20-module-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000103 Enabled alternatives for Manager WEB-INF/lib/richfaces-core-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager WEB-INF/lib/richfaces-core-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager WEB-INF/lib/richfaces-core-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000103 Enabled alternatives for Manager WEB-INF/lib/myfaces-extcdi-message-module-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager WEB-INF/lib/myfaces-extcdi-message-module-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager WEB-INF/lib/myfaces-extcdi-message-module-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000103 Enabled alternatives for Manager WEB-INF/lib/myfaces-extcdi-core-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager WEB-INF/lib/myfaces-extcdi-core-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager WEB-INF/lib/myfaces-extcdi-core-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000103 Enabled alternatives for Manager WEB-INF/lib/myfaces-extcdi-bv1-module-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager WEB-INF/lib/myfaces-extcdi-bv1-module-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager WEB-INF/lib/myfaces-extcdi-bv1-module-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000103 Enabled alternatives for Manager WEB-INF/lib/myfaces-extcdi-bv1-module-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager WEB-INF/lib/myfaces-extcdi-bv1-module-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager WEB-INF/lib/myfaces-extcdi-bv1-module-api

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000103 Enabled alternatives for Manager WEB-INF/lib/myfaces-extcdi-core-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager WEB-INF/lib/myfaces-extcdi-core-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager WEB-INF/lib/myfaces-extcdi-core-impl

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000103 Enabled alternatives for Manager com.sun.jersey.server.impl.cdi.CDIExtension

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager com.sun.jersey.server.impl.cdi.CDIExtension

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager com.sun.jersey.server.impl.cdi.CDIExtension

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000103 Enabled alternatives for Manager org.glassfish.osgicdi.impl.OSGiServiceExtension

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager org.glassfish.osgicdi.impl.OSGiServiceExtension

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager org.glassfish.osgicdi.impl.OSGiServiceExtension

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Informações: org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProvider installed successfully.

                  Informações: org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProviderContext installed successfully.

                  Detalhado: WELD-000103 Enabled alternatives for Manager org.richfaces.cdi.push.Push

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : [] []

                  Detalhado: WELD-000104 Enabled decorator types for Manager org.richfaces.cdi.push.Push

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Detalhado: WELD-000105 Enabled interceptor types for Manager org.richfaces.cdi.push.Push

                  Enabled alternatives: [] []

                  Registered contexts: [interface javax.enterprise.context.ConversationScoped, interface javax.enterprise.context.RequestScoped, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.Dependent, interface javax.inject.Singleton, interface javax.enterprise.context.SessionScoped]

                  Registered beans: 0

                  : []

                  Informações: Computed the following CODI ProjectStage: Production

                  Detalhado: WELD-000602 interface org.apache.myfaces.extensions.cdi.core.api.security.Secured is not declared @Target(TYPE, METHOD) or @Target(TYPE). Weld will use this annotation, however this may make the application unportable.

                  Detalhado: WELD-000107 Interceptor: Interceptor [class util.CheckRemocaoInterceptor intercepts @CheckRecurso]

                  Detalhado: WELD-000107 Interceptor: Interceptor [class util.CheckGravacaoInterceptor intercepts @CheckRecurso]

                  Detalhado: WELD-000107 Interceptor: Interceptor [class util.CheckInsercaoInterceptor intercepts @CheckRecurso]

                  Detalhado: WELD-000107 Interceptor: Interceptor [class org.apache.myfaces.extensions.cdi.jsf.impl.config.view.PageParameterInterceptor intercepts @PageParameter]

                  Detalhado: WELD-000107 Interceptor: Interceptor [class org.apache.myfaces.extensions.cdi.jsf.impl.scope.conversation.CloseConversationGroupInterceptor intercepts @CloseConversationGroup]

                  Detalhado: WELD-000107 Interceptor: Interceptor [class org.apache.myfaces.extensions.cdi.jsf.impl.config.view.PageParameterListInterceptor intercepts @List]

                  Detalhado: WELD-000107 Interceptor: Interceptor [class org.apache.myfaces.extensions.cdi.jsf.impl.security.SecurityInterceptor intercepts @Secured]

                  Detalhado: WELD-000107 Interceptor: Interceptor [class org.apache.myfaces.extensions.cdi.jsf.impl.listener.phase.ViewControllerInterceptor intercepts @View]

                  Detalhado: WELD-000106 Bean: Managed Bean [class org.apache.myfaces.extensions.cdi.message.api.payload.InternalMessage] with qualifiers [@Default @Any]

                  Detalhado: WELD-000106 Bean: Managed Bean [class org.apache.myfaces.extensions.cdi.message.api.payload.MessageSeverity$Error] with qualifiers [@Default @Any]

                  Detalhado: WELD-000106 Bean: Managed Bean [class org.apache.myfaces.extensions.cdi.message.api.payload.ArgumentDescriptor] with qualifiers [@Default @Any]

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-org.jboss.weld.context.ejb.EjbRequestContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-javax.enterprise.context.Conversation

                  Detalhado: WELD-000106 Bean: Built-in Bean [javax.transaction.UserTransaction] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: Built-in Bean [javax.validator.Validator] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-org.jboss.weld.context.RequestContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-org.jboss.weld.context.ApplicationContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-org.jboss.weld.context.bound.BoundConversationContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-org.jboss.weld.context.DependentContext

                  Detalhado: WELD-000106 Bean: Managed Bean [class org.apache.myfaces.extensions.cdi.message.api.payload.MessageSeverity$Fatal] with qualifiers [@Default @Any]

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-org.jboss.weld.context.http.HttpSessionContext

                  Detalhado: WELD-000106 Bean: Managed Bean [class org.apache.myfaces.extensions.cdi.message.api.payload.MessageSeverity$Warn] with qualifiers [@Default @Any]

                  Detalhado: WELD-000106 Bean: Implicit Bean [javax.enterprise.event.Event] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: Implicit Bean [javax.enterprise.inject.Instance] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: Built-in Bean [java.security.Principal] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-org.jboss.weld.context.http.HttpConversationContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-org.jboss.weld.context.SingletonContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-org.jboss.weld.context.bound.BoundSessionContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-org.jboss.weld.context.bound.BoundRequestContext

                  Detalhado: WELD-000106 Bean: Built-in Bean [javax.validator.ValidatorFactory] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: Implicit Bean [javax.enterprise.inject.spi.InjectionPoint] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: Managed Bean [class org.apache.myfaces.extensions.cdi.message.api.payload.MessageSeverity$Info] with qualifiers [@Default @Any]

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-WEB-INF/lib/myfaces-extcdi-message-module-api-Built-in-org.jboss.weld.context.http.HttpRequestContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-org.jboss.weld.context.ApplicationContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-org.jboss.weld.context.ejb.EjbRequestContext

                  Detalhado: WELD-000106 Bean: Built-in Bean [javax.transaction.UserTransaction] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: Implicit Bean [javax.enterprise.inject.Instance] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-org.jboss.weld.context.bound.BoundRequestContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-org.jboss.weld.context.bound.BoundConversationContext

                  Detalhado: WELD-000106 Bean: Implicit Bean [javax.enterprise.inject.spi.InjectionPoint] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-org.jboss.weld.context.RequestContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-org.jboss.weld.context.bound.BoundSessionContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-javax.enterprise.context.Conversation

                  Detalhado: WELD-000106 Bean: Built-in Bean [javax.validator.ValidatorFactory] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-org.jboss.weld.context.http.HttpConversationContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-org.jboss.weld.context.DependentContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-org.jboss.weld.context.http.HttpRequestContext

                  Detalhado: WELD-000106 Bean: Implicit Bean [javax.enterprise.event.Event] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-org.jboss.weld.context.http.HttpSessionContext

                  Detalhado: WELD-000106 Bean: org.jboss.weld.bean-com.sun.jersey.server.impl.cdi.CDIExtension-Built-in-org.jboss.weld.context.SingletonContext

                  Detalhado: WELD-000106 Bean: Extension [class com.sun.jersey.server.impl.cdi.CDIExtension] with qualifiers [@Default]; bundle://92.0:0/META-INF/services/javax.enterprise.inject.spi.Extension@1[com.sun.jersey.server.impl.cdi.CDIExtension@2da3dc39]

                  Detalhado: WELD-000106 Bean: Built-in Bean [java.security.Principal] with qualifiers [@Default]

                  Detalhado: WELD-000106 Bean: Built-in Bean [javax.validator.Validator] with qualifiers [@Default]

                  Grave: Exception while loading the app

                  Grave: UINamingContainer.getSeparatorChar() called with null FacesContext. This indicates a SEREVER error. Returning :

                  Grave: Exception while shutting down application container

                  Grave: Exception while shutting down application container : java.lang.NullPointerException

                  • 6. Re: Re: Is it possible to upgrade Weld version in Glassfish 3.1.2.2?
                    mkouba

                    UINamingContainer.getSeparatorChar() called with null FacesContext.

                    This looks like some JSF issue.

                    • 7. Re: Re: Is it possible to upgrade Weld version in Glassfish 3.1.2.2?
                      edilmar

                      But this error occurs only if I change WELD jar. With original jar from Glassfish installation, all works fine.

                      Is it possible that there is some incompatibily "new WELD" x "Glassfish 3.1.2.2"?

                      • 8. Re: Re: Is it possible to upgrade Weld version in Glassfish 3.1.2.2?
                        mkouba

                        Sorry, I have no idea. I would also try GlassFish forums as this is more an integration issue.

                        • 9. Re: Is it possible to upgrade Weld version in Glassfish 3.1.2.2?
                          edilmar

                          Hi,

                           

                          What's the goal for JARs: weld-integration.jar and weld-integration-fragment.jar?

                          • 10. Re: Is it possible to upgrade Weld version in Glassfish 3.1.2.2?
                            mkouba

                            These artifacts are not part of the Weld, but GlassFish - note that it's an integration code. So I would try GlassFish source code.