-
1. Re: No capability (e.g. no option to create portal, manage u
roth Oct 10, 2007 1:58 AM (in response to tulumvinh)Hi
Might be a stupid question, but do you have the admin, management, identity and cms portals deployed? I.e. are there portal-admin.sar and the like in your JBoss deploy/ directory?
Cheers,
Tobias -
2. Re: No capability (e.g. no option to create portal, manage u
peterj Oct 10, 2007 11:55 AM (in response to tulumvinh)I just now checked the results of a build on 2.6.2. I recall from 2.4.x that the build produced a functionally complete jboss-portal.sar file, suitable for deployment (all you had to add was the *-ds.xml file to configure the datasource). But in 2.6.2, the jboss-portal.sar is incomplete. While I can understand the rational behind this, it would be nice if the build constructed a functionally complete version of jboss-portal.sar, perhaps at build/output/jboss-portal.sar.
-
3. Re: No capability (e.g. no option to create portal, manage u
prabhat.jha Oct 10, 2007 12:02 PM (in response to tulumvinh)You could still get functionally complete jboss-portal.sar using ant -f distrib.xml -Dno-doc=true or ant -f distrib.xml package-normal
-
4. Re: No capability (e.g. no option to create portal, manage u
peterj Oct 10, 2007 12:43 PM (in response to tulumvinh)I guess I should have read the build script first...
-
5. Re: No capability (e.g. no option to create portal, manage u
tulumvinh Oct 10, 2007 8:51 PM (in response to tulumvinh)Thanks for everyone reply, it was very helpful. Just to summarize what the issue(s) were:
- Following the instructions from the JBoss Portal Reference guide and just doing a "build deploy" results in an incomplete jboss-portal.sar. Just as poster "roth" mentioned, I was missing key sar files (e.g. portal-admin.sar, portal-cms.sar, etc.).
- Just poster "prabhat" mentioned, the solution is to do a ant -f distrib.xml -Dno-doc=true package-normal.
*Note: I found a an error in the distrib.xml file which I will submit at a later time. The error is it was trying to copy portal-wsrp-exploded.sar which does not exist as part of the portal source downloaded. I changed the build file to copy portal-wsrp.sar instead.
Regards -
6. Re: No capability (e.g. no option to create portal, manage u
claprun Oct 11, 2007 12:34 AM (in response to tulumvinh)Another option is to use the deploy-all target when you build Portal. Starting with 2.6, deploy only deploys the minimum that is required to run. If you just want to add the admin portlets, you can do:
cd build;./build.sh deploy;cd ../core-admin;./build.sh deploy
Note that this is all documented in section 2.3.5 of the reference guide: http://docs.jboss.com/jbportal/v2.6.2/referenceGuide/html/installation.html#d0e946
See also http://wiki.jboss.org/wiki/Wiki.jsp?page=PortalModules.