I added a virtual server to GlassFish so that some web services could be hosted on a separate port from the web
application so that the web services would not be accessible from the Internet.
I replicated this setup in my development environment. Every time I deploy my Maven2 .war file to GlassFish from
NetBeans I have to log into the admin console and tell it which virtual server to use, then restart GlassFish before my
application will run. If I don't do that then Spring/JPA has a problem and my app won't start properly.
I want to be able to configure per project which virtual server to deploy to in GlassFish. If that's not possible, then
I want to be able to configure it in the servers editor where I added GlassFish.