[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjms-user
Subject:    [openjms-user] Re: TCP problem in the Internet World
From:       "Cédric Braem" <cbraem () spicymind ! com>
Date:       2004-02-26 15:10:30
Message-ID: !~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAJnKwXiamP0COjjvzhsD9L8KDAAAQAAAAIJ/tUefnmk6keYuJ66sGrgEAAAAA () spicymind ! com
[Download RAW message or body]

In complement with my previous post...
Version I use: 0.7.6
I change a little bit my config file to have this one: use
RmiTopicConnectionFactory.

<ServerConfiguration host="212.68.202.111" embeddedJNDI="true" /> 
<TcpConfiguration internalHost="192.168.254.5" port="3030" jndiPort="3035"
/> 
<Connectors>
    	<Connector scheme="tcp">
     		<ConnectionFactories>
        		<TopicConnectionFactory
name="TcpTopicConnectionFactory" />
    		</ConnectionFactories>
    	</Connector>
    	<Connector scheme="rmi">
     		<ConnectionFactories>
        		<TopicConnectionFactory
name="RmiTopicConnectionFactory" />
    		</ConnectionFactories>
    	</Connector>
</Connectors> 

When I start OpenJms, I receive the following message: origin
/212.68.202.111 is non-local host (stack trace bellow)
Indeed this IP adress is not a local host...  It seems that I receive it
when server try to create the RMI connector.
Any idea or similar error?
Is Somebody have benchmarks of performance with TCP?
What is the difference between onMessage() and receive()? 

Thank you for your help

org.exolab.jms.server.ServerException: java.rmi.ServerException:
RemoteException occurred in server thread; nested exception is:
        java.rmi.AccessException: Registry.Registry.rebind disallowed;
origin /212.68.202.111 is non-local host
        at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352)
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
        at sun.rmi.transport.Transport$1.run(Transport.java:148)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
01)
        at java.lang.Thread.run(Thread.java:534)
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
all.java:247)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
        at java.rmi.Naming.rebind(Naming.java:160)
        at
org.exolab.jms.server.rmi.RmiJmsServer.init(RmiJmsServer.java:121)
        at org.exolab.jms.server.JmsServer.initConnector(JmsServer.java:369)
        at
org.exolab.jms.server.JmsServer.initConnectors(JmsServer.java:323)
        at org.exolab.jms.server.JmsServer.init(JmsServer.java:199)
        at org.exolab.jms.server.JmsServer.main(JmsServer.java:231)
Caused by: java.rmi.AccessException: Registry.Registry.rebind disallowed;
origin /212.68.202.111 is non-local host
        at sun.rmi.registry.RegistryImpl.checkAccess(RegistryImpl.java:223)
        at sun.rmi.registry.RegistryImpl.rebind(RegistryImpl.java:152)
        at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
        at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
        at sun.rmi.transport.Transport$1.run(Transport.java:148)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
01)
        at java.lang.Thread.run(Thread.java:534)



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
openjms-user mailing list
openjms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openjms-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic