[ 
https://issues.apache.org/jira/browse/OFBIZ-6261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14501178#comment-14501178
 ] 

Adrian Crum commented on OFBIZ-6261:
------------------------------------

Thank you for working on this, but there is a problem with your patch. The 
UtilProperties.createProperties() JavaDoc says:

"This method is intended for low-level framework classes that need to read 
properties files before OFBiz has been fully initialized."

Your patch introduces a Debug.logWarning method call in low-level code where 
logging has not been initialized.

I will fix this myself. Thank you for the bug report and leading me to the 
cause of the problem.

> locationresolvers.properties is missing
> ---------------------------------------
>
>                 Key: OFBIZ-6261
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6261
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Wai
>         Attachments: OFBIZ-6261.patch
>
>
> during ofbiz startup
> ...console output...
> 2015-04-17 17:58:18,166 |main                 |CatalinaContainer             
> |I| Creating context [bluelight]
> 2015-04-17 17:58:18,166 |main                 |CatalinaContainer             
> |I| Creating context [bizznesstime]
> 2015-04-17 17:58:18,166 |main                 |CatalinaContainer             
> |I| Creating context [images]
> 2015-04-17 17:58:18,166 |main                 |CatalinaContainer             
> |I| Creating context [webtools]
> Exception thrown while loading locationresolvers.properties: 
> java.lang.IllegalStateException: Exception thrown while reading 
> debug.properties: java.lang.IllegalStateException: 
> locationresolvers.properties not found
> 2015-04-17 17:58:18,800 |main                 |SSLImpl                       
> |I| SSLImpl loaded; using custom ServerSocketFactory
> 2015-04-17 17:58:19,045 |0.0.0.0-startStop-1  |ServiceDispatcher             
> |I| Registering dispatcher: ebay
> 2015-04-17 17:58:19,045 |0.0.0.0-startStop-1  |ServiceContainer              
> |I| Created new dispatcher: ebay



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to