Returned 5 Results for "tomcat" Ordered By Relevance

make mod_jk in Debian Sarge [relevance: 4.27]


2007-09-14 Digg! icurtain Delcious icurtain Technorati icurtain


under debian enter the following command to make sure your compiler environment is working

set up your environment with
apt-get install libtool autoconf gcc apache2-prefork-dev
great.. now we are ready to compile

copy the tomcat source native directory over to the server and from within native/ run the following

make sure the support dir is sitting at the same level

./configure --with-apxs=/usr/bin/apxs2
make
make install

then after all that

Libraries have been installed in:
/usr/lib/apache2/modules

Or download a precomiled binary from http://mirror.public-internet.co.uk/ftp/apache/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.26/i386/


mod_jk - exclude sub-dirs from tomcat with no-jk [relevance: 3.68]


2007-09-10 Digg! icurtain Delcious icurtain Technorati icurtain


excluding sub-directories from mod_jk and allowing apache to execute them natively can be done with with SetEnvIf no-jk. simply add the following code to either the httpd.conf or the mod-jk.conf


DocumentRoot /var/www/html/
SetEnvIf Request_URI "/munin/*" no-jk
JkMount /* ajp13

In this case we are running munin with jboss/tomcat and want to run the perl code in the apache httpd environment at the same time forwarding all other requests to the root /* to the jboss/tomcat server


Tomcat Installation and Setup on Windows [relevance: 3.36]


2007-09-13 Digg! icurtain Delcious icurtain Technorati icurtain


  1. make sure the file msvcr71.dll is present in the system path 
  2.  
  3. intall java jre 
  4. install tomcat 
  5.  
  6. copy the deployment directory onto the local drive 
  7.  
  8. edit: 
  9.  
  10. ..\Apache Software Foundation\Tomcat 6.0\conf\server.xml 
  11.  
  12. to include the deployment path to the application 
  13.  
  14. this looks like this and should sit inside the following heirachy within the xml document 
  15.  
  16. <Server> 
  17.    <Service> 
  18.       <Engine> 
  19.          <Host> 
  20.             <Context path="/Project" reloadable="true" docBase="C:\Project" workDir="C:\Project\work" /> 
  21.          </Host> 
  22.       </Engine> 
  23.    </Service> 
  24. </Server> 
  25.  
  26. edit: 
  27.  
  28. ..\Project\WEB-INF\web.xml 
  29.  
  30. to make sure the logging directories are set up correctly etc (packages etc) 
  31.  
  32. launch tomcat and deploy the project from the project manager 
  33.  
  34. it should now be available at http://localhost:8080 
  35.  
  36. run emulate from the run.bat batch file - making sure its pointing to the right target within the batch file 
  37.  

Tomcat prunsrv.c javajni.c [error] - Service Error [relevance: 3.19]


2007-09-13 Digg! icurtain Delcious icurtain Technorati icurtain


When tomcat generates something similar to the following log output chances are its missing the Windows C dll MSVCR71.dll - Tomcat needs this to initialise java when the service starts. Put a copy in your c:\windows\system32 directory or wherever you want as long as its in your system path

[2007-09-13 04:12:54] [info] Running Service...
[2007-09-13 04:12:54] [info] Starting service...
[2007-09-13 04:12:54] [173 javajni.c] [error] The specified module could not be found.
[2007-09-13 04:12:54] [924 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jre1.6.0_02\bin\client\jvm.dll
[2007-09-13 04:12:54] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-09-13 04:12:54] [info] Run service finished.
[2007-09-13 04:12:54] [info] Procrun finished.


Debian Java/Tomcat Configuration on Sarge [relevance: 1.54]


2007-09-14 Digg! icurtain Delcious icurtain Technorati icurtain


Following on from the previous article Java should now be located in

/usr/lib/j2re1.6-sun/bin

You will have to set up

JAVA_HOME and JRE_HOME

these can be set in

/etc/environment

add the lines

JAVA_HOME = "/usr/lib/j2re1.6-sun"
export JAVA_HOME

CATALINA_HOME= "/opt/Tomcat5.5/"
export CATALINA_HOME

or from the command line

export JAVA_HOME=/usr/lib/j2re1.6-sun/

etc.

first we have to build mod_jk for our environment

refer to my other article on building mod_jk

put mod_jk.so into /etc/apache2/mods-available or wherever else you want and then refer to it in the apache conf stick this in your httpd.conf # Load mod_jk module # Specify the filename of the mod_jk lib LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so then restart apache ./ /etc/init.d/apache2 restart