|
Home > Archive > WebSphere Portal Server > November 2006 > xmlaccess fails on WP 5.1.0.1
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
xmlaccess fails on WP 5.1.0.1
|
|
|
| I am trying to deploy a portal from RAD system to our production system. The portal contains two JSR 168 portlets with a customized theme. The target system has a fresh copy of portal (with content right from installation).
The command ?wsadmin.bat -user myuserid -password mypassword -c "$AdminApp {-update -appname wps}" runs OK (with successful message).
When I run the ?xmlaccess -in DeployPortlets.xml -user myuserid -pwd mypassword" command (as mentioned in DeployInstructions.txt), it failed. From there on, if I connect to the target portal, all it shows is a browser frame with blank page.
Command
--------
xmlaccess -in DeployPortlets.xml -user myuserid -pwd mypassword
Errors
------
?Connecting to URL http://localhost:9081/wps/config?,
?Received error response code 404?,
?Could not connect to portal.?
The portal project runs fine in the RAD environment (Portal Test Environment v5.1).Our Portal Server seems to be installed right originally. I can connect and login to see the default pages provided. I am able to run the xmlaccess command with xportAllWP
5.xml if I restore the original portal folders.
Anyone can suggest on the causes of this problem? Is it because our portal system missing some pieces of portal software? Or something wrong in the wps.ear file generated by RAS?
Really appreciate your time. Thanks!
Jack H.
| |
|
| Please past the XMLaccess error messages.
Make sure the syntax of the command is correct. Also try to deploy the
portlet through the Portal Administration GUI.
<jackhuang100@hotmail.com> wrote in message
news:1777974413.1133993320553.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> I am trying to deploy a portal from RAD system to our production system.
The portal contains two JSR 168 portlets with a customized theme. The
target system has a fresh copy of portal (with content right from
installation).
>
> The command ?wsadmin.bat -user myuserid -password mypassword -c "$AdminApp
{-update -appname wps}" runs OK (with successful message).
> When I run the ?xmlaccess -in DeployPortlets.xml -user myuserid -pwd
mypassword" command (as mentioned in DeployInstructions.txt), it failed.
From there on, if I connect to the target portal, all it shows is a browser
frame with blank page.
>
> Command
> --------
> xmlaccess -in DeployPortlets.xml -user myuserid -pwd mypassword
>
> Errors
> ------
> ?Connecting to URL http://localhost:9081/wps/config?,
> ?Received error response code 404?,
> ?Could not connect to portal.?
>
> The portal project runs fine in the RAD environment (Portal Test
Environment v5.1).Our Portal Server seems to be installed right originally.
I can connect and login to see the default pages provided. I am able to run
the xmlaccess command with xportAllWP5.xml if I restore the original portal
folders.
>
> Anyone can suggest on the causes of this problem? Is it because our portal
system missing some pieces of portal software? Or something wrong in the
wps.ear file generated by RAS?
>
> Really appreciate your time. Thanks!
>
> Jack H.
| |
|
| You could try using the option -url <config-url> at the end.
Eg: ?xmlaccess -in DeployPortlets.xml -user myuserid -pwd mypassword -url http://localhost:<portal-port>/wps/config
|
|
|
|
|