Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

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

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Updating on win?  
Author Message
dangreece1

External


Since: May 18, 2004
Posts: 12



(Msg. 1) Posted: Sat Jun 05, 2004 2:42 am
Post subject: apache-tomcat jk2, struts problem finding formbean.do files
Archived from groups: alt>apache>configuration (more info?)

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.

 >> Stay informed about: apache-tomcat jk2, struts problem finding formbean.do files 
Back to top
Login to vote
dangreece1

External


Since: May 18, 2004
Posts: 12



(Msg. 2) Posted: Sat Jun 05, 2004 3:05 am
Post subject: Re: apache-tomcat jk2, struts problem finding formbean.do files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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


"Cindy Lee" <dangreece RemoveThis @hotmail.com> wrote in message
news:e76f17edc9b21487658d46245012db81@news.meganetnews.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.
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: apache-tomcat jk2, struts problem finding formbean.do files 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 3) Posted: Sat Jun 05, 2004 8:05 am
Post subject: Re: apache-tomcat jk2, struts problem finding formbean.do files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Cindy Lee <dangreece.DeleteThis@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.
|
|<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: apache-tomcat jk2, struts problem finding formbean.do files 
Back to top
Login to vote
dangreece1

External


Since: May 18, 2004
Posts: 12



(Msg. 4) Posted: Mon Jun 07, 2004 7:42 pm
Post subject: Re: apache-tomcat jk2, struts problem finding formbean.do files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

"Davide Bianchi" <davideyeahsure.RemoveThis@onlyforfun.net> wrote in message
news:2id2l1Fluk5bU3@uni-berlin.de...
 > Cindy Lee <dangreece.RemoveThis@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.
 > |
 > |<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: apache-tomcat jk2, struts problem finding formbean.do files 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 5) Posted: Mon Jun 07, 2004 9:16 pm
Post subject: Re: apache-tomcat jk2, struts problem finding formbean.do files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Cindy Lee <dangreece.DeleteThis@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
|
|<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: apache-tomcat jk2, struts problem finding formbean.do files 
Back to top
Login to vote
dangreece1

External


Since: May 18, 2004
Posts: 12



(Msg. 6) Posted: Mon Jun 07, 2004 9:34 pm
Post subject: Re: apache-tomcat jk2, struts problem finding formbean.do files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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



"Davide Bianchi" <davideyeahsure.DeleteThis@onlyforfun.net> wrote in message
news:2ijpo8FnnokbU1@uni-berlin.de...
 > Cindy Lee <dangreece.DeleteThis@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
 > |
 > |<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: apache-tomcat jk2, struts problem finding formbean.do files 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache & Tomcat & Struts Integration Problem - Hi All I hope someone can give me a hand on this. Thanks in advance. Environment: W2k Tomcat 5.0.6 Apache 2.0 Struts 1.1 Mod_jk2-2.0.43.dll (rename to mod_jk2.dll) Apache httpd.conf LoadModule jk2_module modules/mod_jk2.dll DirectoryIndex index.htm...

Tomcat 5.0.16 and Apache 2.0.48 config files - Good afternoon. After almost 2 days I have been unable to get this to work. Is there anyone out there that would be kind enough to e-mail (or make them available for downloading) their working config files for a simple Windows 2000 installation. Thanks...

Apache--->Tomcat problem - Hi, The problem is as follows: IE ---> Apache ---> Tomcat This is what I write down in a web browser: http://IP_address:port/xyz and this is what tomcat gets: http://host_name:port/xyz Can someone tell me what should I change in Apache server..

restarting apache for windows. not finding .pid file? - I have apache 1.3.28 running on windows. When i try to shutdown or restart apache I get a error saying 'cannot read apache PID file' and shows a path. That file is not in the shown path. How do i create the PID file? What do I put in it? Thanks for your...

Apache Server Side Includes SSI problem with html files so.. - Simple Steps: - Make sure the "mod_include.so" file exist in the "modules" folder. You may need to rebuild to have this module. - Open the "httpd.conf" file in the "conf" folder. Use notepad for Windows users. ...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]