[ 
https://wso2.org/jira/browse/ESBJAVA-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Asankha Perera resolved ESBJAVA-513.
------------------------------------

    Fix Version/s: 1.7
       Resolution: Fixed

applied patch.. thanks Eric

> Don't load docs and samples context in production environments
> --------------------------------------------------------------
>
>                 Key: ESBJAVA-513
>                 URL: https://wso2.org/jira/browse/ESBJAVA-513
>             Project: WSO2 ESB
>          Issue Type: Improvement
>    Affects Versions: 1.7
>            Reporter: Eric Hubert
>            Assignee: Asankha Perera
>             Fix For: 1.7
>
>         Attachments: TomcatStartup.patch
>
>
> Currently the ESB (tomcat) startup logic depends on the docs and samples 
> directories and loads a context for each of them. No matter whether this is a 
> development/test or production environment. Thus the user can't delete both 
> folders. Additionally, If the computer is not connected with the internet, 
> the user gets a ConnectException as some Spring libraries are loaded and the 
> XML Parsers validates against the specified URIs which point to the internet.
> What about not loading the docs and samples contexts at all if you are in a 
> production environment. Users then do not need to deploy docs and samples 
> folders at all. Though this is no solution to the TLD problem, it might at 
> least be used as a workaround for some environments.
> Please find attached a simple patch, which makes this configurable in the 
> tomcat.properties.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to