I have opened a jira to enhance the documentation.
http://jira.jboss.com/jira/browse/JBPORTAL-1323
Following to set that "no portal" in url, comes the question : how to define
MyPortal as the default portal.
seems not possible, without changing the jboss portal default-object.xml in the conf
folder in jboss-portal.sar:
put MyPortal description in this file.
not really clean, as it modify things in the jboss portal package, just for saying
MyPortal is the default one.
I tried also just to suppress this default-object.xml (for the default portal from jboss).
was hoping that MyPortal is the only one defined, so it is the default.
Then the default command factory throws an exception :
01:40:57,078 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet
PortalServletWithPathMapping threw exception
| java.lang.IllegalStateException: Default portal does not exist
| at
org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:76)
| at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
don't know why yet.
is there another way ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029657#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...