Hi All,
I'm trying to create a fresh install (without the preloaded data), but I'm running into some issues. Maybe I'm missing a step. I'm on a Mac, and my version of Java is 1.8.0_144. I first run : svn co http://svn.apache.org/repos/asf/ofbiz/branches/release16.11 ofbiz.16.11 Then in the ofbiz directory I run ./gradlew build Then I run ./gradlew ofbiz When I got to https://localhost:8443/accounting/control/login, I see the following in my browser: ERROR rendering error page [/error/error.jsp], but here is the error text: 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://accounting/widget/CommonScreens.xml#main-decorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Template location is empty (Template location is empty) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Template location is empty (Template location is empty)) (Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Template location is empty (Template location is empty) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Template location is empty (Template location is empty))) (Error rendering screen [component://accounting/widget/CommonScreens.xml#main-decorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Template location is empty (Template location is empty) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Template location is empty (Template location is empty)) (Error rendering screen [component://commonext/widget/CommonScreens.xml#ApplicationDecorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Template location is empty (Template location is empty) (Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Template location is empty (Template location is empty)))) Please advise. |
On 2 March 2018 at 09:29, Sean Turner <[hidden email]> wrote:
> I'm trying to create a fresh install (without the preloaded data), but I'm > running into some issues. Maybe I'm missing a step. I'm on a Mac, and my > version of Java is 1.8.0_144. > > I first run : > svn co http://svn.apache.org/repos/asf/ofbiz/branches/release16.11 > ofbiz.16.11 > Then in the ofbiz directory I run ./gradlew build > Then I run ./gradlew ofbiz > > When I got to https://localhost:8443/accounting/control/login, I see the > following in my browser: > > ERROR rendering error page [/error/error.jsp] Hi Sean, Have you imported the seed data? If you're starting on a production system, you don't need the demo data, but you will need seed. Try this: gradlew "ofbiz --load-data readers=seed,seed-initial" Cheers Paul Foxworthy -- Coherent Software Australia Pty Ltd PO Box 2773 Cheltenham Vic 3192 Australia Phone: +61 3 9585 6788 Web: http://www.coherentsoftware.com.au/ Email: [hidden email]
--
Coherent Software Australia Pty Ltd http://www.coherentsoftware.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
That solved it, thank you Paul!
Is there something I need to do to enable the default admin user with password ofbiz? On Fri, Mar 2, 2018 at 8:16 AM, Paul Foxworthy <[hidden email]> wrote: > On 2 March 2018 at 09:29, Sean Turner <[hidden email]> > wrote: > > > > I'm trying to create a fresh install (without the preloaded data), but > I'm > > running into some issues. Maybe I'm missing a step. I'm on a Mac, and my > > version of Java is 1.8.0_144. > > > > I first run : > > svn co http://svn.apache.org/repos/asf/ofbiz/branches/release16.11 > > ofbiz.16.11 > > Then in the ofbiz directory I run ./gradlew build > > Then I run ./gradlew ofbiz > > > > When I got to https://localhost:8443/accounting/control/login, I see the > > following in my browser: > > > > ERROR rendering error page [/error/error.jsp] > > > Hi Sean, > > Have you imported the seed data? If you're starting on a production system, > you don't need the demo data, but you will need seed. > > Try this: > > gradlew "ofbiz --load-data readers=seed,seed-initial" > > Cheers > > Paul Foxworthy > > -- > Coherent Software Australia Pty Ltd > PO Box 2773 > Cheltenham Vic 3192 > Australia > > Phone: +61 3 9585 6788 > Web: http://www.coherentsoftware.com.au/ > Email: [hidden email] > |
On 2 March 2018 at 11:21, Sean Turner <[hidden email]> wrote:
> That solved it, thank you Paul! > > Is there something I need to do to enable the default admin user with > password ofbiz? > I'd expect it to work. You can explicitly set the admin password with gradlew loadAdminUserLogin -PuserLoginId=*UserName* You'll then be prompted to set a password when you sign in. This might help: https://cwiki.apache.org/confluence/display/OFBENDUSER/How+to+Install+OFBiz+without+the+Demo+Data Cheers Paul -- Coherent Software Australia Pty Ltd PO Box 2773 Cheltenham Vic 3192 Australia Phone: +61 3 9585 6788 Web: http://www.coherentsoftware.com.au/ Email: [hidden email]
--
Coherent Software Australia Pty Ltd http://www.coherentsoftware.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
In reply to this post by Sean Turner
I'm sorted, I ran java -jar build/libs/ofbiz.jar --load-data, and I was
able to log in On Fri, Mar 2, 2018 at 12:21 AM, Sean Turner <[hidden email]> wrote: > That solved it, thank you Paul! > > Is there something I need to do to enable the default admin user with > password ofbiz? > > On Fri, Mar 2, 2018 at 8:16 AM, Paul Foxworthy <[hidden email]> > wrote: > >> On 2 March 2018 at 09:29, Sean Turner <[hidden email]> >> wrote: >> >> >> > I'm trying to create a fresh install (without the preloaded data), but >> I'm >> > running into some issues. Maybe I'm missing a step. I'm on a Mac, and my >> > version of Java is 1.8.0_144. >> > >> > I first run : >> > svn co http://svn.apache.org/repos/asf/ofbiz/branches/release16.11 >> > ofbiz.16.11 >> > Then in the ofbiz directory I run ./gradlew build >> > Then I run ./gradlew ofbiz >> > >> > When I got to https://localhost:8443/accounting/control/login, I see >> the >> > following in my browser: >> > >> > ERROR rendering error page [/error/error.jsp] >> >> >> Hi Sean, >> >> Have you imported the seed data? If you're starting on a production >> system, >> you don't need the demo data, but you will need seed. >> >> Try this: >> >> gradlew "ofbiz --load-data readers=seed,seed-initial" >> >> Cheers >> >> Paul Foxworthy >> >> -- >> Coherent Software Australia Pty Ltd >> PO Box 2773 >> Cheltenham Vic 3192 >> Australia >> >> Phone: +61 3 9585 6788 >> Web: http://www.coherentsoftware.com.au/ >> Email: [hidden email] >> > > |
admin user is part of demo data, you need to create new admin user login,
as mentioned by Paul. For more detail please refer README.md file. http://svn.apache.org/repos/asf/ofbiz/branches/release16.11/README.md.html Thanks & Regards -- Deepak Dixit www.hotwaxsystems.com www.hotwax.co On Fri, Mar 2, 2018 at 8:55 AM, Sean Turner <[hidden email]> wrote: > I'm sorted, I ran java -jar build/libs/ofbiz.jar --load-data, and I was > able to log in > > On Fri, Mar 2, 2018 at 12:21 AM, Sean Turner <[hidden email] > > > wrote: > > > That solved it, thank you Paul! > > > > Is there something I need to do to enable the default admin user with > > password ofbiz? > > > > On Fri, Mar 2, 2018 at 8:16 AM, Paul Foxworthy <[hidden email]> > > wrote: > > > >> On 2 March 2018 at 09:29, Sean Turner <[hidden email]> > >> wrote: > >> > >> > >> > I'm trying to create a fresh install (without the preloaded data), but > >> I'm > >> > running into some issues. Maybe I'm missing a step. I'm on a Mac, and > my > >> > version of Java is 1.8.0_144. > >> > > >> > I first run : > >> > svn co http://svn.apache.org/repos/asf/ofbiz/branches/release16.11 > >> > ofbiz.16.11 > >> > Then in the ofbiz directory I run ./gradlew build > >> > Then I run ./gradlew ofbiz > >> > > >> > When I got to https://localhost:8443/accounting/control/login, I see > >> the > >> > following in my browser: > >> > > >> > ERROR rendering error page [/error/error.jsp] > >> > >> > >> Hi Sean, > >> > >> Have you imported the seed data? If you're starting on a production > >> system, > >> you don't need the demo data, but you will need seed. > >> > >> Try this: > >> > >> gradlew "ofbiz --load-data readers=seed,seed-initial" > >> > >> Cheers > >> > >> Paul Foxworthy > >> > >> -- > >> Coherent Software Australia Pty Ltd > >> PO Box 2773 > >> Cheltenham Vic 3192 > >> Australia > >> > >> Phone: +61 3 9585 6788 > >> Web: http://www.coherentsoftware.com.au/ > >> Email: [hidden email] > >> > > > > > |
Free forum by Nabble | Edit this page |