Posted by
Hubert Felber on
URL: https://discuss.orbeon.com/Strange-behaviour-on-Orbeon-3-7-1-tp1561469p1574831.html
Hi,
We deployed Orbeon on Liferay in JBoss Container.
This worked fine until we changed the root context from
"localhost:8080/" to "localhost:8080/myportal/"
Neither the orbeon samples nor our own portlets rendered correctly. We
saw the famous
Loading...
An error has occurred
You may want to try one of the following:
....
Now the orbeon samples work again, but still our own portlets show the
error above.
The steps we did so far:
-adding to liferay's jboss-web.xml
<context-root>myportal </context-root>
-adding to liferay's portal-ext.properties
portal.ctx=/myportal
Then we reached the point mentionend above.
-adding to liferay's web.xml
<context-param>
<param-name>root_path</param-name>
<param-value>/myportal </param-value>
</context-param>
made the Orbeon samples working again, (hurrah) but our own portlets in
our webui.war still show the error.
I have no idea, what happens and would be glad if anybody helped me.
Looking at the source of a orbeon sample html page, I see that
resources are loaded from
href="/orbeon/xforms-server/xforms-yuicalendar-min.css"
The portlets in our own webui.war try to load the same resource from
src="/myportal/orbeon/xforms-server/xforms-yuicalendar-min.js">
the additional "myportal" in the path is the problem and I don't know
how to solve this.
Can anybody please help?
Thanks a lot
Hubert
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws