Please help me

Discussion in 'Web Hosting' started by tin2mon, Sep 6, 2010.

  1. #1
    Friends,

    We created a web application in JSP using Tomcat as server with MySQL as database on Windows XP.

    I had created a folder ExampleSite and created the application. Now when it is time to run the website online, it opens at http://localhost:8081/examplesite/ and I need to remove the examplesite folder from url.

    To do this, I made a change in the context.xml file from <Context path="examplesite/"> to <Context path="">

    I am able to see the website on the root now. http://localhost:8081/

    The problem is that how do I deploy the website using WAR file now? I can open the tomcat manager now at http://localhost:8081/manager/html/. Earlier it used to get open at http://localhost:8081/manager/. My website is listed at the top of list in manager and it entry comes as /. If I try to deploy my examplesite folder named examplesite, it gives an error.

    How will I deploy the folder? Am I in the right direction?

    Please help!!!

    Thanks in advance.
     
    tin2mon, Sep 6, 2010 IP
  2. fadetoblack22

    fadetoblack22 Well-Known Member

    Messages:
    2,399
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Am I right in thinking that you are trying to upload your website files?
    It might not work with a WAR file. Extract it and zip it as a zip file, then just upload it to the root.
     
    fadetoblack22, Sep 6, 2010 IP
  3. gamechanger

    gamechanger Active Member

    Messages:
    244
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    50
    #3
    Does the web hosting have any tech support? it could be a hosting issue.
     
    gamechanger, Sep 6, 2010 IP
  4. WebIntellects - Rob

    WebIntellects - Rob Active Member

    Messages:
    689
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    I agree with that. You have web hosting company by the hand and can contact them and ask for a help.
     
    WebIntellects - Rob, Sep 7, 2010 IP
  5. ~ServerPoint~

    ~ServerPoint~ Banned

    Messages:
    1,817
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    80
    #5
    Difficult to say right now... Do you have root access to the server?
     
    ~ServerPoint~, Sep 7, 2010 IP