Description of problem: "formUrl" returned by "showTaskForm" is returning a blank page when hitting it from browser. Version-Release number of selected component (if applicable): Tested on BPM Suite 6.1.0 and with Update 2. How reproducible: Always Steps to Reproduce: 1. Create a process with a task form and generate the forms; 2. Use rest call to get the task form as follows: .../business-central/rest/task/{TASK_ID}/showTaskForm 3. It will return the following output: { "status": "SUCCESS", "url": "/business-central/rest/task/50/showTaskForm", "formUrl": "http://localhost:8080/business-central/kie-wb.html?perspective=FormDisplayPerspective&standalone=true&opener=mws-bpm2.phx2.llnw.net:8080&taskId=50" } 4. Go to "formUrl" returned in the browser 5. prompts for login 6. see a blank page Actual results: blank page Expected results: it should return the task form Additional info:
Any updates?
Hi Amana sorry for the delay, I arrived yesterday from PTO and I'm still starting catching up all the issues I have on my desk... This is an authentication error between the two apps, if you enable SSO between both apps it should work fine. Are both apps running on the same application server? what app server ?
Actually I am hitting that url from the browser... on the same server and app server (EAP 6.4). Please let me know the steps to test it.
Amana, just to make sure that we're not missing anything, could you fill in the browser, server and OS (both server and client) in the "Environment" field for the bug?
Done!
Hi Amana, I managed to make it work fine by configuring SSO on the EAP, to do that you should follow the next steps: 1.- adding the SSO valve on the business-central.war's jboss-web.xml: <valve> <class-name>org.apache.catalina.authenticator.SingleSignOn</class-name> </valve> 2.- check that SSO is enabled on the standalone.xml's default virtual-server, by default it is enabled and should and let ti like this. <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false"> <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/> <virtual-server name="default-host" enable-welcome-root="true"> <alias name="localhost"/> <sso/> </virtual-server> </subsystem> There are other options can be done at this level, but it works as it is with the default config. 3.- Make the client use Container Authentication. Regards, Pere
The bug is still in BPMS 6.2.0.ER3 due to "Can't lookup on specified data set: jbpmProcessInstances: org.dashbuilder.dataset.exception.DataSetLookupException: Can't lookup on specified data set: jbpmProcessInstances". Waiting for BPMS 6.2.0.ER4.
I can confirm that the task form is accessible via URL address in the REST response. Verified with 6.2.0.ER4.