You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Ajay Arora <aj...@hotmail.com> on 2003/09/12 17:12:21 UTC

mod_jk2 on aix - Urgent

Greetings,
   I was installing mod_jk2 to interact between apache 2 and tomcat 1.4. I 
was not able to build the module. It says jni_md.h is missing. I am having 
java1.3.1 and I do not have include directory with it.

Can somebody will help mw with it. Can anybody has compiled mod_jk2 for aix 
5.1 or can any body provide me the include directory.

Ajay

_________________________________________________________________
Attention NRIs! Banking worries? 
http://server1.msn.co.in/msnspecials/nriservices/index.asp Get smart tips.


jk, directoindex and friends

Posted by Henri Gomez <hg...@apache.org>.
I've got the following configuration Apache 2.0.47/jk 1.2.4 :

<VirtualHost *>
     ServerAdmin webmaster@lxmlrpc
     DirectoryIndex index.html index.php index.jsp
     DocumentRoot /var/www/lxmlrpc
     ServerName lxmlrpc
     ErrorLog logs/lxmlrpc-error_log
     CustomLog logs/lxmlrpc-access_log common
     AddType application/x-httpd-php .php .php4 .php3 .phtml
     AddType application/x-httpd-php-source .phps
     Alias /test /var/www/test
     JkMount /*.jsp tomcat1
     JkOptions +ForwardDirectories

</VirtualHost>


Apache forward request to tomcat for URL :

http://lxmlrpc/test/index.jsp

But only if Apache find a file /var/www/test/index.jsp

Did I miss something or should we add a flag to avoid such
test, since when using Apache and Tomcat on remote systems
I don't want Apache to have dummy 'index.jsp'.

I've got the same request for config like this :


<VirtualHost *>
     ServerAdmin webmaster@lxmlrpc
     DirectoryIndex index.html index.php index.jsp
     DocumentRoot /var/www/lxmlrpc
     ServerName lxmlrpc
     ErrorLog logs/lxmlrpc-error_log
     CustomLog logs/lxmlrpc-access_log common
     AddType application/x-httpd-php .php .php4 .php3 .phtml
     AddType application/x-httpd-php-source .phps
     JkMount /test/*.jsp tomcat1
     JkOptions +ForwardDirectories
</VirtualHost>


Comments welcomed ;)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


jk, directoindex and friends

Posted by Henri Gomez <hg...@apache.org>.
I've got the following configuration Apache 2.0.47/jk 1.2.4 :

<VirtualHost *>
     ServerAdmin webmaster@lxmlrpc
     DirectoryIndex index.html index.php index.jsp
     DocumentRoot /var/www/lxmlrpc
     ServerName lxmlrpc
     ErrorLog logs/lxmlrpc-error_log
     CustomLog logs/lxmlrpc-access_log common
     AddType application/x-httpd-php .php .php4 .php3 .phtml
     AddType application/x-httpd-php-source .phps
     Alias /test /var/www/test
     JkMount /*.jsp tomcat1
     JkOptions +ForwardDirectories

</VirtualHost>


Apache forward request to tomcat for URL :

http://lxmlrpc/test/index.jsp

But only if Apache find a file /var/www/test/index.jsp

Did I miss something or should we add a flag to avoid such
test, since when using Apache and Tomcat on remote systems
I don't want Apache to have dummy 'index.jsp'.

I've got the same request for config like this :


<VirtualHost *>
     ServerAdmin webmaster@lxmlrpc
     DirectoryIndex index.html index.php index.jsp
     DocumentRoot /var/www/lxmlrpc
     ServerName lxmlrpc
     ErrorLog logs/lxmlrpc-error_log
     CustomLog logs/lxmlrpc-access_log common
     AddType application/x-httpd-php .php .php4 .php3 .phtml
     AddType application/x-httpd-php-source .phps
     JkMount /test/*.jsp tomcat1
     JkOptions +ForwardDirectories
</VirtualHost>


Comments welcomed ;)




Re: mod_jk2 on aix - Urgent

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Ajay Arora wrote:
> Greetings,
>   I was installing mod_jk2 to interact between apache 2 and tomcat 1.4. 
> I was not able to build the module. It says jni_md.h is missing. I am 
> having java1.3.1 and I do not have include directory with it.

Have you try to comment out the #include <jni_md.h>?

Are you sure you need jni?

> 
> Can somebody will help mw with it. Can anybody has compiled mod_jk2 for 
> aix 5.1 or can any body provide me the include directory.
> 
> Ajay
> 
> _________________________________________________________________
> Attention NRIs! Banking worries? 
> http://server1.msn.co.in/msnspecials/nriservices/index.asp Get smart tips.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: mod_jk2 on aix - Urgent

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Ajay Arora wrote:
> Greetings,
>   I was installing mod_jk2 to interact between apache 2 and tomcat 1.4. 
> I was not able to build the module. It says jni_md.h is missing. I am 
> having java1.3.1 and I do not have include directory with it.

Have you try to comment out the #include <jni_md.h>?

Are you sure you need jni?

> 
> Can somebody will help mw with it. Can anybody has compiled mod_jk2 for 
> aix 5.1 or can any body provide me the include directory.
> 
> Ajay
> 
> _________________________________________________________________
> Attention NRIs! Banking worries? 
> http://server1.msn.co.in/msnspecials/nriservices/index.asp Get smart tips.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
>