Discussion:
[WP 6.1] Virtual Portal deployement
(too old to reply)
f***@acamaya.com
2008-12-10 17:40:32 UTC
Permalink
Hi,

Is there a way to deploy (export from staging and import to production) only one virtual portal?
And in general, what are the deployement policy/strategy for environnment with multiple virtual portal?

Thanks by advance,

Fabrice.
f***@us.ibm.com
2008-12-11 04:35:34 UTC
Permalink
Not sure what exactly you mean. You have to deploy base portal and virtual portals separately, because they are in their own naming context. We recommend Release Builder for making incremental changes, but the environments should be set up as streamlined release infrastructure. The basic guideline of deployments in virtual portals are no different than the base portal.

-FF

The postings on this site are my own and do not necessarily represent the positions, strategies or opinions of IBM.
p***@wipro.com
2008-12-22 11:29:01 UTC
Permalink
Hi Fang,

I am stuck up with a similar issue.
I have a existing staging server.
My Production server has empty portal installation.
I did an export of my staging server.

xmlaccess.bat -in ExportRelease.xml -user wps61admin -password wps61admin -url http://localhost:10041/wps/config -out stagingserverREV1_config.xml

When i tried to import my configuration it worked properly.
I did not receive any error but i did not see my Virtual Portal created on the production server nor the pages that i created on my virtual portal.

I couldnt find any reference to virtual portal and release builder usage.
It would be of great help if you could provide any inputs.

Best Regards,
Pals
f***@us.ibm.com
2008-12-22 16:10:38 UTC
Permalink
You can't create a virtual portal using XMLaccess import. The virtual portal must be created on the target system using "create-virtual-portal" task or Portal GUI. The export XML files from your staging system must be generated using two different contexts, one for the base portal and the other the virtual portal.

Here is the link to the ReleaseBuilder white paper,
http://www.ibm.com/developerworks/websphere/library/techarticles/0712_kubik/0712_kubik.html

-FF

The postings on this site are my own and do not necessarily represent the positions, strategies or opinions of IBM.
p***@wipro.com
2008-12-23 07:27:33 UTC
Permalink
Hi Fang,

Thank you for the response.
It has helped me resolve my issue.

Best Regards,
Pals
p***@wipro.com
2008-12-23 12:20:15 UTC
Permalink
Hi Fang,

I am running into another issue when i try to run the create-virtual-portal task.
On my Production system i ran the command :

ConfigEngine.bat create-virtual-portal -DVirtualPortalTitle=MyBearPrimeRoot -DVirtualPortalContext=BearPrime -DVirtualPortalRealm=defaultWIMFileBasedRealm

[wsadmin] _____________________________________________________
[wsadmin] VirtualPortal:
[wsadmin] Title: WebSphere Portal
[wsadmin] Description: The initial Virtual Portal instance.
[wsadmin] Realm:
[wsadmin] Object ID: 18_000000000000GCF74A9BG00000
[wsadmin] Context:
[wsadmin] _____________________________________________________
[wsadmin] VirtualPortal:
[wsadmin] Title: MyBearPrimeRoot
[wsadmin] Description:
[wsadmin] Realm: defaultWIMFileBasedRealm
[wsadmin] Object ID: 18_CGAH47L008OJD02F6IIVV82004
[wsadmin] Context: BearPrime
[wsadmin] _____________________________________________________


I get the following error when i try to access the virtual portal link:
+[12/23/08 16:00:57:042 IST] 00000165 GetVPLoginURL W com.ibm.wps.command.vp.GetVPLoginURLCommand execute() EJPEB0805E: Unable to execute the command com.ibm.wps.command.vp.GetVPLoginURLCommand: The value /wps/myportal/BearPrime of the input parameter 'login URL' is not valid.+
+[12/23/08 16:00:57:072 IST] 00000165 LoginRedirect E com.ibm.wps.auth.LoginRedirector doFilter Exception occurred during redirection: com.ibm.wps.command.vp.VPCommandException: EJPEC0903E: The computation of the VP Login redirect URL failed.+

I have also attched the screen shot of my URL Mapping Portlet as well.
I also read all your suggestions suggested in the link:
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=221942&tstart=-6

Keeping the I-Fix in mind i ran the script createAppFolder.xml on my Production server as i am using Portal 6.1.What i noticed was that i could still import my virtual portal configuration on to the vitual portal of the production system.

Why is the url access for virtual portal not working?.
Even if the url context is still not accessible you can still run the script?.

Best Regards,
Pals
f***@us.ibm.com
2008-12-23 14:18:26 UTC
Permalink
The virtual portals created using "create-virtual-portal" config task are only skeletons. There are no content inside the virtual portals. You can fill in the content either using XMLaccess import, or initializing from Portal GUI by clicking on the Reinitialize button in Manage Virtual Portals portlet. The latter approach would give you the default VP initial content. It may not be what you wanted. Please check the InfoCenter for details.

-FF

The postings on this site are my own and do not necessarily represent the positions, strategies or opinions of IBM.
Loading...