[frs-276] Instance name change causes FusionReactor to stop working

Effect

FusionReactor won't start for an instance throwing errors such as…

10/25 10:29:50 user FusionReactor Exception: null
[1]java.lang.NullPointerException
        at com.intergral.fusionreactor.fac.processor.framd.b.ab(FRAMDescriptor.java:680)
        at com.intergral.fusionreactor.logging.LogHandler.<clinit>(LogHandler.java:736)
        at com.intergral.fusionreactor.core.v.ld(FusionReactor.java:662)
        at com.intergral.fusionreactor.filter.FusionReactorFilter.init(FusionReactorFilter.java:711)
        at jrun.servlet.FilterObject.init(FilterObject.java:63)
        at jrun.servlet.FilterManager.loadFilter(FilterManager.java:220)
        at jrun.servlet.FilterManager.init(FilterManager.java:158)
        at jrun.servlet.FilterManager.create(FilterManager.java:75)
        at jrun.servlet.WebApplicationService.start(WebApplicationService.java:227)
        at jrun.ea.EnterpriseApplication.start(EnterpriseApplication.java:194)
        at jrun.deployment.DeployerService.initModules(DeployerService.java:708)
        at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:243)
        at jrun.deployment.DeployerService.deploy(DeployerService.java:428)
        at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
        at jrun.deployment.DeployerService.run(DeployerService.java:889)
        at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
[0]java.lang.ExceptionInInitializerError
        at com.intergral.fusionreactor.core.v.ld(FusionReactor.java:662)
        at com.intergral.fusionreactor.filter.FusionReactorFilter.init(FusionReactorFilter.java:711)
        at jrun.servlet.FilterObject.init(FilterObject.java:63)
        at jrun.servlet.FilterManager.loadFilter(FilterManager.java:220)
        at jrun.servlet.FilterManager.init(FilterManager.java:158)
        at jrun.servlet.FilterManager.create(FilterManager.java:75)
        at jrun.servlet.WebApplicationService.start(WebApplicationService.java:227)
        at jrun.ea.EnterpriseApplication.start(EnterpriseApplication.java:194)
        at jrun.deployment.DeployerService.initModules(DeployerService.java:708)
        at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:243)
        at jrun.deployment.DeployerService.deploy(DeployerService.java:428)
        at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
        at jrun.deployment.DeployerService.run(DeployerService.java:889)
        at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Caused by: java.lang.NullPointerException
        at com.intergral.fusionreactor.fac.processor.framd.b.ab(FRAMDescriptor.java:680)
        at com.intergral.fusionreactor.logging.LogHandler.<clinit>(LogHandler.java:736)

… or …

---------------------------------------------------------------------------------------
FusionReactor - Abnormal Halt
---------------------------------------------------------------------------------------
FusionReactor is halting on init.  This means it could not initialize correctly, and is
attempting to shut down to protect your J2EE application, which should continue to run.
 
The following trace(s) are for diagnostic purposes.
 
java.lang.ExceptionInInitializerError
        at com.intergral.fusionreactor.core.v.ld(FusionReactor.java:662)
        at com.intergral.fusionreactor.filter.FusionReactorFilter.init(FusionReactorFilter.java:711)
        at jrun.servlet.FilterObject.init(FilterObject.java:63)
        at jrun.servlet.FilterManager.loadFilter(FilterManager.java:220)
        at jrun.servlet.FilterManager.init(FilterManager.java:158)
        at jrun.servlet.FilterManager.create(FilterManager.java:75)
        at jrun.servlet.WebApplicationService.start(WebApplicationService.java:227)
        at jrun.ea.EnterpriseApplication.start(EnterpriseApplication.java:194)
        at jrun.deployment.DeployerService.initModules(DeployerService.java:708)
        at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:243)
        at jrun.deployment.DeployerService.deploy(DeployerService.java:428)
        at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
        at jrun.deployment.DeployerService.run(DeployerService.java:889)
        at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Caused by: java.lang.NullPointerException
        at com.intergral.fusionreactor.fac.processor.framd.b.ab(FRAMDescriptor.java:680)
        at com.intergral.fusionreactor.logging.LogHandler.<clinit>(LogHandler.java:736)
        ... 16 more

… or …

