• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 598
  • Last Modified:

Tomcat with war file

I have generated apps.war file.

Folder structure in the webhosting server (GODADDY SERVR):

/usr/share/tomcat5/pas-webapps/confind

When I deploy the apps.war under confind folder in webhosting server,  the server automaticaly generates a folder called apps. Then the path looks like below:

/usr/share/tomcat5/pas-webapps/confind/apps

My question here is, I dont want the apps folder and all files under apps folder should come under confind folder.

How do I do this? Please help.
0
czutshi
Asked:
czutshi
  • 2
  • 2
2 Solutions
 
objectsCommented:
am not familiar with godaddy hostings but from a tomvcat perspective it sounds like you need to rename your war to confind.war and put it in /usr/share/tomcat5/pas-webapps
May need to also delete the existing confind directory
0
 
czutshiAuthor Commented:
Thanks for your response.

But  GODADDY has give a control panel, by using which, we can upload a apps.war to server. It will be available under /usr/share/tomcat5/pas-webapps/confind folder  and  not in /usr/share/tomcat5/pas-webapps.  
0
 
objectsCommented:
if godaddy has setup that up to be the app directory then theres not much you can do, you can only deploy apps in that directory

0
 
czutshiAuthor Commented:
Completed
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now