You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Hans Bakker <h....@antwebsystems.com> on 2020/10/06 13:28:52 UTC

REST upgrade not find services anymore....

Hi Girish,

just upgraded the rest plugin and now services are not found anymore....

my log:

2020-10-06 20:18:34,185 |OFBiz-JobQueue-1 |ServiceDispatcher             
|T| Sync service [default/runServiceOnSubscriptionExpiry] finished in 
[42] milliseconds
2020-10-06 20:19:10,230 |jsse-nio-8443-exec-4 
|APIAuthFilter                 |E| Cannot locate service by name 
(registerUserAndCompany100)
2020-10-06 20:19:10,873 |jsse-nio-8443-exec-5 
|APIAuthFilter                 |E| Cannot locate service by name 
(getCompanies100)
2020-10-06 20:19:11,181 |jsse-nio-8443-exec-6 
|UtilProperties                |I| ResourceBundle SecurityextUiLabels 
(en) created in 0.109s with 69 properties
2020-10-06 20:19:11,184 |jsse-nio-8443-exec-6 
|LoginServices                 |I| [LoginServices.userLogin] Invalid 
User : '4344dummy@example.com'; User not found.
2020-10-06 20:19:11,185 |jsse-nio-8443-exec-6 
|ServiceDispatcher             |W| Service Failure [userLogin]: User not 
found.
2020-10-06 20:19:11,188 |jsse-nio-8443-exec-6 
|ServiceDispatcher             |T| Sync service 
[ofbiz-rest-jersey/userLogin] finished in [145] milliseconds
2020-10-06 20:19:11,192 |jsse-nio-8443-exec-6 
|HttpBasicAuthFilter           |E| User not found.
2020-10-06 20:19:11,262 |jsse-nio-8443-exec-7 
|APIAuthFilter                 |E| Cannot locate service by name 
(getAuthenticate100)

do i perhaps miss something?

my plugin at https://github.com/growerp/growerp-ofbiz

regards,

Hans


Re: REST upgrade not find services anymore....

Posted by Hans Bakker <h....@antwebsystems.com>.
Hi Girish,

please ignore my last message, everything working fine!

Regards, Hans

On 10/7/20 7:14 AM, Hans Bakker wrote:
> Yes you are right, but that is an error i introduced later....
>
> still my problem is still there.....
>
> can you please check?
>
> Regards,
>
> Hans
>
> On 10/6/20 8:46 PM, Girish Vasmatkar wrote:
>> Hi Hans
>>
>> There's an error in your service definition file *services100.xml. 
>> *Please check *invoke* attribute below.
>>
>>
>> <service name="getCompanies100" engine="groovy" export="true"
>>
>>     location="component://growerp/src/100/PartyServices100.groovy"
>>
>>     invoke="getCompanies action="GET" auth="false"">
>>
>>
>>
>> Best Regards,
>> Girish
>>
>>
>> On Tue, Oct 6, 2020 at 6:58 PM Hans Bakker 
>> <h.bakker@antwebsystems.com <ma...@antwebsystems.com>> wrote:
>>
>>     Hi Girish,
>>
>>     just upgraded the rest plugin and now services are not found
>>     anymore....
>>
>>     my log:
>>
>>     2020-10-06 20:18:34,185 |OFBiz-JobQueue-1 |ServiceDispatcher
>>     |T| Sync service [default/runServiceOnSubscriptionExpiry] 
>> finished in
>>     [42] milliseconds
>>     2020-10-06 20:19:10,230 |jsse-nio-8443-exec-4
>>     |APIAuthFilter                 |E| Cannot locate service by name
>>     (registerUserAndCompany100)
>>     2020-10-06 20:19:10,873 |jsse-nio-8443-exec-5
>>     |APIAuthFilter                 |E| Cannot locate service by name
>>     (getCompanies100)
>>     2020-10-06 20:19:11,181 |jsse-nio-8443-exec-6
>>     |UtilProperties                |I| ResourceBundle 
>> SecurityextUiLabels
>>     (en) created in 0.109s with 69 properties
>>     2020-10-06 20:19:11,184 |jsse-nio-8443-exec-6
>>     |LoginServices                 |I| [LoginServices.userLogin] Invalid
>>     User : '4344dummy@example.com <ma...@example.com>';
>>     User not found.
>>     2020-10-06 20:19:11,185 |jsse-nio-8443-exec-6
>>     |ServiceDispatcher             |W| Service Failure [userLogin]:
>>     User not
>>     found.
>>     2020-10-06 20:19:11,188 |jsse-nio-8443-exec-6
>>     |ServiceDispatcher             |T| Sync service
>>     [ofbiz-rest-jersey/userLogin] finished in [145] milliseconds
>>     2020-10-06 20:19:11,192 |jsse-nio-8443-exec-6
>>     |HttpBasicAuthFilter           |E| User not found.
>>     2020-10-06 20:19:11,262 |jsse-nio-8443-exec-7
>>     |APIAuthFilter                 |E| Cannot locate service by name
>>     (getAuthenticate100)
>>
>>     do i perhaps miss something?
>>
>>     my plugin at https://github.com/growerp/growerp-ofbiz
>>
>>     regards,
>>
>>     Hans
>>
>

Re: REST upgrade not find services anymore....

