[jboss-user] [JBoss Web Services Users] - web services and virtual hosts (jbossws 3.0.5 on AS4.2.2)

brettcave do-not-reply at jboss.com
Tue Nov 24 06:56:19 EST 2009

theres a few topics on this, and doesn't seem to be resolved yet, although jbossws-native 3.0.3 addressed the issue - is there perhaps a step missing, or is this an issue with a component other than just jbossws (ejb2.1 endpoints?)

1) upgrade jboss to jbossws-native 3.0.5 and restart (all libs and the jbossws.sar updated in deploy)
2) update libraries in my project classpath (ide and compile cp's) - specifically jbossws-spi.jar for the annotations (jaxb-api stays the same). recompile and redeploy project.

<Host name="my.virtual.host"
  |     ......>
  |      <Alias>my.virtual.host.name</Alias>
  |      <Alias>my.virtual.host.name:80</Alias>
  |     <Valve ... />
  | </Host>

The default "localhost" virtualhost is still configured, and listens on to all headers excluding the virtualhost aliases above.

MyWSBean.java (seam 2.1.1):
  | @Stateless()
  | @WebContext(virtualHosts = {"my.virtual.host"}, contextRoot = "/services")
  | @WebService(name="myWS", serviceName="myWS")
  | public class MyWSBean {}

See theres a few jira issues about this, assuming there is no working for jboss 4? (5.0.1 is resolved).

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267270#4267270

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267270

More information about the jboss-user mailing list