activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-2451) logging.properties are not found automatically by start-script
Date Sat, 18 Sep 2010 16:46:45 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bruce Snyder updated AMQ-2451:
------------------------------

    Fix Version/s: 5.5.0
                       (was: 5.4.1)

> logging.properties are not found automatically by start-script
> --------------------------------------------------------------
>
>                 Key: AMQ-2451
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2451
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.0
>            Reporter: Marc Schöchlin
>             Fix For: 5.5.0
>
>
> The "logging.properties" file was found automatically in version 5.4.2 - now i have
> to chdir to "conf" to find the file automatically.
> ----
> activemq@host:~> bin/activemq-admin start
> GNARF                                        
> Java Runtime: IBM Corporation 1.6.0 /usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre
>   Heap sizes: current=4096k  free=3055k  max=524288k                       
>     JVM args: -Xjcl:jclscar_24 -Dcom.ibm.oti.vm.bootstrap.library.path=/usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre/lib/amd64/default:/usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre/lib/amd64
-Dsun.boot.library.path=/usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre/lib/amd64/default:/usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre/lib/amd64
-Djava.library.path=/usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre/lib/amd64/default:/usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre/lib/amd64:/usr/lib
-Djava.home=/usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre -Djava.ext.dirs=/usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre/lib/ext
-Duser.dir=/opt/apache-activemq-5.3.0 _j2se_j9=1119744 -Xdump -Djava.class.path=. -Xmx512M
-Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties
-Dcom.sun.management.jmxremote -Dactivemq.classpath=/opt/apache-activemq/conf; -Dactivemq.home=/opt/apache-activemq
-Dactivemq.base=/opt/apache-activemq -Djava.class.path=/opt/apache-activemq/bin/run.jar -Dsun.java.command=/opt/apache-activemq/bin/run.jar
start -Dsun.java.launcher=SUN_STANDARD -Dsun.java.launcher.pid=32694 _port_library _org.apache.harmony.vmi.portlib
                                                       
> ACTIVEMQ_HOME: /opt/apache-activemq                                                 
                                                                                         
                      
> ACTIVEMQ_BASE: /opt/apache-activemq                                                 
                                                                                         
                      
> Loading message broker from: xbean:activemq.xml                                     
                                                                                         
                      
>  INFO | Using Persistence Adapter: org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter@42da42da
                                                                                         
     
>  INFO | Replayed 1 operations from the journal in 0.015 seconds.                    
                                                                                         
                      
>  INFO | ActiveMQ 5.3.0 JMS Message Broker (localhost) is starting                   
                                                                                         
                      
>  INFO | For help or more information please see: http://activemq.apache.org/        
                                                                                         
                      
> java.io.FileNotFoundException: logging.properties (No such file or directory)       
                                                                                         
                      
>         at java.io.FileInputStream.<init>(FileInputStream.java:112)           
                                                                                         
                            
>         at java.io.FileInputStream.<init>(FileInputStream.java:72)            
                                                                                         
                            
>         at java.util.logging.LogManager.readConfiguration(LogManager.java:464)      
                                                                                         
                      
>         at java.util.logging.LogManager$3.run(LogManager.java:226)                  
                                                                                         
                      
>         at java.security.AccessController.doPrivileged(AccessController.java:202)   
                                                                                         
                      
>         at java.util.logging.LogManager.<clinit>(LogManager.java:212)         
                                                                                         
                            
>         at java.lang.J9VMInternals.initializeImpl(Native Method)                    
                                                                                         
                      
>         at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)               
                                                                                         
                      
>         at java.util.logging.Logger.getLoggerWithRes(Logger.java:342)               
                                                                                         
                      
>         at java.util.logging.Logger.getLogger(Logger.java:372)                      
                                                                                         
                      
>         at com.sun.jmx.remote.util.ClassLogger.<init>(ClassLogger.java:49)    
                                                                                         
                            
>         at javax.management.NotificationBroadcasterSupport.<clinit>(NotificationBroadcasterSupport.java:346)
                                                                                        
