You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by andronat_asf <an...@hotmail.com> on 2010/12/28 00:13:55 UTC
About GERONIMO-5729 issue
Hello people!
I was working on the issue 5729 as mentioned in http://apache-geronimo.328035.n3.nabble.com/ASF-Mentoring-Program-td2063989.html . I found that RedirectByHashFilter could be modified by adding noxssShowTree=true to every redirect, and solve the problem on the welcome screen and menu appearance. Any comment would be totally useful
I would also like to point out that I downloaded Geronimo ver. 3-M1. I managed to successfully build it with maven eclipse:eclipse but when I tried to import the projects, some of them had the same name which produced errors that wouldn't allow me to load all the projects. Is this a bug or something normal? I am using Eclipse Helios and I have followed all the instructions in the Geronimo wiki.
A question i have about the management of the whole geronimo project is how can i find the order the packets are executed. For example I am currently looking in console-portal-driver project. How can i find the supper set of this? Or could you suggest me some tricks about those matters? (management, etc..)
One last thing I want to ask is how I can build a working package of Geronimo from all those small projects in eclipse ( like the one on the download page ). Sorry if this question is too trivial but it will be very enlightening for me.
Re: About GERONIMO-5729 issue
Posted by Shawn Jiang <ge...@gmail.com>.
On Tue, Dec 28, 2010 at 7:13 AM, andronat_asf <an...@hotmail.com>wrote:
> Hello people!
>
> I was working on the issue 5729 as mentioned in
> http://apache-geronimo.328035.n3.nabble.com/ASF-Mentoring-Program-td2063989.html. I found that RedirectByHashFilter could be modified by adding
> noxssShowTree=true to every redirect, and solve the problem on the welcome
> screen and menu appearance. Any comment would be totally useful
>
Thanks for your interests.
This above fix suggestion would not work. we are using iframe in index.jsp
page to show the portlet page. noxssShowTree determine whether the
portlet should be displayed in the iframe without the navigation tree or
with the navigation tree. If you add noxssShowTree=true to every redirect,
you will see the full index page with navigation tree be nested in current
content iframe.
Root cause of this JIRA:
all the console/portal/* request are intercepted by
RedirectByHashFilter so that even wrong request to url lik
console/portal/xxx will not get a 404 error.
To fix this JIRA:
1, We need to figure out the valid console/portal/* pages, so that we
could verify if the request is valid.
2, If it's not a valid request, we need to redirect it to a error page
with some info like "The page you requested is not existing."
Hints:
Following code could return a registered portlets pages, you need to
figure out a way to call it from the filter to get
org.apache.geronimo.pluto.PortalContainerServicesGBean.getDriverConfiguration().getPages()
>
> I would also like to point out that I downloaded Geronimo ver. 3-M1. I
> managed to successfully build it with maven eclipse:eclipse but when I tried
> to import the projects, some of them had the same name which produced errors
> that wouldn't allow me to load all the projects. Is this a bug or something
> normal? I am using Eclipse Helios and I have followed all the instructions
> in the Geronimo wiki.
>
> A question i have about the management of the whole geronimo project is how
> can i find the order the packets are executed. For example I am currently
> looking in console-portal-driver project. How can i find the supper set of
> this? Or could you suggest me some tricks about those matters? (management,
> etc..)
>
> One last thing I want to ask is how I can build a working package of
> Geronimo from all those small projects in eclipse ( like the one on the
> download page ). Sorry if this question is too trivial but it will be very
> enlightening for me.
>
>
--
Shawn
Re: About GERONIMO-5729 issue
Posted by David Jencks <da...@yahoo.com>.
Hi!
It's great to see your interest!
On Dec 27, 2010, at 3:13 PM, andronat_asf wrote:
> Hello people!
>
> I was working on the issue 5729 as mentioned in http://apache-geronimo.328035.n3.nabble.com/ASF-Mentoring-Program-td2063989.html . I found that RedirectByHashFilter could be modified by adding noxssShowTree=true to every redirect, and solve the problem on the welcome screen and menu appearance. Any comment would be totally useful
Hopefully someone who knows more about this aspect than me can comment...
>
> I would also like to point out that I downloaded Geronimo ver. 3-M1. I managed to successfully build it with maven eclipse:eclipse but when I tried to import the projects, some of them had the same name which produced errors that wouldn't allow me to load all the projects. Is this a bug or something normal? I am using Eclipse Helios and I have followed all the instructions in the Geronimo wiki.
I recommend working with geronimo trunk as M1 is pretty out of date. When I use eclipse I use the m2eclipse plugin and haven't run into this particular problem. On the other hand I usually use IDEA. The free version is pretty good.
>
> A question i have about the management of the whole geronimo project is how can i find the order the packets are executed. For example I am currently looking in console-portal-driver project. How can i find the supper set of this? Or could you suggest me some tricks about those matters? (management, etc..)
I build on the command line using maven (maven 3.0.1 to be more precise). When I want to see what order is used I look at the maven output. I think you can run maven builds from both eclipse and IDEA but I have never tried this. Recently I found this page of very useful ways to build subsets of a big maven project:
http://www.sonatype.com/people/2009/10/maven-tips-and-tricks-advanced-reactor-options/
>
> One last thing I want to ask is how I can build a working package of Geronimo from all those small projects in eclipse ( like the one on the download page ). Sorry if this question is too trivial but it will be very enlightening for me.
>
Again I just use maven from the command line. There may be a fancier way using m2eclipse.
thanks!
david jencks
Re: About GERONIMO-5729 issue
Posted by andronat <an...@hotmail.com>.
Thanks number 1 was exactly what i was looking for!
Thank you all for your replies! There were much helpful!
Shenghao Fang wrote:
>
> Hi Andronat,
>
> Answers for your questions:
>
> 1. Some projects in 'plugingroups' have the same names as the project
> under
> 'plugins'. Actually the projects in 'plugingroups' are only used for
> package
> purpose, there are only pom files and no source codes. So there is no need
> to import them into eclipse. I usually use 'mvn eclipse:clean' under
> 'plugingroups' to clean the generated project files before importing.
>
> 2. I'm not sure whether you meant the parent project. The parent project
> is
> defined in the pom.xml under each project folder. I suggest reading some
> references about Maven if you are interested in the mechanisms during
> build.
>
> 3. The working packages can be found in 'assemblies\[package
> name]\target'.
>
> Please correct me if I made any mistake. Thanks.
>
> Michael
> *
> *
> 2010/12/28 andronat_asf <an...@hotmail.com>
>
>> Hello people!
>>
>> I was working on the issue 5729 as mentioned in
>> http://apache-geronimo.328035.n3.nabble.com/ASF-Mentoring-Program-td2063989.html.
>> I found that RedirectByHashFilter could be modified by adding
>> noxssShowTree=true to every redirect, and solve the problem on the
>> welcome
>> screen and menu appearance. Any comment would be totally useful
>>
>> I would also like to point out that I downloaded Geronimo ver. 3-M1. I
>> managed to successfully build it with maven eclipse:eclipse but when I
>> tried
>> to import the projects, some of them had the same name which produced
>> errors
>> that wouldn't allow me to load all the projects. Is this a bug or
>> something
>> normal? I am using Eclipse Helios and I have followed all the
>> instructions
>> in the Geronimo wiki.
>>
>> A question i have about the management of the whole geronimo project is
>> how
>> can i find the order the packets are executed. For example I am
>> currently
>> looking in console-portal-driver project. How can i find the supper set
>> of
>> this? Or could you suggest me some tricks about those matters?
>> (management,
>> etc..)
>>
>> One last thing I want to ask is how I can build a working package of
>> Geronimo from all those small projects in eclipse ( like the one on the
>> download page ). Sorry if this question is too trivial but it will be
>> very
>> enlightening for me.
>>
>>
>
>
Hi Andronat,
Answers for your questions:
1. Some projects in 'plugingroups' have the same names as the project under
'plugins'. Actually the projects in 'plugingroups' are only used for package
purpose, there are only pom files and no source codes. So there is no need
to import them into eclipse. I usually use 'mvn eclipse:clean' under
'plugingroups' to clean the generated project files before importing.
2. I'm not sure whether you meant the parent project. The parent project is
defined in the pom.xml under each project folder. I suggest reading some
references about Maven if you are interested in the mechanisms during build.
3. The working packages can be found in 'assemblies\[package name]\target'.
Please correct me if I made any mistake. Thanks.
Michael
*
*
2010/12/28 andronat_asf <an...@hotmail.com>
> Hello people!
>
> I was working on the issue 5729 as mentioned in
> http://apache-geronimo.328035.n3.nabble.com/ASF-Mentoring-Program-td2063989.html.
> I found that RedirectByHashFilter could be modified by adding
> noxssShowTree=true to every redirect, and solve the problem on the welcome
> screen and menu appearance. Any comment would be totally useful
>
> I would also like to point out that I downloaded Geronimo ver. 3-M1. I
> managed to successfully build it with maven eclipse:eclipse but when I
> tried
> to import the projects, some of them had the same name which produced
> errors
> that wouldn't allow me to load all the projects. Is this a bug or
> something
> normal? I am using Eclipse Helios and I have followed all the instructions
> in the Geronimo wiki.
>
> A question i have about the management of the whole geronimo project is
> how
> can i find the order the packets are executed. For example I am currently
> looking in console-portal-driver project. How can i find the supper set of
> this? Or could you suggest me some tricks about those matters?
> (management,
> etc..)
>
> One last thing I want to ask is how I can build a working package of
> Geronimo from all those small projects in eclipse ( like the one on the
> download page ). Sorry if this question is too trivial but it will be
> very
> enlightening for me.
>
>
Hi Andronat,
Answers for your questions:
1. Some projects in 'plugingroups' have the same names as the project under
'plugins'. Actually the projects in 'plugingroups' are only used for package
purpose, there are only pom files and no source codes. So there is no need
to import them into eclipse. I usually use 'mvn eclipse:clean' under
'plugingroups' to clean the generated project files before importing.
2. I'm not sure whether you meant the parent project. The parent project is
defined in the pom.xml under each project folder. I suggest reading some
references about Maven if you are interested in the mechanisms during build.
3. The working packages can be found in 'assemblies\[package name]\target'.
Please correct me if I made any mistake. Thanks.
Michael
*
*
2010/12/28 andronat_asf <an...@hotmail.com>
> Hello people!
>
> I was working on the issue 5729 as mentioned in
> http://apache-geronimo.328035.n3.nabble.com/ASF-Mentoring-Program-td2063989.html.
> I found that RedirectByHashFilter could be modified by adding
> noxssShowTree=true to every redirect, and solve the problem on the welcome
> screen and menu appearance. Any comment would be totally useful
>
> I would also like to point out that I downloaded Geronimo ver. 3-M1. I
> managed to successfully build it with maven eclipse:eclipse but when I
> tried
> to import the projects, some of them had the same name which produced
> errors
> that wouldn't allow me to load all the projects. Is this a bug or
> something
> normal? I am using Eclipse Helios and I have followed all the instructions
> in the Geronimo wiki.
>
> A question i have about the management of the whole geronimo project is
> how
> can i find the order the packets are executed. For example I am currently
> looking in console-portal-driver project. How can i find the supper set of
> this? Or could you suggest me some tricks about those matters?
> (management,
> etc..)
>
> One last thing I want to ask is how I can build a working package of
> Geronimo from all those small projects in eclipse ( like the one on the
> download page ). Sorry if this question is too trivial but it will be
> very
> enlightening for me.
>
>
--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/About-GERONIMO-5729-issue-tp2154010p2158223.html
Sent from the Development mailing list archive at Nabble.com.
Re: About GERONIMO-5729 issue
Posted by Shenghao Fang <mi...@gmail.com>.
Hi Andronat,
Answers for your questions:
1. Some projects in 'plugingroups' have the same names as the project under
'plugins'. Actually the projects in 'plugingroups' are only used for package
purpose, there are only pom files and no source codes. So there is no need
to import them into eclipse. I usually use 'mvn eclipse:clean' under
'plugingroups' to clean the generated project files before importing.
2. I'm not sure whether you meant the parent project. The parent project is
defined in the pom.xml under each project folder. I suggest reading some
references about Maven if you are interested in the mechanisms during build.
3. The working packages can be found in 'assemblies\[package name]\target'.
Please correct me if I made any mistake. Thanks.
Michael
*
*
2010/12/28 andronat_asf <an...@hotmail.com>
> Hello people!
>
> I was working on the issue 5729 as mentioned in
> http://apache-geronimo.328035.n3.nabble.com/ASF-Mentoring-Program-td2063989.html. I found that RedirectByHashFilter could be modified by adding
> noxssShowTree=true to every redirect, and solve the problem on the welcome
> screen and menu appearance. Any comment would be totally useful
>
> I would also like to point out that I downloaded Geronimo ver. 3-M1. I
> managed to successfully build it with maven eclipse:eclipse but when I tried
> to import the projects, some of them had the same name which produced errors
> that wouldn't allow me to load all the projects. Is this a bug or something
> normal? I am using Eclipse Helios and I have followed all the instructions
> in the Geronimo wiki.
>
> A question i have about the management of the whole geronimo project is how
> can i find the order the packets are executed. For example I am currently
> looking in console-portal-driver project. How can i find the supper set of
> this? Or could you suggest me some tricks about those matters? (management,
> etc..)
>
> One last thing I want to ask is how I can build a working package of
> Geronimo from all those small projects in eclipse ( like the one on the
> download page ). Sorry if this question is too trivial but it will be very
> enlightening for me.
>
>