aspose file tools
The moose likes Other Java Products and Servers and the fly likes jkMount with apache loading glassfish subdomains Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Reply Bookmark "jkMount with apache loading glassfish subdomains" Watch "jkMount with apache loading glassfish subdomains" New topic
Author

jkMount with apache loading glassfish subdomains

K. Tsang
Ranch Hand

Joined: Sep 13, 2007
Posts: 1219

Hello all, I have this scenario. Suppose I have a domain called "test.com" running apache. Then I install glassfish and mod_jk.

Now say I have a subdomain called "abc.test.com" such that this URL will route to glassfish app called "abc". Without mod_jk I can access this using "test.com:8080/abc" but instead I want to use mod_jk and point to "abc.test.com".

So I add the JKMount directive in my apache custom settings like this:


But now if I do that my default index page will load up glassfish index page. If I do "JkMount /*.test.com ajp13" or "JkMount /abc.test.com ajp13" it doesn't seem to work.

Do I need to do anything on Glassfish side like setting up virtual hosts? I hope not

Thanks


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD
John Brosan
Greenhorn

Joined: Jul 07, 2005
Posts: 9
I know that this is a really old post, but I am having the exact same issue and I was wondering if there are some good examples that someone could point me to in order to resolve this issue.

Thanks,
John


Linux, giving you more uptime than an overdose of viagra!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jkMount with apache loading glassfish subdomains
 
Similar Threads
tomcat6 and apache
How to make Tomcat and Apache cooperate?
Lost sessions when using Apache + Tomcat + mod_jk
mounting sub contexts mod_jk
Webapp works locally, but not on Server