When I start Portal for the first time, the 404 page appears with the below details:
HTTP Status 404 – Not Found
Type Status Report
Message The requested resource [/bonita/loginservice] is not available
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/8.5.59
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
But the UI Designer page works just fine.
What should I do to fix this problem?
This problem usually happens for several reasons, to solve it you can try the following:
- Delete all data and restart Bonita Studio.
- Close Bonita Studio and open the file: /BonitaStudioCommunity-2021.1/wokspace/yourProjectName/META-INF/MANIFEST.MF, and check if the Bundle-Name variable is assigned the exact name of your project (e.g. Bundle-Name: yourProjectName). Additionally, you can generate a new project just to verify what data is initialized in that file.
- Close Bonita Studio and delete all the contents of the folder: /BonitaStudioCommunity-2021.1/wokspace/yourProjectName/h2_database/
Removing all files in h2_database directory resolved my problem.
thanks