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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
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. > > |
|
|||
|
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. | | |
|
|||
|
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. > | > | |
|
|||
|
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 | | |
|
|||
|
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 > | > | |