Bonjour,
Je vous explique brièvement mon souci:
J’ai installé bonita bpm 7.5.2 sous windows 10 et j’utilise SQL server express 2012 comme base de données,
Tomcat comme serveur d’application.
Lorsque je tente de tester la connexion avec la base de données j’obtiens une exception:
java.lang.reflect.InvocationTargetException
org.bonitasoft.engine.exception.BonitaRuntimeException: USERNAME=install |
java.lang.NullPointerException*
En procédant de même avec le test du Modèle de données j’otiens alors le message d’erreur ci-dessous:
** Une erreur est survenue au déploiement du Modèle de Données Métier dans le moteur
org.bonitasoft.engine.api.HTTPServerAPI.invokeMethod(HTTPServerAPI.java:143)
org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:86)
com.sun.proxy.$Proxy45.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(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
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(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Unknown Source)
Caused by: org.bonitasoft.engine.business.data.SBusinessDataRepositoryDeploymentException.: org.bonitasoft.engine.recorder.SRecorderException: org.bonitasoft.engine.services.SPersistenceException: Problem while saving entity: org.bonitasoft.engine.resources.STenantResource@6dafb416 with id: 0 ( )
org.bonitasoft.engine.business.data.impl.BusinessDataModelRepositoryImpl.createAndDeployClientBDMZip(BusinessDataModelRepositoryImpl.java:174)
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: org.bonitasoft.engine.recorder.SRecorderException.: org.bonitasoft.engine.services.SPersistenceException: Problem while saving entity: org.bonitasoft.engine.resources.STenantResource@6dafb416 with id: 0 ( )
org.bonitasoft.engine.recorder.impl.RecorderImpl.recordInsert(RecorderImpl.java:69)
org.bonitasoft.engine.resources.TenantResourcesServiceImpl.add(TenantResourcesServiceImpl.java:52)
org.bonitasoft.engine.business.data.impl.BusinessDataModelRepositoryImpl.createAndDeployClientBDMZip(BusinessDataModelRepositoryImpl.java:172)
… 41 more. ( )
Caused by: org.bonitasoft.engine.services.SPersistenceException.: Problem while saving entity: org.bonitasoft.engine.resources.STenantResource@6dafb416 with id: 0 ( )
org.bonitasoft.engine.persistence.AbstractDBPersistenceService.setId(AbstractDBPersistenceService.java:210)
org.bonitasoft.engine.persistence.AbstractHibernatePersistenceService.setId(AbstractHibernatePersistenceService.java:395)
org.bonitasoft.engine.persistence.AbstractHibernatePersistenceService.insert(AbstractHibernatePersistenceService.java:309)
org.bonitasoft.engine.persistence.TenantHibernatePersistenceService.insert(TenantHibernatePersistenceService.java:134)
org.bonitasoft.engine.recorder.impl.RecorderImpl.recordInsert(RecorderImpl.java:62)
… 43 more. ( )
Caused by: org.bonitasoft.engine.commons.exceptions.SObjectNotFoundException.: Found no row for tenantId:1 id: 10501 ( )
org.bonitasoft.engine.sequence.TenantSequenceManagerImpl.getNextId(TenantSequenceManagerImpl.java:234)
org.bonitasoft.engine.sequence.TenantSequenceManagerImpl.selectById(TenantSequenceManagerImpl.java:205)
org.bonitasoft.engine.sequence.TenantSequenceManagerImpl.setNewRange(TenantSequenceManagerImpl.java:132)
org.bonitasoft.engine.sequence.TenantSequenceManagerImpl.getNextId(TenantSequenceManagerImpl.java:104)
org.bonitasoft.engine.sequence.SequenceManagerImpl.getNextId(SequenceManagerImpl.java:81)
org.bonitasoft.engine.persistence.AbstractDBPersistenceService.setId(AbstractDBPersistenceService.java:207)
… 47 more. ( )
Votre aide serait la bienvenue…