Unable to browse store pages when using port 80
When attempting to access the home page for one of the WebSphere Commerce starter stores (for example, ConsumerDirect), an error message displays. An example of the error message follows:
A WebGroup/Virtual Host to handle /webapp/wcs/stores/servlet/ConsumerDirect/index.jsp has not been defined.
The virtual host definitions in the WebSphere Application Server might not be functioning properly.
A simple test to verify this situation is to attempt to access the starter store's home page using port 8000 instead of port 80. For example if ConsumerDirect was published, try to access the store using https://localhost:8000/webapp/wcs/stores/servlet/ConsumerDirect/index.jsp. If port 8000 was successful then the virtual host definitions will need to be updated.
To change the virtual host definitions:
Start the WebSphere Commerce Test Server using either the Rational Application Developer interface or using the startWCServer.bat script.
Access the WebSphere Application Server's administrative console
Select Environment > Virtual Hosts
Select the default_host entry
From the "additional properties" section select "Host Aliases"
Delete the references to port 80 and 443
Save your change to the master configuration.
Restart the server.
You should now be able to access the starter stores using port 80.
When attempting to access the home page for one of the WebSphere Commerce starter stores (for example, ConsumerDirect), an error message displays. An example of the error message follows:
A WebGroup/Virtual Host to handle /webapp/wcs/stores/servlet/ConsumerDirect/index.jsp has not been defined.
The virtual host definitions in the WebSphere Application Server might not be functioning properly.
A simple test to verify this situation is to attempt to access the starter store's home page using port 8000 instead of port 80. For example if ConsumerDirect was published, try to access the store using https://localhost:8000/webapp/wcs/stores/servlet/ConsumerDirect/index.jsp. If port 8000 was successful then the virtual host definitions will need to be updated.
To change the virtual host definitions:
Start the WebSphere Commerce Test Server using either the Rational Application Developer interface or using the startWCServer.bat script.
Access the WebSphere Application Server's administrative console
Select Environment > Virtual Hosts
Select the default_host entry
From the "additional properties" section select "Host Aliases"
Delete the references to port 80 and 443
Save your change to the master configuration.
Restart the server.
You should now be able to access the starter stores using port 80.
No comments:
Post a Comment