[JBoss JIRA] (GTNPORTAL-2675) Error during shutdown: "No pre init tasks can be added to the portal container"
by Matt Wringe (JIRA)
Matt Wringe created GTNPORTAL-2675:
--------------------------------------
Summary: Error during shutdown: "No pre init tasks can be added to the portal container"
Key: GTNPORTAL-2675
URL: https://issues.jboss.org/browse/GTNPORTAL-2675
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: WSRP integration
Reporter: Matt Wringe
Assignee: Matt Wringe
When shutting down the portal, the following error message is thrown:
15:17:15,431 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gatein-wsrp-integration]] Exception sending context destroyed event to listener instance of class org.exoplatform.container.web.PortalContainerConfigOwner: java.lang.IllegalStateException: No pre init tasks can be added to the portal container 'portal', because it has already been initialized. Check the webapp 'gatein-wsrp-integration'
at org.exoplatform.container.RootContainer$PortalContainerPreInitTask.onAlreadyExists(RootContainer.java:1317) [exo.kernel.container-2.4.0-CR1.jar:2.4.0-CR1]
at org.exoplatform.container.RootContainer.addInitTask(RootContainer.java:1108) [exo.kernel.container-2.4.0-CR1.jar:2.4.0-CR1]
at org.exoplatform.container.PortalContainer.addInitTask(PortalContainer.java:464) [exo.kernel.container-2.4.0-CR1.jar:2.4.0-CR1]
at org.exoplatform.container.PortalContainer.addInitTask(PortalContainer.java:438) [exo.kernel.container-2.4.0-CR1.jar:2.4.0-CR1]
at org.exoplatform.container.web.PortalContainerConfigOwner.contextDestroyed(PortalContainerConfigOwner.java:56) [exo.kernel.container-2.4.0-CR1.jar:2.4.0-CR1]
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.stop(WebDeploymentService.java:108) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911)
at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_06-icedtea]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_06-icedtea]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_06-icedtea]
--
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, 5 months
[JBoss JIRA] (GTNWSRP-324) Gatein as consumer, Websphere as producer, unable to invoke the remote portlet.
by Ashwin K (JIRA)
Ashwin K created GTNWSRP-324:
--------------------------------
Summary: Gatein as consumer, Websphere as producer, unable to invoke the remote portlet.
Key: GTNWSRP-324
URL: https://issues.jboss.org/browse/GTNWSRP-324
Project: GateIn WSRP
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Producer
Environment: Windows operating system
Reporter: Ashwin K
Assignee: Chris Laprun
I am not able to consume the remote portlet available on the Websphere Portal 6.1.5. I get the following error.
The portlet threw an exception: org.oasis.wsrp.v2.InvalidCookie: oasis.names.tc.wsrp.v2.types.InvalidCookieFault: EJPWC1104E: The Producer environment has timed out. The Consumer needs to invoke initCookie() again.
Here are the steps I followed.
1. made the portlet on websphere available for remote consumption.
2. Created the consumer using the gatein admin console, the wsdl url used for creating consumer is http://host:port/wps/wsdl/wsrp_service.wsdl. I didn't face any issues in this and was able to see the
portlet available remotely.
3. Add the remote portlet on my page, here when the remote portlet is initiated i get the above error.
I am using GateIn-3.4.0.M01-jbossas7 and Websphere portal 6.1.5.
Here is the trace for getMarkup
MessageTrace 3 WSWS3569I: Inbound HTTP SOAP request:
Content-Type: text/xml; charset=UTF-8
Message contents:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><getMarkup xmlns="urn:oasis:names:tc:wsrp:v2:types"><registrationContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><portletContext><portletHandle>5_43HM2IC40OVPF0IB9J4M8I3000</portletHandle></portletContext><runtimeContext><userAuthentication>LOGIN</userAuthentication><portletInstanceKey>WPSConsumer.5_43HM2IC40OVPF0IB9J4M8I3000</portletInstanceKey><namespacePrefix>G20e223b7_2def76_2d4071_2d894c_2da9cd02e8929e</namespacePrefix></runtimeContext><userContext><userContextKey>root</userContextKey></userContext><markupParams><secureClientCommunication>false</secureClientCommunication><locales>en</locales><locales>en-US</locales><mimeTypes>text/html</mimeTypes><mode>wsrp:view</mode><windowState>wsrp:normal</windowState><clientData><userAgent>Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20100101 Firefox/16.0</userAgent></clientData><navigationalContext/></markupParams></getMarkup></soap:Body></soap:Envelope>
[10/25/12 10:58:16:546 IST] 0000003b WSRPEngine > com.ibm.wps.wsrp.producer.impl.WSRPEngine getMarkup ENTRY WPSConsumer.5_43HM2IC40OVPF0IB9J4M8I3000
[10/25/12 10:58:16:546 IST] 0000003b WSRPEngine > com.ibm.wps.wsrp.producer.impl.WSRPEngine checkInitCookie ENTRY User=root method=getmarkup cookies=NO CCOKIES
[10/25/12 10:58:16:546 IST] 0000003b WSRPEngine E com.ibm.wps.wsrp.producer.impl.WSRPEngine checkCookie EJPWC1104E: The Producer environment has timed out. The Consumer needs to invoke initCookie() again.
[10/25/12 10:58:16:562 IST] 0000003b WSRPEngine 3 com.ibm.wps.wsrp.producer.impl.WSRPEngine getMakup EJPWC1104E: The Producer environment has timed out. The Consumer needs to invoke initCookie() again.
com.ibm.wps.wsrp.exception.WSRPException: EJPWC1104E: The Producer environment has timed out. The Consumer needs to invoke initCookie() again.
at com.ibm.wps.wsrp.producer.impl.WSRPEngine.checkCookie(WSRPEngine.java:349)
at com.ibm.wps.wsrp.producer.impl.WSRPEngine.getMarkup(WSRPEngine.java:513)
at oasis.names.tc.wsrp.v2.bind.WSRP_v2_Markup_Binding_SOAPImpl.getMarkup(WSRP_v2_Markup_Binding_SOAPImpl.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeMethod(JavaDispatcher.java:178)
at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeOperation(JavaDispatcher.java:141)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processRequestResponse(SoapRPCProcessor.java:464)
at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processMessage(SoapRPCProcessor.java:425)
at com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.processMessage(BasicDispatcher.java:134)
at com.ibm.ws.webservices.engine.dispatchers.java.SessionDispatcher.invoke(SessionDispatcher.java:204)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:152)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:336)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:831)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1036)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:565)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
at com.ibm.wps.auth.AuthFacadeServlet.service(AuthFacadeServlet.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
[10/25/12 10:58:16:562 IST] 0000003b MessageTrace 3 WSWS3572I: Outbound HTTP SOAP response:
Content-Type: text/xml; charset=utf-8
Message contents:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><soapenv:Fault xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns:p50="urn:oasis:names:tc:wsrp:v2:types">p50:InvalidCookieFault</faultcode><faultstring>oasis.names.tc.wsrp.v2.types.InvalidCookieFault: EJPWC1104E: The Producer environment has timed out. The Consumer needs to invoke initCookie() again.</faultstring><detail encodingStyle=""><p50:InvalidCookie xmlns:p50="urn:oasis:names:tc:wsrp:v2:types"/></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
--
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, 5 months
[JBoss JIRA] (GTNPORTAL-2685) Avoid calling of RequestLifeCycle methods in RedirectRequestHandler and delegate to WebAppController instead
by Marek Posolda (JIRA)
Marek Posolda created GTNPORTAL-2685:
----------------------------------------
Summary: Avoid calling of RequestLifeCycle methods in RedirectRequestHandler and delegate to WebAppController instead
Key: GTNPORTAL-2685
URL: https://issues.jboss.org/browse/GTNPORTAL-2685
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: Mobile, Performance
Affects Versions: 3.4.0.Final
Reporter: Marek Posolda
Assignee: Matt Wringe
Fix For: 3.5.0.Beta01
Currently method RedirectRequestHandler.execute() wrapps it's content in RequestLifeCycle calls:
{code}
@Override
public boolean execute(ControllerContext context) throws Exception
{
RequestLifeCycle.begin(ExoContainerContext.getCurrentContainer());
...
finally
{
RequestLifeCycle.end();
}
}
{code}
It seems to me that it's not needed. These calls to RequestLifeCycle.begin/RequestLifeCycle.end can be skipped and instead method "getRequiresLifecycle" should be changed to return true (It returns false currently)
In this case, WebAppController will take care of properly starting RequestLifeCycle, so it won't be needed anymore to be started/finished directly in RedirectRequestHandler.execute().
This has one important advantage, that RequestLifeCycle from WebAppController can be reused by both RedirectRequestHandler and PortalRequestHandler, so we will have only one RequestLifeCycle call during whole HTTP request (currently we have 2 RequestLifeCycles, which is not good from performance perspective).
See method WebAppController.service for details.
--
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, 5 months
[JBoss JIRA] (GTNPORTAL-2564) Selected page layout template isn't used when adding page
by Vlastislav Ramik (JIRA)
Vlastislav Ramik created GTNPORTAL-2564:
-------------------------------------------
Summary: Selected page layout template isn't used when adding page
Key: GTNPORTAL-2564
URL: https://issues.jboss.org/browse/GTNPORTAL-2564
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.4.0.M01
Environment: GateIn 3.4.0 M1, AS 7.1.2.Final
Reporter: Vlastislav Ramik
Fix For: 3.5.0.Final
When adding page: In step two Select a Page Layout Template:
You have to click three column(rows) layout and then two column(rows) layout to be the two rows layout used.
--
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, 5 months
[JBoss JIRA] (GTNPORTAL-2686) NotSerializableException - UserImpl
by Michal Vanco (JIRA)
Michal Vanco created GTNPORTAL-2686:
---------------------------------------
Summary: NotSerializableException - UserImpl
Key: GTNPORTAL-2686
URL: https://issues.jboss.org/browse/GTNPORTAL-2686
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.5.0.Beta01
Environment: GateIn master (from Oct 19), cluster configuration with local index
Reporter: Michal Vanco
Fix For: 3.5.0.Beta02
Attachments: userimpl-nse.txt
NSE is thrown during failover tests when user is being edited in cluster configuration.
Log is attached.
org.exoplatform.services.organization.impl.UserImpl must be Serializable to work properly in cluster - infinispan cache
--
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, 5 months