apache-tomcat jk2, struts problem finding formbean.do files

This is a discussion on apache-tomcat jk2, struts problem finding formbean.do files within the Apache Web Server forums, part of the Web Server and Related Forums category; I have tomcat running my struts jsps through tomcat with jk2. But when I run it through apache i always ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-05-2004
Cindy Lee
 
Posts: n/a
Default apache-tomcat jk2, struts problem finding formbean.do files

I have tomcat running my struts jsps through tomcat with jk2. But when I
run it through apache i always get a 'file cannot be found' error. The JSP
files show up ok, but the submits when it looks for the .do always fails.

can apache see my struts-config.xml?

It runs fine if I just run it through tomcat by itself.


  #2 (permalink)  
Old 06-05-2004
Cindy Lee
 
Posts: n/a
Default Re: apache-tomcat jk2, struts problem finding formbean.do files

Sorry, I'm running jk 1 not 2? Could that be a reason why.


"Cindy Lee" <dangreece@hotmail.com> wrote in message
news:e76f17edc9b21487658d46245012db81@news.meganet news.com...
> I have tomcat running my struts jsps through tomcat with jk2. But when I
> run it through apache i always get a 'file cannot be found' error. The

JSP
> files show up ok, but the submits when it looks for the .do always fails.
>
> can apache see my struts-config.xml?
>
> It runs fine if I just run it through tomcat by itself.
>
>



  #3 (permalink)  
Old 06-05-2004
Davide Bianchi
 
Posts: n/a
Default Re: apache-tomcat jk2, struts problem finding formbean.do files

Cindy Lee <dangreece@hotmail.com> wrote:
> files show up ok, but the submits when it looks for the .do always fails.
> can apache see my struts-config.xml?


Apache doesn't care about your struts-config, only Tomcat does.
From what you said it looks like Apache doesn't know that he has to
call Tomcat for the .do file. Check your configuration and be sure
to pass all these kind of requests to Tomcat.

Davide

--
| Egotist, n.: A person of low taste, more interested in himself than
| me.
|
|
  #4 (permalink)  
Old 06-07-2004
Cindy Lee
 
Posts: n/a
Default Re: apache-tomcat jk2, struts problem finding formbean.do files

But isn't it the jk mod connector that tells apache to go to tomcat?

"Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message
news:2id2l1Fluk5bU3@uni-berlin.de...
> Cindy Lee <dangreece@hotmail.com> wrote:
> > files show up ok, but the submits when it looks for the .do always

fails.
> > can apache see my struts-config.xml?

>
> Apache doesn't care about your struts-config, only Tomcat does.
> From what you said it looks like Apache doesn't know that he has to
> call Tomcat for the .do file. Check your configuration and be sure
> to pass all these kind of requests to Tomcat.
>
> Davide
>
> --
> | Egotist, n.: A person of low taste, more interested in himself than
> | me.
> |
> |



  #5 (permalink)  
Old 06-07-2004
Davide Bianchi
 
Posts: n/a
Default Re: apache-tomcat jk2, struts problem finding formbean.do files

Cindy Lee <dangreece@hotmail.com> wrote:
> But isn't it the jk mod connector that tells apache to go to tomcat?


No, the jk is _used_ by Apache to call Tomcat, but first Apache
need to known when to use it. Is analog to mod_perl, is used by
apache to process the perl scripts, but first you have to tell him
that he have to use when you ask for a .pl file.

Davide

--
| Academic politics is the most vicious and bitter form of politics,
| because the stakes are so low. -- Wallace Sayre
|
|
  #6 (permalink)  
Old 06-07-2004
Cindy Lee
 
Posts: n/a
Default Re: apache-tomcat jk2, struts problem finding formbean.do files

Ok, but when I installed jk2 instead of jk1, it fixed my problem with
calling struts form beans.



"Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message
news:2ijpo8FnnokbU1@uni-berlin.de...
> Cindy Lee <dangreece@hotmail.com> wrote:
> > But isn't it the jk mod connector that tells apache to go to tomcat?

>
> No, the jk is _used_ by Apache to call Tomcat, but first Apache
> need to known when to use it. Is analog to mod_perl, is used by
> apache to process the perl scripts, but first you have to tell him
> that he have to use when you ask for a .pl file.
>
> Davide
>
> --
> | Academic politics is the most vicious and bitter form of politics,
> | because the stakes are so low. -- Wallace Sayre
> |
> |



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 02:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0