You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by shanmugampl <sh...@india.adventnet.com> on 2002/07/18 07:52:59 UTC

Jsp Page is not getting invoked when given in DirectoryIndex

Hi,

    I am in the process of integrating Apache 2.0.39 and Tomcat4.0.4 for 
my application. I am using mod_jk for communication between apache and 
tomcat. I generated the mod_jk.so file for apache2.0 from the sources.In 
my application i have a page Login.jsp which should be the page that 
gets displayed when connected to the browser. I have given this value as

DirectoryIndex jsp/Login.jsp

    but when i connect to the server as localhost:9090, i get the 
directory listing instead of the Login.jsp file. Also i can access the 
file individually as localhost:9090/jsp/Login.jsp.

    On searching the bug database, i found that a bug has already been 
filed ( bug id:9913 ) and fixed. So i took the updated mod_jk.c(revision 
version 1.47), generated the mod_jk.so once again and copied it to the 
modules directory of my apache home. Still, when i connect through the 
browser i am getting the directory listing and not the Login.jsp page. 
Can some one point out whether i have gone wrong in some point or other. 
Moreover the mod_jk.log file is not getting created in the directory i 
have specified, but all jsp files are getting served correctly. The size 
of the generated mod_jk.so file is 322024k.

    Thanks in advance

Regards
Shanmugam.PL

Re: Jsp Page is not getting invoked when given in DirectoryIndex

Posted by shanmugampl <sh...@india.adventnet.com>.
Yes i am using mod_jk 1.2.0. I have attached the mod_jk.log file(I 
failed to give the JkLogLevel, so the log file was not created before. 
Now the log file is getting created ).

I have no problems in continuing the discussion on Tomcat Dev

Shanmugam.PL


Bojan Smojver wrote:

>Quoting shanmugampl <sh...@india.adventnet.com>:
>
>  
>
>>    On searching the bug database, i found that a bug has already been
>>filed ( bug id:9913 ) and fixed. So i took the updated mod_jk.c(revision
>>version 1.47), generated the mod_jk.so once again and copied it to the
>>modules directory of my apache home. Still, when i connect through the
>>browser i am getting the directory listing and not the Login.jsp page.
>>Can some one point out whether i have gone wrong in some point or other.
>>Moreover the mod_jk.log file is not getting created in the directory i
>>have specified, but all jsp files are getting served correctly. The size
>>of the generated mod_jk.so file is 322024k.
>>    
>>
>
>So, the mod_jk is definitely 1.2.0, not mod_jk2?
>
>Can you increase the debugging of mod_jk and maybe submit that (JkLogLevel   
>debug)? Also, if you don't mind, can we continue this discussion on Tomcat Dev
>when you reopen bug 9913? It is really a connector issue.
>
>I can verify that the fix works with Apache 2.0.39, Tomcat 3.3.x and mod_jk
>1.2.0 from CVS. But maybe TC 4.0.x is different...
>
>Bojan
>
>  
>


Re: Jsp Page is not getting invoked when given in DirectoryIndex

Posted by Bojan Smojver <bo...@rexursive.com>.
Quoting shanmugampl <sh...@india.adventnet.com>:

>     On searching the bug database, i found that a bug has already been
> filed ( bug id:9913 ) and fixed. So i took the updated mod_jk.c(revision
> version 1.47), generated the mod_jk.so once again and copied it to the
> modules directory of my apache home. Still, when i connect through the
> browser i am getting the directory listing and not the Login.jsp page.
> Can some one point out whether i have gone wrong in some point or other.
> Moreover the mod_jk.log file is not getting created in the directory i
> have specified, but all jsp files are getting served correctly. The size
> of the generated mod_jk.so file is 322024k.

So, the mod_jk is definitely 1.2.0, not mod_jk2?

Can you increase the debugging of mod_jk and maybe submit that (JkLogLevel   
debug)? Also, if you don't mind, can we continue this discussion on Tomcat Dev
when you reopen bug 9913? It is really a connector issue.

I can verify that the fix works with Apache 2.0.39, Tomcat 3.3.x and mod_jk
1.2.0 from CVS. But maybe TC 4.0.x is different...

Bojan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org