Hello Matthew (and every one !). I came from other error !!!
The following is a summary of my situation (my comments are preceded
by '===>'):
===>OpenAnzo: 3.1.0-Snapshot downloaded on November 5.
===>OS: Fedora 9 - 2.6.25-14.fc9.i686
===>JVM: OpenJDK Runtime Environment (build 1.6.0-b09)
===>The exception:
Welcome to OpenAnzo running in Felix.
=========================================
-> 2008-11-06 10:18:31,852 3 [ERROR]
[ServiceInitializer:org.openanzo.security.ldap.LdapAuthentication]
[OpName=] [OpId=] [OpUser=] [RunAs=] [UserDesc=]
org.openanzo.security.ldap.LdapAuthenticationProvider - Error
connecting to ldap server
org.openanzo.exceptions.AnzoException: ErrorCode[66176:32772]
[SECURITY_ERROR] [INTERNAL_ERROR] Unknown user error:sysadmin. Root
Cause: javax.naming.CommunicationException localhost:10389
at
org.openanzo.security.ldap.LdapAuthenticationProvider.searchForUser(LdapAuthenticationProvider.java:
366)
....
===>The port 10389 is running:
# netstat -lnp | grep 10389
tcp 0 0 :::
10389 :::* LISTEN 4323/
java
===> and is the correct process....
# ps -ef | grep 4323
root 4323 4319 11 10:17 pts/1 00:00:39 /usr/bin/java -server -
classpath /var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../lib/
org.apache.felix.main-1.2.1.jar:/var/Soft/OpenAnzo/openanzo-3.1.0-
SNAPSHOT/bin/../lib/org.openanzo.launcher-3.1.0-SNAPSHOT.jar -
Dfelix.config.properties=file:/var/Soft/OpenAnzo/openanzo-3.1.0-
SNAPSHOT/bin/../conf/config.properties -Dfelix.cache.dir=/var/Soft/
OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../conf/cache -DANZO_HOME=/var/
Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/.. -
Dorg.openanzo.osgi.bootstrap.path=/var/Soft/OpenAnzo/openanzo-3.1.0-
SNAPSHOT/bin/../conf/config -
Dorg.ops4j.pax.logging.DefaultServiceLog.level=ERROR
org.openanzo.launcher.Launcher dir:/var/Soft/OpenAnzo/openanzo-3.1.0-
SNAPSHOT/bin/../lib/core@1 dir:/var/Soft/OpenAnzo/openanzo-3.1.0-
SNAPSHOT/bin/../lib/dependencies@1 dir:/var/Soft/OpenAnzo/
openanzo-3.1.0-SNAPSHOT/bin/../lib/openanzo dir:/var/Soft/OpenAnzo/
openanzo-3.1.0-SNAPSHOT/bin/../lib/addons@5
===>The ps in Felix:
-> ps
START LEVEL 5
ID State Level Name
[ 0] [Active ] [ 0] System Bundle (1.2.1)
[ 1] [Active ] [ 5] org.openanzo.exceptions (3.1.0.SNAPSHOT)
[ 2] [Active ] [ 5] org.openanzo.js (3.1.0.SNAPSHOT)
[ 3] [Active ] [ 5] org.openanzo.combus.endpoint
(3.1.0.SNAPSHOT)
[ 4] [Active ] [ 5] org.openanzo.security.ldap
(3.1.0.SNAPSHOT)
....
[ 36] [Active ] [ 4] org.openanzo.ldap (3.1.0.SNAPSHOT)
....
===>All appears as active.
===> I don't understand too much the following but may be useful (ds
waiting in felix).
-> ds waiting
**********************************************************
Bundle: [30] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../
lib/openanzo/5/org.openanzo.servlet-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.servlet.Servlets]
State:CREATED
Available Required Services:
org.osgi.service.cm.ConfigurationAdmin
org.ops4j.pax.web.service.WebContainer
org.openanzo.security.keystore.ISecretKeystore
Waiting for Required Services:
org.openanzo.services.IAuthenticationService
Are Configuration properties set? true
**********************************************************
Bundle: [21] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../
lib/openanzo/5/org.openanzo.client.pool-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.client.ClientPool]
State:CREATED
Available Required Services:
org.openanzo.services.IExecutionService
Waiting for Required Services:
org.openanzo.services.IAuthenticationService
Extra Status Info:
Not Running Client Pools:
http://openanzo.org/clientPools/defaultSystemDatasource
http://openanzo.org/clientPools/unrestrictedClients
http://openanzo.org/clientPools/restrictedClients
**********************************************************
Bundle: [34] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../
lib/openanzo/5/org.openanzo.combus.bayeux-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.combus.BayeuxBridge]
State:CREATED
Available Required Services:
org.ops4j.pax.web.service.WebContainer
org.openanzo.security.keystore.ISecretKeystore
org.openanzo.datasource.IDatasource
Waiting for Required Services:
org.openanzo.services.IAuthenticationService
org.openanzo.combus.IJmsProvider
Are Configuration properties set? true
**********************************************************
Bundle: [15] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../
lib/openanzo/5/org.openanzo.execution.java-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.execution.java.JavaServiceExecutor]
State:STOPPED
Waiting for Required Services:
org.openanzo.osgi.registry.IRegistryProvider
org.openanzo.client.pool.AnzoClientPool
Are Configuration properties set? true
**********************************************************
Bundle: [33] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../
lib/openanzo/5/org.openanzo.combus.realtime-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.combus.RealtimePublisher]
State:CREATED
Available Required Services:
org.openanzo.datasource.IDatasource
Waiting for Required Services:
org.openanzo.services.IAuthenticationService
org.openanzo.combus.IJmsProvider
org.openanzo.combus.endpoint.CombusEndpoint
Are Configuration properties set? true
**********************************************************
Bundle: [14] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../
lib/openanzo/5/org.openanzo.datasource.manager-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.datasource.DatasourceManager]
State:STOPPED
Waiting for Required Services:
org.openanzo.osgi.registry.IRegistryProvider
Are Configuration properties set? true
Extra Status Info:
Registered Datasources:
**********************************************************
Bundle: [37] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../
lib/openanzo/3/org.openanzo.osgi.registry-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.osgi.RegistryProvider]
State:STOPPED
Waiting for Required Services:
org.openanzo.client.pool.AnzoClientPool
Are Configuration properties set? true
**********************************************************
Bundle: [3] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../lib/
openanzo/5/org.openanzo.combus.endpoint-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.combus.Endpoint]
State:STOPPED
Waiting for Required Services:
org.openanzo.combus.IJmsProvider
Are Configuration properties set? true
**********************************************************
Bundle: [23] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../
lib/openanzo/5/org.openanzo.binarystore-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.binarystore.Servlet]
State:STOPPED
Waiting for Required Services:
org.openanzo.client.pool.AnzoClientPool
Are Configuration properties set? true
**********************************************************
Bundle: [12] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../
lib/openanzo/5/org.openanzo.execution.javascript-3.1.0-SNAPSHOT.jar
Service:
[org.openanzo.execution.javascript.JavascriptServiceExecutor]
State:STOPPED
Waiting for Required Services:
org.openanzo.osgi.registry.IRegistryProvider
org.openanzo.client.pool.AnzoClientPool
Are Configuration properties set? true
**********************************************************
Bundle: [24] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../
lib/openanzo/5/org.openanzo.activemq-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.activemq.EmbeddedActiveMQServer]
State:STOPPED
Available Required Services:
org.openanzo.datasource.IDatasource
Waiting for Required Services:
org.openanzo.services.IAuthenticationService
Are Configuration properties set? true
**********************************************************
Bundle: [4] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../lib/
openanzo/5/org.openanzo.security.ldap-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.security.ldap.LdapAuthentication]
State:STOPPED
Are Configuration properties set? true
->
===> I try to restart org.openanzo.security.ldap because is stopped
and the was generated by this process...
-> stop 4
-> start 4
===> The next ds waiting the status of org.openanzo.security.ldap is
different :
Bundle: [4] file:/var/Soft/OpenAnzo/openanzo-3.1.0-SNAPSHOT/bin/../lib/
openanzo/5/org.openanzo.security.ldap-3.1.0-SNAPSHOT.jar
Service: [org.openanzo.security.ldap.LdapAuthentication]
State:CREATED
Are Configuration properties set? false
===> This is my state now... I suppose that is only a trivial
configuration error (made by me... of course.. :-) ) but... I don't
know how to trace.
Thanks.
Fernando Carpani.