Monday, 20 May 2013

Setting up a standalone machine with Webcenter Suite for development

If you manage to install:
  • Webcenter sites on a linux VM
  • Eclipse with csdt on your machine configured to connect remotely to your sites installation

You might want to change the default configuration on CAS to point to http://vm_ip:port/cs instead of http://localhost:port/cs, otherwise, if you invoke sites from the browser on your local machine, it will try to call http:/localhost:port/cas/login and it will fail because CAS would be running on the "remote" VM as well.

To change the configuration, you can try to find the file SSOConfig.xml, usually under /home/oracle/Oracle/Middleware/user_projects/domains/csDomain/servers/CS_Server/stage/CS/CS/WEB-INF/classes/, and change the property <property name="casUrl" value="http://localhost:port/cas" /> to <property name="casUrl" value="http://vm_ip:port/cas" />

No comments:

Post a Comment