|
Home > Archive > WebSphere HTTP Server > January 2004 > How can I by pass the root URI address directly to WAS???
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How can I by pass the root URI address directly to WAS???
|
|
| FabHas 2004-01-19, 8:21 am |
| Hi Folks,
I need to make the HTTP Server by pass the root URI Address
(http://servername) thru the WAS, on the WAS Server, everything is working
with no problems, but when I try to access thru the HTTP Server, it
understands that the request is made to the HTTP Server, not to the WAS
server, Iīve deployed the WAR on the / context root, and everything on the
plugin-cfg.xml looks fine, iīve tryied to remove de <directory /> directive
but it didnīt work.
Does anyone hava any clue?
Thanks in advance,
FabHas
| |
| Todd Kaplinger 2004-01-19, 8:21 am |
| post you plugincfg.xml and websphere version and ptf level.
FabHas wrote:quote:
> Hi Folks,
> I need to make the HTTP Server by pass the root URI Address
> (http://servername) thru the WAS, on the WAS Server, everything is working
> with no problems, but when I try to access thru the HTTP Server, it
> understands that the request is made to the HTTP Server, not to the WAS
> server, I?ve deployed the WAR on the / context root, and everything on the
> plugin-cfg.xml looks fine, i?ve tryied to remove de <directory /> directive
> but it didn?t work.
> Does anyone hava any clue?
> Thanks in advance,
> FabHas
>
>
| |
| FabHas 2004-01-19, 8:21 am |
| Hi Todd,
The WAS version is 4 with fixpak 6
The plugin-cfg.xml is below:
<?xml version="1.0"?>
<Config>
<Log LogLevel="Error" Name="/usr/WebSphere/AppServer/logs/native.log"/>
<VirtualHostGroup Name="default_host">
<VirtualHost Name="spocpdsv80a.equifax.com.br:80"/>
</VirtualHostGroup>
<VirtualHostGroup Name="rsocket">
<VirtualHost Name="rsocket.dev.equifax.com.br:80"/>
</VirtualHostGroup>
<VirtualHostGroup Name="chequemais">
<VirtualHost Name="chequemais.dev.equifax.com.br:80"/>
</VirtualHostGroup>
<VirtualHostGroup Name="liquidcredit">
<VirtualHost Name="liquidcredit.dev.equifax.com.br:80"/>
</VirtualHostGroup>
<VirtualHostGroup Name="perfil">
<VirtualHost Name="perfil.dev.equifax.com.br:80"/>
</VirtualHostGroup>
<VirtualHostGroup Name="rightsizing">
<VirtualHost Name="rs.dev.equifax.com.br:80"/>
<VirtualHost Name="desenvolvimento.equifax.com.br:80"/>
</VirtualHostGroup>
<ServerGroup Name="spocpdsv80a/EquifaxProdutos">
<Server CloneID="ui9gv979" Name="EquifaxProdutos">
<Transport Hostname="10.1.0.6" Port="9081" Protocol="http"/>
</Server>
</ServerGroup>
<UriGroup Name="produtos/produtosWeb_URIs">
<Uri AffinityCookie="JSESSIONID" Name="/produtosWeb/*"/>
</UriGroup>
<ServerGroup Name="spocpdsv80a/EquifaxDataQA">
<Server CloneID="uj0h8k4r" Name="EquifaxDataQA">
<Transport Hostname="10.1.0.6" Port="9082" Protocol="http"/>
</Server>
</ServerGroup>
<UriGroup Name="dataqa/dataqaWeb_URIs">
<Uri AffinityCookie="JSESSIONID" Name="/dataqaWeb/*"/>
</UriGroup>
<ServerGroup Name="spocpdsv80a/EquifaxBackoffice">
<Server CloneID="ukp1kqqe" Name="EquifaxBackoffice">
<Transport Hostname="10.1.0.6" Port="9083" Protocol="http"/>
</Server>
</ServerGroup>
<UriGroup Name="controle-acesso-ear/controle-acesso-web_URIs">
<Uri AffinityCookie="JSESSIONID" Name="/controleacesso/*"/>
</UriGroup>
<UriGroup Name="backoffice-ear/Backoffice_URIs">
<Uri AffinityCookie="JSESSIONID" Name="/estruturacomercial/*"/>
</UriGroup>
<ServerGroup Name="spocpdsv80a/EquifaxChequeMais">
<Server CloneID="ut1rmc9i" Name="EquifaxChequeMais">
<Transport Hostname="10.1.0.46" Port="10110" Protocol="http"/>
</Server>
</ServerGroup>
<UriGroup Name="cheque/cheque.war_URIs">
<Uri AffinityCookie="JSESSIONID" Name="/cheque/*"/>
</UriGroup>
<ServerGroup Name="spocpdsv80a/EquifaxParserTest">
<Server CloneID="uub21mfl" Name="EquifaxParserTest">
<Transport Hostname="spocpdsv80a" Port="9084" Protocol="http"/>
</Server>
</ServerGroup>
<UriGroup Name="parser-test/parser-test-web_URIs">
<Uri AffinityCookie="JSESSIONID" Name="/parser-test/*"/>
</UriGroup>
<ServerGroup Name="spocpdsv80a/EquifaxRemoteSocket">
<Server CloneID="uvhqa19i" Name="EquifaxRemoteSocket">
<Transport Hostname="10.1.0.36" Port="10010" Protocol="http"/>
</Server>
</ServerGroup>
<UriGroup Name="bridge/bridge.war_URIs">
<Uri AffinityCookie="JSESSIONID" Name="/bridge/*"/>
</UriGroup>
<ServerGroup Name="spocpdsv80a/EquifaxLiquidCredit">
<Server CloneID="v1pt1gdf" Name="EquifaxLiquidCredit">
<Transport Hostname="10.1.0.66" Port="10310" Protocol="http"/>
</Server>
</ServerGroup>
****************************************
***************
<UriGroup Name="liquidcredit/lc.war_URIs">
<Uri AffinityCookie="JSESSIONID" Name="/*"/>
</UriGroup>
****************************************
***************
<ServerGroup Name="spocpdsv80a/EquifaxPerfil">
<Server CloneID="v1pt5bsl" Name="EquifaxPerfil">
<Transport Hostname="10.1.0.56" Port="10210" Protocol="http"/>
</Server>
</ServerGroup>
<UriGroup Name="perfil/perfil.war_URIs">
<Uri AffinityCookie="JSESSIONID" Name="/perfil/*"/>
</UriGroup>
<Route ServerGroup="spocpdsv80a/EquifaxProdutos"
UriGroup="produtos/produtosWeb_URIs"
VirtualHostGroup="rightsizing"/>
<Route ServerGroup="spocpdsv80a/EquifaxDataQA"
UriGroup="dataqa/dataqaWeb_URIs" VirtualHostGroup="rightsizing"/>
<Route ServerGroup="spocpdsv80a/EquifaxBackoffice"
UriGroup="controle-acesso-ear/controle-acesso-web_URIs"
VirtualHostGroup="rightsizing"/>
<Route ServerGroup="spocpdsv80a/EquifaxBackoffice"
UriGroup="backoffice-ear/Backoffice_URIs"
VirtualHostGroup="rightsizing"/>
<Route ServerGroup="spocpdsv80a/EquifaxChequeMais"
UriGroup="cheque/cheque.war_URIs" VirtualHostGroup="chequemais"/>
<Route ServerGroup="spocpdsv80a/EquifaxParserTest"
UriGroup="parser-test/parser-test-web_URIs"
VirtualHostGroup="rightsizing"/>
<Route ServerGroup="spocpdsv80a/EquifaxRemoteSocket"
UriGroup="bridge/bridge.war_URIs" VirtualHostGroup="rsocket"/>
<Route ServerGroup="spocpdsv80a/EquifaxLiquidCredit"
UriGroup="liquidcredit/lc.war_URIs"
VirtualHostGroup="liquidcredit"/>
<Route ServerGroup="spocpdsv80a/EquifaxPerfil"
UriGroup="perfil/perfil.war_URIs" VirtualHostGroup="perfil"/>
</Config>
"Todd Kaplinger" <kaplinger@alum.bentley.edu> escreveu na mensagem
news:3FA001A3.1020403@alum.bentley.edu...quote:
> post you plugincfg.xml and websphere version and ptf level.
>
> FabHas wrote:
working[QUOTE][color=darkred]
the[QUOTE][color=darkred]
directive[QUOTE][color=darkred]
>
| |
| Todd Kaplinger 2004-01-19, 8:21 am |
| At quick glance, it appears to be ok to me (there is a bunch of VH
entries so I may have missed something). Can you hit one server (in the
server group) directly bypassing the plugin?
FabHas wrote:quote:
> Hi Todd,
>
> The WAS version is 4 with fixpak 6
> The plugin-cfg.xml is below:
>
> <?xml version="1.0"?>
> <Config>
> <Log LogLevel="Error" Name="/usr/WebSphere/AppServer/logs/native.log"/>
> <VirtualHostGroup Name="default_host">
> <VirtualHost Name="spocpdsv80a.equifax.com.br:80"/>
> </VirtualHostGroup>
> <VirtualHostGroup Name="rsocket">
> <VirtualHost Name="rsocket.dev.equifax.com.br:80"/>
> </VirtualHostGroup>
> <VirtualHostGroup Name="chequemais">
> <VirtualHost Name="chequemais.dev.equifax.com.br:80"/>
> </VirtualHostGroup>
> <VirtualHostGroup Name="liquidcredit">
> <VirtualHost Name="liquidcredit.dev.equifax.com.br:80"/>
> </VirtualHostGroup>
> <VirtualHostGroup Name="perfil">
> <VirtualHost Name="perfil.dev.equifax.com.br:80"/>
> </VirtualHostGroup>
> <VirtualHostGroup Name="rightsizing">
> <VirtualHost Name="rs.dev.equifax.com.br:80"/>
> <VirtualHost Name="desenvolvimento.equifax.com.br:80"/>
> </VirtualHostGroup>
> <ServerGroup Name="spocpdsv80a/EquifaxProdutos">
> <Server CloneID="ui9gv979" Name="EquifaxProdutos">
> <Transport Hostname="10.1.0.6" Port="9081" Protocol="http"/>
> </Server>
> </ServerGroup>
> <UriGroup Name="produtos/produtosWeb_URIs">
> <Uri AffinityCookie="JSESSIONID" Name="/produtosWeb/*"/>
> </UriGroup>
> <ServerGroup Name="spocpdsv80a/EquifaxDataQA">
> <Server CloneID="uj0h8k4r" Name="EquifaxDataQA">
> <Transport Hostname="10.1.0.6" Port="9082" Protocol="http"/>
> </Server>
> </ServerGroup>
> <UriGroup Name="dataqa/dataqaWeb_URIs">
> <Uri AffinityCookie="JSESSIONID" Name="/dataqaWeb/*"/>
> </UriGroup>
> <ServerGroup Name="spocpdsv80a/EquifaxBackoffice">
> <Server CloneID="ukp1kqqe" Name="EquifaxBackoffice">
> <Transport Hostname="10.1.0.6" Port="9083" Protocol="http"/>
> </Server>
> </ServerGroup>
> <UriGroup Name="controle-acesso-ear/controle-acesso-web_URIs">
> <Uri AffinityCookie="JSESSIONID" Name="/controleacesso/*"/>
> </UriGroup>
> <UriGroup Name="backoffice-ear/Backoffice_URIs">
> <Uri AffinityCookie="JSESSIONID" Name="/estruturacomercial/*"/>
> </UriGroup>
> <ServerGroup Name="spocpdsv80a/EquifaxChequeMais">
> <Server CloneID="ut1rmc9i" Name="EquifaxChequeMais">
> <Transport Hostname="10.1.0.46" Port="10110" Protocol="http"/>
> </Server>
> </ServerGroup>
> <UriGroup Name="cheque/cheque.war_URIs">
> <Uri AffinityCookie="JSESSIONID" Name="/cheque/*"/>
> </UriGroup>
> <ServerGroup Name="spocpdsv80a/EquifaxParserTest">
> <Server CloneID="uub21mfl" Name="EquifaxParserTest">
> <Transport Hostname="spocpdsv80a" Port="9084" Protocol="http"/>
> </Server>
> </ServerGroup>
> <UriGroup Name="parser-test/parser-test-web_URIs">
> <Uri AffinityCookie="JSESSIONID" Name="/parser-test/*"/>
> </UriGroup>
> <ServerGroup Name="spocpdsv80a/EquifaxRemoteSocket">
> <Server CloneID="uvhqa19i" Name="EquifaxRemoteSocket">
> <Transport Hostname="10.1.0.36" Port="10010" Protocol="http"/>
> </Server>
> </ServerGroup>
> <UriGroup Name="bridge/bridge.war_URIs">
> <Uri AffinityCookie="JSESSIONID" Name="/bridge/*"/>
> </UriGroup>
> <ServerGroup Name="spocpdsv80a/EquifaxLiquidCredit">
> <Server CloneID="v1pt1gdf" Name="EquifaxLiquidCredit">
> <Transport Hostname="10.1.0.66" Port="10310" Protocol="http"/>
> </Server>
> </ServerGroup>
> ****************************************
***************
> <UriGroup Name="liquidcredit/lc.war_URIs">
> <Uri AffinityCookie="JSESSIONID" Name="/*"/>
> </UriGroup>
> ****************************************
***************
> <ServerGroup Name="spocpdsv80a/EquifaxPerfil">
> <Server CloneID="v1pt5bsl" Name="EquifaxPerfil">
> <Transport Hostname="10.1.0.56" Port="10210" Protocol="http"/>
> </Server>
> </ServerGroup>
> <UriGroup Name="perfil/perfil.war_URIs">
> <Uri AffinityCookie="JSESSIONID" Name="/perfil/*"/>
> </UriGroup>
> <Route ServerGroup="spocpdsv80a/EquifaxProdutos"
> UriGroup="produtos/produtosWeb_URIs"
> VirtualHostGroup="rightsizing"/>
> <Route ServerGroup="spocpdsv80a/EquifaxDataQA"
> UriGroup="dataqa/dataqaWeb_URIs" VirtualHostGroup="rightsizing"/>
> <Route ServerGroup="spocpdsv80a/EquifaxBackoffice"
> UriGroup="controle-acesso-ear/controle-acesso-web_URIs"
> VirtualHostGroup="rightsizing"/>
> <Route ServerGroup="spocpdsv80a/EquifaxBackoffice"
> UriGroup="backoffice-ear/Backoffice_URIs"
> VirtualHostGroup="rightsizing"/>
> <Route ServerGroup="spocpdsv80a/EquifaxChequeMais"
> UriGroup="cheque/cheque.war_URIs" VirtualHostGroup="chequemais"/>
> <Route ServerGroup="spocpdsv80a/EquifaxParserTest"
> UriGroup="parser-test/parser-test-web_URIs"
> VirtualHostGroup="rightsizing"/>
> <Route ServerGroup="spocpdsv80a/EquifaxRemoteSocket"
> UriGroup="bridge/bridge.war_URIs" VirtualHostGroup="rsocket"/>
> <Route ServerGroup="spocpdsv80a/EquifaxLiquidCredit"
> UriGroup="liquidcredit/lc.war_URIs"
> VirtualHostGroup="liquidcredit"/>
> <Route ServerGroup="spocpdsv80a/EquifaxPerfil"
> UriGroup="perfil/perfil.war_URIs" VirtualHostGroup="perfil"/>
> </Config>
>
>
>
>
> "Todd Kaplinger" <kaplinger@alum.bentley.edu> escreveu na mensagem
> news:3FA001A3.1020403@alum.bentley.edu...
>
> working
>
> the
>
> directive
>
>
>
| |
| Todd Kaplinger 2004-01-19, 8:21 am |
| It is definitely possible to deploy a war with context root of "/" on
apache. By chance, can you serve a JSP from this context root if you
have not tried already or is there another application server installed
on this machine intercepting requests? You should be able to see what
is loading via the loadModule lines in the httpd.conf.
FabHas wrote:quote:
> Hi Todd,
> It?s totally operational acessing directly the servers, if a change the
> context-root of the WAR to something different than "/" it works fine
> too..... I imagine that somehow the apache is overriding the plugin
> parameters, I don?t even know if it?s possible to deploy on the "/"
> context-root.
>
> Thanks in advance,
>
> FabHas
>
> "Todd Kaplinger" <kaplinger@alum.bentley.edu> escreveu na mensagem
> news:3FA26DB3.1030503@alum.bentley.edu...
>
> Name="/usr/WebSphere/AppServer/logs/native.log"/>
>
> Protocol="http"/>
>
> Protocol="http"/>
>
> Protocol="http"/>
>
> Protocol="http"/>
>
> Protocol="http"/>
>
> VirtualHostGroup="rightsizing"/>
>
> VirtualHostGroup="chequemais"/>
>
>
>
|
|
|
|
|