You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "info@agentur-m3.de" <in...@agentur-m3.de> on 2014/10/22 17:51:52 UTC
access to component
Hi All,
I'm new to the ofBiz-community,
my name is Ralf Reinecke,
and I am really excited by the possibilities
of the ofbiz-system (although I don't understand
much of it now).
There is one question I would like to ask:
at the moment I'm trying to create a first component with
http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-custom-components-in-ofbiz/
in a modified version like that:
./ant stop
./ant create-component
Component name: mytest
Component resource name: mytest
Webapp name: mytest
Base permission: MYTEST
Confirm: Y
./ant load-demo
./ant start
The component seems to be created well with this steps,
but then, when trying to get access to
http://localhost:8080/mytest
the login (user: admin pwd: ofbiz)
is not successful.
Even setting
base-permission="NONE"
in ofbiz-component.xml
(and again stepping through
./ant load-demo
)
does not change the unsuccessful login-attempt.
Do I need to provide any additional steps to
get access to the component?
Ralf
Re: access to component
Posted by Pierre Smits <pi...@gmail.com>.
The only thing I can say is that having the base permissions in the
ofbiz-component.xml doesn't seem to be enough.
Loading seed security data in <yourapp>SecurityPermissionSeedData.xml also
seems a necessity. Especially the association between the SUPER group (to
which the system account belongs to) and the permissionId OFBTOOLS via the
groupPermission of your app seems to be required.
Regards,
Pierre Smits
*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com
On Wed, Oct 22, 2014 at 6:32 PM, kontakt@jazzcon.de <ko...@jazzcon.de>
wrote:
> Now I did
>
> ant load-demo
> ant start
>
> again (without changing
> the files)
>
> and now the login is
> successful
>
> (???)
>
>
>
>
>
> Am 22.10.2014 um 18:07 schrieb gil portenseigne:
> > Hi and Welcome !
> >
> > I just do the same on my local,
> >
> > Tried to connect to :
> >
> > https://localhost:8443/mytest/control/main
> >
> > It's working fine for me.
> >
> > I did it really out of the box.
> >
> > You seems to have a login screen, seems yet good, that means your
> > component is well created.
> >
> > Did you have any error message ?
> >
> > My generated webapp declaration :
> >
> >
> > <webapp name="mytest"
> > title="mytest"
> > server="default-server"
> > location="webapp/mytest"
> > base-permission="OFBTOOLS,MYTEST"
> > mount-point="/mytest"/>
> >
> > Just check you got the same...
> >
> > Gil
> >
> >
> >
> >
> >
> >
> > Le 22/10/2014 17:51, info@agentur-m3.de a écrit :
> >> Hi All,
> >>
> >> I'm new to the ofBiz-community,
> >> my name is Ralf Reinecke,
> >> and I am really excited by the possibilities
> >> of the ofbiz-system (although I don't understand
> >> much of it now).
> >>
> >> There is one question I would like to ask:
> >>
> >> at the moment I'm trying to create a first component with
> >>
> >>
> http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-custom-components-in-ofbiz/
> >>
> >> in a modified version like that:
> >>
> >> ./ant stop
> >> ./ant create-component
> >> Component name: mytest
> >> Component resource name: mytest
> >> Webapp name: mytest
> >> Base permission: MYTEST
> >> Confirm: Y
> >> ./ant load-demo
> >> ./ant start
> >>
> >>
> >> The component seems to be created well with this steps,
> >> but then, when trying to get access to
> >>
> >> http://localhost:8080/mytest
> >>
> >> the login (user: admin pwd: ofbiz)
> >> is not successful.
> >>
> >> Even setting
> >>
> >> base-permission="NONE"
> >>
> >> in ofbiz-component.xml
> >> (and again stepping through
> >> ./ant load-demo
> >> )
> >>
> >> does not change the unsuccessful login-attempt.
> >>
> >> Do I need to provide any additional steps to
> >> get access to the component?
> >>
> >> Ralf
> >
> >
> > --
> >
> > <www.nereide.fr>
> >
> > Gil Portenseigne
> > Consultant ERP OFBiz
> > Société Néréide
> > 3b Les isles
> > 37270 Veretz
> > Tel : 09 74 53 46 09, puis 1, poste 61
> > Mob : 06 82 740 444
> > www.nereide.fr <http://www.nereide.fr>
> >
> > Membre d'OFBiz France
> > www.ofbiz-fr.org <http://www.ofbiz-fr.org>
> >
> >
> >
>
>
Re: access to component
Posted by "kontakt@jazzcon.de" <ko...@jazzcon.de>.
Now I did
ant load-demo
ant start
again (without changing
the files)
and now the login is
successful
(???)
Am 22.10.2014 um 18:07 schrieb gil portenseigne:
> Hi and Welcome !
>
> I just do the same on my local,
>
> Tried to connect to :
>
> https://localhost:8443/mytest/control/main
>
> It's working fine for me.
>
> I did it really out of the box.
>
> You seems to have a login screen, seems yet good, that means your
> component is well created.
>
> Did you have any error message ?
>
> My generated webapp declaration :
>
>
> <webapp name="mytest"
> title="mytest"
> server="default-server"
> location="webapp/mytest"
> base-permission="OFBTOOLS,MYTEST"
> mount-point="/mytest"/>
>
> Just check you got the same...
>
> Gil
>
>
>
>
>
>
> Le 22/10/2014 17:51, info@agentur-m3.de a écrit :
>> Hi All,
>>
>> I'm new to the ofBiz-community,
>> my name is Ralf Reinecke,
>> and I am really excited by the possibilities
>> of the ofbiz-system (although I don't understand
>> much of it now).
>>
>> There is one question I would like to ask:
>>
>> at the moment I'm trying to create a first component with
>>
>> http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-custom-components-in-ofbiz/
>>
>> in a modified version like that:
>>
>> ./ant stop
>> ./ant create-component
>> Component name: mytest
>> Component resource name: mytest
>> Webapp name: mytest
>> Base permission: MYTEST
>> Confirm: Y
>> ./ant load-demo
>> ./ant start
>>
>>
>> The component seems to be created well with this steps,
>> but then, when trying to get access to
>>
>> http://localhost:8080/mytest
>>
>> the login (user: admin pwd: ofbiz)
>> is not successful.
>>
>> Even setting
>>
>> base-permission="NONE"
>>
>> in ofbiz-component.xml
>> (and again stepping through
>> ./ant load-demo
>> )
>>
>> does not change the unsuccessful login-attempt.
>>
>> Do I need to provide any additional steps to
>> get access to the component?
>>
>> Ralf
>
>
> --
>
> <www.nereide.fr>
>
> Gil Portenseigne
> Consultant ERP OFBiz
> Société Néréide
> 3b Les isles
> 37270 Veretz
> Tel : 09 74 53 46 09, puis 1, poste 61
> Mob : 06 82 740 444
> www.nereide.fr <http://www.nereide.fr>
>
> Membre d'OFBiz France
> www.ofbiz-fr.org <http://www.ofbiz-fr.org>
>
>
>
Re: access to component
Posted by "kontakt@jazzcon.de" <ko...@jazzcon.de>.
Yes, my copy from ofbiz-component.xml is
exactly the same:
<webapp name="mytest"
title="mytest"
server="default-server"
location="webapp/mytest"
base-permission="OFBTOOLS,MYTEST"
mount-point="/mytest"/>
the error msg is:
<value xml:lang="de">Anmeldung bei der Anwendung nicht
erfolgreich</value>
<value xml:lang="en">unable to login this application</value>
------
Ralf
Am 22.10.2014 um 18:07 schrieb gil portenseigne:
> Hi and Welcome !
>
> I just do the same on my local,
>
> Tried to connect to :
>
> https://localhost:8443/mytest/control/main
>
> It's working fine for me.
>
> I did it really out of the box.
>
> You seems to have a login screen, seems yet good, that means your
> component is well created.
>
> Did you have any error message ?
>
> My generated webapp declaration :
>
>
> <webapp name="mytest"
> title="mytest"
> server="default-server"
> location="webapp/mytest"
> base-permission="OFBTOOLS,MYTEST"
> mount-point="/mytest"/>
>
> Just check you got the same...
>
> Gil
>
>
>
>
>
>
> Le 22/10/2014 17:51, info@agentur-m3.de a écrit :
>> Hi All,
>>
>> I'm new to the ofBiz-community,
>> my name is Ralf Reinecke,
>> and I am really excited by the possibilities
>> of the ofbiz-system (although I don't understand
>> much of it now).
>>
>> There is one question I would like to ask:
>>
>> at the moment I'm trying to create a first component with
>>
>> http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-custom-components-in-ofbiz/
>>
>> in a modified version like that:
>>
>> ./ant stop
>> ./ant create-component
>> Component name: mytest
>> Component resource name: mytest
>> Webapp name: mytest
>> Base permission: MYTEST
>> Confirm: Y
>> ./ant load-demo
>> ./ant start
>>
>>
>> The component seems to be created well with this steps,
>> but then, when trying to get access to
>>
>> http://localhost:8080/mytest
>>
>> the login (user: admin pwd: ofbiz)
>> is not successful.
>>
>> Even setting
>>
>> base-permission="NONE"
>>
>> in ofbiz-component.xml
>> (and again stepping through
>> ./ant load-demo
>> )
>>
>> does not change the unsuccessful login-attempt.
>>
>> Do I need to provide any additional steps to
>> get access to the component?
>>
>> Ralf
>
>
> --
>
> <www.nereide.fr>
>
> Gil Portenseigne
> Consultant ERP OFBiz
> Société Néréide
> 3b Les isles
> 37270 Veretz
> Tel : 09 74 53 46 09, puis 1, poste 61
> Mob : 06 82 740 444
> www.nereide.fr <http://www.nereide.fr>
>
> Membre d'OFBiz France
> www.ofbiz-fr.org <http://www.ofbiz-fr.org>
>
>
>
Re: access to component
Posted by gil portenseigne <gi...@nereide.fr>.
Hi and Welcome !
I just do the same on my local,
Tried to connect to :
https://localhost:8443/mytest/control/main
It's working fine for me.
I did it really out of the box.
You seems to have a login screen, seems yet good, that means your
component is well created.
Did you have any error message ?
My generated webapp declaration :
<webapp name="mytest"
title="mytest"
server="default-server"
location="webapp/mytest"
base-permission="OFBTOOLS,MYTEST"
mount-point="/mytest"/>
Just check you got the same...
Gil
Le 22/10/2014 17:51, info@agentur-m3.de a écrit :
> Hi All,
>
> I'm new to the ofBiz-community,
> my name is Ralf Reinecke,
> and I am really excited by the possibilities
> of the ofbiz-system (although I don't understand
> much of it now).
>
> There is one question I would like to ask:
>
> at the moment I'm trying to create a first component with
>
> http://www.hotwaxmedia.com/apache-ofbiz-blog/ofbiz-tutorial-custom-components-in-ofbiz/
>
> in a modified version like that:
>
> ./ant stop
> ./ant create-component
> Component name: mytest
> Component resource name: mytest
> Webapp name: mytest
> Base permission: MYTEST
> Confirm: Y
> ./ant load-demo
> ./ant start
>
>
> The component seems to be created well with this steps,
> but then, when trying to get access to
>
> http://localhost:8080/mytest
>
> the login (user: admin pwd: ofbiz)
> is not successful.
>
> Even setting
>
> base-permission="NONE"
>
> in ofbiz-component.xml
> (and again stepping through
> ./ant load-demo
> )
>
> does not change the unsuccessful login-attempt.
>
> Do I need to provide any additional steps to
> get access to the component?
>
> Ralf
--
<www.nereide.fr>
Gil Portenseigne
Consultant ERP OFBiz
Société Néréide
3b Les isles
37270 Veretz
Tel : 09 74 53 46 09, puis 1, poste 61
Mob : 06 82 740 444
www.nereide.fr <http://www.nereide.fr>
Membre d'OFBiz France
www.ofbiz-fr.org <http://www.ofbiz-fr.org>