Posted by Hans Bakker <h....@antwebsystems.com>.
Yes you are right, but that is an error i introduced later....

still my problem is still there.....

can you please check?

Regards,

Hans

On 10/6/20 8:46 PM, Girish Vasmatkar wrote:
> Hi Hans
>
> There's an error in your service definition file *services100.xml. 
> *Please check *invoke* attribute below.
>
>
> <service name="getCompanies100" engine="groovy" export="true"
>
> 	location="component://growerp/src/100/PartyServices100.groovy"
>
> 	invoke="getCompanies action="GET" auth="false"">
>
>
>
> Best Regards,
> Girish
>
>
> On Tue, Oct 6, 2020 at 6:58 PM Hans Bakker <h.bakker@antwebsystems.com 
> <ma...@antwebsystems.com>> wrote:
>
>     Hi Girish,
>
>     just upgraded the rest plugin and now services are not found
>     anymore....
>
>     my log:
>
>     2020-10-06 20:18:34,185 |OFBiz-JobQueue-1 |ServiceDispatcher
>     |T| Sync service [default/runServiceOnSubscriptionExpiry] finished in
>     [42] milliseconds
>     2020-10-06 20:19:10,230 |jsse-nio-8443-exec-4
>     |APIAuthFilter                 |E| Cannot locate service by name
>     (registerUserAndCompany100)
>     2020-10-06 20:19:10,873 |jsse-nio-8443-exec-5
>     |APIAuthFilter                 |E| Cannot locate service by name
>     (getCompanies100)
>     2020-10-06 20:19:11,181 |jsse-nio-8443-exec-6
>     |UtilProperties                |I| ResourceBundle SecurityextUiLabels
>     (en) created in 0.109s with 69 properties
>     2020-10-06 20:19:11,184 |jsse-nio-8443-exec-6
>     |LoginServices                 |I| [LoginServices.userLogin] Invalid
>     User : '4344dummy@example.com <ma...@example.com>';
>     User not found.
>     2020-10-06 20:19:11,185 |jsse-nio-8443-exec-6
>     |ServiceDispatcher             |W| Service Failure [userLogin]:
>     User not
>     found.
>     2020-10-06 20:19:11,188 |jsse-nio-8443-exec-6
>     |ServiceDispatcher             |T| Sync service
>     [ofbiz-rest-jersey/userLogin] finished in [145] milliseconds
>     2020-10-06 20:19:11,192 |jsse-nio-8443-exec-6
>     |HttpBasicAuthFilter           |E| User not found.
>     2020-10-06 20:19:11,262 |jsse-nio-8443-exec-7
>     |APIAuthFilter                 |E| Cannot locate service by name
>     (getAuthenticate100)
>
>     do i perhaps miss something?
>
>     my plugin at https://github.com/growerp/growerp-ofbiz
>
>     regards,
>
>     Hans
>

Re: REST upgrade not find services anymore....

Posted by Girish Vasmatkar <gi...@hotwaxsystems.com>.
Hi Hans

There's an error in your service definition file *services100.xml. *Please
check *invoke* attribute below.


<service name="getCompanies100" engine="groovy" export="true"
location="component://growerp/src/100/PartyServices100.groovy"
invoke="getCompanies action="GET" auth="false"">


Best Regards,
Girish


On Tue, Oct 6, 2020 at 6:58 PM Hans Bakker <h....@antwebsystems.com>
wrote:

> Hi Girish,
>
> just upgraded the rest plugin and now services are not found anymore....
>
> my log:
>
> 2020-10-06 20:18:34,185 |OFBiz-JobQueue-1 |ServiceDispatcher
> |T| Sync service [default/runServiceOnSubscriptionExpiry] finished in
> [42] milliseconds
> 2020-10-06 20:19:10,230 |jsse-nio-8443-exec-4
> |APIAuthFilter                 |E| Cannot locate service by name
> (registerUserAndCompany100)
> 2020-10-06 20:19:10,873 |jsse-nio-8443-exec-5
> |APIAuthFilter                 |E| Cannot locate service by name
> (getCompanies100)
> 2020-10-06 20:19:11,181 |jsse-nio-8443-exec-6
> |UtilProperties                |I| ResourceBundle SecurityextUiLabels
> (en) created in 0.109s with 69 properties
> 2020-10-06 20:19:11,184 |jsse-nio-8443-exec-6
> |LoginServices                 |I| [LoginServices.userLogin] Invalid
> User : '4344dummy@example.com'; User not found.
> 2020-10-06 20:19:11,185 |jsse-nio-8443-exec-6
> |ServiceDispatcher             |W| Service Failure [userLogin]: User not
> found.
> 2020-10-06 20:19:11,188 |jsse-nio-8443-exec-6
> |ServiceDispatcher             |T| Sync service
> [ofbiz-rest-jersey/userLogin] finished in [145] milliseconds
> 2020-10-06 20:19:11,192 |jsse-nio-8443-exec-6
> |HttpBasicAuthFilter           |E| User not found.
> 2020-10-06 20:19:11,262 |jsse-nio-8443-exec-7
> |APIAuthFilter                 |E| Cannot locate service by name
> (getAuthenticate100)
>
> do i perhaps miss something?
>
> my plugin at https://github.com/growerp/growerp-ofbiz
>
> regards,
>
> Hans
>
>