| | |
jboss-4.0.1sp1 & Apache2 virtual host config
| View Poll Results: number | |||
| 1 | | 0 | 0% |
| 2 | | 0 | 0% |
| 3 | | 0 | 0% |
| 4 | | 0 | 0% |
| 5 | | 1 | 100.00% |
| 6 | | 0 | 0% |
| 7 | | 0 | 0% |
| 8 | | 0 | 0% |
| 9 | | 0 | 0% |
| 10 | | 0 | 0% |
| Multiple Choice Poll. Voters: 1. You may not vote on this poll | |||
![]() |
•
•
Join Date: Oct 2008
Posts: 1
Reputation:
Solved Threads: 0
Hello all,
I have requirement of accessing http://localhost:8080/tc/webclient using Domain server name say www.tc.emerson.com. Domain Name has been already configured in etc\host.
tc ear has been deployed in jboss-4.0.1sp1.
I'm using Apache2 to virtual host for my jboss-4.0.1sp1 Application Server.
Issue is, when I run www.tc.emerson.com in browser, it is redirecting to jboss jmx-console page, instead of redirecting to http://localhost:8080/tc/webclient
Please can anyone help me out from this issue? It is bit urgent. It would be greatly appreciable.
Here is part of the Apache config:
Config of httpd.conf:
Config of Mod-jk.conf:
Config of workers.properties:
Here is part of the Jboss config:
JBoss Configuration:
Config of Server.xml:
Config of jboss-web.xml:
Am I missing anything in configuration? I couldn’t find any clue thru googling. Can anyone help me out form this issue.
Any suggestions are greatly appreciated.
Waiting for reply with anticipation.
Thanks,
Deenu
I have requirement of accessing http://localhost:8080/tc/webclient using Domain server name say www.tc.emerson.com. Domain Name has been already configured in etc\host.
tc ear has been deployed in jboss-4.0.1sp1.
I'm using Apache2 to virtual host for my jboss-4.0.1sp1 Application Server.
Issue is, when I run www.tc.emerson.com in browser, it is redirecting to jboss jmx-console page, instead of redirecting to http://localhost:8080/tc/webclient
Please can anyone help me out from this issue? It is bit urgent. It would be greatly appreciable.
Here is part of the Apache config:
Config of httpd.conf:
#Include mod_jk configuration file Include conf/mod-jk.conf
Config of Mod-jk.conf:
LoadModule jk_module modules/mod_jk.so
#Where to find workers.properties
#Where to put jk shared memory
#Where to put jk logs
#Set the jk log level [debug/error/info]
#Select the timestamp log format
#JkOptions indicates to send SSK KEY SIZE
JkWorkersFile conf/workers.properties
JkShmFile "D:/Apps/ApacheWebServer2.0/Apache2/logs/mod_jk.shm"
JkLogFile "D:/Apps/ApacheWebServer2.0/Apache2/logs/mod_jk.log"
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkOptions +ForwardKeySize +ForwardURICompatUnparsed -ForwardDirectories
<VirtualHost *:80>
ServerName www.tc.emerson.com
ServerAdmin Deenanath.Yadav@emerson.com
LogLevel warn
CustomLog logs/ tc.emerson.com.access.log combined
ErrorLog logs/ tc.emerson.com.error.log
ServerSignature Off
JkAutoAlias /tc/webclient
JkMountFile conf/uriworkermap.properties
</VirtualHost>Config of workers.properties:
# Define list of workers that will be used # for mapping requests # The configuration directives are valid # for the mod_jk version 1.2.18 and later # worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host= localhost worker.worker1.port=8009 worker.worker1.lbfactor=1 Config of uriworkermap.properties: /tc/webclient/*=worker1 /tc/webclient=worker1 /*=worker1
Here is part of the Jboss config:
JBoss Configuration:
Config of Server.xml:
<Engine name="jboss.web" defaultHost="localhost" jvmroute="worker1">
<Logger className="org.jboss.web.tomcat.Log4jLogger"
verbosityLevel="WARNING"
category="org.jboss.web.localhost.Engine"/>
<Host name="localhost"
autoDeploy="false" deployOnStartup="false" deployXML="false">
<Alias>www.tc.emerson.com</Alias>
<Alias>tc.emerson.com</Alias>
<Valve className="org.apache.catalina.valves.AccessLogValve"
prefix=" tc.emerson.com _log." suffix=".log"
pattern="common" directory="${jboss.server.home.dir}/log"/>Config of jboss-web.xml:
<jboss-web>
<context-root>/</context-root>
<virtual-host>www.tc.emerson.com</virtual-host>
</jboss-web>Any suggestions are greatly appreciated.
Waiting for reply with anticipation.
Thanks,
Deenu
![]() |
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: browser
- Next Thread: The 10 Best Linux Distributions
| Thread Tools | Search this Thread |
Tag cloud for Linux Servers and Apache
.net amazon apache apple asus bbc bluegene centos cisco citrix cloud cloudcomputing code datacenters debian dell desktops development distributions drivers economy eeepc energy enterprise fedora fsf gadgets gentoo gnu gos government gpl hardware hyper-v ibm java jobs kindle knoppix kvm laptop laptops lawsuits ldap licensing linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbooks news novell olpc open openmoko openoffice opensolaris opensource operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source stallman sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen





