What is the exact link to get mod_jk. I can't seem to find it- 4) Integrate Tomcat and Apache Stop the Tomcat and Apache services. Then download mod_webapp from jakarta.apache.org
Thanks Sanjay --- Chris Pheby <[EMAIL PROTECTED]> wrote: > Apache, MySQL, Tomcat, Netbeans and Mozilla.... > ----------------------------------------------- > > Hope this helps > > > Chris. > > ----------------- > > 1) Install Apache > Install Apache_1.3.22-win32-x86.exe (Windows > Installer of latest stable > release) to c:\server\ (actually places it in Apache > subdirectory of > c:\server). During installation select the "Run as > Service for all Users" > option. > > Verify the installation in Control Panel / Services > by checking for Apache. > > 2) Install MySQL > Install mysql-max-3.23.49-win.zip by unzipping and > running setup.exe > > Recommend installing to c:\server\mysql > > Create c:\winnt\my.ini with the following contents: > > [mysqld] > basedir=C:/projects/mysql > datadir=C:/projects/mysql/data > > When you are done add c:\server\mysql\bin to the > path environment variable. > > You can get MySQL-Front from www.mysqlfront.de if > you need a graphical front > end for the database. > > Also available is MyODBC, which allows MySQL to be > connected to by > applications utilising ODBC. > > You can use the winmysqladmin utility to make > mysql-max run as a service > instead of mysql which supports transactions with > berkeley db tables. > > 3) Install Java 2 Standard Edition 1.4 > Run the J2SE installer, and choose to install to > c:\Program Files\Java\J2SE. > Install all components and set it as a plugin for > all browsers > > Add the following to the PATH variable: > > c:\Progra~1\J2SE\bin. > Install Tomcat 4.0.4 beta 1 LE > Download Tomcat 4.0.4 beta 1 LE (for JDK 1.4) and > run the installer. Take > care to install Tomcat as a Service when offered the > option by the > installer. > > Set the following environment variables: > > JAVA_HOME - c:\Progra~1\Java\J2SE > CATALINA_HOME - c:\Progra~1\Java\Tomcat > > 4) Integrate Tomcat and Apache > Stop the Tomcat and Apache services. Then download > mod_webapp from > jakarta.apache.org. Extract libapr.dll to > c:\winnt\system32. Also extract > libapr.dll and mod_webapp.so to > c:\server\apache\modules. > > Add the following lines to httpd.conf: > > LoadModule webapp_module modules/mod_webapp.so > AddModule mod_webapp.c > You need to configure a connector in httpd.conf > (examples shown for the > modules you can export initially - remove the > comments to enable them): > > <IfModule mod_webapp.c> > WebAppConnection warpConnection warp localhost:8008 > WebAppInfo /webapp-info > #WebAppDeploy examples warpConnection /examples > #WebAppDeploy webdav warpConnection /webdav > </IfModule> > Before restarting Apache download Service+ from > ActivePlus and use it to set > Apache as depending on Tomcat. Then restart Apache > (Tomcat will restart > automatically). > > 5) Install JDBC Driver for MySQL > Download the MySQL JDBC driver. > > Open the file > (mm.mysql-2.0.11-you-must-unjar-me.jar) in WinZip > and extract > mm.mysql-2.0.11-bin.jar and place it in c:\program > files\java\j2se\jre\lib\ext. It will now be > automatically available to Java > programs, without needing to add it to the > classpath. > > 6) Install Mozilla Plugin > Copy the np* files from C:\Program > Files\Java\J2SE\jre\bin to C:\Program > Files\Mozilla\Plugins. > > Restart Mozilla > > 7) Install NetBeans > Install NetBeans to c:\Program Files\Java\NetBeans. > The installer will > automatically detect the JDK. > > Netbeans can debug Tomcat, if you want to enable > this first remove the > existing Tomcat Service: > > net stop "Apache Tomcat" > c:\progra~1\java\tomcat\bin\tomcat.exe -uninstall > "Apache Tomcat" > Next install the modified Tomcat service which is > enabled for debugging: > > Tomcat.exe -install "Apache Tomcat" > c:\progra~1\java\j2se\jre\bin\server\jvm.dll > -Djava.class.path=c:\progra~1\j > ava\tomcat\bin\bootstrap.jar;c:\progra~1\java\tomcat\bin\servlet.jar;C:\Prog > ra~1\Java\J2SE\lib\tools.jar -Xint -Xdebug -Xnoagent > -Xrunjdwp:transport=dt_ > socket,server=y,address=12999,suspend=n > -Dcatalina.home=c:\progra~1\java\tom > cat\ -start org.apache.catalina.startup.Bootstrap > -params start -stop > org.apache.catalina.startup.Bootstrap -params stop > -out > c:\progra~1\java\tomcat\logs\stdout.log -err > c:\progra~1\java\tomcat\logs\stderr.log > Make the service depend on MySQL as before > > Once Tomcat has been restarted go to Netbeans, and > select the Debug / Attach > menu. Seelect JPDA as the Debugger Type, Socket > Attach, the hostname of the > machine Tomcat is on, and 12999 as the port. It is > now possible to debug the > running Tomcat server. > > To assist debugging mount the Tomcat Sources in the > Netbeans explorer: > > C:\Program Files\Java\J2SE\src > C:\Program Files\Java\Tomcat\src\catalina\src\share > C:\Program Files\Java\Tomcat\src\catalina\src\test > C:\Program Files\Java\Tomcat\src\jasper\src\share > > -----Original Message----- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > On Behalf Of Larry Chambers > Sent: 26 March 2002 02:20 > To: [EMAIL PROTECTED] > Subject: Configuring Tomcat 4 > > > I would like to configure Tomcat, but the xml files > are not very easy to > follow. All i'm trying to do right now is set up > everything to make another > directory ROOT, which is the one that I have apache > pointing to right now. > If it would be easier to just configure apache to > send requests to tomcat > then how can I do that? I've heard something of a > mod_webapp module but > haven't found it for windows yet. I'm on windows xp > so usually windows 9x > or windows 2000 stuff will work. > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: > http://mobile.msn.com > > > -- > To unsubscribe: > <mailto:[EMAIL PROTECTED]> > For additional commands: > <mailto:[EMAIL PROTECTED]> > === message truncated === __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>