14 years ago
Deploying WAR in tomcat messes up the file structure
Hello!
I am having some trouble with deploying a WAR through tomcat manager.
The WAR was deployed through SoapUI.
It seems to work fine on two Windows hosts.
But when I try to deploy it to a tomcat on a Linux system the app doesn’t work and the structure of the deployed app is all messed up.
I can't move to the WEB-INF folder for some reason but I can move to the underlying lib folder if I use backslashes (e.g. cd WEB-INF\\lib/).
Has anyone had this problem?
I just used sftp to copy everything contained by the WAR to webapps manually, this works fine and the file structure is kept the way it is.
Can I in some way pack the war so that it keeps its structure when deployed to a linux system?
I am having some trouble with deploying a WAR through tomcat manager.
The WAR was deployed through SoapUI.
It seems to work fine on two Windows hosts.
But when I try to deploy it to a tomcat on a Linux system the app doesn’t work and the structure of the deployed app is all messed up.
I can't move to the WEB-INF folder for some reason but I can move to the underlying lib folder if I use backslashes (e.g. cd WEB-INF\\lib/).
Has anyone had this problem?
I just used sftp to copy everything contained by the WAR to webapps manually, this works fine and the file structure is kept the way it is.
Can I in some way pack the war so that it keeps its structure when deployed to a linux system?