We're updating the issue view to help you get more done. 

Can't create a new Data Business Model

Description

I'cant create a new one Data Business Model. Always the same mistakes appear.

How can I solve this?

Thanks!!

These are the porblems:

Ha ocurrido un error al desplegar el Modelo de Datos de Negocio en el engine
org.bonitasoft.engine.api.HTTPServerAPI.invokeMethod(HTTPServerAPI.java:143)
org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:86)
com.sun.proxy.$Proxy43.installBusinessDataModel(Unknown Source)
org.bonitasoft.studio.businessobject.core.operation.DeployBDMOperation.doDeployBDM(DeployBDMOperation.java:135)
org.bonitasoft.studio.businessobject.core.operation.DeployBDMOperation.run(DeployBDMOperation.java:88)
org.bonitasoft.studio.businessobject.ui.wizard.ManageBusinessDataModelWizard$2.run(ManageBusinessDataModelWizard.java:188)
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
< ========== Beginning of the server stack trace ========== >. ( )
org.bonitasoft.engine.api.impl.TenantAdministrationAPIImpl.installBusinessDataModel(TenantAdministrationAPIImpl.java:248)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:462)
org.bonitasoft.engine.api.impl.ServerAPIImpl$2.call(ServerAPIImpl.java:431)
org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:274)
org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPIInTransaction(ServerAPIImpl.java:438)
org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:272)
org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:124)
org.bonitasoft.engine.api.internal.servlet.HttpAPIServletCall.doPost(HttpAPIServletCall.java:112)
org.bonitasoft.engine.api.internal.servlet.HttpAPIServlet.doPost(HttpAPIServlet.java:35)
javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)
Caused by: org.bonitasoft.engine.business.data.SBusinessDataRepositoryDeploymentException.: java.io.IOException: Unable to delete directory C:\BonitaBPMCommunity-7.5.2\workspace\tomcat\server\temp\bdm4451959193156733340.tmp\org\bonitasoft\engine\bdm\dao\client\resources\utils. ( )
org.bonitasoft.engine.bdm.AbstractBDMJarBuilder.build(AbstractBDMJarBuilder.java:66)
org.bonitasoft.engine.business.data.impl.BusinessDataModelRepositoryImpl.generateClientBDMZip(BusinessDataModelRepositoryImpl.java:205)
org.bonitasoft.engine.business.data.impl.BusinessDataModelRepositoryImpl.createAndDeployClientBDMZip(BusinessDataModelRepositoryImpl.java:172)
org.bonitasoft.engine.business.data.impl.BusinessDataModelRepositoryImpl.install(BusinessDataModelRepositoryImpl.java:146)
org.bonitasoft.engine.api.impl.TenantAdministrationAPIImpl.installBusinessDataModel(TenantAdministrationAPIImpl.java:244)
... 39 more. ( )
Caused by: java.io.IOException.: Unable to delete directory C:\BonitaBPMCommunity-7.5.2\workspace\tomcat\server\temp\bdm4451959193156733340.tmp\org\bonitasoft\engine\bdm\dao\client\resources\utils. ( )
org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1581)
org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2372)
org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1679)
org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1575)
org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2372)
org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1679)
org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1575)
org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2372)
org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1679)
org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1575)
org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2372)
org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1679)
org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1575)
org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2372)
org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1679)
org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1575)
org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2372)
org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1679)
org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1575)
org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2372)
org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1679)
org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1575)
org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2372)
org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1679)
org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1575)
org.bonitasoft.engine.bdm.AbstractBDMJarBuilder.build(AbstractBDMJarBuilder.java:63)
... 43 more. ( )

Environment

None

Steps to reproduce

None

Workaround

None

External Link

None

Status

Assignee

Lionel Palacin

Reporter

Joao Sequeira

Reference

None

Components

Affects versions

7.5.1