You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Chaitanya Gupta (JIRA)" <ji...@apache.org> on 2010/12/22 09:52:00 UTC
[jira] Created: (AMQ-3102) Can't find logging.properties file
Can't find logging.properties file
----------------------------------
Key: AMQ-3102
URL: https://issues.apache.org/jira/browse/AMQ-3102
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.4.2
Environment: Win XP
Reporter: Chaitanya Gupta
activemq conf directory is in class path and all the properties files are there, however getting an error that logging.properties file not found, below are the details -
H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2>bin\activemq-admin start xbean:conf/activemq-security.xml
Java Runtime: IBM Corporation 1.6.0 G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\jre
Heap sizes: current=4096k free=2789k max=524288k
JVM args: -Xjcl:jclscar_24 -Dcom.ibm.oti.vm.bootstrap.library.path=G:\IBM\IB
M-JDK\ibm_sdk60\ibm_sdk60\jre\bin -Dsun.boot.library.path=G:\IBM\IBM-JDK\ibm_sdk
60\ibm_sdk60\jre\bin -Djava.library.path=G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\jre\
bin;.;C:\Perl\bin;C:\Program Files\Common Files\NetSarang;C:\WINDOWS\system32;C:
\WINDOWS;C:\WINDOWS\System32\Wbem;G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\bin;H:\Java
\apache-ant-1.7.0-bin\apache-ant-1.7.0\bin;C:\Program Files\Windows Imaging\ -Dj
ava.home=G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\jre -Djava.ext.dirs=G:\IBM\IBM-JDK\i
bm_sdk60\ibm_sdk60\jre\lib\ext -Duser.dir=H:\apache-activemq-5.4.2-bin\apache-ac
tivemq-5.4.2 _j2se_j9=71168 -Xdump -Dconsole.encoding=Cp437 -Djava.class.path=.
-Dcom.sun.management.jmxremote -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRu
nner=true -Djava.util.logging.config.file=logging.properties -Dactivemq.classpat
h=H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2/conf; -Dactivemq.home=H:\ap
ache-activemq-5.4.2-bin\apache-activemq-5.4.2 -Dactivemq.base=H:\apache-activemq
-5.4.2-bin\apache-activemq-5.4.2 -Djava.class.path=H:\apache-activemq-5.4.2-bin\
apache-activemq-5.4.2/bin/run.jar -Dsun.java.command=H:\apache-activemq-5.4.2-bi
n\apache-activemq-5.4.2/bin/run.jar start xbean:conf/activemq-security.xml -Dsun
.java.launcher=SUN_STANDARD _port_library
ACTIVEMQ_HOME: H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2
ACTIVEMQ_BASE: H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2
Loading message broker from: xbean:conf/activemq-security.xml
INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@79667966: star
tup date [Wed Dec 22 14:16:43 IST 2010]; root of context hierarchy
INFO | camel-osgi.jar/camel-spring-osgi.jar not detected in classpath
java.io.FileNotFoundException: logging.properties (The system cannot find the fi
le specified.)
at java.io.FileInputStream.<init>(FileInputStream.java:125)
at java.io.FileInputStream.<init>(FileInputStream.java:85)
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)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at java.util.logging.Logger.getLoggerWithRes(Unknown Source)
at java.util.logging.Logger.getLogger(Unknown Source)
at javax.xml.bind.ContextFinder.<clinit>(ContextFinder.java:55)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:385)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:350)
at org.apache.camel.spring.handler.CamelNamespaceHandler.createJaxbConte
xt(CamelNamespaceHandler.java:186)
at org.apache.camel.spring.handler.CamelNamespaceHandler.getJaxbContext(
CamelNamespaceHandler.java:173)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Closed] (AMQ-3102) Can't find logging.properties file
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish closed AMQ-3102.
-----------------------------
Resolution: Cannot Reproduce
Likely that the file isn't in the path given.
> Can't find logging.properties file
> ----------------------------------
>
> Key: AMQ-3102
> URL: https://issues.apache.org/jira/browse/AMQ-3102
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.4.2
> Environment: Win XP
> Reporter: Chaitanya Gupta
>
> activemq conf directory is in class path and all the properties files are there, however getting an error that logging.properties file not found, below are the details -
> H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2>bin\activemq-admin start xbean:conf/activemq-security.xml
> Java Runtime: IBM Corporation 1.6.0 G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\jre
> Heap sizes: current=4096k free=2789k max=524288k
> JVM args: -Xjcl:jclscar_24 -Dcom.ibm.oti.vm.bootstrap.library.path=G:\IBM\IB
> M-JDK\ibm_sdk60\ibm_sdk60\jre\bin -Dsun.boot.library.path=G:\IBM\IBM-JDK\ibm_sdk
> 60\ibm_sdk60\jre\bin -Djava.library.path=G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\jre\
> bin;.;C:\Perl\bin;C:\Program Files\Common Files\NetSarang;C:\WINDOWS\system32;C:
> \WINDOWS;C:\WINDOWS\System32\Wbem;G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\bin;H:\Java
> \apache-ant-1.7.0-bin\apache-ant-1.7.0\bin;C:\Program Files\Windows Imaging\ -Dj
> ava.home=G:\IBM\IBM-JDK\ibm_sdk60\ibm_sdk60\jre -Djava.ext.dirs=G:\IBM\IBM-JDK\i
> bm_sdk60\ibm_sdk60\jre\lib\ext -Duser.dir=H:\apache-activemq-5.4.2-bin\apache-ac
> tivemq-5.4.2 _j2se_j9=71168 -Xdump -Dconsole.encoding=Cp437 -Djava.class.path=.
> -Dcom.sun.management.jmxremote -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRu
> nner=true -Djava.util.logging.config.file=logging.properties -Dactivemq.classpat
> h=H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2/conf; -Dactivemq.home=H:\ap
> ache-activemq-5.4.2-bin\apache-activemq-5.4.2 -Dactivemq.base=H:\apache-activemq
> -5.4.2-bin\apache-activemq-5.4.2 -Djava.class.path=H:\apache-activemq-5.4.2-bin\
> apache-activemq-5.4.2/bin/run.jar -Dsun.java.command=H:\apache-activemq-5.4.2-bi
> n\apache-activemq-5.4.2/bin/run.jar start xbean:conf/activemq-security.xml -Dsun
> .java.launcher=SUN_STANDARD _port_library
> ACTIVEMQ_HOME: H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2
> ACTIVEMQ_BASE: H:\apache-activemq-5.4.2-bin\apache-activemq-5.4.2
> Loading message broker from: xbean:conf/activemq-security.xml
> INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@79667966: star
> tup date [Wed Dec 22 14:16:43 IST 2010]; root of context hierarchy
> INFO | camel-osgi.jar/camel-spring-osgi.jar not detected in classpath
> java.io.FileNotFoundException: logging.properties (The system cannot find the fi
> le specified.)
> at java.io.FileInputStream.<init>(FileInputStream.java:125)
> at java.io.FileInputStream.<init>(FileInputStream.java:85)
> 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)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
> at java.util.logging.Logger.getLoggerWithRes(Unknown Source)
> at java.util.logging.Logger.getLogger(Unknown Source)
> at javax.xml.bind.ContextFinder.<clinit>(ContextFinder.java:55)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:385)
> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:350)
> at org.apache.camel.spring.handler.CamelNamespaceHandler.createJaxbConte
> xt(CamelNamespaceHandler.java:186)
> at org.apache.camel.spring.handler.CamelNamespaceHandler.getJaxbContext(
> CamelNamespaceHandler.java:173)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira