[JBoss Seam] - Re: Seam Conversation Should Be Flexible but NOT
by app4you@yahoo.com
Petemuir,
anonymous wrote : I don't quite get what you are after here. You want to have it so that conversations can never timeout? Then it's just SESSION scope (but admittedly isolated)...
-> SESSION scope is never a good implementation unless you have a very good reason to go for, neither a very long running conversation timeout or even set it to the same time-out as the HTTP session time out. Standard is 30 minutes, or at least most of my apps.
anonymous wrote : You can already achieve this effect by having a very very long conversation timeout.
->. Imagine that your application has tab and tree UI components exposed all time and setting the conversation timeout greater than the HTTP session time out or unlimited, aren't you asking for trouble? You will have a whole bunch of runaway conversations running behind the scene and waiting to be closed by the their conversation timers, assume that the user did not click on the DONE or CLOSE button to close the forms' conversations properly.
anonymous wrote : Or are you after flexibility - giving different conversations different timeouts (you can currently do this programmatically, but not through xml/annotations)
-> Who would you go about that? And would that manually setting be scattered all over the place, for each component that is? What we need is the ability to control the conversation time-out to rely on the HTTP session timeout or a way to disable the conversation timeout but not by means of "never timed out conversations"
Just try to put a complex UI application that has a lot of business components with tree+tab interfaces and see how sufficient the application conversation stack can be. Please make sure that "the application data entry form has to be in the edit mode all the time unless the user want to close the form by clicking on the DONE, CLOSE or whatever... button to get back to the search result page".
Thank you all.
John
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038107#4038107
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038107
19 years, 1 month
[JBoss Portal] - Re: MS SQL with Jboss-portal-2.6-BETA1
by glarenzie
I restarted and got no errors during startup, however when I go to the localhost:8080/portal I get the following:
java.lang.IllegalStateException: Default portal does not exist
org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:74)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
$Proxy110.doMapping(Unknown Source)
org.jboss.portal.core.controller.classic.ClassicController.handle(ClassicController.java:69)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
$Proxy229.handle(Unknown Source)
org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:46)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:67)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:108)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:188)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:85)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:381)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038106#4038106
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038106
19 years, 1 month
[Persistence, JBoss/CMP, Hibernate, Database] - Re: Help on Named Query
by elsieq
Hi again scout1lacno,
Here is my entity with named query defined:
@Entity
@NamedQuery (name="Groupmember.findGroupsByMemberId", query="SELECT gm FROM Groupmember gm")
@Table(name = "groupmember", catalog = "cmpe275db", uniqueConstraints = {})
public class Groupmember implements java.io.Serializable {
...
}
And here is the relevant portion of my stateless session bean where I try to use the query:
Query q = em.createNamedQuery
("Groupmember.findGroupsByMemberId");
That is really all that I have done. I am wondering if this error has anything to do with my persistence.xml which simply looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<persistence-unit name="cmpe275PU" transaction-type="JTA">
<jta-data-source>java:/MySQLDS</jta-data-source>
</persistence-unit>
So I am not even dealing with using the % yet ... I am just trying to get a basic named query to work. Any help would be greatly appreciated.
-elsieq
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038105#4038105
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038105
19 years, 1 month
[JBoss Portal] - Re: MS SQL with Jboss-portal-2.6-BETA1
by glarenzie
I restarted and now I get the log in screen. I log in as admin and I get the following error:
14:45:25,798 ERROR [PortalServlet] Unexpected exception
java.lang.NullPointerException
at org.jboss.portal.core.impl.model.CustomizationManagerService.getDashb
oard(CustomizationManagerService.java:257)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy116.getDashboard(Unknown Source)
at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.in
jectDashboardNav(PageCustomizerInterceptor.java:191)
at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.in
voke(PageCustomizerInterceptor.java:127)
at org.jboss.portal.core.controller.ControllerInterceptor.invoke(Control
lerInterceptor.java:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor
.invoke(PolicyEnforcementInterceptor.java:68)
at org.jboss.portal.core.controller.ControllerInterceptor.invoke(Control
lerInterceptor.java:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.i
nvoke(PortalNodeInterceptor.java:54)
at org.jboss.portal.core.controller.ControllerInterceptor.invoke(Control
lerInterceptor.java:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:
157)
at org.jboss.portal.core.controller.ControllerContext.execute(Controller
Context.java:86)
at org.jboss.portal.core.controller.classic.ClassicController.handle(Cla
ssicController.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.ja
va:287)
at $Proxy230.handle(Unknown Source)
at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestCon
trollerDispatcher.java:51)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:131)
at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(Id
entityBindingInterceptor.java:46)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(
ContentTypeInterceptor.java:67)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleI
nterceptor.java:108)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInter
ceptor.java:188)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.
invoke(SessionInvalidatorInterceptor.java:85)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss
$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterce
ptor.java:49)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5
143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530
.java)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.j
ava:262)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5
143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530
.java)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:
157)
at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.j
ava:381)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:524)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
ctionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
14:45:25,845 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servle
t PortalServletWithPathMapping threw exception
java.lang.NullPointerException
at org.jboss.portal.core.impl.model.CustomizationManagerService.getDashb
oard(CustomizationManagerService.java:257)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy116.getDashboard(Unknown Source)
at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.in
jectDashboardNav(PageCustomizerInterceptor.java:191)
at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.in
voke(PageCustomizerInterceptor.java:127)
at org.jboss.portal.core.controller.ControllerInterceptor.invoke(Control
lerInterceptor.java:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor
.invoke(PolicyEnforcementInterceptor.java:68)
at org.jboss.portal.core.controller.ControllerInterceptor.invoke(Control
lerInterceptor.java:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.i
nvoke(PortalNodeInterceptor.java:54)
at org.jboss.portal.core.controller.ControllerInterceptor.invoke(Control
lerInterceptor.java:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:
157)
at org.jboss.portal.core.controller.ControllerContext.execute(Controller
Context.java:86)
at org.jboss.portal.core.controller.classic.ClassicController.handle(Cla
ssicController.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.ja
va:287)
at $Proxy230.handle(Unknown Source)
at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestCon
trollerDispatcher.java:51)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:131)
at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(Id
entityBindingInterceptor.java:46)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(
ContentTypeInterceptor.java:67)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleI
nterceptor.java:108)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInter
ceptor.java:188)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.
invoke(SessionInvalidatorInterceptor.java:85)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss
$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterce
ptor.java:49)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5
143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530
.java)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.j
ava:262)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5
143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530
.java)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(Tr
ansactionInterceptor.java)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.ja
va:38)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j
ava:115)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:
157)
at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.j
ava:381)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:524)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
ctionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
kerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038104#4038104
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038104
19 years, 1 month
[JBoss Seam] - Re: Seam Conversation Should Be Flexible but NOT
by petemuir
anonymous wrote :
| * Maintaining the session timeout, say 30 minutes
|
| * Maintaining the EJB3 timeout
|
This is a pain:
http://jira.jboss.com/jira/browse/EJBTHREE-788
"app4you(a)yahoo.com" wrote : * Live development in Eclipse using Tomcat plug-in for quick monkey-do-monkey-see will crash Tomcat server. If you modified a Java file then Tomcat will automatically updates the changes ====> crashed most of the time
I don't work with Tomcat, but I believe this is due to poor interaction between Eclipse and Tomcat. This works fairly well with JBoss AS, and Max was talking to the guy who deals with who writes the hot-replacement for Eclipse to try and improve it.
anonymous wrote : * Conversation timer should be flexible to turn on/off. Say if your application requires that the application form has to be in the edit mode all time unless user clicked on the Done button. If you want to conversation to end at the same time as the http session timeout, then you have to set the conversation timeout to equal to the HTTP session timeout, 30 minutes, you are asking for bog down - too many sessions. Otherwise, say while the user is looking at the data report for 5 minutes then she tries to fix something on application entry form, boom! Conversation is timed out, redirected to the home.faces. This is bad!!! Imagine that you have the tree and tab interfaces and the application has tons of modules, unless your application is simple like the Hotel demo app.
I don't quite get what you are after here. You want to have it so that conversations can never timeout? Then it's just SESSION scope (but admittedly isolated)... You can already achieve this effect by having a very very long conversation timeout. Or are you after flexibility - giving different conversations different timeouts (you can currently do this programmatically, but not through xml/annotations)
anonymous wrote : * Seam's security is not sufficient enough to protect all the resources besides the component classes and the XHTML files, like the standard J2EE Form-based Authentication or ACEGI. If ACEGI or custom filter is used, Seam's conversation stack will kick in (from my experience here) very unpredictable.
Can you file an issue for this (your underlying problem of not being able to protect resources, not the issues integrating other security solutions) :)
Thanks for the feedback :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038099#4038099
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038099
19 years, 1 month