Solved

Tomcat with war file

Posted on 2010-09-16
4
536 Views
Last Modified: 2013-12-14
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
Comment
Question by:czutshi
  • 2
  • 2
4 Comments
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 33689917
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
 

Author Comment

by:czutshi
ID: 33690341
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
 
LVL 92

Assisted Solution

by:objects
objects earned 500 total points
ID: 33690357
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
 

Author Closing Comment

by:czutshi
ID: 33829709
Completed
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question