Welcome Guest. Sign in or Signup

1 Answers

Windows Installer

Asked by: pedrom 620 views Installation

Do you provide any windows installer?

1 Answers



  1. renegade_mike on May 13, 2007

    We do not have a Windows installer for AdvertPRO.

    There are installers for Java SDK, MySQL, and Tomcat though. You will find instructions for downloading and install those in our Windows installation instructions: http://www.advertpro.com/docs/1.0/html/install/windows.html

    If you are going to be connecting AdvertPRO with IIS, you need to do a couple of extra things beyond our instructions.

    1) In step #3, the “Apache Tomcat Settings” you will see the following in the server.xml file contents there:

        <!--<br />      You cannot run both Apache or IIS and Tomcat on the same ports!<br />    --><br />    <Connector acceptCount="128"<br />               bufferSize="2048"<br />               className="org.apache.coyote.tomcat5.CoyoteConnector"<br />               compression="off"<br />               connectionLinger="-1"<br />               connectionTimeout="30000"<br />               debug="0"<br />               disableUploadTimeout="false"<br />               enableLookups="false"<br />               maxKeepAliveRequests="0"<br />               maxHttpHeaderSize="8192"<br />               maxThreads="512"<br />               maxSpareThreads="480"<br />               minSpareThreads="32"<br />               port="80"<br />               redirectPort="443"/><br /><br />    <!--<br />      Uncomment the following for isapi_redirect or mod_jk<br />    --><br />    <!--<br />    <Connector acceptCount="128"<br />              className="org.apache.coyote.tomcat5.CoyoteConnector"<br />              debug="0"<br />              enableLookups="false"<br />              maxThreads="384"<br />              maxSpareThreads="48"<br />              minSpareThreads="16"<br />              port="8009"<br />              protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"<br />              protocol="AJP/1.3"<br />              redirectPort="8443"<br />              useURIValidationHack="false"/><br />    -->

    You only need to have the 2nd connector, so you should remove all but the following:

        <br /><Connector acceptCount="128"<br />              className="org.apache.coyote.tomcat5.CoyoteConnector"<br />              debug="0"<br />              enableLookups="false"<br />              maxThreads="384"<br />              maxSpareThreads="48"<br />              minSpareThreads="16"<br />              port="8009"<br />              protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"<br />              protocol="AJP/1.3"<br />              redirectPort="8443"<br />              useURIValidationHack="false"/><br />

    2) Before you can complete step #5, you will need to connect IIS with Tomcat. Here are the instructions for doing that. Note that I’ve also attached them to this message as a .txt file (we will have these available in HTML format soon).

    <br />1. Download most recent isapi_redirect.dll:<br /><br />   http://www.signal42.com/mirrors/apache/tomcat/tomcat-connectors/jk/binaries/win32/jk-1.2.22/isapi_redirect.dll<br /><br /><br />2. Copy isapi_redirect.dll to:<br /><br />   C:/Tomcat/bin/win32/i386/isapi_redirect.dll<br />   <br />   *** NOTE ******************************************************<br />   <br />     Your path to Tomcat may be different.  If the win32 and i386<br />     directories do not already exist, you will need to create<br />     them.<br />     <br />     For the rest of these instructions, we will assume that you<br />     installed Tomcat in C:/Tomcat and Java in C:/Java/1.5.0_11<br />     <br />   ***************************************************************<br /><br /><br />3. Uncomment this <Connector> in the Tomcat server.xml file:<br /><br />   <Connector acceptCount="128"<br />              className="org.apache.coyote.tomcat5.CoyoteConnector"<br />              debug="0"<br />              enableLookups="false"<br />              maxThreads="384"<br />              maxSpareThreads="48"<br />              minSpareThreads="16"<br />              port="8009"<br />              protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"<br />              protocol="AJP/1.3"<br />              redirectPort="8443"<br />              useURIValidationHack="false"/><br />           <br />   *** NOTE ******************************************************<br />   <br />     Make sure to remove the other <Connector> to avoid conflicts<br />     with Apache or IIS running on port 80.<br />     <br />   ***************************************************************<br />   <br />   <br />4. Create C:/Tomcat/conf/workers.properties with the following content:<br /><br />worker.list=advertpro_worker<br />worker.advertpro_worker.host=localhost<br />worker.advertpro_worker.port=8009<br />worker.advertpro_worker.type=ajp13<br /><br /><br />5. Create C:/Tomcat/conf/uriworkermap.properties with the following line:<br /><br />/advertpro/*=advertpro_worker<br />           <br />   *** NOTE ******************************************************<br />   <br />     This path /advertpro/ will make AdvertPRO accessible via<br />     http://www.yoursite.com/advertpro/ -- you may care to change<br />     this to /adserver/ or /media/ if you don't want it to be<br />     obvious that you are using AdvertPRO.<br />     <br />   ***************************************************************<br />           <br /><br />6. Copy the following content into a file named isapi_redirect.reg with Notepad:<br /><br />[HKEY_LOCAL_MACHINESOFTWAREApache Software FoundationJakarta Isapi Redirector1.0]<br />"extension_uri"="/jakarta/isapi_redirect.dll"<br />"log_file"="C:/Tomcat/logs/isapi_log.txt"<br />"log_level"="error"<br />"worker_file"="C:/Tomcat/conf/workers.properties"<br />"worker_mount_file"="C:/Tomcat/conf/uriworkermap.properties"<br /><br /><br />7. Right click on the file in Windows explorer and choose "Merge" to import it<br />   into the registry.<br />   <br />   <br />8. Create the following system environment variables:<br /><br />   JAVA_HOME = C:/Java/1.5.0_11<br />   <br />   CATALINA_HOME = C:/Tomcat<br />           <br />   *** NOTE ******************************************************<br />   <br />     Your Java and Tomcat installation directories may be<br />     different.<br />     <br />   ***************************************************************<br /><br />           <br />9. Open the IIS management console for steps #10-13.<br /><br /><br />10. Right click on your web site and choose New > Virtual Directory...<br /><br />    <br />    10a. Enter jakarta for the name of the directory.<br /><br />    10b. Enter C:Tomcatbinwin32i386 for the path of the directory.<br /><br />    10c. Allow Read, Run Scripts, Execute, and Write permissions.<br /><br /><br />11. Right click on your web site and choose Properties<br /><br /><br />    11.1. Click on the Home Directory tab<br /><br /><br />      11.1A. Click on the Configuration... button at bottom right<br />    <br />      11.1B. Click on Add<br />    <br />      11.1C. Enter C:Tomcatbinwin32i386isapi_redirect.dll for the Executable<br />    <br />      11.1D. Enter .jsp for the extension<br />    <br />    <br />    11.2. Click on the Documents tab and add index.jsp as a default document.<br />    <br />    <br />    11.3. Click on the ISAPI Filters tab<br /><br /><br />      11.3A. Click on Add<br />    <br />      11.3B. Enter Tomcat for the filter name<br />    <br />      11.3C. Enter C:/Tomcat/bin/win32/i386/isapi_redirect.dll for the executable<br />    <br />    <br />12. Right click on Web Service Extensions folder.<br /><br />    12A. Click on Add A New Web Service Extension...<br />    <br />    12B. Enter Tomcat for the name of the extension.<br />    <br />    12C. Add C:Tomcatbinwin32i386isapi_redirect.dll to the required files.<br />    <br />    12D. Check the Set extension status to Allowed checkbox<br />    <br />    12E. Hit the OK button.<br />    <br />    <br />13. Restart IIS<br /><br /><br />14. You should now be able to access AdvertPRO at:<br /><br />    http://www.yoursite.com/advertpro/servlet/setup<br />

    install isapi_redirect.txt (4.6 KB)

    0 Votes Thumb up 0 Votes Thumb down 0 Votes