HelioHost Posted October 15, 2020 Posted October 15, 2020 Username: embustil, Server: Johnny, Main domain: paginaprueba.gq HelloFirst of all thank you for your previous help with remote access onpostgresql. Im running *paginaprueba.gq * on johnnytrying to do some tests with tomcat enabled. On my local machine runningthe same tomcat version 8.5.24 doing the same steps and with same filesthis page allows register accounts in "Cuenta" tab and those accounts go topostgresql on johnny server and retrieve the account to log in and works.Even tried with other devices on the same network. When hosted onjhonny this site wont let log in but only register.Cuenta tab tell you if session is ok or not and the "false" is a piece ofcode in jsp that retrieves session bool attribute.What should i try next?Thank you Librede virus. www.avast.com
Krydos Posted October 15, 2020 Posted October 15, 2020 During the deployment process Johnny renames your .war to append your username to the front. So if you try to deploy a file called test.war it becomes embustil_test.war. This renaming is necessary because there are dozens of other users with java access and if you deployed test.war that means none of those other dozens of people could deploy a file named test.war anymore. However, some .war files are hardcoded to only work with one filename. Obviously the best option is to write your .war files in such a way that they aren't hard coded to only work with one filename, but that isn't always easy. Another option that seems to work for people is to create the .war file with your username already added. This way the file doesn't get renamed on the server because it already has your username and an underscore at the beginning. Let us know if this helps.
HelioHost Posted October 16, 2020 Author Posted October 16, 2020 Thank you very much! That solved the problem! Librede virus. www.avast.com El jue., 15 oct. 2020 a las 16:26, Heliohost Support ()escribio: > During the deployment process Johnny renames your .war to append your> username to the front. So if you try to deploy a file called test.war it> becomes embustil_test.war. This renaming is necessary because there> are dozens of other users with java access and if you deployed test.war> that means none of those other dozens of people could deploy a file named> test.war anymore. However, some .war files are hardcoded to only work with> one filename. Obviously the best option is to write your .war files in such> a way that they aren't hard coded to only work with one filename, but that> isn't always easy. Another option that seems to work for people is to> create the .war file with your username already added. This way the file> doesn't get renamed on the server because it already has your username and> an underscore at the beginning. Let us know if this helps.>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic=41391>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
Recommended Posts