Hi Subhasis, Thanks,I got my solution.Now my virtualhost work with Tomcat and able to run jsp and servlet pages both using localhost:8080 and my virtualhost's doman. Basically I have done a mistake in workers2.properties. > > > [channel.socket:sbtmusiccrawler.net:8009] > > > > port=8009 > > > > host=192.168.0.99 <http://192.168.0.99> > > > > > > > > [ajp13:sbtmusiccrawler.net:8009 <http://sbtmusiccrawler.net:8009>] > > > > channel=channel.socket:sbtmusicrawler.net:8009 > > > > > > > > [uri:sbtmusiccrawler.net:80/* <http://sbtmusiccrawler.net:80/*>] > > > > worker=ajp13:localhost:8009
In above I have written localhost as a worker.But I have created socket sbtmusiccrawler.net.So I made it sbtmusiccrawler.net .I also changed the host sbtmusiccrawler.net instead of 192.168.0.99. Now it works properly. thanks Pardeep On Fri, 2005-07-08 at 13:53, Subhasis Ray wrote: > Hi Pradeep, > > Have you check the error logs for both the apache and tomcat servers? Maybe > you will find something there pointing to the source of this 500 error. Can > you post sections of both apache and tomcat error logs?? > > -Subhasis > > On 08 Jul 2005 12:40:38 +0530, Pardeep Garg <[EMAIL PROTECTED]> > wrote: > > > > Hi Rajesh > > I know that Its not Jakarta Tomcat mail list.I have tried on jakarta > > mailing list also.But could not find proper solution of my problem.Many > > of us working on tomcat and apache.Thats why I am here with this > > question. > > > > Thanks > > Pardeep > > On Fri, 2005-07-08 at 12:29, Rajesh Thiharie wrote: > > > You need to go look at > > > http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/ > > > > > > This is not a Jakarta Tomcat mail list. > > > > > > > > > > > > > ------- Original Message ------- > > > > I am working on RedHat 9.0.I am using apache 2.0.40-21 , > > JDK-1.5.0_03-fcs > > > > and jakarta tomct 5.5.9. > > > > Everything is running fine.Tomcat is running on localhost:8080.I am > > > > trying to connect my apache web server with tomcat.For this I am using > > > > mod_jk2.so module as a connector.So I load this module in httpd.conf > > > > files's LoadModule section and restart the httpd demon.I define a > > > > virtual host with > > > > > > > > <IfModule mod_jk.c> > > > > JkMount /*.jsp ajp13 > > > > JkMount /servlet/* ajp13 > > > > JkMount /servlets/* ajp13 > > > > </IfModule> > > > > > > > > this directive.Document root of this in in /home/musiccra folder.Ialso > > > > define the Host tag in server.xml file with proper context and apbsase > > > > and also configured the /etc/httpd/conf/workers2.properties file. > > > > > > > > Whenever I browse the domain it show the "Internal Server Error. The > > > > server encountered an internal error or misconfiguration and was > > unable > > > > to complete your request. " > > > > > > > > I have doubt that I am not configuring the workers2.properties file. > > > > syntax of my workers2.properties file is > > > > > > > > [channel.socket:sbtmusiccrawler.net:8009] > > > > port=8009 > > > > host=192.168.0.99 <http://192.168.0.99> > > > > > > > > [ajp13:sbtmusiccrawler.net:8009 <http://sbtmusiccrawler.net:8009>] > > > > channel=channel.socket:sbtmusicrawler.net:8009 > > > > > > > > [uri:sbtmusiccrawler.net:80/* <http://sbtmusiccrawler.net:80/*>] > > > > worker=ajp13:localhost:8009 > > > > > > > > I am trying a lot to configure it.But did not got any output.So any > > body > > > > who has done it please help me. > > > _______________________________________________ > > > ilugd mailinglist -- ilugd@lists.linux-delhi.org > > > http://frodo.hserus.net/mailman/listinfo/ilugd > > > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > > http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ > > > > > > > > _______________________________________________ > > ilugd mailinglist -- ilugd@lists.linux-delhi.org > > http://frodo.hserus.net/mailman/listinfo/ilugd > > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > > http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ > > > _______________________________________________ > ilugd mailinglist -- ilugd@lists.linux-delhi.org > http://frodo.hserus.net/mailman/listinfo/ilugd > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/