[JBoss-user] [JBoss Seam] - Re: Converstaion context destroyed, why?

2006-04-28 Thread baz
Hello Gavin,
here comes the complete stacktrace:
anonymous wrote : 
  | 10:21:26,234 ERROR org.jboss.seam.servlet.SeamExceptionFilter: uncaught 
exception handled by Seam
  | javax.servlet.ServletException: No conversation context active
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:123)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:129)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
  | at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  | at java.lang.Thread.run(Thread.java:595)
  | 10:21:26,234 DEBUG org.jboss.seam.util.Naming: JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 10:21:26,234  INFO org.jboss.seam.servlet.SeamExceptionFilter: killing 
transaction
  | 10:21:26,234 DEBUG org.jboss.seam.util.Naming: JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 10:21:26,234 DEBUG org.jboss.seam.contexts.Lifecycle: After request, 
destroying contexts
  | 10:21:26,234 DEBUG org.jboss.seam.contexts.Lifecycle: destroying event 
context
  | 10:21:26,234 DEBUG org.jboss.seam.contexts.Lifecycle:  End web request
  | 10:21:26,234 ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz].[Faces 
Servlet]: Servlet.service() for servlet Faces Servlet threw exception
  | java.lang.IllegalStateException: No conversation context active
  | at org.jboss.seam.ScopeType.getContext(ScopeType.java:88)
  | at org.jboss.seam.Component.newInstance(Component.java:1160)
  | at org.jboss.seam.Component.getInstance(Component.java:1107)
  | at org.jboss.seam.Component.getInstance(Component.java:1090)
  | at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
  | at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
  | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
  | at com.sun.el.parser.AstValue.getTarget(AstValue.java:41)
  | at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:104)
  | at 
com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:221)
  | at 
com.sun.facelets.el.TagValueExpression.isReadOnly(TagValueExpression.java:82)
  | at 
com.sun.facelets.el.LegacyValueBinding.isReadOnly(LegacyValueBinding.java:82)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.recursivelyHandleComponentReferencesAndSetValid(LifecycleImpl.java:473)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.recursivelyHandleComponentReferencesAndSetValid(LifecycleImpl.java:483)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.recursivelyHandleComponentReferencesAndSetValid(LifecycleImpl.java:483)
  | at 

[JBoss-user] [JBoss Seam] - Re: Converstaion context destroyed, why?

2006-04-28 Thread baz
Hello,
now i have found out that the binding attribute does not work even on an Input 
component.
I was used to use this code:

  | 
  | t:inputText value=#{protokollErstellungname}  
binding=#{protokollErstellung.protocolNameInput} id=protname 
styleClass=inputtext
  | 
  | --
  | private UIInput protocolNameInput;
  | 
  | 
getFacesContext().addMessage(protocolNameInput.getClientId(getFacesContext()),
  | Utils.getMessage(msgProtocolExist, 
new String[] { name }, FacesMessage.SEVERITY_ERROR));
  | 
This code is decoupled from the concrete ClientId. I can put my component on 
any place of a page without destroying functionality.
(JSF generate an assembled id of the ids of the component and its parents)
 As long as i can not use the binding attribute i have to use the myfaces 
attribute 'forceId'. But this does not delete the dependency from bean to 
component.

With binding the page designer can choose which component he will bind to a 
specific bean (provided that bean offers a corresponding getter/setter pair)
Wíthout binding the page designer must change both, the bean and the page, to 
get a component message rendered at the correct place.

Will there be a solution? How can a bean determine the id for a component in 
Seam?

Ciao,
Carsten

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940099#3940099

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940099


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Converstaion context destroyed, why?

2006-04-28 Thread [EMAIL PROTECTED]
As discussed in other threads (and now in the FAQ), you cannot call a 
conversation-scope component during the JSF RESTORE_VIEW phase. Use a component 
from some other scope.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3940177#3940177

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940177


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Converstaion context destroyed, why?

2006-04-27 Thread [EMAIL PROTECTED]
It does not look to me like the conversation gets destroyed.

And you have chopped off the end of the stack trace. Unless you show the whole 
stack trace, I can't help you.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3939904#3939904

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939904


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user