This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 184391 - when netbeans 6.9 ends it try to write to /boot.log
Summary: when netbeans 6.9 ends it try to write to /boot.log
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-17 18:42 UTC by crodrigu
Modified: 2011-11-16 16:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crodrigu 2010-04-17 18:42:14 UTC
w or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]                                                
log4j:ERROR setFile(null,false) call failed.                                                                            
java.io.FileNotFoundException: /boot.log (Permission denied)                                                            
        at java.io.FileOutputStream.open(Native Method)                                                                 
        at java.io.FileOutputStream.<init>(FileOutputStream.java:201)                                                   
        at java.io.FileOutputStream.<init>(FileOutputStream.java:127)                                                   
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)                                                 
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)                                         
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)                                     
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)                                
        at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)                                 
        at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)                           
        at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)                           
        at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)                   
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)                             
        at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)                             
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:470)                        
        at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)                                                    
        at org.jboss.logging.log4j.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:70)                                    
        at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:603)                                                  
        at org.jboss.logging.Logger.<init>(Logger.java:119)                                                             
        at org.jboss.logging.Logger.getLogger(Logger.java:567)                                                          
        at org.jnp.interfaces.NamingContext.<clinit>(NamingContext.java:183)                                            
        at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:55)                      
        at org.jboss.naming.NamingContextFactory.getInitialContext(NamingContextFactory.java:49)                        
        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)                                     
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305)                                       
        at javax.naming.InitialContext.init(InitialContext.java:240)                                                    
        at javax.naming.InitialContext.<init>(InitialContext.java:214)                                                  
        at org.netbeans.modules.j2ee.jboss4.JBDeploymentManager.getRMIServer(JBDeploymentManager.java:177)              
        at org.netbeans.modules.j2ee.jboss4.JBDeploymentManager.refreshRMIServer(JBDeploymentManager.java:223)          
        at org.netbeans.modules.j2ee.jboss4.nodes.Util.getMBeanParameter(Util.java:212)                                 
        at org.netbeans.modules.j2ee.jboss4.ide.JBStartServer$1.run(JBStartServer.java:235)                             
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1413)                                       
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1952)   

I normally work as root, I do not understand why it needs to write to that file (it seems that the path is not correct)

Thanks
Comment 1 Petr Hejl 2010-04-26 11:42:55 UTC
The jboss code wants to write there. AFAIK it is not visible defect, just message in log. Am I right?