[weld-issues] [JBoss JIRA] (WELD-1014) Weld does not work with Oracle WebLogic Server 11gR1 (10.3.5)

George Gastaldi (Commented) (JIRA) jira-events at lists.jboss.org
Thu Nov 17 08:24:40 EST 2011


    [ https://issues.jboss.org/browse/WELD-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643687#comment-12643687 ] 

George Gastaldi commented on WELD-1014:
---------------------------------------

This is the output I get:

{code:java}

17/11/2011 11:28:28 org.jboss.weld.bootstrap.WeldBootstrap <clinit>
INFO: WELD-000900 1.1.3 (SP1)
17/11/2011 11:28:28 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Inicializando Mojarra 2.0.6 (FCS FCS) para o contexto '/george-wl'
17/11/2011 11:28:29 com.sun.faces.config.AnnotationScanner getAnnotatedClasses
GRAVE: Unable to load annotated class: com.sun.faces.config.FacesInitializer, reason: java.lang.NoClassDefFoundError: javax/servlet/ServletContainerInitializer
17/11/2011 11:28:29 com.sun.faces.spi.InjectionProviderFactory getProviderInstance
GRAVE: JSF1030: A implementacao do InjectionProvider especificado 'com.bea.faces.WeblogicInjectionProvider' não pode ser carregada.
17/11/2011 11:28:29 com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: Anotacoes PostConstruct/PreDestroy presentes.  Os métodos ManagedBeans marcados com essas anotações informarão as anotações processadas.
17/11/2011 11:28:29 org.jboss.weld.bootstrap.WeldBootstrap startContainer
INFO: WELD-000101 Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously.
17/11/2011 11:28:29 org.jboss.weld.environment.servlet.Listener contextInitialized
INFO: No supported servlet container detected, CDI injection will NOT be available in Servlets, Filtersor or Listeners
{code}
                
> Weld does not work with Oracle WebLogic Server 11gR1 (10.3.5)
> -------------------------------------------------------------
>
>                 Key: WELD-1014
>                 URL: https://issues.jboss.org/browse/WELD-1014
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.1.3.SP1
>         Environment: Oracle WebLogic 10.3.5 available on http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html
>            Reporter: George Gastaldi
>         Attachments: app.zip
>
>
> Weblogic doesn´t seem to run Weld. When configuring the WeldListener, I get the following exception:
> {code:java}
> java.lang.IllegalStateException: Singleton is not set
> 	at org.jboss.weld.bootstrap.api.helpers.IsolatedStaticSingletonProvider$IsolatedStaticSingleton.get(IsolatedStaticSingletonProvider.java:52)
> 	at org.jboss.weld.Container.instance(Container.java:54)
> 	at org.jboss.weld.jsf.WeldPhaseListener.instance(WeldPhaseListener.java:161)
> 	at org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener.java:98)
> 	at org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:85)
> 	at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
> 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
> 	at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:111)
> 	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
> 	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
> 	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
> 	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
> 	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
> 	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
> 	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
> 	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
> 	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
> 	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> 	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
> 	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
> 	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
> 	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
> 	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
> 	at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the weld-issues mailing list