Amoss Posted June 2, 2018 Posted June 2, 2018 Hi My war is deployed and I even re-deployed it but still I get 404 when trying to reach ithttp://stockdiv.heliohost.org/MyHelioServlet/ Am I missing something?Thanks
wolstech Posted June 2, 2018 Posted June 2, 2018 The first time you deploy a war with a new file name, it takes until the next Apache restart to actually start working, and shows a 404 until then. Have you waited a few hours after deploying?
Amoss Posted June 3, 2018 Author Posted June 3, 2018 (edited) Well, this war is old and the name is the same. It was on "deployed" mode when the problem occurred so I re-deployed it just in case but to no avail. Even now, few hours later, it gives 404, you can check yourself with the link above. Edited June 3, 2018 by Amoss
Krydos Posted June 4, 2018 Posted June 4, 2018 Did this .war ever do anything? The archive appears to be empty to me.
Amoss Posted June 4, 2018 Author Posted June 4, 2018 (edited) Ofcourse it did, maybe something bad happened to it and that is the problem?I understand correctly that I need to re-upload it? I already made changes to it so I don't have the same war nowAny chance the file can be restored from somewhere? Edited June 4, 2018 by Amoss
Krydos Posted June 4, 2018 Posted June 4, 2018 Linux doesn't have a recycle bin. When you delete or overwrite something it's gone. Since the server is constantly writing and rewriting to the hard drive recovery tools won't work because they can only see deleted info that hasn't been overwritten. The version on the server was uploaded on May 11th. You'll need to check your own hard drive for older versions.
Krydos Posted June 5, 2018 Posted June 5, 2018 Here's what is deployed on the server. Note there is no index.jsp or anything so that's why you're seeing the 404 error:stockdi1_MyHelioServlet . ├── META-INF │ ├── MANIFEST.MF │ ├── maven │ │ └── com.resty │ │ └── resty │ │ ├── pom.properties │ │ └── pom.xml │ └── war-tracker └── WEB-INF ├── classes │ └── com │ └── resty │ └── resty │ ├── Resty$1.class │ ├── Resty$2.class │ ├── Resty$3.class │ ├── Resty$4.class │ └── Resty.class ├── lib │ ├── activation-1.1.1.jar │ ├── aopalliance-repackaged-2.5.0-b32.jar │ ├── hk2-api-2.5.0-b32.jar │ ├── hk2-locator-2.5.0-b32.jar │ ├── hk2-utils-2.5.0-b32.jar │ ├── javassist-3.20.0-GA.jar │ ├── javax.annotation-api-1.2.jar │ ├── javax.inject-2.5.0-b32.jar │ ├── javax.ws.rs-api-2.0.1.jar │ ├── jersey-client-2.25.1.jar │ ├── jersey-common-2.25.1.jar │ ├── jersey-container-servlet-2.25.1.jar │ ├── jersey-container-servlet-core-2.25.1.jar │ ├── jersey-guava-2.25.1.jar │ ├── jersey-media-jaxb-2.25.1.jar │ ├── jersey-server-2.25.1.jar │ ├── json-20170516.jar │ ├── mail-1.4.7.jar │ ├── mysql-connector-java-6.0.6.jar │ ├── osgi-resource-locator-1.0.1.jar │ └── validation-api-1.1.0.Final.jar └── web.xml 10 directories, 31 files
Amoss Posted June 5, 2018 Author Posted June 5, 2018 I don't see any index.jsp on my local project as well, I only have 1 class that serves my needs. Was there any change in helio that made the existence of index.jsp mandatory?What should be in that file?I did upload the file in 11th may and it worked since, suddenly few days ago I started getting this 404.
Amoss Posted June 5, 2018 Author Posted June 5, 2018 Well, something did in the last few days but I guess we won't know what it was and now I can't upload it until I will finish all my changes... oh well :-(
Amoss Posted July 6, 2018 Author Posted July 6, 2018 OK, I've done my changes, uploaded the new WAR, deployed it and got the link. Still I get 404 as if it's not there. What am I doing wrong?http://stockdiv.heliohost.org/MyHelioServlet/
Amoss Posted July 7, 2018 Author Posted July 7, 2018 I work with Eclipse and it has some functions for my mobile app.I developed a mobile app using vscode (in Ionic) and this war is my server side.It also works with rested extension of Firefox but when I upload and deployed it to Helios, it doesn't even knows it's there. I didn't change anything in my project setup, it looks like Helios started expecting something from the WAR and I don't know what it is.
Amoss Posted July 9, 2018 Author Posted July 9, 2018 Any kind of help will be appreciated, what am I missing? what does my WAR is missing?
Recommended Posts