Hola comunidad,
Soy nuevo en Bonitasoft y se me esta presentando este error al momento de intentar desplegar "Not Found (404) - The server has not found anything matching the request URI". Tambien cuando intento abrir los formularios me genera un error 404 - No se puede encontrar esta página (localhost).
Gracias de antemano.
Hola Armando,
Disculpa, pero en tu enunciado no queda muy claro si el problema sucede al levantar el servidor Bonita o por contra al intentar despleguar un proceso en el portal (¿o desde el Studio?).
Para poder ayudarte sería necesaria más información. Por ejemplo:
- Q-1. ¿Podrías especificar más en detalle a qué te refieres con el "intentar desplegar"? ¿Qué etapas has seguido para llegar a este punto?
- Q-2. ¿Se lanza al menos el Tomcat correctamente? Es decir, ¿te puedes conectar a: http://<hostname>:8080/ ?
- Q-3. ¿Te puedes conectar al portal bonita (http://<hostname>:8080/bonita/) correctamente?
- Q-4. ¿Tienes el problema con un proceso en particular, o con todos los procesos?
- Q-5. Puedes compartir los ficheros de log:
- <TOMCAT_HOME>/server/logs/bonita.yyyy-mm-dd.log
- <TOMCAT_hOME>/server/logs/catalina.yyyy-mm-dd.log
- (si estás desplegando el proceso desde un Studio): <STUDIO_HOME>/workspace/.metadata/.log
- Q-6. Si lanzas la herramienta de inspección del navegador (F12) sobre una de las páginas que te da 404, vas a la pestaña de Red, y recargas la página,
- ¿puedes guardar la serie de llamadas de red capturadas en un fichero .HAR y compartirlo también?
- si cambias a la pestaña 'Consola', ¿se ha capturado algún mensaje de error?
Con la información adicional será más fácil intentar encontrar la causa de tu problema.
Un saludo,
Unai
Hola Unai,
El problema ocurre al intentar desplegar un proceso desde studio. si yo intento abrir abrir el portal lo hace sin problemas desde el puerto 8080. Pero si presiono click en el boton Desplegar de studio me genera el error, al igual que al intentar abrir un formulario UI Designer, la URL apunta a otro puerto (Ej: http://localhost:50243/bonita/#/es/pages/formCot). Esto creo que responde tu primera pregunta.
Para la segunda y tercera pregunta tomcat se lanza correctamente, yo puede abrir el portal http://localhost:8080/bonita/portal/.
En cuanto a la cuarta pregunta, ocurre para todos los procesos.
bonita.2020-07-29.log
29-Jul-2020 07:00:36.414 INFORMACIÓN [http-nio-8080-exec-10] org.apache.catalina.core.ApplicationContext.log RestletServlet: [Restlet] ServerServlet: component class is null
29-Jul-2020 07:00:36.775 INFORMACIÓN [http-nio-8080-exec-9] org.apache.catalina.core.ApplicationContext.log RestletServlet: [Restlet] Attaching application: org.bonitasoft.web.rest.server.BonitaRestletApplication@45df2445 to URI: /bonita/API
29-Jul-2020 07:00:36.787 INFORMACIÓN [http-nio-8080-exec-9] org.restlet.Application.start Starting org.bonitasoft.web.rest.server.BonitaRestletApplication application
29-Jul-2020 07:00:38.610 INFORMACIÓN [http-nio-8080-exec-3] org.bonitasoft.console.common.server.page.PageServlet.renderThemeResource Unable tor retrieve app parameter for resource theme.css. Request referer is missing an an app parameter. Forwarding to the portal theme.
29-Jul-2020 07:00:38.913 GRAVE [http-nio-8080-exec-9] org.restlet.resource.ServerResource.doCatch Exception or error caught in server resource
org.bonitasoft.engine.command.CommandExecutionException: USERNAME=walter.bates | org.bonitasoft.engine.command.SCommandExecutionException: org.bonitasoft.engine.business.data.SBusinessDataRepositoryException: unable to get query query1 for business object com.company.model.ProductosCotizacion
at org.bonitasoft.engine.api.impl.CommandAPIImpl.executeCommand(CommandAPIImpl.java:214)
at org.bonitasoft.engine.api.impl.CommandAPIImpl.execute(CommandAPIImpl.java:179)
at org.bonitasoft.engine.api.impl.CommandAPIImpl.execute(CommandAPIImpl.java:166)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:427)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.lambda$invokeAPIInTransaction$1(ServerAPIImpl.java:395)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:286)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPIInTransaction(ServerAPIImpl.java:391)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:265)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:121)
at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:79)
at com.sun.proxy.$Proxy126.execute(Unknown Source)
at org.bonitasoft.web.rest.server.api.bdm.BusinessDataQueryResource.getProcessBusinessDataQuery(BusinessDataQueryResource.java:79)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:511)
at org.restlet.resource.ServerResource.get(ServerResource.java:692)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:439)
at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:666)
at org.restlet.resource.ServerResource.handle(ServerResource.java:1022)
at org.restlet.resource.Finder.handle(Finder.java:236)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Router.doHandle(Router.java:422)
at org.restlet.routing.Router.handle(Router.java:641)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:140)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:77)
at org.restlet.Application.handle(Application.java:385)
at org.bonitasoft.web.rest.server.BonitaRestletApplication.handle(BonitaRestletApplication.java:191)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Router.doHandle(Router.java:422)
at org.restlet.routing.Router.handle(Router.java:641)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Router.doHandle(Router.java:422)
at org.restlet.routing.Router.handle(Router.java:641)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)
at org.restlet.Component.handle(Component.java:408)
at org.restlet.Server.handle(Server.java:507)
at org.restlet.engine.connector.ServerHelper.handle(ServerHelper.java:63)
at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:143)
at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.bonitasoft.console.common.server.login.filter.AbstractAuthorizationFilter.doFilter(AbstractAuthorizationFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.bonitasoft.console.common.server.filter.NoCacheFilter.doFilter(NoCacheFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:470)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:316)
at org.bonitasoft.console.common.server.page.CustomPageRequestModifier.forwardIfRequestIsAuthorized(CustomPageRequestModifier.java:61)
at org.bonitasoft.console.common.server.page.PageServlet.service(PageServlet.java:92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.bonitasoft.console.common.server.filter.CacheFilter.proceedWithFiltering(CacheFilter.java:74)
at org.bonitasoft.console.common.server.filter.ExcludingPatternFilter.doFilter(ExcludingPatternFilter.java:37)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.bonitasoft.console.common.server.filter.ExcludingPatternFilter.excludePatternFiltering(ExcludingPatternFilter.java:42)
at org.bonitasoft.console.common.server.filter.ExcludingPatternFilter.doFilter(ExcludingPatternFilter.java:35)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.bonitasoft.console.common.server.login.filter.AbstractAuthorizationFilter.doFilter(AbstractAuthorizationFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.bonitasoft.engine.command.SCommandExecutionException: org.bonitasoft.engine.business.data.SBusinessDataRepositoryException: unable to get query query1 for business object com.company.model.ProductosCotizacion
at org.bonitasoft.engine.command.GetBusinessDataByQueryCommand.execute(GetBusinessDataByQueryCommand.java:53)
at org.bonitasoft.engine.command.GetBusinessDataByQueryCommand.execute(GetBusinessDataByQueryCommand.java:27)
at org.bonitasoft.engine.api.impl.CommandAPIImpl.executeCommand(CommandAPIImpl.java:212)
... 121 more
Caused by: org.bonitasoft.engine.business.data.SBusinessDataRepositoryException: unable to get query query1 for business object com.company.model.ProductosCotizacion
at org.bonitasoft.engine.business.data.impl.BusinessDataServiceImpl.getQueryDefinition(BusinessDataServiceImpl.java:430)
at org.bonitasoft.engine.business.data.impl.BusinessDataServiceImpl.getJsonQueryEntities(BusinessDataServiceImpl.java:325)
at org.bonitasoft.engine.business.data.impl.BusinessDataServiceImpl.getJsonQueryEntities(BusinessDataServiceImpl.java:59)
at org.bonitasoft.engine.command.GetBusinessDataByQueryCommand.execute(GetBusinessDataByQueryCommand.java:49)
... 123 more
29-Jul-2020 07:00:39.089 INFORMACIÓN [http-nio-8080-exec-1] org.bonitasoft.console.common.server.page.PageServlet.renderThemeResource Unable tor retrieve app parameter for resource fonts/glyphicons-halflings-regular.woff2. Request referer is missing an an app parameter. Forwarding to the portal theme.
tomcat.log
2020-07-29 07:00:36.414 -0500 INFORMACIÓN: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] RestletServlet: [Restlet] ServerServlet: component class is null
2020-07-29 07:00:36.775 -0500 INFORMACIÓN: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] RestletServlet: [Restlet] Attaching application: org.bonitasoft.web.rest.server.BonitaRestletApplication@45df2445 to URI: /bonita/API
2020-07-29 07:00:36.787 -0500 INFORMACIÓN: org.restlet.Component.BonitaRestletApplication Starting org.bonitasoft.web.rest.server.BonitaRestletApplication application
2020-07-29 07:00:38.610 -0500 INFORMACIÓN: org.bonitasoft.console.common.server.page.PageServlet Unable tor retrieve app parameter for resource theme.css. Request referer is missing an an app parameter. Forwarding to the portal theme.
2020-07-29 07:00:38.913 -0500 GRAVE: org.restlet.Component.BonitaRestletApplication Exception or error caught in server resource
org.bonitasoft.engine.command.CommandExecutionException: USERNAME=walter.bates | org.bonitasoft.engine.command.SCommandExecutionException: org.bonitasoft.engine.business.data.SBusinessDataRepositoryException: unable to get query query1 for business object com.company.model.ProductosCotizacion
at org.bonitasoft.engine.api.impl.CommandAPIImpl.executeCommand(CommandAPIImpl.java:214)
at org.bonitasoft.engine.api.impl.CommandAPIImpl.execute(CommandAPIImpl.java:179)
at org.bonitasoft.engine.api.impl.CommandAPIImpl.execute(CommandAPIImpl.java:166)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:427)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.lambda$invokeAPIInTransaction$1(ServerAPIImpl.java:395)
at org.bonitasoft.engine.transaction.JTATransactionServiceImpl.executeInTransaction(JTATransactionServiceImpl.java:286)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPIInTransaction(ServerAPIImpl.java:391)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeAPI(ServerAPIImpl.java:265)
at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:121)
at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:79)
at com.sun.proxy.$Proxy126.execute(Unknown Source)
at org.bonitasoft.web.rest.server.api.bdm.BusinessDataQueryResource.getProcessBusinessDataQuery(BusinessDataQueryResource.java:79)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:511)
at org.restlet.resource.ServerResource.get(ServerResource.java:692)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:439)
at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:666)
at org.restlet.resource.ServerResource.handle(ServerResource.java:1022)
at org.restlet.resource.Finder.handle(Finder.java:236)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Router.doHandle(Router.java:422)
at org.restlet.routing.Router.handle(Router.java:641)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:140)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:77)
at org.restlet.Application.handle(Application.java:385)
at org.bonitasoft.web.rest.server.BonitaRestletApplication.handle(BonitaRestletApplication.java:191)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Router.doHandle(Router.java:422)
at org.restlet.routing.Router.handle(Router.java:641)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.routing.Router.doHandle(Router.java:422)
at org.restlet.routing.Router.handle(Router.java:641)
at org.restlet.routing.Filter.doHandle(Filter.java:150)
at org.restlet.routing.Filter.handle(Filter.java:197)
at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)
at org.restlet.Component.handle(Component.java:408)
at org.restlet.Server.handle(Server.java:507)
at org.restlet.engine.connector.ServerHelper.handle(ServerHelper.java:63)
at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:143)
at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.bonitasoft.console.common.server.login.filter.AbstractAuthorizationFilter.doFilter(AbstractAuthorizationFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.bonitasoft.console.common.server.filter.NoCacheFilter.doFilter(NoCacheFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:470)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:395)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:316)
at org.bonitasoft.console.common.server.page.CustomPageRequestModifier.forwardIfRequestIsAuthorized(CustomPageRequestModifier.java:61)
at org.bonitasoft.console.common.server.page.PageServlet.service(PageServlet.java:92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.bonitasoft.console.common.server.filter.CacheFilter.proceedWithFiltering(CacheFilter.java:74)
at org.bonitasoft.console.common.server.filter.ExcludingPatternFilter.doFilter(ExcludingPatternFilter.java:37)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.bonitasoft.console.common.server.filter.ExcludingPatternFilter.excludePatternFiltering(ExcludingPatternFilter.java:42)
at org.bonitasoft.console.common.server.filter.ExcludingPatternFilter.doFilter(ExcludingPatternFilter.java:35)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.bonitasoft.console.common.server.login.filter.AbstractAuthorizationFilter.doFilter(AbstractAuthorizationFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.bonitasoft.engine.command.SCommandExecutionException: org.bonitasoft.engine.business.data.SBusinessDataRepositoryException: unable to get query query1 for business object com.company.model.ProductosCotizacion
at org.bonitasoft.engine.command.GetBusinessDataByQueryCommand.execute(GetBusinessDataByQueryCommand.java:53)
at org.bonitasoft.engine.command.GetBusinessDataByQueryCommand.execute(GetBusinessDataByQueryCommand.java:27)
at org.bonitasoft.engine.api.impl.CommandAPIImpl.executeCommand(CommandAPIImpl.java:212)
... 121 more
Caused by: org.bonitasoft.engine.business.data.SBusinessDataRepositoryException: unable to get query query1 for business object com.company.model.ProductosCotizacion
at org.bonitasoft.engine.business.data.impl.BusinessDataServiceImpl.getQueryDefinition(BusinessDataServiceImpl.java:430)
at org.bonitasoft.engine.business.data.impl.BusinessDataServiceImpl.getJsonQueryEntities(BusinessDataServiceImpl.java:325)
at org.bonitasoft.engine.business.data.impl.BusinessDataServiceImpl.getJsonQueryEntities(BusinessDataServiceImpl.java:59)
at org.bonitasoft.engine.command.GetBusinessDataByQueryCommand.execute(GetBusinessDataByQueryCommand.java:49)
... 123 more
2020-07-29 07:00:39.089 -0500 INFORMACIÓN: org.bonitasoft.console.common.server.page.PageServlet Unable tor retrieve app parameter for resource fonts/glyphicons-halflings-regular.woff2. Request referer is missing an an app parameter. Forwarding to the portal theme.
.log
!ENTRY org.bonitasoft.studio.engine 1 0 2020-07-29 06:55:59.813
!MESSAGE Starting tomcat...
!ENTRY org.bonitasoft.studio.engine 1 0 2020-07-29 06:55:59.819
!MESSAGE Starting studio watchdog on 6969
!ENTRY org.bonitasoft.studio.common 1 0 2020-07-29 06:55:59.979
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP
!ENTRY org.bonitasoft.studio.engine 1 0 2020-07-29 06:56:42.066
!MESSAGE Tomcat server started.
!ENTRY org.bonitasoft.studio.businessobject 1 0 2020-07-29 06:56:42.688
!MESSAGE Desplegando Modelo de Datos de Negocio ...
!ENTRY org.bonitasoft.studio.connectors.model 1 0 2020-07-29 07:03:49.004
!MESSAGE Loading provided connector definitions...
!ENTRY org.bonitasoft.studio.connectors.model 1 0 2020-07-29 07:03:49.014
!MESSAGE Loading provided connector definitions...
!ENTRY org.bonitasoft.studio.common 4 0 2020-07-29 07:03:53.472
!MESSAGE
!STACK 0
java.lang.reflect.InvocationTargetException: Failed to post on http://localhost:50243/bonita/rest/indexing
at org.bonitasoft.studio.designer.core.operation.IndexingUIDOperation.run(IndexingUIDOperation.java:68)
at org.bonitasoft.studio.application.handler.DeployArtifactsHandler.lambda$11(DeployArtifactsHandler.java:234)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.eclipse.emf.edapt.migration.MigrationException: Not Found (404) - The server has not found anything matching the request URI
... 3 more
Caused by: Not Found (404) - The server has not found anything matching the request URI
at org.restlet.resource.ClientResource.doError(ClientResource.java:590)
at org.restlet.resource.ClientResource.handleInbound(ClientResource.java:1153)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1048)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1023)
at org.restlet.resource.ClientResource.post(ClientResource.java:1485)
at org.bonitasoft.studio.designer.core.operation.IndexingUIDOperation.run(IndexingUIDOperation.java:66)
... 2 more
Root exception:
org.eclipse.emf.edapt.migration.MigrationException: Not Found (404) - The server has not found anything matching the request URI
at org.bonitasoft.studio.designer.core.operation.IndexingUIDOperation.run(IndexingUIDOperation.java:68)
at org.bonitasoft.studio.application.handler.DeployArtifactsHandler.lambda$11(DeployArtifactsHandler.java:234)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: Not Found (404) - The server has not found anything matching the request URI
at org.restlet.resource.ClientResource.doError(ClientResource.java:590)
at org.restlet.resource.ClientResource.handleInbound(ClientResource.java:1153)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1048)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1023)
at org.restlet.resource.ClientResource.post(ClientResource.java:1485)
at org.bonitasoft.studio.designer.core.operation.IndexingUIDOperation.run(IndexingUIDOperation.java:66)
... 2 more
!ENTRY org.bonitasoft.studio.common 4 0 2020-07-29 07:12:03.073
!MESSAGE
!STACK 0
java.lang.reflect.InvocationTargetException: Failed to post on http://localhost:50243/bonita/rest/indexing
at org.bonitasoft.studio.designer.core.operation.IndexingUIDOperation.run(IndexingUIDOperation.java:68)
at org.bonitasoft.studio.application.handler.DeployArtifactsHandler.lambda$11(DeployArtifactsHandler.java:234)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: org.eclipse.emf.edapt.migration.MigrationException: Not Found (404) - The server has not found anything matching the request URI
... 3 more
Caused by: Not Found (404) - The server has not found anything matching the request URI
at org.restlet.resource.ClientResource.doError(ClientResource.java:590)
at org.restlet.resource.ClientResource.handleInbound(ClientResource.java:1153)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1048)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1023)
at org.restlet.resource.ClientResource.post(ClientResource.java:1485)
at org.bonitasoft.studio.designer.core.operation.IndexingUIDOperation.run(IndexingUIDOperation.java:66)
... 2 more
Root exception:
org.eclipse.emf.edapt.migration.MigrationException: Not Found (404) - The server has not found anything matching the request URI
at org.bonitasoft.studio.designer.core.operation.IndexingUIDOperation.run(IndexingUIDOperation.java:68)
at org.bonitasoft.studio.application.handler.DeployArtifactsHandler.lambda$11(DeployArtifactsHandler.java:234)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: Not Found (404) - The server has not found anything matching the request URI
at org.restlet.resource.ClientResource.doError(ClientResource.java:590)
at org.restlet.resource.ClientResource.handleInbound(ClientResource.java:1153)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1048)
at org.restlet.resource.ClientResource.handle(ClientResource.java:1023)
at org.restlet.resource.ClientResource.post(ClientResource.java:1485)
at org.bonitasoft.studio.designer.core.operation.IndexingUIDOperation.run(IndexingUIDOperation.java:66)
... 2 more
Hola Alejandro,
Gracias por tus respuestas.
Para tu información, el Studio incluye 2 servidores Tomcat:
- un primer Tomcat para correr el portal y el motor Bonita (el puerto es aleatorio, pero se puede forzar desde el Studio, yendo a: 'Edit > Preferences > Deployment > Server settings : Port')
- un segundo Tomcat para correr el UI Designer (éste es el Tomcat que estaba corriendo en el puerto 50243)
Al parecer ambos puertos han cambiado pero por alguna razón algunas partes del Studio no se han actualizado acordemente.
- Q-7. Cuando haces click en el botón "Desplegar", ¿cuál es la URL que falla con 404? ¿cuál es el puerto?
- Q-8. Cuando haces click en el botón "Portal" del Studio, ¿tienes también un 404?
- Q-9. ¿Has probado a relanzar el Studio?
- Q-10. ¿Tienes algún otro Studio o Servidor Bonita corriendo en la misma máquina?
Gracias de nuevo,
Unai
Hola Unai,
Gracias por la ayuda que me estas brindando,
Desde el boton "Desplegar", entenderia que es el puerto 8080. Lo raro, es que desde el boton "Portal" no se genera el error y me abre bien el sitio.
En cuanto a la pregunta 9, tengo que reinstalar studio para solucionar el problema pero solo funciona hasta que apago o reinicio el PC.
No tengo otro studio o servidor Bonita corriendo en la maquina. Tengo un servidor de Alfresco, pero configurado en el puerto 8181 y de momento con los servicios abajo.
Hola de nuevo, Alejandro,
Lo que cuentas es realmente extraño... El hecho de que una vez instalado, el Studio "solo funciona hasta que apago o reinicio el PC", me hace pensar que durante el inicio de tu PC, algo (¿un anti-virus?) está alterando algún fichero del Studio.
- Q-11. ¿Tienes un anti-virus instalado? De ser así, puedes echarle un vistazo a este artículo que explica las exclusioines a aplicar al anti-virus para asegurarte que no perturba a Bonita: Required exclusions for Antivirus on Windows
Un saludo,
Unai