Hi
I switched to Bonita 2021.2 recently but sometime bdm didn't deployed.
I do all these steps but they didn't fix the problem:
- redeploy bdm
- clean bdm
- restart Bonita
- restart windows
I have encountered this error before and had to reinstall Bonita!
Is there any solution to this error?
I checked bdm and bom.xml, everything are apparently right.
\.metadata\.log:
!ENTRY org.bonitasoft.studio.businessobject 4 0 2022-05-22 10:37:38.880
!MESSAGE Failed to deploy BDM. Check Studio logs for more information.
!STACK 0
java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy82.login(Unknown Source)
at org.bonitasoft.studio.engine.BOSEngineManager.loginTenant(BOSEngineManager.java:309)
at org.bonitasoft.studio.engine.BOSEngineManager.loginDefaultTenant(BOSEngineManager.java:298)
at org.bonitasoft.studio.businessobject.core.operation.DeployBDMOperation.login(DeployBDMOperation.java:123)
at org.bonitasoft.studio.businessobject.core.operation.DeployBDMOperation.run(DeployBDMOperation.java:86)
at org.bonitasoft.studio.businessobject.core.operation.DeployBDMJob.run(DeployBDMJob.java:43)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.io.IOException: Error while executing POST request (http code: 404) <POST http://localhost:8080/bonita/serverAPI/org.bonitasoft.engine.api.LoginAPI/login HTTP/1.1>
at org.bonitasoft.engine.api.HTTPServerAPI.invokeMethod(HTTPServerAPI.java:144)
at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:79)
at com.sun.proxy.$Proxy82.login(Unknown Source)
at org.bonitasoft.studio.engine.BOSEngineManager.loginTenant(BOSEngineManager.java:309)
at org.bonitasoft.studio.engine.BOSEngineManager.loginDefaultTenant(BOSEngineManager.java:298)
at org.bonitasoft.studio.businessobject.core.operation.DeployBDMOperation.login(DeployBDMOperation.java:123)
at org.bonitasoft.studio.businessobject.core.operation.DeployBDMOperation.run(DeployBDMOperation.java:86)
at org.bonitasoft.studio.businessobject.core.operation.DeployBDMJob.run(DeployBDMJob.java:43)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
at < ========== Beginning of the server stack trace ========== >. ( )
at org.bonitasoft.engine.api.HTTPServerAPI.executeHttpPost(HTTPServerAPI.java:177)
at org.bonitasoft.engine.api.HTTPServerAPI.invokeMethod(HTTPServerAPI.java:139)
at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:79)
... 7 more
Caused by: org.apache.http.client.HttpResponseException: status code: 404
at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:70)
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:66)
at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:52)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:223)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140)
at org.bonitasoft.engine.api.HTTPServerAPI.executeHttpPost(HTTPServerAPI.java:169)
... 9 more
I switched to anther project and its bdm deployed correctly but this project didn't!
Anyone have any idea?
I'm using Bonita community edition 2021.2.