use build/etc/local.properties-example as example and copy it in the build directory.
(It gets copied if you compile once)
so i most compile the portal from the src to change contex path ? cant i change the context path in a binary version ?
I was answering shagy69 who is obviously using the sources...
For the binary version, just edit that file:
Change context-root to whatever you want.
See the other thread in that forum if you have difficulties.
Make sure that you don't have :
If you do, remove it.
So do the following:
Set context to <context-root>test</context-root> as you did before.
Now open http://localhost:8080 in your browser and see what do you have there, if nothing is there change context to <context-root>/</context-root> or simply <context-root/>. If you see any content there remove it.
And make sure that no java process hang in the memory.
It should be blank, you should see no error.
Now change <context-root> to <context-root>/</context-root> and run the server.
Also if you are using MSIE you should clear your cache, better to use Firefox anyway.
Also check if where portal has been mounted. You should see something like that:
11:28:42,078 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-portal.sar/portal-server.war/ 11:28:42,281 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp31689jboss-ws4ee-exp.war/
Also if you didn't change log4j config, check log file (not all the messages will be seen from the console)
If you still don't see the portal page, reboot your computer.
ok, a restart helped.....tx
Thanks guys your conversation has helped a lot! cheers.