myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ing.Thomas Kernstock" <t.kernst...@e-technologies.at>
Subject AW: [ANNOUNCE] Release of Apache MyFaces Extensions CDI 1.0.0
Date Mon, 25 Jul 2011 07:28:48 GMT
Hallo Gerhard,

bin seit kurzem aus dem Urlaub zurück und sehe das neue Release ist da -
Gratulieren euch/dir !
Ich habe es auch gleich eingesetzt und bin bei den letzten Tests unserer
Applikation - läuft eigentlich problemlos bis auf einen Punkt. Ich habe mich
bei einer URL vertippt und einen nicht vorhanden Viewnamen eingegeben.
Eigentlich hätte da "Error 404 Page not found" zurückkommen sollen.
Stattdessen bekomme  "Context is already active" !?

INFO: Before phase: RESTORE_VIEW 1
INFO: After phase: RESTORE_VIEW 1
INFO: Before phase: RESTORE_VIEW 1
INFO: After phase: RESTORE_VIEW 1
INFO: Before phase: APPLY_REQUEST_VALUES 2
INFO: Parameter: windowId = 53f
INFO: After phase: APPLY_REQUEST_VALUES 2
INFO: Before phase: PROCESS_VALIDATIONS 3
INFO: After phase: PROCESS_VALIDATIONS 3
INFO: Before phase: UPDATE_MODEL_VALUES 4
INFO: After phase: UPDATE_MODEL_VALUES 4
INFO: Before phase: INVOKE_APPLICATION 5
INFO: After phase: INVOKE_APPLICATION 5
INFO: Before phase: RENDER_RESPONSE 6
WARNUNG: ApplicationDispatcher[/BewerberPortal] PWC1231: Servlet.service()
for servlet Faces Servlet threw exception
java.lang.IllegalStateException: Context is already active
	at
org.jboss.weld.context.AbstractConversationContext.activate(AbstractConversa
tionContext.java:311)
	at
org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener
.java:110)
	at
org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:84)
	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:113)
	at
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	at
org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrap
per.execute(CodiLifecycleWrapper.java:94)
	at
org.apache.myfaces.extensions.validator.core.startup.ExtValLifecycleWrapper.
execute(ExtValLifecycleWrapper.java:61)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
	at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
	at
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatche
r.java:787)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:649)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:483)
	at
org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatc
her.java:454)
	at
org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatche
r.java:350)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:300)
	at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
546)
	at
javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.j
ava:93)
	at
com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildVie
w(JspViewHandlingStrategy.java:364)
	at
com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHand
lingStrategy.java:154)
	at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java
:100)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
	at
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
	at
org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecycleWrap
per.render(CodiLifecycleWrapper.java:125)
	at
org.apache.myfaces.extensions.validator.core.startup.ExtValLifecycleWrapper.
render(ExtValLifecycleWrapper.java:79)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:410)
	at
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:343)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:215)
	at
org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java
:79)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:256)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:215)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:279)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:175)
	at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655
)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
	at
com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLock
ingStandardPipeline.java:91)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162
)
	at
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326
)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
	at
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.
java:170)
	at
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
	at
com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
	at
com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
	at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.jav
a:225)
	at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolCh
ain.java:137)
	at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
	at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
	at
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
	at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.jav
a:54)
	at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59
)
	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
	at
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.jav
a:532)
	at
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:5
13)
	at java.lang.Thread.run(Thread.java:662)   

Mir ist dieses Verhalten in früheren Versionen nicht aufgefallen ->  weißt
Du ob das an einer CODI Konfiguration liegen kann (ich verwende keine von
den Alternatives etc.)  oder ist das wieder mal ein "neuer" Weld Fehler ?

glg
Thomas

-----Ursprüngliche Nachricht-----
Von: gerhard.petracek@gmail.com [mailto:gerhard.petracek@gmail.com] Im
Auftrag von Gerhard Petracek
Gesendet: Donnerstag, 07. Juli 2011 10:00
An: MyFaces Discussion; MyFaces Development
Betreff: [ANNOUNCE] Release of Apache MyFaces Extensions CDI 1.0.0

The Apache MyFaces team is pleased to announce the 7th release of Apache
MyFaces Extensions CDI (aka CODI).

Apache MyFaces CODI provides portable CDI extensions for the Java-Platform
(SE and EE). CODI is a modularized and extensible toolbox for CDI based
applications.

The release of *CODI v1.0.0* contains the following modules:
 - CODI Core
 - CODI JSF Module (for 1.2 and 2.0 and 2.1)
 - CODI JPA Module
 - CODI BV Module
 - CODI I18N-Message Module
 - CODI Scripting Module
 - CODI Trinidad Support Module
 - CODI Alternative Config and Impl Modules
 - CODI Bundles
 - CODI OSGi Bundles
 - CODI Base Test-Infrastructure Module
 - CODI JUnit-Support Module
 - CODI Cargo-Support Module
 - CODI OpenWebBeans Test-Support Module
 - CODI JSF Test-Support Module
 - CODI JSF Example

Apache MyFaces CODI is available in both binary and source distributions:
http://myfaces.apache.org/extensions/cdi/download.html

Apache MyFaces CODI is available in the central Maven repository under Group
ID "org.apache.myfaces.extensions.cdi.*".

Release Notes:
http://s.apache.org/CODI_100

Enjoy!

Gerhard Petracek


Mime
View raw message