10/25 10:40:52 user FusionReactor: Initialization failed: null
During FR Shutdown:
java.lang.NoClassDefFoundError: Could not initialize class com.intergral.fusionreactor.logging.LogHandler
        at com.intergral.fusionreactor.osgi.impl.OSGIController.log(OSGIController.java:60)
        at com.intergral.fusionreactor.osgi.impl.OSGIController.shutdown(OSGIController.java:90)
        at com.intergral.fusionreactor.core.v.hd(FusionReactor.java:371)
        at com.intergral.fusionreactor.filter.FusionReactorFilter.destroy(FusionReactorFilter.java:778)
        at com.intergral.fusionreactor.filter.FusionReactorFilter.init(FusionReactorFilter.java:733)
        at jrun.servlet.FilterObject.init(FilterObject.java:63)
        at jrun.servlet.FilterManager.loadFilter(FilterManager.java:220)
        at jrun.servlet.FilterManager.init(FilterManager.java:158)
        at jrun.servlet.FilterManager.create(FilterManager.java:75)
        at jrun.servlet.WebApplicationService.start(WebApplicationService.java:227)
        at jrun.ea.EnterpriseApplication.start(EnterpriseApplication.java:194)
        at jrun.deployment.DeployerService.initModules(DeployerService.java:708)
        at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:243)
        at jrun.deployment.DeployerService.deploy(DeployerService.java:428)
        at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
        at jrun.deployment.DeployerService.run(DeployerService.java:889)
        at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
10/25 10:40:52 user FusionReactor Exception: null
[1]java.lang.NullPointerException
        at com.intergral.fusionreactor.fac.processor.framd.b.ab(FRAMDescriptor.java:680)
        at com.intergral.fusionreactor.logging.LogHandler.<clinit>(LogHandler.java:736)
        at com.intergral.fusionreactor.core.v.ld(FusionReactor.java:662)
        at com.intergral.fusionreactor.filter.FusionReactorFilter.init(FusionReactorFilter.java:711)
        at jrun.servlet.FilterObject.init(FilterObject.java:63)
        at jrun.servlet.FilterManager.loadFilter(FilterManager.java:220)
        at jrun.servlet.FilterManager.init(FilterManager.java:158)
        at jrun.servlet.FilterManager.create(FilterManager.java:75)
        at jrun.servlet.WebApplicationService.start(WebApplicationService.java:227)
        at jrun.ea.EnterpriseApplication.start(EnterpriseApplication.java:194)
        at jrun.deployment.DeployerService.initModules(DeployerService.java:708)
        at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:243)
        at jrun.deployment.DeployerService.deploy(DeployerService.java:428)
        at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
        at jrun.deployment.DeployerService.run(DeployerService.java:889)
        at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
 
[0]java.lang.ExceptionInInitializerError
        at com.intergral.fusionreactor.core.v.ld(FusionReactor.java:662)
        at com.intergral.fusionreactor.filter.FusionReactorFilter.init(FusionReactorFilter.java:711)
        at jrun.servlet.FilterObject.init(FilterObject.java:63)
        at jrun.servlet.FilterManager.loadFilter(FilterManager.java:220)
        at jrun.servlet.FilterManager.init(FilterManager.java:158)
        at jrun.servlet.FilterManager.create(FilterManager.java:75)
        at jrun.servlet.WebApplicationService.start(WebApplicationService.java:227)
        at jrun.ea.EnterpriseApplication.start(EnterpriseApplication.java:194)
        at jrun.deployment.DeployerService.initModules(DeployerService.java:708)
        at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:243)
        at jrun.deployment.DeployerService.deploy(DeployerService.java:428)
        at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
        at jrun.deployment.DeployerService.run(DeployerService.java:889)
        at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Caused by: java.lang.NullPointerException
        at com.intergral.fusionreactor.fac.processor.framd.b.ab(FRAMDescriptor.java:680)
        at com.intergral.fusionreactor.logging.LogHandler.<clinit>(LogHandler.java:736)
        ... 16 more

Cause

There is now a requirement that the FusionReactor instance name (listed in

{FR}

/instance/<instance name>/conf/reactor.conf "name" property) matches the <instance name> folder name.

Resolution

Make "name=" property match the name of the folder by either updating the property or renaming the folder.
Note: Ensure the permissions/ownership of the folder and reactor.conf file are not altered during the editing process.

Issue Details

Type: Technote
Issue Number: FRS-276
Components: FusionReactor Settings
Environment:
Resolution: Fixed
Last Updated: 25/Oct/11 5:30 PM
Affects Version:
Fixed Version: Pending
Server:
Platform:
Related Issues:

Comments are closed.