ace-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bulu <b...@romandie.com>
Subject Unable to log in on server-allinone
Date Mon, 03 Nov 2014 16:21:11 GMT
Hi all

I try to run a server-allinone on my server.
I'm binding to an alternative port (9090) and starting as user tomcat6.
My start command is
   sudo -u tomcat6 /opt/oracle/java/jre1.8.0_25/bin/java 
-Dorg.apache.ace.server.port=9090 -Dorg.osgi.service.http.port=9090 -jar 
server-allinone.jar

It starts correctly and the login dialog shows. When I enter the 
defaults (user:d, pass:f), the following happens:
- the login dialog shows "Invalid username or password"
- in the greyed background, the ACE UI with the 4 columns etc loads, but 
cannot be accessed as the modal login dialog is in front.

If I enter the credentials again, the UI gets duplicated (now has twice 
all buttons and twice the 4 columns) and I also get the following exception


[Warn ] [059]org.osgi.service.event.EventHandler: EventAdmin: Exception 
during event dispatch [org.osgi.service.event.Event 
[topic=org/apache/ace/client/repository/public/RepositoryAdmin/LOGIN] | 
[org.osgi.service.event.EventHandler] | 
Bundle(org.apache.ace.webui.vaadin [59])]
java.lang.IllegalStateException: This operation requires a user to be 
logged in.
     at 
org.apache.ace.client.repository.impl.RepositoryAdminImpl.ensureLogin(RepositoryAdminImpl.java:466)
     at 
org.apache.ace.client.repository.impl.RepositoryAdminImpl.isModified(RepositoryAdminImpl.java:354)
     at 
org.apache.ace.webui.vaadin.component.MainActionToolbar.handleEvent(MainActionToolbar.java:299)
     at 
org.apache.felix.eventadmin.impl.tasks.HandlerTaskImpl.execute(HandlerTaskImpl.java:88)
     at 
org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks.execute(SyncDeliverTasks.java:221)
     at 
org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks$TaskExecuter.run(AsyncDeliverTasks.java:110)
     at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
     at java.lang.Thread.run(Thread.java:745)


What am I doing wrong?

Thanks & regards
    Philipp

Mime
View raw message