REST upgrade not find services anymore....

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

REST upgrade not find services anymore....

Hans Bakker
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 : '[hidden email]'; 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

grv
Reply | Threaded
Open this post in threaded view
|

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

grv
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 <[hidden email]>
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 : '[hidden email]'; 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
>
>
Reply | Threaded
Open this post in threaded view
|

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

Hans Bakker
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 <[hidden email]
> <mailto:[hidden email]>> 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 : '[hidden email] <mailto:[hidden email]>';
>     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
>
Reply | Threaded
Open this post in threaded view
|

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

Hans Bakker
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
>> <[hidden email] <mailto:[hidden email]>> 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 : '[hidden email] <mailto:[hidden email]>';
>>     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
>>
>