Hello, This is an extract of my installation procedure, for this.
To change the root path of the url. >From (classic) : http://localhost:8080/portal/portal/default/ To : http://localhost:8080/myPortalContextRoot/myDefaultCommand/myDefaultPortalName/ (defined at 070319). a) Prefix for : Portal Context Root (first "portal" in classic url) In the file : \deploy\jboss-portal.sar\portal-server.war\WEB-INF\jboss-web.xml Replace the context root item to : <context-root>/myPortalContextRoot</context-root> The cms coded url can then be : http://localhost:8080/myPortalContextRoot/cms_root_code/cms_repository_path/... b) Prefix for : PortalObjects commands (PortalObject Commands and url factories) (second "portal" in classic url) The PortalObjects commands are used to call a page or window, with parameters in the url. In the file : \deploy\jboss-portal.sar\META-INF\jboss-service.xml b1) Command factory Switch off the service : name="portal:commandFactory=Delegate,prefix=portal" Replace the déclaration with a new one, with modification : - modify the name to : name="portal:commandFactory=Delegate,prefix=myDefaultCommand" - modify the prefix item to : myDefaultCommand b2) Url factory Switch off the service : name="portal:urlFactory=PortalObject" Replace the déclaration with a new one, with modification : - modify the prefix item to : myDefaultCommand c) The portal prefix (the "default" prefix, in third position in the classic url) This prefix is set in the portal description, default-object.xml file. The one provide by JBoss portal, and in yours. The item is : <portal-name>myDefaultPortalName</portal-name> Also in the default-object.xml file, see the definition of the default page : The name of the default page and the value item of the property of default object of the portal : the item : portal.defaultObjectName And see this forum and jira posts to set it as the default portal of multiple portals : http://jboss.org/index.html?module=bb&op=viewtopic&t=104612 and http://jira.jboss.com/jira/browse/JBPORTAL-1324?watch=true for a pb with not using "default" as the default portal name. make a wiki of this ? how to create a subject in the wiki ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037914#4037914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037914 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user