changed the worker.properties and restarted. but didnt work :(
also tried editing the file c:\windows\system32\drivers\
etc\hosts and the accessed the url but didnt work and it is accessing
the right server
i dont know why JK.log is saying *no URI mapping found* when we are giving
Hi.
Yes, it is very strange.
But I am sure that when we will find the solution, it will seem very
evident..
First, adding a VirtualHost at this point would make it even more
complicated. Now we have one Apache, and one Tomcat, and one mod_jk
worker between them that does not want to work.
Let's go.
Here is the link to my system, which works fine :
http://dev.dev.wissensbank.com/servlets-examples
It goes through Apache, mod_jk, and tomcat5.5.
This is my workers.properties :
workers.tomcat_home=/usr/share/tomcat5.5
workers.java_home=/usr/lib/jvm/java-1.5.0-sun
ps=/
Ravi Sharma wrote:
[...]
i dont know why JK.log is saying *no URI mapping found* when we are giving
JkMount option.
I have refreshed the logs on log.html page
You know, somehow I still have the impression that we are talking about
different hosts, or at least that the one mod_jk which is
Final message for today/tonight :
I think there is a conflict between the
worker.list=..
and the
balance_workers=..
and if the same worker name appears in both, then somehow different
parallel conflicting instances are started.
See
Ravi Sharma wrote:
Hi Andre,
Thanks for reply and sorry for my incomplete reply.
So here is what i have done now.
First i have reinstalled everything again,So i have fresh environment with
apache (version 2.2.3) and tomcat (version 5.5).
JK module(1.2.26 ) is already installed in apache,
Sorry, there is a typo in my previous message :
The JkMount lines should be :
JkMount /servlets-examples ajp13w
JkMount /servlets-examples/* ajp13w
(I forgot an s in the second one)
Ravi Sharma wrote:
Hi Andre,
Thanks for reply and sorry for my incomplete reply.
So here is what i have
STEP 1 :
Stop Tomcat and Apache
Go back to the original configuration files.
Really. Forget your changes for now. Put back
- the original Tomcat server.xml
- the original Apache httpd.conf
- the original workers.properties
[...]
Stoped the tomcat and Apache
Restored all these files which i
For some reason, this thing does not seem to want to let you go through
port 8009 (or 8010), or it refuses to redirect these URLs.
Could you refresh the copy of jk.log accessible through the web page,
and your new httpd.conf ?
By the way, I can see your Tomcat examples pages also when I
Hi Ravi.
It is quite difficult to help you if
a) you do not provide precise information
b) you do not follow precise steps when indicated
c) you mix up information when describing a problem
Ravi Sharma wrote:
Hi Andre,
Thanks a lot for your help and time , i really appreciate your
Hi Andre,
Thanks for reply and sorry for my incomplete reply.
So here is what i have done now.
First i have reinstalled everything again,So i have fresh environment with
apache (version 2.2.3) and tomcat (version 5.5).
JK module(1.2.26 ) is already installed in apache, so i don't need to
Thanks Andre.
I fixed the file and now my code looks like as follows but still my servlets
are not being called. Basically apache is not passing requests to tomcat,
only Alias is working but not JkMount
*So now my worker's file looks like this, i added testWorker*
The good news is that you will learn more by encountering problems and
solving them, than if everything worked correctly on the first pass.
Ravi Sharma wrote:
[...]
Alias /ex /usr/java/tomcat-5.5/webapps/servlets-examples
JkMount /ex/servlet/* testWorker
I think that the two lines above
ya thats true propblems gives u more knowledge..but this one is killing me
:)
i have removed the alias line too. now none of the link is working
:(
I dont know whats wrong
now httpd.conf has only this line
JkMount /ex/servlet/HelloWorldExample testWorker.
I really dont know what i am
Do not despair.
If you have removed the Alias line, it is totally normal that your first
link does not work. That's because in your case that link is *supposed*
to be served by Apache, but there is no file to serve at
/usr/java/tomcat-5.5/webapps/servlets-examples/servlet/HelloWorldExample
Hi Andre,
Thanks a lot for your help and time , i really appreciate your patience
to explain me everything step by step.
I did the exactly what u suggested. I have tomcat running on port 9080(as
well as 8180) and 8009 is ajp listner.
http://www.jaatmusic.com:9080
http://www,jaatmusic.com:8180
Hi,
I have a server running apache on port 80, and tomcat on 9080. Now apache
has setting that when i enter my domain www.mydomain.com, it point sto a
particular directoty on my server and shows the index.html from that dir.
And now i have created one java application which i want to use for
Hi Ravi,
You need to proxy Tomcat with Apache by using mod_jk or mod_proxy
(preferred)
Some pertinent links:
http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
http://marc.info/?l=tomcat-userm=121286145508630w=2
Ravi Sharma wrote:
Hi,
I have a server running apache on port
Thanks a lot Gabe,
Now i have very small problem. I have configured as per the follwoing
link
but when i restarting apache after changing the httpd.conf it gives error
for this line
JkWorkersFile /etc/httpd/conf/workers.properties
Syntax error on line 992 of /etc/httpd/conf/httpd.conf:
Ravi Sharma schrieb:
Thanks a lot Gabe,
Now i have very small problem. I have configured as per the follwoing
link
but when i restarting apache after changing the httpd.conf it gives error
for this line
JkWorkersFile /etc/httpd/conf/workers.properties
Once ...
Syntax error on line
its two times only in the mail. i was just explaining it. In actual
httpd.conf its only once.
On Sat, Jul 19, 2008 at 5:12 PM, Rainer Jung [EMAIL PROTECTED]
wrote:
Ravi Sharma schrieb:
Thanks a lot Gabe,
Now i have very small problem. I have configured as per the follwoing
link
but
Ravi Sharma wrote:
its two times only in the mail. i was just explaining it. In actual
httpd.conf its only once.
Then provide your full httpd.conf and all file Includ'ed in it.
Also double check, that you definitely know, which httpd.conf your httpd
reads.
Regards,
Rainer
On Sat, Jul
Hi Rainer,
Thanks, i checked in included files and found that it was already
declared in one of included conf file. Thanks for pointing me that.Now i
have corrected it and server is starting properly with following warnings
which i am skipping as of now.
[Sat Jul 19 10:59:41 2008] [warn]
Ravi Sharma wrote:
[...]
I'm not as competent as Rainer, but your problem may be here :
worker.list=wlb,jkstatus,testWorker
and here
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
In other words, in the workers list, you are mentioning the worker
24 matches
Mail list logo