Producer is unaware of portlets before being accessed locally first.
--------------------------------------------------------------------
Key: GTNWSRP-179
URL:
https://jira.jboss.org/browse/GTNWSRP-179
Project: GateIn WSRP
Issue Type: Bug
Components: Producer
Affects Versions: 2.0.0-CR03
Reporter: Chris Laprun
Assignee: Chris Laprun
Fix For: 2.0.0-GA
After we start JBoss we get errors upon requesting portlets via producer. All the needed
portlet container initializations happen first after we do a local request against the
JBoss portal.
After that it works as expected.
Here the scenario with some log entries:
Starting JBoss
...
17:19:45,352 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0
date=201009150028)] Started in 3m:11s:100ms
17:19:55,883 INFO [TomcatDeployment] deploy, ctxPath=/portlet-test
17:19:56,930 INFO [config] Initializing Mojarra (1.2_13-b01-FCS) for context
'/portlet-test'
17:28:31,169 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
org.oasis.wsrp.v2.InvalidHandle: Couldn't find portlet with handle
'/portlet-test.riPortlet'
17:28:31,544 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
org.oasis.wsrp.v2.InvalidHandle: Couldn't find portlet with handle
'/portlet-test.riPortlet'
CALLING
http://localhost:8080/portal
->
http://localhost:8080/portal/private/classic/ (User root)
17:29:02,714 INFO [ConversationRegistry] Parameter concurrency-level was not found in
configuration, default 16 will be used.
17:29:02,949 INFO [portal:PortalSessionListener] portal' portal
17:29:33,025 INFO [WSRPConsumer] Consumer with id 'selfv2' started
17:29:33,306 INFO [WSRPConsumer] Consumer with id 'selfv2' activated
17:29:34,463 INFO [ExoCacheFactoryImpl] The configuration template will be used for the
the cache 'TemplateService'.
17:29:34,525 INFO [ExoCacheFactoryImpl] The cache 'TemplateService' will be
created with 'class org.exoplatform.commons.cache.SimpleExoCacheCreator'.
17:29:34,588 INFO [PlatformMBeanServerRegistration] JBossCache MBeans were successfully
registered to the platform mbean server.
17:29:34,588 INFO [ComponentRegistry] JBoss Cache version: JBossCache 'Malagueta'
3.2.6.GA
Refresh on WebSphere page
17:30:32,178 INFO [bridge] Start portletbridge initialization for riPortlet
17:30:32,210 INFO [bridge] Create instance of a JSF lifecycle DEFAULT
17:30:32,272 INFO [bridge] Done portletbridge initialisation for riPortlet
17:30:32,288 INFO [bridge] Start bridge render request processing for portlet riPortlet
17:30:49,396 INFO [bridge] Finish rendering portletbridge for namespace
ns_7_M26CH4O090VRE0I6QM2MN52G57_
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira