This content has been marked as final.
Show 1 reply
-
1. Re: Problem accessing generated WSDL
moksha2007 Apr 22, 2008 5:09 PM (in response to moksha2007)Hi,
Did a little more investigation, and it seems the problem is somewhere in the server.xml (jboss-web.deployer), at least that is what I think.
In there I have a Host configuration that matches with the virtual host. Meaning all request go through that specific web application, including the web-service requests.<Host name="x" errorReportValveClass="org.apache.catalina.core.StandardHostValve" autoDeploy="false" deployOnStartup="false" deployXML="false" configClass="org.jboss.web.tomcat.security.config.JBossContextConfig" > <Alias>x.xxx.com</Alias> ...
and apache proxy config:<VirtualHost *:80> ServerName x.xxx.com ServerSignature Off ProxyPass / ajp://127.0.0.105:8009/ ProxyPassReverse / ajp://127.0.0.105:8009/ </VirtualHost>
Using that, I cannot reach the 'standard' services (sars) like jmx-console and such, but my application just fine.
When I add another virtual host config in apache, like:<VirtualHost *:80> ServerName y.xxx.com ServerSignature Off ProxyPass / ajp://127.0.0.105:8009/ ProxyPassReverse / ajp://127.0.0.105:8009/ </VirtualHost>
Then, I can see the wsdl, but it is located under http://y.xxx.com/...?wsdl
How to configure the server.xml correctly? I am using a default server.xml with one addition, namely the host config as mentioned above.
Any help on this?
Mike