0
votes

I created the project (web app) in windows using netbeans... I copied the war file and put it in the "webapps" inside apache-tomcat installed in Lubuntu... I read a lot of forums and search about it but i'm confused. The lubuntu is VM so in my windows, I can access 192.168.56.101:8080 but I dont know how to deploy the Wep App in linux...

Please help me.. I really appreciate ur help

1
1. If you can access tomcat why not use the manager to deploy it? 2. How did you copy the war into the VM did you install guest tools? 3. If you have internet connectivity in VM you can use dropbox to get the war there. - Kshitiz Sharma
I copied the .war file in the dist folder of the netbeans in windows and put it in the VM via flash drive... Currently, my .war (and the project folder for testing) file is inside webapps of apache-tomcat in lubuntu but I when I access the folder (192.168.56.101:8080/MyProject) it's 404... how can I deploy the war in the lubuntu?? - Sigfred Chamo

1 Answers

0
votes

War files should be extracted automatically on tomcat startup, at your app should be accessible according to the mappings your web.xml, eg 192.168.56.101:8080/myApp. You can find more information regarding how deploys work with tomcat here