Jump to content

Problem with Java spring boot app (HTTP 404)


Bojan

Recommended Posts

Hi guys, I have an application made in spring boot and mysql, I have successfully deployed it. When I access the link http://itmarket.heliohost.us/emt-aud-0.0.1/ it gives me the following error:

HTTP Status 404 – Not Found

Type Status Report

Message /stavb_emt-aud-0.0.1/

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

 

In my public_html i have META-INF, org, WEB-INF 

 

 

Info:

  • Username: stavb
  • WAR-file: emt-aud-0.0.1.war
  • Server: johnny
Edited by Bojan
Link to comment
Share on other sites

Are you deploying a .war or just using .jsp? The reason I ask if because you say you're deploying a .war, but I don't see a .war on your account.

 

In public_html i had it in extension .zip. Now I changed it to .war and it gives me the following error

 

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request

Reason: Error reading from remote server

 

Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request.

Edited by Bojan
Link to comment
Share on other sites

  • 2 weeks later...

 

Hi guys, I have an application made in spring boot and mysql, I have successfully deployed it. When I access the link http://itmarket.heliohost.us/emt-aud-0.0.1/ it gives me the following error:

HTTP Status 404 – Not Found

Type Status Report

Message /stavb_emt-aud-0.0.1/

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

 

In my public_html i have META-INF, org, WEB-INF 

 

 

Info:

  • Username: stavb
  • WAR-file: emt-aud-0.0.1.war
  • Server: johnny

 

Hello Bojan,

 

I have an issue with the Spring boot .war file deployment.

Am using gradle as the build tool to generate the .war file and am able to run it successfully in windows machine using command "java -jar abc.war"

But when I deploy it to heliohost it fails with exception 

"SEVERE [localhost-startStop-2] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/iotblend_iotb] java.util.zip.ZipException: error in opening zip file"

 

Issue link: https://www.helionet.org/index/topic/42113-java-war-file-johnny-server/

 

If any solution please do Quote in that thread. Appreciate your help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...