Skip to content

Commit

Permalink
TEIID-2970 moving the addition of services prior to listener start
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed May 22, 2014
1 parent 1dddd98 commit 387eaab
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -133,6 +133,10 @@ public void start(StartContext context) throws StartException {
// create the necessary services
this.logon = new LogonImpl(this.sessionService, "teiid-cluster"); //$NON-NLS-1$

DQP dqpProxy = proxyService(DQP.class, getDQP(), LogConstants.CTX_DQP);
this.registerClientService(ILogon.class, logon, LogConstants.CTX_SECURITY);
this.registerClientService(DQP.class, dqpProxy, LogConstants.CTX_DQP);

if (this.socketConfig != null) {
/*
try {
Expand Down Expand Up @@ -185,10 +189,6 @@ protected ClientServiceRegistry getClientServiceRegistry(String name) {
else {
LogManager.logInfo(LogConstants.CTX_RUNTIME, IntegrationPlugin.Util.gs(IntegrationPlugin.Event.TEIID50038, LocalServerConnection.jndiNameForRuntime(transportName)));
}

DQP dqpProxy = proxyService(DQP.class, getDQP(), LogConstants.CTX_DQP);
this.registerClientService(ILogon.class, logon, LogConstants.CTX_SECURITY);
this.registerClientService(DQP.class, dqpProxy, LogConstants.CTX_DQP);
}

@Override
Expand Down

0 comments on commit 387eaab

Please sign in to comment.