Hi,

if I try to connect to a local (running) db instance of OrientDB 2.1 via 
DBVisualizer 9.2.8 I get the following exception/error messages:

------------------

An error occurred while establishing the connection:

Long Message:
Cannot connect to ORB

Details:
   Type: javax.naming.CommunicationException

Stack Trace:
javax.naming.CommunicationException: Cannot connect to ORB [Root exception 
is org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No]
   at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:400)
   at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:274)
   at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:105)
   at 
com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:49)
   at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
   at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
   at javax.naming.InitialContext.init(InitialContext.java:242)
   at javax.naming.InitialContext.<init>(InitialContext.java:216)
   at com.onseven.dbvis.db.A.G.Ą(Z:1132)
   at com.onseven.dbvis.db.A.G.Ĵ(Z:2721)
   at com.onseven.dbvis.db.A.I.Ĵ(Z:1783)
   at com.onseven.dbvis.db.A.B.execute(Z:2933)
   at com.onseven.dbvis.K.B.Y.ā(Z:112)
   at com.onseven.dbvis.K.B.K.Ă(Z:1374)
   at com.onseven.dbvis.K.B.K.doInBackground(Z:1521)
   at javax.swing.SwingWorker$1.call(SwingWorker.java:296)
   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
   at javax.swing.SwingWorker.run(SwingWorker.java:335)
   at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)
Caused by: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 
completed: No
   at 
com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2200)
   at 
com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2221)
   at 
com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:223)
   at 
com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:236)
   at 
com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:119)
   at 
com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:186)
   at 
com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:136)
   at 
com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(BootstrapResolverImpl.java:99)
   at 
com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(BootstrapResolverImpl.java:132)
   at 
com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:47)
   at 
com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:47)
   at 
com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(CompositeResolverImpl.java:47)
   at 
com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_references(ORBImpl.java:1169)
   at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:378)
   ... 20 more
Caused by: java.net.ConnectException: Verbindungsaufbau abgelehnt
   at sun.nio.ch.Net.connect0(Native Method)
   at sun.nio.ch.Net.connect(Net.java:484)
   at sun.nio.ch.Net.connect(Net.java:476)
   at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:675)
   at java.nio.channels.SocketChannel.open(SocketChannel.java:184)
   at 
com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactoryImpl.java:95)
   at 
com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:206)
   ... 31 more

---------

Notes:

* I use the latest official JDBC driver from the OrientDB website 
"orientdb-jdbc-2.1.0-all.jar" and have configured the driver in 
DBVisualizer using Tool "Driver Manager" where I used the Database URL 
jdbc:orient:remote:localhost/<database_name>

* I can connect to the database using OrientDB Studio on localhost:2480, 
though


Thanks a lot for your help, much appreciated!

Best regards, Christian


-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to