Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

I get the error below when I try to save a new user and then the user creation fails.

Server error

RESTEASY003210: Could not find resource for full path: http://192.168.0.74:8080/knowage/restful-services//2.0/users

It's interesting because I can successfully create a rule.

It is from a new docker environment over an Ubuntu OS.


knowage.log:

[http-nio-8080-exec-24] 20 Oct 2021 21:31:11,298 ERROR it.eng.spagobi.rest.interceptors.RestExceptionMapper.toResponse:60 - Catched service error:
javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: http://192.168.0.74:8080/knowage/restful-services//2.0/users
        at org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:135)
        at org.jboss.resteasy.core.registry.RootNode.match(RootNode.java:43)
        at org.jboss.resteasy.core.registry.RootClassNode.match(RootClassNode.java:48)
        at org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:445)
        at org.jboss.resteasy.core.SynchronousDispatcher.getInvoker(SynchronousDispatcher.java:260)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:197)
        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:228)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
        at sun.reflect.GeneratedMethodAccessor381.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:170)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:221)
        at org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:145)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:143)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
        at sun.reflect.GeneratedMethodAccessor380.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:187)
        at org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:145)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:143)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:382)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1726)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)

Environment Knowage 8.1, Docker over Ubumtu server 20.04, Chrome 94.0.4606.81
in Docker by (180 points)

Web Browser log:

App.vue:115 Starting connection to WebSocket Server
axios.js:29 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'status')
    at axios.js:29
(anonymous) @ axios.js:29
Promise.then (async)
l.request @ Axios.js:61
(anonymous) @ bind.js:9
cd49 @ main.ts:10
r @ bootstrap:89
0 @ app.d6f298cf.js:1
r @ bootstrap:89
n @ bootstrap:45
(anonymous) @ bootstrap:267
(anonymous) @ app.d6f298cf.js:1
DownloadsDialog.vue?2b44:52 {data: Array(0), status: 200, statusText: '', headers: {…}, config: {…}, …}config: {url: '/knowage/restful-services/2.0/export/dataset?showAll=true', method: 'get', headers: {…}, baseURL: '', transformRequest: Array(1), …}data: []headers: {cachecontrol: 'no-cache', connection: 'keep-alive', content-encoding: 'gzip', content-type: 'application/json', date: 'Thu, 21 Oct 2021 08:01:52 GMT', …}request: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …}status: 200statusText: ""[[Prototype]]: Object
runtime-core.esm-bundler.js:225 {message: 'RESTEASY003210: Could not find resource for full p…68.0.74:8080/knowage/restful-services/1.0/license'}
Ne @ runtime-core.esm-bundler.js:225
He @ runtime-core.esm-bundler.js:203
(anonymous) @ runtime-core.esm-bundler.js:166
Promise.catch (async)
Ie @ runtime-core.esm-bundler.js:165
t.__weh.t.__weh @ runtime-core.esm-bundler.js:2908
lt @ runtime-core.esm-bundler.js:357
ct @ runtime-core.esm-bundler.js:393
Promise.then (async)
nt @ runtime-core.esm-bundler.js:286
it @ runtime-core.esm-bundler.js:308
ot @ runtime-core.esm-bundler.js:311
Ct.y @ runtime-core.esm-bundler.js:2060
p @ reactivity.esm-bundler.js:183
w @ reactivity.esm-bundler.js:189
scheduler @ reactivity.esm-bundler.js:854
p @ reactivity.esm-bundler.js:183
w @ reactivity.esm-bundler.js:189
(anonymous) @ reactivity.esm-bundler.js:298
setUser @ App.store.js:21
(anonymous) @ vuex.esm-browser.js:808
(anonymous) @ vuex.esm-browser.js:438
(anonymous) @ vuex.esm-browser.js:437
k._withCommit @ vuex.esm-browser.js:596
k.commit @ vuex.esm-browser.js:436
commit @ vuex.esm-browser.js:376
(anonymous) @ App.vue:37
Promise.then (async)
beforeMount @ App.vue:31
Pe @ runtime-core.esm-bundler.js:154
Ie @ runtime-core.esm-bundler.js:163
t.__weh.t.__weh @ runtime-core.esm-bundler.js:2908
ne @ shared.esm-bundler.js:470
(anonymous) @ runtime-core.esm-bundler.js:5144
n @ reactivity.esm-bundler.js:42
c @ reactivity.esm-bundler.js:17
H @ runtime-core.esm-bundler.js:5137
P @ runtime-core.esm-bundler.js:5096
R @ runtime-core.esm-bundler.js:5054
w @ runtime-core.esm-bundler.js:4660
Z @ runtime-core.esm-bundler.js:5774
mount @ runtime-core.esm-bundler.js:4070
Wo.t.mount @ runtime-dom.esm-bundler.js:1288
cd49 @ main.ts:69
r @ bootstrap:89
0 @ app.d6f298cf.js:1
r @ bootstrap:89
n @ bootstrap:45
(anonymous) @ bootstrap:267
(anonymous) @ app.d6f298cf.js:1
:8080/knowage-vue/users-management:1 [DOM] Input elements should have autocomplete attributes (suggested: "new-password"): (More info: https://goo.gl/9p2vKq) <input class=​"p-inputtext p-component p-inputtext p-component kn-material-input" id=​"password" type=​"password" modelmodifiers=​"[object Object]​">​
:8080/knowage-vue/users-management:1 [DOM] Input elements should have autocomplete attributes (suggested: "new-password"): (More info: https://goo.gl/9p2vKq) <input class=​"p-inputtext p-component p-inputtext p-component kn-material-input" id=​"passwordConfirm" type=​"password" modelmodifiers=​"[object Object]​">​
runtime-core.esm-bundler.js:225 SyntaxError: 15
    at i (message-compiler.esm-bundler.js:32)
    at et (vue-i18n.esm-bundler.js:66)
    at Object.t (vue-i18n.esm-bundler.js:864)
    at Proxy.$t (vue-i18n.esm-bundler.js:1744)
    at Proxy.error (App.vue:148)
    at Pe (runtime-core.esm-bundler.js:154)
    at Ie (runtime-core.esm-bundler.js:163)
    at Array.b (runtime-core.esm-bundler.js:2032)
    at st (runtime-core.esm-bundler.js:329)
    at ct (runtime-core.esm-bundler.js:370)
Ne @ runtime-core.esm-bundler.js:225
He @ runtime-core.esm-bundler.js:203
Pe @ runtime-core.esm-bundler.js:157
Ie @ runtime-core.esm-bundler.js:163
b @ runtime-core.esm-bundler.js:2032
st @ runtime-core.esm-bundler.js:329
ct @ runtime-core.esm-bundler.js:370
Promise.then (async)
nt @ runtime-core.esm-bundler.js:286
it @ runtime-core.esm-bundler.js:308
ot @ runtime-core.esm-bundler.js:311
Ct.y @ runtime-core.esm-bundler.js:2060
p @ reactivity.esm-bundler.js:183
w @ reactivity.esm-bundler.js:189
scheduler @ reactivity.esm-bundler.js:854
p @ reactivity.esm-bundler.js:183
w @ reactivity.esm-bundler.js:189
(anonymous) @ reactivity.esm-bundler.js:298
setError @ App.store.js:24
(anonymous) @ vuex.esm-browser.js:808
(anonymous) @ vuex.esm-browser.js:438
(anonymous) @ vuex.esm-browser.js:437
k._withCommit @ vuex.esm-browser.js:596
k.commit @ vuex.esm-browser.js:436
commit @ vuex.esm-browser.js:376
(anonymous) @ UsersManagement.vue?469e:150
Promise.catch (async)
(anonymous) @ UsersManagement.vue?469e:149
c @ runtime.js:63
(anonymous) @ runtime.js:293
(anonymous) @ runtime.js:118
r @ asyncToGenerator.js:3
s @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
saveUser @ UsersManagement.vue?469e:129
Pe @ runtime-core.esm-bundler.js:154
Ie @ runtime-core.esm-bundler.js:163
n @ runtime-dom.esm-bundler.js:336

1 Answer

0 votes
 
Best answer

Hello,
from the logs I can see that there is a double slash in the URL restful-services//2.0/users
so this may be the reason why the resource cannot be found.

I also see that you are using the 8.1 version, which has not been released yet, therefore i suggest you to use a stable version, to avoid these kind of issues.

Best regards,
Marco

by (9.3k points)
selected by
...