The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

tomcat

Discussion in 'General Discussion' started by big, Sep 21, 2003.

  1. big

    big Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    i have this setup:
    <VirtualHost xx.xx.xx.xx>
    ServerAlias www.xxxxxxxx.com xxxxxxxxx.com
    ServerAdmin webmaster@xxxxxxxx.com
    DocumentRoot /home2/xxxxxx/public_html
    BytesLog domlogs/xxxxxx.com-bytes_log
    User xxxxxx
    Group xxxxxx
    ServerName www.xxxxxxxxx.com
    CustomLog domlogs/xxxxxxxx.com combined
    ScriptAlias /cgi-bin/ /home2/xxxxx/public_html/cgi-bin/

    <IfModule mod_jk.c>
    JkMount /*.jsp ajp13
    JkMount /servlet/* ajp13
    JkMount /servlets/* ajp13
    </IfModule>
    </VirtualHost>


    i dont know what does this mean? where this user can put his servlets file ?
    what i did is enabled servlets to this website from WHM, but i dont know from where should the user could put his files?

    cPanel.net Support Ticket Number:
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    In the users home directory create the following

    WEB-INF
    WEB-INF/classes
    WEB-INF/lib

    Then he puts the servlets and such in here and then calls them by URL using /servlet/name

    cPanel.net Support Ticket Number:
     
  3. big

    big Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    you mean put the servlets in WEB-INF
    and he call them by www.xxxx.com/servlets/filename ?


    how come those dirs aren't getting auto created when enabling servlet support on the domain?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page