<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1015747" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1015747</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Apache + Tomcat4.0 on Windows 2000</title>
    <link>https://www.webmaster-forums.net/server-management/integrating-apache-tomcat#comment-1094600</link>
    <description> &lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;First of all, thanks for your help with my Apache-Tomcat4-windows-integration issue. In the meantime I went on a holiday and just got back.&lt;br /&gt;
Now in case anyone bumps into the same problem of integrating Apache with Tomcat4 on a Windows platform, I found 2 ways of doing that. Just as a reminder, the problem was having to use &quot;www.domainname:tomcat_port&quot; every time you wanted a link to be served by tomcat on your main html documents handled by Apache.&lt;br /&gt;
It is not hard at all to get what I want done, but I found the jakarta documentation a bit confusing. &lt;/p&gt;
&lt;p&gt;Solution 1 -Using the mod_webapp connector&lt;br /&gt;
1 - download mod_webapp from the jakarta website (download the .dll AND the .lib file) and place them on the /modules/ folder of your Apache directory.&lt;/p&gt;
&lt;p&gt;2 - Add these lines to the bottom of your &quot;httpd.conf&quot; file on the Apache directory:&lt;/p&gt;
&lt;p&gt;         LoadModule webapp_module modules/mod_webapp.so&lt;br /&gt;
         WebAppConnection warpConnection warp :8008&lt;br /&gt;
         WebAppDeploy examples warpConnection /examples/&lt;/p&gt;
&lt;p&gt;Remember to replace&lt;br /&gt;
 with your Apache server domain name (in my case is &lt;a href=&quot;http://www.arakno.net&quot; class=&quot;bb-url&quot;&gt;arakno.net&lt;/a&gt; -don&#039;t know why localhost did not work because this way it seems to me that he has to resolve the domain name only to discover that it is the same machine...go figure)&lt;br /&gt;
Remember also that this assumes your applications to be inside the /examples folder on the Tomcat directory.&lt;br /&gt;
And that&#039;s it. I did this pretty fast and I didn&#039;t have time to go through all that is happening underneath but it worked as I  wanted. Now on my html page served by Apache, I can link to the servlets or .jsp files just by using the relative path+filename.&lt;/p&gt;
&lt;p&gt;Solution 2- Using the connector mod_jk&lt;br /&gt;
1-Download the mod_jk connector and again place it on your /modules/ folder on the Apache directory.&lt;br /&gt;
Get hold of a .config file for Tomcat. I can give you one if you need it. The thing is that Tomcat3.x creates a config file automatically. I haven&#039;t seen this feature on Tomcat4. But I have used one .config that I found on the web and adjusted it to my system.&lt;br /&gt;
2-edit your htpdconfig file on Apache and on the bottom add a line that includes the Tomcat file above mentioned:&lt;/p&gt;
&lt;p&gt;And that will work. There are some specific issues and details that I do not quite master but I will work on them and let everybody know. Maybe someone can teach me some stuff as I did this pretty much by trial-error and by brute force.&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;
 </description>
     <pubDate>Fri, 23 Nov 2001 13:25:30 +0000</pubDate>
 <dc:creator>joba</dc:creator>
 <guid isPermaLink="false">comment 1094600 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/integrating-apache-tomcat#comment-1093444</link>
    <description> &lt;p&gt;We had the same issue, domain:8080, using Apache/Tomcat, though this was a *nix machine. Now we are able to connect to domain/servlet. Below is a snip from our httpd.conf if it helps you any...&lt;/p&gt;
&lt;p&gt;LoadModule jserv_module modules/mod_jserv.so&lt;/p&gt;
&lt;p&gt;ApJServManual on&lt;br /&gt;
ApJServDefaultProtocol ajpv12&lt;br /&gt;
ApJServSecretKey DISABLED&lt;br /&gt;
ApJServMountCopy on&lt;br /&gt;
ApJServLogLevel notice&lt;br /&gt;
ApJServDefaultHost localhost&lt;br /&gt;
ApJServDefaultPort 4444&lt;br /&gt;
Alias /servlet /home/**********/public_html&lt;/p&gt;
&lt;p&gt;SetHandler jserv-servlet&lt;/p&gt;
&lt;p&gt;ApJServMount /servlet&lt;/p&gt;
&lt;p&gt;----------------&lt;br /&gt;
Note: I am not the server admin, just glanced at the config to see if I could help ya.&lt;br /&gt;
----------------&lt;/p&gt;
&lt;p&gt;Nice site mods... I&#039;ll have to take a day or so and read through the posts.&lt;/p&gt;
 </description>
     <pubDate>Wed, 07 Nov 2001 20:15:47 +0000</pubDate>
 <dc:creator>netcommr</dc:creator>
 <guid isPermaLink="false">comment 1093444 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Apache+Tomcat on Win2k</title>
    <link>https://www.webmaster-forums.net/server-management/integrating-apache-tomcat#comment-1091333</link>
    <description> &lt;p&gt;First of all, thank you Mark,  for your prompt answer!&lt;/p&gt;
&lt;p&gt;Yes, that is exactly what is hapening: I have to write the links on the form -http://www.whatever.net:8080/folder/file&lt;/p&gt;
&lt;p&gt;I am sure it is possible to make Apache know that .jsp and java class files should be handled by Tomcat. I have seen how to do this with the previous versions of Tomcat (3.2...) &amp;amp;  Apache (1.2...), but not with the ones I&#039;ve got (which by the way, were a lot easier to install &amp;amp; set up on Win2k!)&lt;/p&gt;
&lt;p&gt;Jorge&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Oct 2001 13:33:42 +0000</pubDate>
 <dc:creator>joba</dc:creator>
 <guid isPermaLink="false">comment 1091333 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/integrating-apache-tomcat#comment-1091331</link>
    <description> &lt;p&gt;joba, welcome to WMF. In a previous thread, I mentioned the lack of docs and help for Apache/Windows. Plenty of help out there for Apache/&#039;nix. &lt;/p&gt;
&lt;p&gt;To get your question straight in my head, you are saying that you have to make a link like this:&lt;br /&gt;
&lt;strong&gt;http://www.link.com/webpage.html:80&lt;/strong&gt; or something such.&lt;/p&gt;
 </description>
     <pubDate>Wed, 10 Oct 2001 13:23:54 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1091331 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
