Bug 1011986 - [EAP6] Managed server creating / starting problem
Summary: [EAP6] Managed server creating / starting problem
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 6
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: JON 3.3.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-25 13:47 UTC by Jan Stefl
Modified: 2015-01-05 23:44 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-04 13:31:27 UTC
Type: Bug


Attachments (Terms of Use)

Description Jan Stefl 2013-09-25 13:47:56 UTC
Scenario:
 - EAP started as domain.
 - JON UI: agent -> JBossAS7 Host Controllers -> EAP Domain controller -> Create child (Managed server)
  - insert relevant infomation and in step 2 set socket binding as "standard sockets"
  - finish
 - Start just create server (you can do it via JON UI)

Result
 - JON reports no problem and everything seems that server was started, but 
   the server was not started and log contains:
09:25:04,242 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775:    New missing/unsatisfied dependencies:
      service jboss.binding.jacorb (missing) dependents: [service jboss.jacorb.orb-service] 
      service jboss.binding.jacorb-ssl (missing) dependents: [service jboss.jacorb.orb-service] 
      service jboss.binding.messaging (missing) dependents: [service jboss.messaging.default] 
      service jboss.binding.messaging-throughput (missing) dependents: [service jboss.messaging.default] 
 - OK, it is clear that at least full-sockets is expected, but 
   1. JON mustn't allow us to set such bindings
   2. JON must identify that server was not started

Comment 1 Jan Stefl 2013-09-25 14:04:58 UTC
After stopping mentioned server via JON UI, I was unable to create another mananged server.

Comment 4 Jan Stefl 2013-10-04 15:16:29 UTC
 - the server is actually started but with failed services.
 - it is caused due missing definition of socket bindings for certain services. The server group is set to use full profile which uses messaging and when adding server the socket binding was redefined to use one without defined socket bindings for this service.

The use case is that customer can easily define wrong socket binding (one which doesn't cover all services being started based on the profile being used) without JON notifying the customer that it caused EAP server start up with errors.

We recommend this to be fixed in current release. There should be some notification that server wasn't started successfully (but only partially)

Comment 5 Libor Zoubek 2013-10-11 15:13:35 UTC
Jan, 

I don't think there is a good way for JON to detect server state, if you take look at DC admin console, such server is reported as running, so even domain controller does not know.

Same way .. you can set 'standart-sockets' binding for server that belongs to 'main-server-group' using DC admin console.

In JON, user still has a way how to get information from server log. You can enable 'Log Event Source' in managed server's Connection settings and then check 'Events'.

Comment 6 Radim Hatlapatka 2013-10-21 13:14:44 UTC
At least there should be done some validation on JON side when adding the managed server and warn him that using different socket-binding than the one defined in server-group can cause server to start only with limited services (some services may fail to start due undefined socket binding).

Comment 7 Mike Foley 2013-11-11 16:28:52 UTC
moving to JON 3.3 per BZ Triage 11/11/2013  heute, loleary, foley, santos, yarboro

Comment 9 Libor Zoubek 2014-11-04 13:31:27 UTC
Closing as NOTABUG, as there's nothing we can do.


Note You need to log in before you can comment on or make changes to this bug.