Add to Google

Deployment Problem: Disappearing Files?

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > Java, Java Servlets, Java Script, & JSP

Deployment Problem: Disappearing Files?

kvarnerexpress
Hi, I am attempting to deploy a web app. I compile it and make it a war. I restart tomcat and the war is distributed. I then go onto the internet and type in: http://localhost:8080/manager/deploy?path=/myapp
a few different things have happened when I have typed in the same thing.

The most prevelant error is: FAIL - Failed to deploy application at context path /myapp...is this error because of my build file or because of my web.xml file?? or neither?

One time the stupid thing actually deployed. I went back and checked my directory and all my files were gone! The folders were still there but the files were not there, so then I had a web app with no content...does anyone know how the files were missing like that. All these other tries the whole app dissaears each time I deploy any suggestions??

Thanks!!

Reply

cse-icons
Hi kvarnerexpress,

can you elaborate further as to what steps are you following.
are you placing the war file in the webapp folder.
is the war folder properly structured. are there any error messages showing on the console when you start tomcat?
if possible quote the part of the log where the exception is occuring..

Cheers.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. tomcat failed to deploy context - 10.57 hr back. (1)
  2. fail - failed to deploy application at context path - 14.94 hr back. (1)
  3. tomcat context file disappear new war - 38.71 hr back. (1)
  4. java applet files disappear - 52.23 hr back. (1)
  5. why do files within folders disappear - 70.54 hr back. (1)
  6. tomcat disappearing web apps - 96.17 hr back. (1)
  7. context path in servlets on you tube - 109.15 hr back. (1)
  8. tomcat all files disappeared - 133.98 hr back. (1)
  9. xml file disappear after war deploy - 162.25 hr back. (1)
  10. "fail - failed to deploy application at context path" - 194.40 hr back. (1)
  11. contribute 3 file disappearing - 202.10 hr back. (1)
  12. fail - failed to deploy application at context path / - 37.09 hr back. (2)
  13. deploy war in cpanel - 237.95 hr back. (1)
  14. tomcat context files disappear - 296.61 hr back. (1)
Similar Topics

Keywords : deployment, problem, disappearing, files

  1. Jar Executable Files
    (3)
  2. Eclipse Exporting .jar Files
    Could not find main class. Program will exit. (5)
    I need help! I've been using eclipse for a while making little applets, and now I've
    decided to look at some tutorials on how to make simple applications. I've found a pretty good
    tutorial that tells you how to make a helloWorld app with swt and jFace, and also has an example
    file explorer that you can make. They both work perfectly from inside eclipse, but when I try and
    export either one into a .jar file, they don't work anymore. It comes up with a message saying
    "Could not find main class. Program will exit." In the little wizard it has for....
  3. What To Do With .java Files?
    (8)
    Ok, I "know" Java, but what now? What do you do with the .java files? (I'm interested in both
    java-applets and java-programs.) Thanks, Peroim.....
  4. Writing & Reading Files With Jsp
    How to do it? (1)
    I've a project on creating a Movie online booking website that is powered with JSP. Now I'm
    trying to write and read from the file I wrote, but didn't know how. Can anyone with such
    expertise please teach me.. It has to be done with JSP. Thanks in advance......
  5. Running .java Or .class Files From Runtime
    (1)
    from an API and outputs the result to the API (like someAPI.submitResult(myResult), which checks the
    results against the sample values. The idea is that the student is able to click a browse button and
    locate their .java or .class file, which the GUI then launches. So my question is if I can launch
    this class as part of the GUI process so that the API actually is actually part of the GUI process.
    It's a bit backwards really - like launching the API first and then adding in the component that
    uses the API during runtime. But there is an advantage of doing it this w....

    1. Looking for deployment, problem, disappearing, files

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for deployment, problem, disappearing, files

*MORE FROM TRAP17.COM*
advertisement



Deployment Problem: Disappearing Files?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE