Difficulty with Fresh 16.11 Release Install

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Difficulty with Fresh 16.11 Release Install

Sean Turner
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.
Reply | Threaded
Open this post in threaded view
|

Re: Difficulty with Fresh 16.11 Release Install

Paul Foxworthy
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/
Reply | Threaded
Open this post in threaded view
|

Re: Difficulty with Fresh 16.11 Release Install

Sean Turner
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]
>
Reply | Threaded
Open this post in threaded view
|

Re: Difficulty with Fresh 16.11 Release Install

Paul Foxworthy
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/
Reply | Threaded
Open this post in threaded view
|

Re: Difficulty with Fresh 16.11 Release Install

Sean Turner
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]
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Difficulty with Fresh 16.11 Release Install

Deepak Dixit-3
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]
> >>
> >
> >
>