Results 1 to 5 of 5

Thread: Can not access Tomcat applications

  1. #1
    Join Date
    Nov 2008
    Posts
    69

    Can not access Tomcat applications

    In any case I installed Apache and Tomcat and I've linked: this means that when I go to the address http://my_server/ I go directly to the page of tomcat without having to specify port

    Now the problem is that I can not access the applications managed by tomcat and that I had before in apache no longer available

    Do you know what conf file works correctly, in my apps in Apache and Tomcat?

  2. #2
    Join Date
    May 2008
    Posts
    2,297

    Re: Can not access Tomcat applications

    I would say httpd.conf ...

    Type a document root that refers to your application handled by Tomcat
    VirtualHost and possibly other ports that refer to other directory. (with alias etc)

    For instance, suppose you have a HTTP Server that listens to the 80 and 443
    The 80 refers to the root server in PHP + MySQL and several virtualhost
    The 443 refers to the implementation in HTTPS on Tomcat with the addition of a URL rewrite to be visible on the field

  3. #3
    Join Date
    Nov 2008
    Posts
    69

    Re: Can not access Tomcat applications

    Here is the code of file sites-enabled/000-default

    Code:
    <VirtualHost 192.168.1.2:80> 
    ServerName 192.168.1.2 
    DocumentRoot /usr/share/tomcat5.5/webapps 
    ServerAdmin [email protected] 
    ErrorLog /var/log/apache2/error.log 
    CustomLog /var/log/apache2/foo.log combined 
    
    Alias / "/usr/share/tomcat5.5/server/webapps" 
    <Directory "/usr/share/tomcat5.5/server/webapps"> 
    Options Indexes +FollowSymLinks 
    </Directory> 
    
    JkMount /* default 
    
    #Alias /websvn "/usr/share/websvn" 
    #<Directory "/usr/share/websvn"> 
    # Options FollowSymLinks 
    # order allow,deny 
    # allow from all 
    # AuthType Basic 
    # AuthName "Subversion Repository" 
    # Require valid-user 
    # AuthUserFile /etc/apache2/dav_svn.passwd 
    # <IfModule mod_php4.c> 
    # php_flag magic_quotes_gpc Off 
    # php_flag track_vars On 
    # </IfModule> 
    #</Directory> 
    
    </VirtualHost>
    I am very unsure whether I should enter httpd.conf

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Can not access Tomcat applications

    mod_proxy or mod_ajp13 in Apache ?

    JkMount /* default

    That means that you are referencing all to the tomcat

  5. #5
    Join Date
    Nov 2008
    Posts
    69

    Re: Can not access Tomcat applications

    Yet I have configured mod_jk. And for "JkMount /* default", that's what I noticed. I have played with JkMount and JkUnMount to balance traffic to the right server.

    Thank you for your help

Similar Threads

  1. cannot access pre-installed applications in Nokia C2-01
    By Azza_B_UK in forum Portable Devices
    Replies: 4
    Last Post: 17-07-2011, 12:54 PM
  2. Can't access applications world overseas on my playbook
    By Caryas in forum Portable Devices
    Replies: 6
    Last Post: 20-05-2011, 06:07 PM
  3. Replies: 4
    Last Post: 13-08-2010, 03:12 PM
  4. Cannot access web applications on port 80
    By Gunwant in forum Networking & Security
    Replies: 9
    Last Post: 18-05-2010, 05:06 PM
  5. Applications cannot access internet
    By canoe in forum Networking & Security
    Replies: 4
    Last Post: 10-12-2008, 12:25 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,382,330.69616 seconds with 16 queries