activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vango55 <evangelos.papadopou...@clearstream.com>
Subject Re: Exception when starting the broker : java.io.FileNotFoundException: logging.properties
Date Fri, 13 Nov 2009 16:09:27 GMT



Gary Tully wrote:
> 
> I think there is a bug in the activemq script:
> 
> the fix is:
> if [ -z "$ACTIVEMQ_OPTS" ] ; then
> -  ACTIVEMQ_OPTS="-Xmx512M
> -Dorg.apache.activemq.UseDedicatedTaskRunner=true
> -Djava.util.logging.config.file=${ACTIVEMQ_BASE}/logging.properties"
> +  ACTIVEMQ_OPTS="-Xmx512M
> -Dorg.apache.activemq.UseDedicatedTaskRunner=true
> -Djava.util.logging.config.file=logging.properties"
> fi
> 
> 
> in any event, the key is the value of "-Djava.util.logging.config.file"
> which is optional as it is only there to suppress logging to stdout from
> some of the webconsole components.
> 
> 2009/11/11 Vango55 <evangelos.papadopoulos@clearstream.com>:
>>
>> Hello,
>>
>> I ´m new to ActiveMQ 5.3.
>>
>> When I start the Broker , I get the following exception (See below). Any
>> idea about what could be wrong in my installation/config.
>>
>> Thanks for your help.
>>
>> Evangelos
>>
>> //************************************************************************
>>
>> Loading message broker from: xbean:activemq.xml
>>  INFO | Using Persistence Adapter:
>> AMQPersistenceAdapter(/local/xt392/tools/apache-activemq-5.3.0/data)
>>  INFO | AMQStore starting using directory:
>> /local/xt392/tools/apache-activemq-5.3.0/data
>>  INFO | Kaha Store using data directory
>> /local/xt392/tools/apache-activemq-5.3.0/data/kr-store/state
>>  INFO | Active data files: []
>>  INFO | ActiveMQ 5.3.0 JMS Message Broker (CB_1) is starting
>>  INFO | For help or more information please see:
> http://activemq.apache.org/
>>  INFO | Kaha Store using data directory
>> /local/xt392/tools/apache-activemq-5.3.0/data/kr-store/data
>> 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(Unknown Source)
>>        at java.util.logging.LogManager$3.run(Unknown Source)
>>        at
>> java.security.AccessController.doPrivileged(AccessController.java:202)
>>        at java.util.logging.LogManager.<clinit>(Unknown Source)
>>        at java.lang.J9VMInternals.initializeImpl(Native Method)
>>
>> --
>> View this message in context:
> http://old.nabble.com/Exception-when-starting-the-broker-%3A-java.io.FileNotFoundException%3A-logging.properties-tp26305218p26305218.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> http://blog.garytully.com
> 
> Open Source Integration
> http://fusesource.com
> 
> 

-- 
View this message in context: http://old.nabble.com/Exception-when-starting-the-broker-%3A-java.io.FileNotFoundException%3A-logging.properties-tp26305218p26339028.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message