Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed apache and apache tomcat both on my server.
I want to run my tomcat and apache both on port 80
that's why i implemented mod_jk connector.
I want to run all my jsp and servlet file from the examples folder only.
for that i have use Jkmount point as /examples/* my_workers_property_name
when i run .war file it does not work.
what more settings i have to do.
I have put my as file in /examples/test/meshcms.war
but still i cant access it.
Can you access your application directly through tomcat, like http://tomcat:8080/meshcms
If not, you need to deploy it.
Quote:
Should i have to add any server mapping detail in web.xml or server.xml file regarding my .war file
I guess you have. Or you can stick your war file under /webapps in which case it will be autodeployed. Of course you need to change the JkMount path in apache
I cant change my jkmount point /examples/* to /*
I am running php script also on my root directory so if i change jkmount point to just /* my php script will stop working.
I cant access like http://myip:8080/examples/meshcms
because of jkmount point.
But if I change it to /* it works.
But i have to save my .war file in /webapps directory not in /examples directory.
I can then access like http://myip:8080/meshcms or like http://myip/meshcms
but then i cant access my php script on root directory.
But i have to save my .war file in /webapps directory not in /examples directory.
I can then access like http://myip:8080/meshcms or like http://myip/meshcms
but then i cant access my php script on root directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.