Jump to content

Web app not responding


softlab

Recommended Posts

Hi. I'm bfpsw on Johnny.

 

I deployed some jsp and java class files under my home directory (folder JAW under public_html folder). If I try to point my index.jsp page, I get a 404 error saying that "/bfpsw_JAW/index.jsp is not available".

 

Where am I wrong?

 

Thank you

 

Link to comment
Share on other sites

Yes, it is. If you remember, several days ago I asked you to undeploy my war file in order to verify if deploying my jsps and java classes one by one would have been working. I have created a folder named JAW under my public_html folder and copied the structure I have under my local Tomcat. But if I try to point index.jsp I get the error given in my first message. In addiction, why does it try to get "/bfpsw_JAW/index.jsp" file? Why the "_" and not the "/"?

Link to comment
Share on other sites

Oh yeah, sorry, I remember that now. I just undeployed the .war file as requested. I didn't delete the apache .conf file that proxies the apache web requests to tomcat though. It's deleted now and the change should go into effect within 12 hours.

Link to comment
Share on other sites

Hi. Sorry for the delay in response, but I couldn't before.

 

Now I can reach the application, but when I try to invoke a servlet it says it does not exist. I have my web.xml file in the WEB-INF folder of the web app (public_html/JAW/WEB-INF) and all the servlets are described there, but none of them can be reached.

 

What's the problem?

 

Thank you

Link to comment
Share on other sites

- the only way to have servlets is to deploy a war file?

Yes.

 

- if I put in the war file an empty folder, can the web app create files into it?

No.

 

You can try extracting the .war file on your home pc, and uploading all the files individually, but I don't think it will work.

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...