Mike Butler created OFBIZ-9223:
----------------------------------

             Summary: createPlugin in 16.11 causes location error in browser
                 Key: OFBIZ-9223
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9223
             Project: OFBiz
          Issue Type: Bug
          Components: Gradle
    Affects Versions: 16.11.01, Trunk
         Environment: Windows 10, Lenovo Yoga 900 i7 64bit,  
            Reporter: Mike Butler
            Priority: Minor


SVN download to D:/ofbiz folder
in command window:
gradlew eclipse
gradlew createPlugin -PpluginId=ofbizdemo
gradlew cleanAll loadDefault
gradlew ofbiz
Wait until "building ->91% :ofbiz"  and no further load activity (why does this 
stop at 91% ?)
in browser https://localhost:8443/webtools to test ofbiz is functioning. - get 
signon screen
https://localhost:8443/ofbizdemo -> error

:ERROR MESSAGE:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
[component://common/widget/CommonScreens.xml#login]: 
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
[component://ofbizdemo/widget/CommonScreens.xml#main-decorator]: 
java.lang.IllegalArgumentException: Could not find resource bundle 
[OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle 
[OfbizdemoUiLabels] in the locale [en_GB]) (Error rendering screen 
[component://ofbizdemo/widget/CommonScreens.xml#main-decorator]: 
java.lang.IllegalArgumentException: Could not find resource bundle 
[OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle 
[OfbizdemoUiLabels] in the locale [en_GB])):ERROR MESSAGE:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
[component://common/widget/CommonScreens.xml#login]: 
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
[component://ofbizdemo/widget/CommonScreens.xml#main-decorator]: 
java.lang.IllegalArgumentException: Could not find resource bundle 
[OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle 
[OfbizdemoUiLabels] in the locale [en_GB]) (Error rendering screen 
[component://ofbizdemo/widget/CommonScreens.xml#main-decorator]: 
java.lang.IllegalArgumentException: Could not find resource bundle 
[OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle 
[OfbizdemoUiLabels] in the locale [en_GB]))

I have compared 16:11 component to 15.12 creatComponnent.  Can see no obvious 
cause. OfbizDemoUiLabels are there in config but no locale  [en_GB] exists.
Only differences that I see are in WEB-INF/web.xml 
Problem exists in browsers Edge, Chrome & Firefox.
Problem DOE NOT exist in firefox when ofbiz is installed in Ubuntu in 
VirtualBox.  

I think the problem may be due to different Java sdk's

Windows : java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

Ubuntu : openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-ubuntu1.16.04.2-b13
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode) 




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to