Solved

Tomcat with war file

Posted on 2010-09-16
4
527 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now