geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert McKinnon <...@clubpcc.com>
Subject Re: Remote authorization
Date Sun, 08 Oct 2006 18:37:14 GMT
That was the problem.  Thanks.

Rob

Aaron Mulder wrote:
> It sounds like you edited config.xml and then stopped and started
> Geroinmo.  Geronimo rewrites config.xml while it's running, so you
> should stop Geronimo, edit the file, and then start Geronimo again.
>
> Thanks,
>     Aaron
>
> On 10/6/06, Robert McKinnon <rob@clubpcc.com> wrote:
>> To Whom It May Concern:
>>
>> I am receiving a Host authorization error when trying to access a
>> session bean remotely.
>>
>> 22:10:50,415 ERROR [EJB] Host 71.207.20.158 is not authorized to access
>> this service.
>> java.lang.SecurityException: Host 71.207.20.158 is not authorized to
>> access this service.
>>         at
>> org.activeio.xnet.hba.ServiceAccessController.checkHostsAuthorization(ServiceAccessController.java:78)

>>
>>         at
>> org.activeio.xnet.hba.ServiceAccessController.service(ServiceAccessController.java:51)

>>
>>         at 
>> org.activeio.xnet.ServiceLogger.service(ServiceLogger.java:74)
>>         at
>> org.activeio.xnet.ServiceDaemon$SocketListener.run(ServiceDaemon.java:151) 
>>
>>         at java.lang.Thread.run(Thread.java:595)
>>
>> I found reference on line to edit the config.xml file and add the
>> "allowHosts" attribute to the EJBNetworkService gbean.  I did this but
>> after restarting the server, the allowHosts attribute entry is removed.
>> Is there a better way to configure what host are allowed to access EJBs
>> remotely and/or is there a way to edit the config.xml file without it
>> being rewritten.
>>
>> Any help would be appreciated.
>>
>> Thanks
>>
>>
>>
>
>

Mime
View raw message