[JBoss JIRA] (GTNWSRP-308) Retrieving persisted registration fails with RichFaces 4 portlet
by Ken Finnigan (JIRA)
Ken Finnigan created GTNWSRP-308:
------------------------------------
Summary: Retrieving persisted registration fails with RichFaces 4 portlet
Key: GTNWSRP-308
URL: https://issues.jboss.org/browse/GTNWSRP-308
Project: GateIn WSRP
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JCR Persistence, Producer
Affects Versions: 2.2.0-Beta5
Reporter: Ken Finnigan
Assignee: Chris Laprun
Loading the RichFaces 4 Portlet from Portlet Bridge creates the following exception several times:
11:53:48,938 ERROR [org.jboss.ws.common.invocation.InvocationHandlerJAXWS] (http-/127.0.0.1:8080-8) Method invocation failed with exception: null: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_07]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_07]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_07]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_07]
at org.jboss.ws.common.invocation.AbstractInvocationHandlerJSE.invoke(AbstractInvocationHandlerJSE.java:111)
at org.jboss.wsf.stack.cxf.JBossWSInvoker._invokeInternal(JBossWSInvoker.java:181)
at org.jboss.wsf.stack.cxf.JBossWSInvoker.invoke(JBossWSInvoker.java:127)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_07]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_07]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_07]
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207)
at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:91)
at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:169)
at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:185)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.1.Final.jar:1.0.1.Final]
at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:135)
at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140) [jbossws-spi-2.0.3.GA.jar:2.0.3.GA]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.1.Final.jar:1.0.1.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.16.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.16.Final.jar:]
at org.gatein.wsrp.servlet.ServletAccessFilter.doFilter(ServletAccessFilter.java:56) [wsrp-common-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.16.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.16.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.16.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.16.Final.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.2.Final.jar:7.1.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.16.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.16.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.16.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.16.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.16.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679) [jbossweb-7.0.16.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931) [jbossweb-7.0.16.Final.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_07]
Caused by: org.oasis.wsrp.v2.OperationFailed: Failed to retrieve registration information associated with handle def9e1e87f00010131acf64d7e5f4a53 Cause: org.chromattic.api.UndeclaredRepositoryException: javax.jcr.InvalidItemStateException: This kind of operation is forbidden after a session.logout().: This kind of operation is forbidden after a session.logout().: This kind of operation is forbidden after a session.logout().
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.7.0_07]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [rt.jar:1.7.0_07]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_07]
at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_07]
at org.gatein.wsrp.WSRPExceptionFactory$ExceptionFactory.newInstance(WSRPExceptionFactory.java:107) [wsrp-common-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.WSRPExceptionFactory.createWSException(WSRPExceptionFactory.java:75) [wsrp-common-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.WSRPExceptionFactory.throwWSException(WSRPExceptionFactory.java:63) [wsrp-common-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.producer.handlers.RegistrationHandler.throwOperationFailedFault(RegistrationHandler.java:368) [wsrp-producer-lib-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.producer.handlers.RegistrationHandler.getRegistrationFrom(RegistrationHandler.java:343) [wsrp-producer-lib-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.producer.WSRPProducerImpl.getRegistrationOrFailIfInvalid(WSRPProducerImpl.java:500) [wsrp-producer-lib-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.producer.handlers.processors.RequestProcessor.prepareInvocation(RequestProcessor.java:113) [wsrp-producer-lib-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.producer.handlers.processors.ResourceRequestProcessor.<init>(ResourceRequestProcessor.java:67) [wsrp-producer-lib-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.producer.handlers.processors.ProcessorFactory.getProcessorFor(ProcessorFactory.java:77) [wsrp-producer-lib-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.producer.handlers.MarkupHandler.getResource(MarkupHandler.java:133) [wsrp-producer-lib-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.producer.WSRPProducerImpl.getResource(WSRPProducerImpl.java:233) [wsrp-producer-lib-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.endpoints.v2.MarkupEndpoint.getResource(MarkupEndpoint.java:174) [classes:]
... 41 more
Caused by: org.gatein.registration.RegistrationException: org.chromattic.api.UndeclaredRepositoryException: javax.jcr.InvalidItemStateException: This kind of operation is forbidden after a session.logout().: This kind of operation is forbidden after a session.logout().: This kind of operation is forbidden after a session.logout().
at org.gatein.wsrp.registration.JCRRegistrationPersistenceManager.getRegistration(JCRRegistrationPersistenceManager.java:432) [wsrp-jcr-impl-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.registration.impl.RegistrationManagerImpl.getConsumerOrRegistration(RegistrationManagerImpl.java:374) [wsrp-producer-lib-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.registration.impl.RegistrationManagerImpl.getRegistration(RegistrationManagerImpl.java:281) [wsrp-producer-lib-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.producer.handlers.RegistrationHandler.getRegistrationFrom(RegistrationHandler.java:334) [wsrp-producer-lib-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
... 48 more
Caused by: org.chromattic.api.UndeclaredRepositoryException: javax.jcr.InvalidItemStateException: This kind of operation is forbidden after a session.logout().: This kind of operation is forbidden after a session.logout().: This kind of operation is forbidden after a session.logout().
at org.chromattic.core.PersistentEntityContextState.getPropertyValue(PersistentEntityContextState.java:224) [chromattic.core-1.1.4.jar:]
at org.chromattic.core.ObjectContext.getPropertyValue(ObjectContext.java:139) [chromattic.core-1.1.4.jar:]
at org.chromattic.core.mapper.property.JCRPropertySingleValuedPropertyMapper.get(JCRPropertySingleValuedPropertyMapper.java:65) [chromattic.core-1.1.4.jar:]
at org.chromattic.core.mapper.property.JCRPropertySingleValuedPropertyMapper.get(JCRPropertySingleValuedPropertyMapper.java:61) [chromattic.core-1.1.4.jar:]
at org.chromattic.core.mapper.PropertyMapper$1.invoke(PropertyMapper.java:73) [chromattic.core-1.1.4.jar:]
at org.chromattic.core.ObjectContext.invoke(ObjectContext.java:65) [chromattic.core-1.1.4.jar:]
at org.gatein.wsrp.registration.mapping.ConsumerMapping_Chromattic.getId(ConsumerMapping_Chromattic.java:72) [wsrp-jcr-impl-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.registration.mapping.ConsumerMapping.toModel(ConsumerMapping.java:159) [wsrp-jcr-impl-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
at org.gatein.wsrp.registration.JCRRegistrationPersistenceManager.getRegistration(JCRRegistrationPersistenceManager.java:427) [wsrp-jcr-impl-2.2.0-Beta05-SNAPSHOT.jar:2.2.0-Beta05-SNAPSHOT]
... 51 more
Caused by: javax.jcr.InvalidItemStateException: This kind of operation is forbidden after a session.logout().: This kind of operation is forbidden after a session.logout().: This kind of operation is forbidden after a session.logout().
at org.exoplatform.services.jcr.impl.core.ItemImpl.checkValid(ItemImpl.java:161) [exo.jcr.component.core-1.15.0-Beta01.jar:1.15.0-Beta01]
at org.exoplatform.services.jcr.impl.core.PropertyImpl.getValue(PropertyImpl.java:149) [exo.jcr.component.core-1.15.0-Beta01.jar:1.15.0-Beta01]
at org.chromattic.core.PersistentEntityContextState.getPropertyValue(PersistentEntityContextState.java:163) [chromattic.core-1.1.4.jar:]
... 59 more
Caused by: javax.jcr.RepositoryException: This kind of operation is forbidden after a session.logout().
at org.exoplatform.services.jcr.impl.core.SessionImpl.checkLive(SessionImpl.java:917) [exo.jcr.component.core-1.15.0-Beta01.jar:1.15.0-Beta01]
at org.exoplatform.services.jcr.impl.core.ItemImpl.checkValid(ItemImpl.java:157) [exo.jcr.component.core-1.15.0-Beta01.jar:1.15.0-Beta01]
... 61 more
The bulk of the page loads ok, but there are some resources that aren't loaded because of this error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (GTNPORTAL-2590) Can't get children of UserNode after use UserPortal#resolvePath
by Vu Viet Phuong (JIRA)
Vu Viet Phuong created GTNPORTAL-2590:
-----------------------------------------
Summary: Can't get children of UserNode after use UserPortal#resolvePath
Key: GTNPORTAL-2590
URL: https://issues.jboss.org/browse/GTNPORTAL-2590
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.4.0.Final
Reporter: Vu Viet Phuong
Assignee: Vu Viet Phuong
Priority: Minor
- Login and edit navigation
- Add 3 sub nodes test1/test2/test3 to home node
--> save --> error: portal navigation doesn't show child node of test1
The problem is in org.exoplatform.portal.mop.user.UserPortalImpl, it add "path" to the filter config (to filter nodes that are not matched the path), but this filter will be use for the children too --> can't get node's childs
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (GTNPORTAL-2593) Add javax.api as dependency to javax.jcr.api module on as7
by Nick Scavelli (JIRA)
Nick Scavelli created GTNPORTAL-2593:
----------------------------------------
Summary: Add javax.api as dependency to javax.jcr.api module on as7
Key: GTNPORTAL-2593
URL: https://issues.jboss.org/browse/GTNPORTAL-2593
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JCR integration, Management
Reporter: Nick Scavelli
Assignee: Nick Scavelli
Fix For: 3.5.0.Beta01
ClassNotFoundException thrown in management CLI when executing session.logout. JCR api (Session) relies on org.xml.sax.ContentHandler to be available.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (GTNSSO-12) CASAgent Singleton causes issues when different Portal Container in the same JVM uses InitiateLoginFilter
by Ray Tsang (JIRA)
Ray Tsang created GTNSSO-12:
-------------------------------
Summary: CASAgent Singleton causes issues when different Portal Container in the same JVM uses InitiateLoginFilter
Key: GTNSSO-12
URL: https://issues.jboss.org/browse/GTNSSO-12
Project: GateIn SSO
Issue Type: Bug
Affects Versions: 1.1.1-GA
Environment: OS X 10.8.2, Java 1.6, JBoss EPP 5.2.2,
Reporter: Ray Tsang
Assignee: Marek Posolda
When 2 or more portal containers are configured with InitiateLoginFilter in web.xml, both InitiateLoginFilter instances gets CASAgent by CASAgent.getInstance(serverUrl,serviceUrl). However, the url may differ (especially the serviceUrl).
Even though CASAgent.getInstance(...) takes in 2 arguments, it only stores a single singleton reference, hence whoever caused the single to instantiate first instances wins, and subsequent InitiateLoginFilter instances will get an instance with a different serverUrl/serviceUrl configuration. This causes CAS authentication to fail.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months