[JBoss JIRA] Created: (JBAS-8071) HDScanner's setScanEnabled() method Fails to enable scanning on first invocation
by Mike Clark (JIRA)
HDScanner's setScanEnabled() method Fails to enable scanning on first invocation
---------------------------------------------------------------------------------
Key: JBAS-8071
URL: https://jira.jboss.org/browse/JBAS-8071
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Other
Affects Versions: 6.0.0.M3
Reporter: Mike Clark
Assignee: Mike Clark
he org.jboss.system.server.profileservice.hotdeploy.HDScanner bean's setScanEnabled() method fails when setting to "true" if it was previously set to "false" When enabling, the setter calls the start():
public synchronized void setScanEnabled(boolean scanEnabled)
{
if (scanEnabled == true && activeScan == null && scanExecutor != null)
{
start();
}
else if (scanEnabled == false && activeScan != null)
{
stop();
}
this.scanEnabled = scanEnabled;
}
However, if the scanEnabled member variable (this.scanEnabled) is false this call does nothing:
public void start()
{
if (scanEnabled)
{
activeScan = scanExecutor.scheduleWithFixedDelay(this, 0, scanPeriod, TimeUnit.MILLISECONDS);
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (EJBTHREE-2105) org.jboss.system.server.ServerConfig is not available in EAP 5.1
by Carlo de Wolf (JIRA)
org.jboss.system.server.ServerConfig is not available in EAP 5.1
----------------------------------------------------------------
Key: EJBTHREE-2105
URL: https://jira.jboss.org/browse/EJBTHREE-2105
Project: EJB 3.0
Issue Type: Bug
Components: core
Affects Versions: bom-eap5-0.1.2
Reporter: Carlo de Wolf
Priority: Critical
Fix For: bom-eap5-0.1.3
[INFO] Compilation failure
/home/carlo/work/jbossas/projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/InitialContextFactory.java:[37,30] cannot find symbol
symbol : class ServerConfig
location: package org.jboss.system.server
/home/carlo/work/jbossas/projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/InitialContextFactory.java:[125,55] cannot find symbol
symbol : variable ServerConfig
location: class org.jboss.ejb3.InitialContextFactory
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month