[JBoss JIRA] Created: (JBAS-7227) too many vhost MBeans deployed for the root context path
by John Mazzitelli (JIRA)
too many vhost MBeans deployed for the root context path
--------------------------------------------------------
Key: JBAS-7227
URL: https://jira.jboss.org/jira/browse/JBAS-7227
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-4.2.3.GA
Reporter: John Mazzitelli
See the two attachments.
The first is a text war - deploy it to the /deploy directory of a stock JBossAS distro. Start the server. (i tested on 4.2.3.GA)
The second attachment is the JMX console for this server with the war deployed.
JBossAS deploys MBeans for each vhost and context-path pair in this pattern (these are the MBean ObjectNames):
jboss.web:host=<hostname>,path=<context-path>,type=Manager
Look at the attached JMX console html and you will see three of them (I see this too on my box):
jboss.web:host=snert.home.bsd.de,path=/,type=Manager
jboss.web:host=snert.home.pilhuhn.de,path=/,type=Manager
jboss.web:host=localhost,path=/,type=Manager
The first two show vhosts that are only defined in the test .war. But the context root of "/" is only defined in ROOT.war. I believe there should only be one MBean here where path=/ - that being the one where host=localhost.
But with these three MBeans, this tells me that JBoss is telling us that the context-path of "/" (of which ROOT.war will be handling) is on three vhosts (the three host= values). That does not seem to be correct.
This affects Jopr because we now think there are three ROOT.war contexts - one per vhost. But two of those vhosts are only valid for the test.war
See http://jira.rhq-project.org/browse/RHQ-2404 for how this affects Jopr/RHQ.
--
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
16 years, 10 months
[JBoss JIRA] Created: (JBPORTAL-2453) additional parameters for gadgets are lost when the gadgets are displayed
by Toshiya Kobayashi (JIRA)
additional parameters for gadgets are lost when the gadgets are displayed
-------------------------------------------------------------------------
Key: JBPORTAL-2453
URL: https://jira.jboss.org/jira/browse/JBPORTAL-2453
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Widget
Affects Versions: 2.7.2 Final, 2.7.0 Final, 2.7.1 Final
Reporter: Toshiya Kobayashi
Assignee: Magesh Kumar B
There are some gadgets which require additional parameters when you add the gadget to your dashboard.
For instance, these gadgets of Google Apps for hosted domain:
url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hos...
url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hos...
url=http://hosting.gmodules.com/ig/gadgets/file/117808631063490062819/hos...
But the values of the parameters which you have input will be lost when those gadgets are displayed.
## script tags that jboss-portal-2.7.2 generates ##
<script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/fil..."></script>
<script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/fil..."></script>
<script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/fil..."></script>
## script tags that jboss-portal-2.6.6 generates ##
<script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/fil..."></script>
<script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/fil..."></script>
<script src="http://gmodules.com/ig/ifr?url=http://hosting.gmodules.com/ig/gadgets/fil..."></script>
Note: In order to reproduce it, first, you should fix org.jboss.portal.widget.google.provider.GGWidgetInfoBuilder in jboss-portal in the same way as JBEPP-109.
https://jira.jboss.org/jira/browse/JBEPP-109
If you want to reproduce it easily, use epp-4.3.0.GA CP02 to which JBEPP-109 has been already applyed.
As you see, script tags which jboss-portal-2.7.2 generates don't have parameters which you have input (e.g. up_Domain).
Those values seem to be stored in JBP_PORTAL_OBJECT_PROPS table.
Checked versions:
NG : 2.7.2, 2.7.1, 2.7.0, epp-4.3.0.GA CP02
OK : 2.6.8, 2.6.6
This problem seems to be introduced from 2.7.x
--
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
16 years, 10 months