[
https://issues.apache.org/jira/browse/OFBIZ-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667054#action_12667054
]
Hans Bakker commented on OFBIZ-2107:
------------------------------------
Hi David, it looks like not too may people are interested. However i am...
Since this is a function which only gets active if the website is NOT defined
in web.xml i do not see a reason why you will have objections committing this
change.
That a domainname and a port is not unique? please explain? Anyhow, they are in
my case.
I also would like to duplicate some fields from the web.xml on the website
entity, again these only get active when NOT defined in web.xml:
1. mainDecoratorLocation
2. entityDelegatorName
3. localDispatcherName
I have to run a number of websites and it is a real pain setting up separate
webapplications for them.
Lastly, because the domainname gets now more important, i would impement a
warning that if a duplicate domainname is added on different website records.
If the community does not have any major objections, i will commit this change
in the next few days.
> run many websites from one webapplication/dynamically add websites to ofbiz
> ---------------------------------------------------------------------------
>
> Key: OFBIZ-2107
> URL: https://issues.apache.org/jira/browse/OFBIZ-2107
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Environment: any
> Reporter: Hans Bakker
> Assignee: Hans Bakker
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: getWebSiteId.patch
>
>
> I was always wondering why the 'webSiteId' is hardcoded in the web.xml.
> If a request comes in, the domainname and port is normally known and
> depending on this information the websiteId can be found in the website
> entity.
> If this would be implemented a new website can be dynamically configured and
> many websites can be run from the same webapplication within a component and
> no configuration and/or restart is required to make the website active with
> ofbiz.
> Am i overlooking something or is there a reason that the websiteId is
> harcoded in web.xml?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.