geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <ja...@laskowski.net.pl>
Subject Re: Geronimo2: "port out of range:-1"
Date Thu, 12 Jul 2007 10:13:58 GMT
On 7/12/07, Francisco Borges <francisco@x-hive.com> wrote:

> I'm now trying to run my sample application on Geronimo2.0, the same
> sample runs fine on JBoss4.2 and Geronimo1.2.
>
> But on Geronimo2.0 I get:
>
> java.io.IOException: Cannot access server: null:-1 due to an unkown
> exception in the OpenEJB client: java.lang.IllegalArgumentException :
> port out of range:-1
>
> All I need to do is try to get hold of the :
>
>     Properties p = System.getProperties();
>     InitialContext jndiCntx = new InitialContext(p);
>
> So I assume I am missing something very obvious in the "java." properties
> I'm passing down?
>
> java.naming.factory.initial=org.apache.openejb.client.RemoteInitialContextFactory
> java.naming.provider.url = localhost:4201
> java.naming.security.principal = system
> java.naming.security.credentials = manager

Hi,

How are the properties passed on to the client? Can you show the
command line you use to run the client?

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Mime
View raw message