Why is access denied when i try to preview a form?

1
0
-1

Hello, I'm new to Bonita BPM. I tried to follow this German video: http://de.bonitasoft.com/resources/webinar/entdecken-sie-bonita-bpm-6

Every time I try to preview the form I get this German message in my browser: "Zugriff verweigert: Sie sind nicht zur Anzeige dieser Seite berechtigt" In English something like: "Access denied: You are not allowed to view this page"

the bonita.log shows this message:

2014-08-01 10:17:29 org.bonitasoft.engine.api.impl.ProcessAPIImpl
Information: THREAD_ID=75 | HOSTNAME=retromax | TENANT_ID=1 | The user <install> has installed process <MeineRechnungValidierung preview> in version <1.0> with id <6634245734597015537>
2014-08-01 10:17:29 org.bonitasoft.engine.api.impl.transaction.process.EnableProcess
Information: THREAD_ID=75 | HOSTNAME=retromax | TENANT_ID=1 | The user <install> has enabled process <MeineRechnungValidierung preview> in version <1.0> with id <6634245734597015537>
2014-08-01 10:17:30 org.bonitasoft.forms.server.provider.impl.FormServiceProviderImpl
Schwerwiegend: Username<studio> Form<MeineRechnungValidierung preview--1.0$entry> Process definition not found USERNAME=studio | org.bonitasoft.engine.core.process.definition.exception.SProcessDefinitionNotFoundException: PROCESS_DEFINITION_ID=4736634443226941224 | Unable to find the process definition deployment info.
java.lang.Exception
        at org.bonitasoft.forms.server.util.FormLogger.log(FormLogger.java:47)
        at org.bonitasoft.forms.server.util.FormLogger.logWithoutContext(FormLogger.java:41)
        at org.bonitasoft.forms.server.util.FormLogger.log(FormLogger.java:24)
        at org.bonitasoft.forms.server.provider.impl.FormServiceProviderImpl.canUserInstantiateProcess(FormServiceProviderImpl.java:609)
        at org.bonitasoft.forms.server.provider.impl.FormServiceProviderImpl.isAllowed(FormServiceProviderImpl.java:417)
        at org.bonitasoft.forms.server.FormsServlet.getFormFirstPage(FormsServlet.java:219)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
        at org.bonitasoft.forms.server.FormsServlet.processCall(FormsServlet.java:138)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.bonitasoft.console.common.server.login.filter.NoCacheFilter.doFilter(NoCacheFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.bonitasoft.console.security.SessionFixationValve.invoke(SessionFixationValve.java:77)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:744)

Is there a simple solution to this problem?

1 answer

1
+1
-1
This one is the BEST answer!

Hallo, are you using ACME organization? It seems like you are using a user named "studio", is it right? Make sure to have a mapping to an existing user defined in the configuration for your actor "Employee" and that a valid account is used for authentication (last section in the process configuration). Hope this helps, Haris

Notifications