>         at java.lang.J9VMInternals.initializeImpl(Native Method)                    
                                                                                         
                      
>         at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)               
                                                                                         
                      
>         at javax.management.MBeanServerDelegate.<init>(MBeanServerDelegate.java:69)
                                                                                         
                       
>         at com.sun.jmx.mbeanserver.MBeanServerDelegateImpl.<init>(MBeanServerDelegateImpl.java:94)
                                                                                         
        
>         at com.sun.jmx.mbeanserver.JmxMBeanServer.newMBeanServerDelegate(JmxMBeanServer.java:1338)
                                                                                         
        
>         at javax.management.MBeanServerBuilder.newMBeanServerDelegate(MBeanServerBuilder.java:60)
                                                                                         
         
>         at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:313)
                                                                                         
                
>         at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:224)
                                                                                         
             
>         at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:185)
                                                                                         
             
>         at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:298)
                                                                                         
      
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)              
                                                                                         
                      
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
                                                                                         
                  
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
                                                                                         
          
>         at java.lang.reflect.Method.invoke(Method.java:599)                         
                                                                                         
                      
>         at org.apache.activemq.broker.jmx.ManagementContext.findTigerMBeanServer(ManagementContext.java:349)
                                                                                        
>         at org.apache.activemq.broker.jmx.ManagementContext.findMBeanServer(ManagementContext.java:319)
                                                                                         
   
>         at org.apache.activemq.broker.jmx.ManagementContext.getMBeanServer(ManagementContext.java:169)
                                                                                         
    
>         at org.apache.activemq.broker.jmx.ManagementContext.registerMBean(ManagementContext.java:292)
                                                                                         
     
>         at org.apache.activemq.broker.jmx.AnnotatedMBean.registerMBean(AnnotatedMBean.java:54)
                                                                                         
            
>         at org.apache.activemq.broker.jmx.ManagedRegionBroker.registerDestination(ManagedRegionBroker.java:245)
                                                                                     
>         at org.apache.activemq.broker.jmx.ManagedRegionBroker.register(ManagedRegionBroker.java:151)
                                                                                         
      
>         at org.apache.activemq.broker.jmx.ManagedQueueRegion.createDestination(ManagedQueueRegion.java:57)
                                                                                         

>         at org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:120)
                                                                                         
       
>         at org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:268)
                                                                                         
           
>         at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:142)
                                                                                         
                  
>         at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:142)
                                                                                         
                  
>         at org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:153)
                                                                                         
            
>         at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:142)
                                                                                         
                  
>         at org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:149)
                                                                                         
    
>         at org.apache.activemq.broker.region.AbstractRegion.start(AbstractRegion.java:94)
                                                                                         
                 
>         at org.apache.activemq.broker.region.RegionBroker.start(RegionBroker.java:178)
                                                                                         
                    
>         at org.apache.activemq.broker.jmx.ManagedRegionBroker.start(ManagedRegionBroker.java:100)
                                                                                         
         
>         at org.apache.activemq.broker.TransactionBroker.start(TransactionBroker.java:112)
                                                                                         
                 
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:154)     
                                                                                         
                      
>         at org.apache.activemq.broker.BrokerFilter.start(BrokerFilter.java:154)     
                                                                                         
                      
>         at org.apache.activemq.broker.BrokerService$3.start(BrokerService.java:1668)
                                                                                         
                      
>         at org.apache.activemq.broker.BrokerService.start(BrokerService.java:452)   
                                                                                         
                      
>         at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:56)
                                                                                         
    
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
                                             
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
                                                
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
                                                   
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
                                                          
>         at java.security.AccessController.doPrivileged(AccessController.java:224)   
                                                                                         
                      
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
                                                     
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
                                                                                  
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
                                                               
>         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
                                                                                    
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
                                                                                      
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
                                                                                      
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
                                                       
>         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
                                                      
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
                                                                              
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
                                                                              
>         at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
                                                                              
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
>         at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
>         at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
>         at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
>         at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>         at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
>         at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
>         at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:599)
>         at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
>         at org.apache.activemq.console.Main.main(Main.java:107)
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message