com.ibm.ws.webcontainer.util.VirtualHostContextRootMapper map SRVE0316W: Request matches the context root [/SpringMVC/*] under the virtual host alias of [node02:9080].
com.ibm.ws.webcontainer.util.VirtualHostContextRootMapper map SRVE0317W: You may need to add a new virtual host alias of *:<your port> to the same virtual host that [node02:9080] is under.
webcontainer E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle /SpringMVC/new_car.html has not been defined.
Solution:
From DMGR Go here:
Virtual Hosts > default_host > Host Aliases
Add a new entry */<node2 port> ( In my case default host port).
Restart node 2.
This resolved the issue.
Worked like a charm
ReplyDeleteworked great for me too!
ReplyDeleteThanks for this great info!
ReplyDeletethank you Wasi, appreciate your post..!!
ReplyDeleteThank you so much.
ReplyDeletealso, if there is an entry in:
ReplyDeleteVirtual Hosts > default_host > Host Aliases
which is not in serverindex.xml
you might get an error like:
com.ibm.ws.webcontainer.util.VirtualHostContextRootMapper map SRVE0316W: Request matches the context root [/my-app/*] under the virtual host alias of [*:80].
either you may add to serverindex.xml a value or remove it from the virtual host.
it happened to me when there are more then one domain at the same host with the same WAS 8.5.5.8 installation