users@glassfish.java.net

Cannot isolate web-services using http-listener

From: <glassfish_at_javadesktop.org>
Date: Thu, 31 Jul 2008 17:14:12 PDT

I am deploying a web application and several web services on Glassfish. I want the web application accessible from port 80 and the web services from 28080.

I created a new virtual server(ws-server) and http-listener(ws-listener). Ws-listener is configured to listen on port 28080 and http1-listener has been changed to listen on port 80.

I deployed my ejb jars using the asadmin command:

[b]asadmin deploy --port 4848 --user admin --virtualservers ws-server ws,jar[/b]

and deployed my war using the admin GUI.

Through the admin GUI I can click on a WSDL link which opens the WSDL show its location on port 2800 in the browser URL and the soap:location. If I can the URL to use port 80 it rer-eneders the WSDL showing port 80 in the soap:location.

How can I isolate Web Services from web applications on a single instance of Glassfish?
[Message sent by forum member 'markpope' (markpope)]

http://forums.java.net/jive/thread.jspa?messageID=290802