[jboss-jira] [JBoss JIRA] Commented: (JBAS-8854) Cannot turn off HDScanner in AS6

Chris Jansen (JIRA) jira-events at lists.jboss.org
Fri Feb 4 06:33:39 EST 2011


    [ https://issues.jboss.org/browse/JBAS-8854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580125#comment-12580125 ] 

Chris Jansen commented on JBAS-8854:
------------------------------------

I have managed to hack BasicProfileServiceBootstrap.java to catch the NPE when I remove the HD scanner factory from profile.xml but it's probably not a permanent fix!

I've attached the modded source.

> Cannot turn off HDScanner in AS6
> --------------------------------
>
>                 Key: JBAS-8854
>                 URL: https://issues.jboss.org/browse/JBAS-8854
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Deployers
>    Affects Versions: 6.0.0.Final
>         Environment: 64bit Linux, JDK1.6.0_23
>            Reporter: Chris Jansen
>            Assignee: Emanuel Muckenhuber
>         Attachments: BasicProfileServiceBootstrap.java
>
>
> Disabling the HDscanner by following the doc http://community.jboss.org/wiki/turndeploymentscannerDown does not work. 
> It appears that the profile service starts the HDScanner at boot - removing the entry <property name="hdScannerFactory"><inject bean="HDScannerFactory" /></property> from conf/bootstrap/profile.xml causes an NPE in BasicProfileServiceBootstrap.java:
> 2011-02-03 17:58:46,069 ERROR [ProfileServiceBootstrap] (Thread-2) failed to start server: java.lang.NullPointerException
> 	at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:141) [:6.0.0.Final]
> 	at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
> 	at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
> 	at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
> 	at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list