[JBoss JIRA] Created: (GTNWSRP-178) Problem with PRPs and WebSphere interoperability
by Chris Laprun (JIRA)
Problem with PRPs and WebSphere interoperability
------------------------------------------------
Key: GTNWSRP-178
URL: https://jira.jboss.org/browse/GTNWSRP-178
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
We got two portlets on a single page. The first one sets a public render parameter, the second one prints it out. This works well locally and between two jboss instances.
Then we created a page with two remote portlets on websphere, while running both portlets in the same jboss instance.
Websphere gets the parameter from the action response and send this back to jboss, but in a different block, using wsrp extras. So the second portlet actually don't see that value.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (GTNWSRP-180) Stopping consumers shouldn't attempt to start them
by Chris Laprun (JIRA)
Stopping consumers shouldn't attempt to start them
--------------------------------------------------
Key: GTNWSRP-180
URL: https://jira.jboss.org/browse/GTNWSRP-180
Project: GateIn WSRP
Issue Type: Bug
Components: Consumer
Affects Versions: 2.0.0-CR03
Reporter: Chris Laprun
Assignee: Chris Laprun
Priority: Minor
Fix For: 2.0.0-GA
19:16:40,222 INFO [SOAPServiceFactory] Couldn't access WSDL information. Service won't be available
javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'http://192.168.0.12:8080/wsrp-producer/v2/MarkupService?wsdl'.: java.net.ConnectException: Connection refused
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.gatein.wsrp.services.SOAPServiceFactory$WSDLInfo.<init>(SOAPServiceFactory.java:515)
at org.gatein.wsrp.services.SOAPServiceFactory.start(SOAPServiceFactory.java:295)
at org.gatein.wsrp.consumer.EndpointConfigurationInfo.start(EndpointConfigurationInfo.java:78)
at org.gatein.wsrp.consumer.WSRPConsumerImpl.start(WSRPConsumerImpl.java:626)
at org.gatein.wsrp.consumer.WSRPConsumerImpl.internalStart(WSRPConsumerImpl.java:577)
at org.gatein.wsrp.consumer.WSRPConsumerImpl.refresh(WSRPConsumerImpl.java:612)
at org.gatein.wsrp.consumer.registry.AbstractConsumerRegistry.getConsumers(AbstractConsumerRegistry.java:449)
at org.gatein.wsrp.consumer.registry.AbstractConsumerRegistry.stop(AbstractConsumerRegistry.java:294)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (GTNWSRP-179) Producer is unaware of portlets before being accessed locally first.
by Chris Laprun (JIRA)
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
14 years
[JBoss JIRA] Created: (GTNPORTAL-1541) Concurreny problem - NullPointerException in BreadcumbsPortlet during performance test
by Marek Posolda (JIRA)
Concurreny problem - NullPointerException in BreadcumbsPortlet during performance test
--------------------------------------------------------------------------------------
Key: GTNPORTAL-1541
URL: https://jira.jboss.org/browse/GTNPORTAL-1541
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: WebUI
Affects Versions: 3.1.0-GA
Environment: GateIn trunk (revision 4282) on EAP5
Reporter: Marek Posolda
Sometimes during performance test, I am seeing NPE exception in server log, thrown from UIBreadcumbsPortlet. Exception stacktrace is:
2010-10-06 09:11:15,589 ERROR [org.exoplatform.webui.application.portlet.PortletApplicationController] (http-127.0.0.1-8080-4) Error while rendering the porlet
java.lang.NullPointerException
at org.exoplatform.portal.webui.component.UIBreadcumbsPortlet.loadSelectedPath(UIBreadcumbsPortlet.java:69)
at org.exoplatform.portal.webui.component.UIBreadcumbsPortlet.renderChildren(UIBreadcumbsPortlet.java:89)
at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processRender(UIApplicationLifecycle.java:73)
at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processRender(UIApplicationLifecycle.java:31)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:144)
at org.exoplatform.webui.core.UIPortletApplication.processRender(UIPortletApplication.java:146)
at org.exoplatform.webui.application.portlet.PortletApplication.render(PortletApplication.java:253)
at org.exoplatform.webui.application.portlet.PortletApplicationController.render(PortletApplicationController.java:110)
at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:569)
Whole test log is attached in related issue JBEPP-459 for completeness. It is not occuring in every performance test but only sometimes, so concurreny issue came to my mind first.
I did more investigation and I founded that the cause of problem is in thread-unsafe call of method "getUIComponentEventConfig" on class "org.exoplatform.webui.config.Component".
Problem can be seen if client1 calls this method and eventsMap is null -> eventsMap is going to initialize during this call.
But when client2 calls this method before initialization of map by client1 is finished, then problem can happen because eventsMap is not fully initialized for client2 -> client2 can't find ChangePageNode event -> listener UIPageActionListener.ChangePageNodeActionListener is not called for client2 -> UIPortal of client2 has unitialized variables selectedNode and selectedPath -> NullPointerException is thrown for client2 during rendering of BreadcumbsPortlet, because UIPortal.selectedPath is null.
Steps to reproduce (with usage of Eclispe IDE):
- Add breakpoint to class org.exoplatform.webui.config.Component to line 184 (after call of eventMap = new HashMap<String, Event>() )
- Open browser1 and go to localhost:8080/portal/public/classic . Client will be stopped on breakpoint
- Open browser2 and go to localhost:8080/portal/public/classic . This client is not seeing ChangePageNode event and so NPE is thrown for him in UIBreadcumbsPortlet.
Note: Method getUIComponentEventConfig is called many times during single HTTP request. So is it possible to fix this issue by other way that full initialization of this method? Because it can have bad impact on performance. I wonder if it's possible to initialize eventsMap in constructor of Component class (only suggestion)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-615) Build Fails for Tomcat Deployment of SSO-CAS Gatein Plugin
by Art Munro (JIRA)
Build Fails for Tomcat Deployment of SSO-CAS Gatein Plugin
----------------------------------------------------------
Key: GTNPORTAL-615
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-615
Project: GateIn Portal
Issue Type: Bug
Components: Identity integration
Affects Versions: 3.0.0-Beta05
Environment: Deployed on Ubuntu 8 with Java 1.6 and Maven 2.2.1
Reporter: Art Munro
Looks like the plugin is looking for the JBoss deployment structure and not the tomcat structure.. There is no ear to unpack.. should just be the WAR.
/usr/local/GateIn-3.0.0-Beta05/deploy/gatein.ear/02portal.war
/usr/local/GateIn-3.0.0-Beta05/webapps/portal.war
see details below..
thoughts on this??
------------------------------------------------------------------------
[INFO] Building CAS Agent and Server Packages
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] [enforcer:enforce {execution: enforce-java-version}]
[INFO] [enforcer:enforce {execution: enforce-maven-version}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /usr/local/GateinSRC/trunk/packaging/cas/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /usr/local/GateinSRC/trunk/packaging/cas/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [jar:jar {execution: default-jar}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] No sources in project. Archive not created.
[INFO] [antrun-extended:run {execution: agent-package}]
[INFO] Executing tasks
[echo] Preparing the CAS Agent for GateIn
[delete] Deleting directory /usr/local/GateinSRC/trunk/packaging/cas/target/gatein
[mkdir] Created dir: /usr/local/GateinSRC/trunk/packaging/cas/target/gatein
[unjar] Expanding: /usr/local/GateIn-3.0.0-Beta05/deploy/gatein.ear/02portal.war into /usr/local/GateinSRC/trunk/packaging/cas/target/gatein/portal.war
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: Error while expanding /usr/local/GateIn-3.0.0-Beta05/deploy/gatein.ear/02portal.war
/usr/local/GateIn-3.0.0-Beta05/deploy/gatein.ear/02portal.war (No such file or directory)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Wed Feb 03 15:03:01 EST 2010
[INFO] Final Memory: 42M/63M
[INFO] ------------------------------------------------------------------------
root@ubuntu:/usr/local/GateinSRC/trunk#
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month