Ok, please understand that I am not an Apache expert...still learning. I understand how my vhosts are setup within apache2.conf. I did not have this error before adding Tomcat to the system. I have defined these virtual hosts within the server.xml of Tomcat as well.
So how do I add the...
No, I did not purposely create the file.
I did move it out of the directory and see if the errors resume.
Tomcat started up without a problem and the log is error free now. Thanks for the pointer. I believe this file was created by my mistake. I should be more careful in the future... :)...
Would anyone have any idea why I would be getting this error when restarting Apache.
###########################################################
server1:# /etc/init.d/apache2 restart
Forcing reload of web server: Apache2[Fri Feb 10 11:28:00 2006][warn]VirtualHost www.mydomain1.com:0 overlaps...
This is the actual filename:
jsp-examples#WEB-INF#web.xml.xml
I have no idea where it came from. I will clear out my work directory as you indicated and restart Tomcat/Apache.
Okay, disregard the last post.
I have two virtual host sites running the JSP example files without any known problems, but I am getting a couple strange errors/warnings:
#1 When restarting Apache:
###########################################################
server1:# /etc/init.d/apache2...
sedj,
Two more quick questions if you have time to answer them.
1) When I reboot my server, will Tomcat automatically startup or is there something else I need to do? Also, which starts first, Apache or Tomcat?
2) How does the mod_jk.conf auto config file automatically enter the vhost...
Well, good news! I figured it out. Turns out that it was just a typo in the server.xml file. I have moved all the example files and they are all working. Even the servlets under the new directory.
Thanks for the help so much!!!
Ok, I made the changes and tried it without success. I did restart both servers. One thing I forgot about though is that when I shutdown Tomcat, I get an error. This error started after I removed some of the settings that seemed irrelevant in the server.xml file yesterday. I am going to look...
I think I have done that, but you may need to confirm my settings. I am trying to access the copied colrs.jsp that I have moved to the /home/www/web2/web/jsp-examples/colors/ directory. The url is: http://www.endorsoft.com/jsp-examples/colors/colrs.jsp
Thanks for any additional help you can...
So you are saying that I cannot store the files in a diferent directory? I understand how Apache forwards the JSP requests to Tomcat, but can I not change the location where the JSP's are stored?
It seems to me that when a JSP is referenced, it knows how to interpret it due to the JKMount...
FYI, I am not very knowledgable about how JSP's work. Are there any other files/directories such as the class files that will need to be moved or linked to differently when I move location of the JSP/Servlets?
I have a fresh install of Tomcat 5 which is successfully connected to Apache2 via ajp13/mod_jk. Everything works from the Tomcat standalone as well as linking to the example files from Apache.
I have virtual host in Apache and I would like to provide certain ones jsp functionality. The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.