-
1. Re: change context path
theute May 23, 2006 6:55 AM (in response to shagy69)use build/etc/local.properties-example as example and copy it in the build directory.
(It gets copied if you compile once) -
2. Re: change context path
poyge394 May 23, 2006 9:55 AM (in response to shagy69)so i most compile the portal from the src to change contex path ? cant i change the context path in a binary version ?
-
3. Re: change context path
theute May 23, 2006 10:07 AM (in response to shagy69)I was answering shagy69 who is obviously using the sources...
For the binary version, just edit that file:
jboss-portal.sar/portal-server.war/WEB-INF/jboss-web.xml
Change context-root to whatever you want.
See the other thread in that forum if you have difficulties. -
4. Re: change context path
poyge394 May 23, 2006 10:35 AM (in response to shagy69)strange
i remove root.war. and when i change it to:
<context-root>/</context-root>
it dont work
if i change it to
<context-root>test</context-root>
i can access it with:
http://localhost:8080/test -
5. Re: change context path
ivanlatysh May 23, 2006 10:41 AM (in response to shagy69)Make sure that you don't have :
jbossweb-tomcat55.sar/ROOT.war
If you do, remove it. -
-
7. Re: change context path
ivanlatysh May 23, 2006 10:51 AM (in response to shagy69)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. -
8. Re: change context path
poyge394 May 23, 2006 11:00 AM (in response to shagy69)strange, it is a blank page, no content when i go to
http://localhost:8080
but somthing most be thair....for it should give me a error instead....
no error in console nether -
9. Re: change context path
ivanlatysh May 23, 2006 11:33 AM (in response to shagy69)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. -
10. Re: change context path
poyge394 May 24, 2006 2:41 AM (in response to shagy69)ok, a restart helped.....tx
-
11. Re: change context path
shagy69 May 24, 2006 4:11 AM (in response to shagy69)Thanks guys your conversation has helped a lot! cheers.