[jboss-user] [JBoss Portal] - Re: Url : how to define MyPortal as the default portal.
Antoine_h
do-not-reply at jboss.com
Wed Aug 13 14:37:43 EDT 2008
Hello Etienne,
I think it's somewhere in the forum but you can figure it out...
hem, joking...
For what I remember, the default portal object configuration in the xml ... is only for the default page of a portal. but not the default portal.
to change the default portal, you have to modify one of the JMX Service of the portal.
See my post above, of Wed Mar 21, 2007 (that's why my "I think it's somewhere in ...")
it explain how to do it, and see the JIRA about it
https://jira.jboss.org/jira/browse/JBPORTAL-1324
There, you'll find the code for modify the JMX service.
it is a very simple modification of the JMX (overriding the class).
Then, you just have to comment the original JMX Service in the jboss-service.xml file of the portal, and deploy your own Sar with your service (with the same name). The portal will use your service.
I use JBP 2.6.1GA, and the modification of the portal code it is not yet there. May be it is in 2.6.5.
I will reopen the Jira so this thing can be done in a future version...
feel free to call me on the phone, me via my signature info, if you need more details or talking about it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170406#4170406
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170406
More information about the jboss-user
mailing list