-
1. Re: changing the context path
theute Mar 10, 2006 9:07 AM (in response to noicangi)What do you mean by "the files inside a portal instance" ?
-
2. Re: changing the context path
noicangi Mar 10, 2006 9:10 AM (in response to noicangi)i deploy myportal.war with a layout and some images, then i set the context path to void and navigate to http://localhost:8080/ the browser showed the content inside the myportal.war, Very strange, so i'm not able to change the path.
-
3. Re: changing the context path
theute Mar 10, 2006 9:16 AM (in response to noicangi)I don't get it, you should have jboss-portal.sar with nothing as context but have your myportal.war with something as context (don't bind the 2 on the same context)
Remove ROOT.war in jbossweb so it doesn't conflict as well and you will be fine. -
4. Re: changing the context path
noicangi Mar 10, 2006 11:15 AM (in response to noicangi)sorry for my english, what i dont know is how to make the url of the portal being http://localhost:8080/ in case of being http://localhost:8080/portal?
what i do in the local.properties was this
portal.web.context-root=(nothing)
is this correct? -
5. Re: changing the context path
theute Mar 10, 2006 11:22 AM (in response to noicangi)Yes then clean, rebuild and deploy:
ant clean
ant deploy
Also remove:
jboss-xxx/server/default/xxxxx/jbossweb-tomcat55.sar/ROOT.war/
To avoid conflicts -
6. Re: changing the context path
noicangi Mar 10, 2006 11:34 AM (in response to noicangi)ok perfect, i get it, but now how can i access to the jboss configurtion (root.war) there's a way to set root.war to another url? like http://localhost:8080/config?
-
7. Re: changing the context path
theute Mar 10, 2006 11:48 AM (in response to noicangi)Did you look at it ? it's a single HTML page with links to jmx-console and web-console basically...
If you want to keep it, you can move it to the deploy directory and rename it config.war so it will be available at localhost:8080/config -
8. Re: changing the context path
noicangi Mar 10, 2006 1:28 PM (in response to noicangi)ok thomas, thank you very much!!! for your fast answer and exactitud ;)
-
9. Re: changing the context path
glodo Mar 16, 2006 2:17 PM (in response to noicangi)Hi noicangi..
i did like you say.. but still display the HTML and still display the portal like http://localhost:8080/portal
is anything else that need to configure?
it works for you?
can you give the steps?
so thanks
glodo -
10. Re: changing the context path
glodo Mar 16, 2006 2:33 PM (in response to noicangi)It works now.. but just with the IE.. with FireFox.. i could not yet make it works..
any help.. it would be glad..
so thanks
glo -
11. Re: changing the context path
keletappi Mar 17, 2006 5:59 AM (in response to noicangi)I noticed there are couple of points in this operation you might miss.
First of all ther is typo in documentation.
'portal.context-root' should be 'portal.web.context-root'
Second is that if you want server to respond from root context you probably
need to put it like:
portal.web.context-root=/
I had problems with firefox without slash in there.
Lastly you need to run 'build clean' before 'build deploy' or it will build it with
old context root. -
12. Re: changing the context path
noicangi Mar 17, 2006 9:02 AM (in response to noicangi)keletappi, what you say works?
i make the steps thomas said, about changing root.war to config.war to the deploy folder, but the path didn't work. maybe because i'm using portal cvs 2.4
glodo if you make it work please post. -
13. Re: changing the context path
noicangi Mar 17, 2006 10:46 AM (in response to noicangi)it works like this:
build the portal with
portal.web.context-root=/
c:/workspace/portal2.4/build> build clean
after cleaned
c:/workspace/portal2.4/build> build deploy
then its done, clean database and /server/default/data/portal -
14. Re: changing the context path
keletappi Mar 17, 2006 2:33 PM (in response to noicangi)Maybe somebody should update documentation to clarify the process. It is not obvious and it can take hours to figure out what to do.