SolarisLinuxAIXWindows

Troubleshooting: Store preview requires Web server admin authorization

Using a Sun Java System Web server restricts access to the file which stores the store address Web addresses.

Problem

You enable the Management Center feature that is included in WebSphere Commerce Version 7.0. To preview a store, you click on the dropdown list of Store Address field. A message window displays asking for the Web server admin username and password.

Solution

  1. The sample Sun Java System Web Server configuration file is located in directory WC_installdir/config/deployment/webserverconfig/Sun. Review the access control section:
    ########## IBM WebSphere Commerce Section (Begin) ##########
    <Object ppath="*/WEB-INF/*.*">
    PathCheck fn="check-acl" acl="*/WEB-INF/*.*"
    </Object>
    
    <Object ppath="*.war/*.xml">
    PathCheck fn="check-acl" acl="*.war/*.xml"
    </Object>
    
    <Object ppath="*.war/*.jsp">
    PathCheck fn="check-acl" acl="*.war/*.jsp"
    </Object>
    
    <Object ppath="*.war/*.properties">
    PathCheck fn="check-acl" acl="*.war/*.properties"
    </Object>
    
    <Object ppath="*.war/*.jar">
    PathCheck fn="check-acl" acl="*.war/*.jar"
    </Object>
    
    <Object ppath="*war/*.class">
    PathCheck fn="check-acl" acl="*.war/*.class"
    </Object>
    ########### IBM WebSphere Commerce Section (End) 
  2. Update the file:SunWebserver_installdir/host_name/config/short_host_name8000–CLASS.obj.conf with the access control properties shown in step 1.
  3. Restart the Sun Java System Web server.
  4. Attempt to preview a store; you should not be asked to enter a Web server admin and password.