Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > URL problems using Apache, JBoss, mod_jk

Reply
Thread Tools

URL problems using Apache, JBoss, mod_jk

 
 
Monica
Guest
Posts: n/a
 
      10-10-2006
Hello everyone,

I had posted this to the alt.apache.configuration group, but have not
gotten a response, and I am desperate!!!

I have configured Apache on Machine 1 and JBoss on Machine 2 using
mod_jk. After much trial and error, I finally got things working. I
have a war file that exists on Machine 2 that I need to use for my site

named Corporate.war. However, when I attempt to access my url
www.example.com from the internet I get an error. When I use the url
www.example.com/Corporate the site opens just fine. How do I tell
Apache to open the site using www.example.com? I have made numerous
changes to the VirtualHost in httpd.conf to no avail.


Another problem I am having is that my site is not displaying static
images located on Machine 2. Those images are not located in the same
directory as the DocumentRoot, they are back one directory.
(..\default\images)


Basic VirtualHost I am using:


<VirtualHost *:80>
ServerName www.example.com
ServerAdmin a...@mycompany.com
DocumentRoot 'C:\jboss-4.0.1RC2\server\default\deploy'
JkMount /*.war loadbalancer
JkMount /Corporate loadbalancer
JkMount /Corporate/* loadbalancer
JkMount /*.jsp loadbalancer
JkMount /servlet/* loadbalancer
ErrorLog logs/example.com-error.log
CustomLog logs/example.com-access.log common
</VirtualHost>


Thank you in advance for any and all suggestions.


Monica

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache 2.0.52 - tomcat 5 issue using mod_jk george.mihailidis@gmail.com Java 1 02-01-2005 10:38 AM
mod_jk only works from local host Patrick Java 4 01-25-2004 03:22 PM
Apache + Tomcat + mod_jk configuring Stian Kaasa Java 1 01-18-2004 04:55 PM
Tomcat 5.0 & mod_jk Configuration James Thornton Java 0 12-31-2003 12:34 AM
help with jboss + tomcat + apache + mod_jk in a load balanced config Golem Java 0 11-27-2003 07:11 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57