[jboss-user] [JBossWS] - Re: Problem accessing generated WSDL
moksha2007
do-not-reply at jboss.com
Tue Apr 22 17:09:04 EDT 2008
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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145989#4145989
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145989
More information about the jboss-user
mailing list