0

liferay ポータルを開発しており、言語ごとに異なるドメインを使用したいと考えています。web.xml からサーブレット マッピングを変更しましたが、このエラーが発生します

Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> http://www.domain.ro/c/portal/protected in security constraint
at org.apache.catalina.core.StandardContext.addConstraint(StandardContext.java:2869)
at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1244)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1357)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:345)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5161)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more

手伝ってくれませんか?

4

1 に答える 1

0

This is not the right way, leave the web.xml as the original.

Which Liferay version?

Notice that new Liferay 6.2 allows to have differente language setting per site. In previous liferay version you have to create an ext plugin to hack the ServicePreAction class (not so easy).

于 2013-10-08T09:03:34.910 に答える