[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: port 8080 vs. port 80

     Firstly check that the module is installed in the right place for
apache to locate it.(libexecs/mod_jserv.so)Try and RESTART the apache
webserver only AFTER starting tomcat.
     If you are making any changes to tomcat-apache.conf those changes will
be over-written when the server is restarted so take care you place your
configuration in server.xml that is one possible error.
     You could also solve your problem by adding a ScriptAlias in the
httpd.conf file similar to the cgi-bin one and try to execute *.jsp's in
that directory.
     It worked well for me should do so for you as well.

          BEST of LUCK

>  the problem was of not having PWD in path. solved thanks list. i am
>  using tomcat with apache using mod_jserv. in apache httpd.conf when i am
>  including tomcat.conf and do 
>  lynx http://localhost/examples/jsp 
>  nothing is shown( returns an error) however when i include
>  tomcat-apache.conf 
>  and do 
>  lynx http://localhost/examples/jsp 
>  example page is shown but i am unable to execute any jsps( document
>  contains no data error)
>  when i do lynx http://localhost:8080/examples/jsp 
>  the example page is shown and i can execute jsps.
>  if apache is listening on port 80 and tomcat on 8080 and apache
>  redirects jsp requests to tomcat via mod_jserv why do i need to specify
>  port 8080 ? that means i am requesting pages from tomcat only? what do i
>  need to do to make sure that request goes to apache and then to tomcat
>  via mod_jserv ? 
>  			means i should be able to execute jsps by typing 
>  lynx http://localhost/examples/jsp , why i am unable to do so ? apache
>  is returning no errors for LoadModule jserv_module libexec/mod_jserv.so
>  directive.
>  would appreciate any clarification on this 80 vs. 8080 issue
>  tia and regards		
>  Sandeep Sundaram wrote:
>  > 
>  > Hi,
>  > 
>  >       This problem usually occurs if the Class path is not set
>  > Try to unset the class path and set it again to the current directory,
>  > 
>  -- 
>   ----  why i am doing this ? it's the 'Tina' factor ,
>  		 There is no alternative  
>   Rajeev Jha		                 Email: rajeevj@xxxxxxxxxxxxxx
>   Tring Tring : +91(20)5424301 Xtn: 1126  web: http://www.rajeevjha.com
>   -----------------------------------------------------------------------
>  -----------------------------------------------------------------------
>  For information on this and other Linux India mailing lists check out
>  http://lists.linux-india.org/

Say Bye to Slow Internet!