ace-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bulu <b...@romandie.com>
Subject Re: Unable to log in on server-allinone
Date Tue, 04 Nov 2014 12:08:05 GMT
Obviously you also need to specify the server with the port:

sudo -u tomcat6 /opt/oracle/java/jre1.8.0_25/bin/java \
-Dorg.apache.ace.server.port=9090 \
-Dorg.osgi.service.http.port=9090 \
-Dorg.apache.ace.server=www.example.com:9090 \
-Dorg.apache.ace.obr=www.example.com:9090 \
-jar server-allinone.jar

Regards Philipp


On 03.11.2014 17:21, Bulu wrote:
> 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