Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove e.printStackStrace() if creation of an active object fails due to remote objects #822

Closed
activeeon-bot opened this issue Nov 18, 2010 · 1 comment
Milestone

Comments

@activeeon-bot
Copy link

Original issue created by Clement Mathieu on 18, Nov 2010 at 17:51 PM - PROACTIVE-943


The strace trace is printed on the console when creating an active object if RemoteObjectExposer.createRemoteObject() throws an exception

org.objectweb.proactive.core.ProActiveException: Failed to create remoteobject(name=-7be34083-12c5faa9c0d--7d70--3aeaf64a17c82131--7be34083-12c5faa9c0d--8000)
at org.objectweb.proactive.core.remoteobject.RemoteObjectExposer.createRemoteObject(RemoteObjectExposer.java:202)
at org.objectweb.proactive.core.remoteobject.RemoteObjectExposer.createRemoteObject(RemoteObjectExposer.java:172)
at org.objectweb.proactive.core.body.AbstractUniversalBody.(AbstractUniversalBody.java:120)
at org.objectweb.proactive.core.body.AbstractBody.(AbstractBody.java:229)
at org.objectweb.proactive.core.body.HalfBody.(HalfBody.java:95)
at org.objectweb.proactive.core.body.HalfBody.getHalfBody(HalfBody.java:82)
at org.objectweb.proactive.core.body.LocalBodyStore.getContext(LocalBodyStore.java:210)
at org.objectweb.proactive.core.body.proxy.UniversalBodyProxy.sendRequest(UniversalBodyProxy.java:367)
at org.objectweb.proactive.core.body.proxy.AbstractBodyProxy.reifyAsAsynchronous(AbstractBodyProxy.java:243)
at org.objectweb.proactive.core.body.proxy.AbstractBodyProxy.invokeOnBody(AbstractBodyProxy.java:140)
at org.objectweb.proactive.core.body.proxy.AbstractBodyProxy.reify(AbstractBodyProxy.java:111)
at pa.stub.org.ow2.proactive.scheduler.core.rmproxies._StubUserRMProxy.releaseNodes(_StubUserRMProxy.java)
at org.ow2.proactive.scheduler.core.SchedulerCore.pingDeployedNodes(SchedulerCore.java:740)
at org.ow2.proactive.scheduler.core.SchedulerCore.access$1(SchedulerCore.java:719)
at org.ow2.proactive.scheduler.core.SchedulerCore$2.run(SchedulerCore.java:472)Caused by: org.objectweb.proactive.core.ProActiveException:java.rmi.ConnectException: Connection refused to host:jily.activeeon.com; nested exception is:java.net.ConnectException: Connection refused
at org.objectweb.proactive.core.remoteobject.rmi.AbstractRmiRemoteObjectFactory.register(AbstractRmiRemoteObjectFactory.java:214)
at org.objectweb.proactive.core.remoteobject.rmi.AbstractRmiRemoteObjectFactory.createRemoteObject(AbstractRmiRemoteObjectFactory.java:298)
at org.objectweb.proactive.core.remoteobject.RemoteObjectExposer.createRemoteObject(RemoteObjectExposer.java:196)... 14 more
Caused by: java.rmi.ConnectException: Connection refused to host:jily.activeeon.com; nested exception is:java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at org.objectweb.proactive.core.remoteobject.rmi.AbstractRmiRemoteObjectFactory.register(AbstractRmiRemoteObjectFactory.java:206)... 16 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:520)
at java.net.Socket.connect(Socket.java:470)
at java.net.Socket.(Socket.java:367)
at java.net.Socket.(Socket.java:180)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)... 21 more

@activeeon-bot
Copy link
Author

Original comment posted by Clement Mathieu on 18, Nov 2010 at 17:57 PM


%%&%% MERGED key=PROACTIVE-943 !! branch=4.3.x !! version=4.3.2 !! revisions=#17930

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant