Jul 6, 2008

Deployment Problem: Disappearing Files?

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > Java, Java Servlets, Java Script, & JSP

free web hosting

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.
Confirm Code:

Recent Queries:-
  1. context.xml dissapearing - 51.53 hr back.
  2. war file disappear from the webapps of tomcat - 106.10 hr back.
  3. failed to deploy application at context path tomcat deploy directory - 116.76 hr back.
  4. disappearing web.xml - 262.03 hr back.
  5. tomcat web.xml disappear - 263.38 hr back.
  6. tomcat application disappeared - 298.82 hr back.
  7. tomcat new context localhost disappear - 303.67 hr back.
Similar Topics

Keywords : deployment disappearing files

  1. Eclipse Exporting .jar Files - Could not find main class. Program will exit. (4)
  2. 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....
  3. 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.....
  4. 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...



Looking for deployment, problem, disappearing, files

Searching Video's for deployment, problem, disappearing, files
advertisement



Deployment Problem: Disappearing Files?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
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