282 / 5 000Hello, First of all thank you all for the work you do with Kogito. It's a great tool. After playing around with full stacks, I discovered the compact architecture. Is it a viable architecture in production? Thank you for your valuable help.
--
You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/kogito-development/fcc7b419-392a-4937-a7d5-d0869e51e3e4n%40googlegroups.com.
I followed the steps in the link you shared:
https://github.com/porcelli/jbpm-compact-architecture-example
In the section "Show active Hiring process instance at Kogito Management Console", I performed the following step and received a response containing the process ID:
I added the property quarkus.http.port=9058 in application.properties to resolve a port conflict with 8080.
pawan@XXXXXX:/mnt/c/Users/Pawan/Documents/pawan_projects/jbpm-compact-architecture-example-main$ curl -H "Content-Type: application/json" -H "Accept: application/json" -X POST http://localhost:9058/hiring -d '{"candidateData": { "name": "Jon", "lastName": "Snow", "email": "j...@snow.org", "experience": 5, "skills": ["Java", "Kogito", "Fencing"]}}'Response:
{"id":"5b584b3e-2f81-4e42-b63f-77d375445f4f","offer":{"category":"Senior Software Engineer","salary":40450}}However, I don't see the process instance in an active state in the Kogito Management Console, despite executing the full example.

Could you please assist me in resolving this issue?
Regards,
Pawan Saha
To view this discussion visit https://groups.google.com/d/msgid/kogito-development/4dc20095-7e36-4aef-9d25-22085141303dn%40googlegroups.com.
Hi Alex,
Thanks for the updates.
Findings:
When executed startServices.bat,
The Management Console is working fine now.
However, the Task Console is not populating data.
When executed startServices.sh,
The Management Console and Task Console are not populating data.
Regards,
Pawan
Hi Alex,
Thanks for the updates.
Findings:
When executed startServices.bat,
The Management Console is working fine now.
However, the Task Console is not populating data.
When executed startServices.sh,
The Management Console and Task Console are not populating data.
One more thing to mention (not sure if that's an issue or any wrong from my side.)
I can see the process diagram of the hiring flow that you created.

But when i created a new flow, I Don't see the process diagram, any suggestions please.

Regards,
Pawan
To view this discussion visit https://groups.google.com/d/msgid/kogito-development/379d0519-cc02-468b-94e0-af0373209662n%40googlegroups.com.
Hi Alex,
Thank you for your help! The process diagram is now visible.
However, I am still facing two issues:
startServices.bat and startServices.sh).startServices.sh, though it works fine with startServices.bat.I would appreciate your guidance on resolving these issues.
Best regards,
Pawan
Hi Tim,
Thank you! I used Alex’s branch since your changes have already been merged. I also compared your updates and confirmed that I already have them in my setup.
For reference, my development OS is Windows, though the final deployment will be in a Linux environment.
mvn clean package -Pcontainer (optional, but I ran it anyway).\startServices.bat fullHowever, the Task Console is not populating data. Could you please assist in troubleshooting this issue?
Also, I was wondering—would it be possible to run the Linux startServices.sh script in Windows using the Ubuntu (WSL) terminal? Would there be any compatibility concerns?
Looking forward to your insights.
Best regards,
Pawan
To view this discussion visit https://groups.google.com/d/msgid/kogito-development/135f8eb1-38f8-4b22-8b67-b6620894ccf2n%40googlegroups.com.
Hi Tim, Alex,
Thank you! I used Alex’s branch since your changes have already been merged. I also compared your updates and confirmed that I already have them in my setup.
For reference, my development OS is Windows, though the final deployment will be in a Linux environment.
mvn clean package -Pcontainer (optional, but I ran it anyway).\startServices.bat fullHowever, the Task Console is not populating data. Could you please assist here?
Also, I was wondering—would it be possible to run the Linux startServices.sh script in Windows using the Ubuntu (WSL) terminal? Would there be any compatibility concerns?
Looking forward to your insights.
Best regards,
Pawan





To view this discussion visit https://groups.google.com/d/msgid/kogito-development/82ae8933-c31d-4ead-9fca-0bafe592711cn%40googlegroups.com.
docker-compose folder, I attempted to run the script using both ./startServices.sh full and ./startServices.bat full.Steps:
Management Console




To view this discussion visit https://groups.google.com/d/msgid/kogito-development/eee33227-4591-4a4b-95da-7e378712f401n%40googlegroups.com.



Hi Tim, Alex,
I wanted to provide an update:
everything seems to be working fine on Windows.
However, when I ran the application on Ubuntu today, both the Management and Task Consoles are not populating data.
Do you have any suggestions or insights?
Best regards,
Pawan
To view this discussion visit https://groups.google.com/d/msgid/kogito-development/CAMVXLxqK7PquHtB_3adi2GwPfPksJub%2BY02_pgONBbEanu2E_w%40mail.gmail.com.