java.lang.Exception: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [activemq.xml]; nested exception is java.io.FileNotFoundException: class path resource [activemq.xml] cannot be opened because it does not exist

nabble.com | 4 months ago
  1. 0

    ActiveMQ - User - activemq wont start

    nabble.com | 4 months ago
    java.lang.Exception: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [activemq.xml]; nested exception is java.io.FileNotFoundException: class path resource [activemq.xml] cannot be opened because it does not exist
  2. 0

    [AMQ-2212] RAR on Weblogic: embedded broker fails to start with : org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class - ASF JIRA

    apache.org | 11 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
  3. 0

    [jira] Commented: (AMQ-2212) RAR on Weblogic: embedded broker fails to start with : org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class

    apache.org | 11 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {code}<Apr 16, 2009 10:21:12 PM IST> <Warning> <Socket> <BEA-000402> <There are: 5 active sockets, but the maximum number of socket reader threads allowed by the configuration is: 4. You may want to alter your configuration.> <Apr 16, 2009 10:21:53 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.> <Apr 16, 2009 10:23:25 PM IST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /Users/gtully/j2ee/bea/user_projects/domains/base_domain/servers/AdminServer/upload/activemq-rar-5.3-SNAPSHOT.rar resulted in the following warnings: The ra.xml <resourceadapter-class> class 'org.apache.activemq.ra.ActiveMQResourceAdapter' should implement java.io.Serializable but does not.> 2009-04-16 22:23:26,074 [ (self-tuning)'] DEBUG ActiveMQResourceAdapter - setting [password] property 2009-04-16 22:23:26,074 [ (self-tuning)'] DEBUG ActiveMQResourceAdapter - setting [useInboundSession] to: false 2009-04-16 22:23:26,075 [ (self-tuning)'] DEBUG ActiveMQResourceAdapter - setting [serverUrl] to: tcp://localhost:61616 2009-04-16 22:23:26,075 [ (self-tuning)'] DEBUG ActiveMQResourceAdapter - setting [userName] to: defaultUser <Apr 16, 2009 10:23:26 PM IST> <Warning> <WorkManager> <BEA-002919> <Unable to find a WorkManager with name activemq-rar-5.3-SNAPSHOT.rar. Dispatch policy activemq-rar-5.3-SNAPSHOT.rar will map to the default WorkManager for the application activemq-rar-5> 2009-04-16 22:23:26,432 [ActiveMQ Broker] DEBUG XBeanBrokerFactory - Now attempting to figure out the type of resource: broker-config.xml 2009-04-16 22:23:26,679 [ActiveMQ Broker] INFO ResourceXmlApplicationContext - Refreshing org.apache.xbean.spring.context.ResourceXmlApplicationContext@22886042: display name [org.apache.xbean.spring.context.ResourceXmlApplicationContext@22886042]; startup date [Thu Apr 16 22:23:26 IST 2009]; root of context hierarchy 2009-04-16 22:23:27,409 [ActiveMQ Broker] INFO XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [broker-config.xml] 2009-04-16 22:23:27,416 [ActiveMQ Broker] WARN ActiveMQResourceAdapter - Could not start up embeded ActiveMQ Broker 'xbean:broker-config.xml': IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist 2009-04-16 22:23:27,450 [ActiveMQ Broker] DEBUG ActiveMQResourceAdapter - Reason for: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310) at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111) at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353) 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.ra.ActiveMQResourceAdapter$1.run(ActiveMQResourceAdapter.java:78) Caused by: java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:142) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) ... 13 more 2009-04-16 22:23:27,468 [ (self-tuning)'] DEBUG tiveMQManagedConnectionFactory - copying standard ResourceAdapter configuration properties 2009-04-16 22:23:27,468 [ (self-tuning)'] DEBUG tiveMQManagedConnectionFactory - setting [clientid] to: null 2009-04-16 22:23:27,468 [ (self-tuning)'] DEBUG tiveMQManagedConnectionFactory - setting [password] property 2009-04-16 22:23:27,468 [ (self-tuning)'] DEBUG tiveMQManagedConnectionFactory - setting [serverUrl] to: tcp://localhost:61616 {code}

    Apache's JIRA Issue Tracker | 8 years ago | Gary Tully
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
  6. 0

    [jira] Commented: (AMQ-2212) RAR on Weblogic: embedded broker fails to start with : org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class

    activemq-dev | 8 years ago | Gary Tully (JIRA)
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    class path resource [activemq.xml] cannot be opened because it does not exist

    at org.springframework.core.io.ClassPathResource.getInputStream()
  2. Spring Core
    ClassPathResource.getInputStream
    1. org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:142)
    1 frame
  3. Spring Beans
    XmlBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
    2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
    2 frames
  4. Apache XBean :: Spring
    ResourceXmlApplicationContext.loadBeanDefinitions
    1. org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)
    2. org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)
    2 frames
  5. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    2. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
    3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
    3 frames
  6. Apache XBean :: Spring
    ResourceXmlApplicationContext.<init>
    1. org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
    2. org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
    2 frames
  7. ActiveMQ :: Core
    XBeanBrokerFactory.createBroker
    1. org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
    2. org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
    2 frames
  8. ActiveMQ :: Broker
    BrokerFactory.createBroker
    1. org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
    2. org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
    2 frames
  9. AMQ Console
    ShellCommand.main
    1. org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
    2. org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
    3. org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
    4. org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
    5. org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
    6. org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
    6 frames
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    4. java.lang.reflect.Method.invoke(Method.java:611)
    4 frames
  11. AMQ Console
    Main.main
    1. org.apache.activemq.console.Main.runTaskClass(Main.java:225)
    2. org.apache.activemq.console.Main.main(Main.java:106)
    2 frames