accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edmon Begoli <ebeg...@gmail.com>
Subject JAAS error on connection
Date Wed, 01 Aug 2012 00:01:22 GMT
Folks,

I am running a Java client connection code, from ant java task and
trying to connect to my local Accumulo instance.

I get error shown below. Do I need to alter my classpath, configure
certificate or do something else?

Thanks.

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

 [java] 12/07/31 19:49:25 INFO zookeeper.ZooKeeper: Client
environment:java.io.tmpdir=/tmp
     [java] 12/07/31 19:49:25 INFO zookeeper.ZooKeeper: Client
environment:java.compiler=<NA>
     [java] 12/07/31 19:49:25 INFO zookeeper.ZooKeeper: Client
environment:os.name=Linux
     [java] 12/07/31 19:49:25 INFO zookeeper.ZooKeeper: Client
environment:os.arch=amd64
     [java] 12/07/31 19:49:25 INFO zookeeper.ZooKeeper: Client
environment:os.version=2.6.43.8-1.fc15.x86_64
     [java] 12/07/31 19:49:25 INFO zookeeper.ZooKeeper: Client
environment:user.name=<user>
     [java] 12/07/31 19:49:25 INFO zookeeper.ZooKeeper: Client
environment:user.home=/home/<user>
     [java] 12/07/31 19:49:25 INFO zookeeper.ZooKeeper: Client
environment:user.dir=/home/<user>/src/accumulo
     [java] 12/07/31 19:49:25 INFO zookeeper.ZooKeeper: Initiating
client connection, connectString=localhost sessionTimeout=30000
watcher=org.apache.accumulo.core.zookeeper.ZooSession$AccumuloWatcher@4b00ebec
     [java] 12/07/31 19:49:25 INFO zookeeper.ClientCnxn: Opening
socket connection to server /0:0:0:0:0:0:0:1:2181
     [java] 12/07/31 19:49:25 WARN client.ZooKeeperSaslClient:
SecurityException: java.lang.SecurityException: Configuration error:
java.lang.ClassNotFoundException:
com.sun.security.auth.login.ConfigFile
     [java]  occurred when trying to find JAAS configuration.
     [java] 12/07/31 19:49:25 INFO client.ZooKeeperSaslClient: Client
will not SASL-authenticate because the default JAAS configuration
section 'Client' could not be found. If you are not using SASL, you
may ignore this. On the other hand, if you expected SASL to work,
please fix your JAAS configuration.
     [java] 12/07/31 19:49:25 INFO zookeeper.ClientCnxn: Socket
connection established to localhost/0:0:0:0:0:0:0:1:2181, initiating
session
     [java] 12/07/31 19:49:25 INFO zookeeper.ClientCnxn: Session
establishment complete on server localhost/0:0:0:0:0:0:0:1:2181,
sessionid = 0x138d87a3657511d, negotiated timeout = 30000

Mime
View raw message