You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by cometian <mm...@viewlocity.com> on 2011/03/24 21:22:57 UTC

How to access httpejbd port in the code

Hi 

I am using openejb3.1.3 with activemq5.3.1. I am planning to deploy my
webservices on a custom port and read the port number in the code. 

My httpejbd.properties file reads

server = org.apache.openejb.server.httpd.HttpServerFactory
bind = 0.0.0.0
port  = 8082
disabled = false
threads = 200

The webservice gets deployed correctly but I am not able read the port
number in the client code to access my webservice. 
Can some one suggest a solution?

Thanks
Comet.

--
View this message in context: http://openejb.979440.n4.nabble.com/How-to-access-httpejbd-port-in-the-code-tp3403679p3403679.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How to access httpejbd port in the code

Posted by Jacek Laskowski <ja...@japila.pl>.
On Thu, Mar 24, 2011 at 9:22 PM, cometian <mm...@viewlocity.com> wrote:

> I am not able read the port number in the client code to access my webservice.
> Can some one suggest a solution?

How would you do that without changing the port? Is it possible
without WSDL or a input param to your application?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl