activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Oracle jdbc adapter causing crashes with no helpful log messages
Date Tue, 05 Jun 2012 12:50:57 GMT
it is probably the schema ordering constraint. The need for
alphabetical ordered elements. The ordering constraint is removed in
5.6.

use './bin/activemq console' to see stderr/stdout which will point to
the root cause.

On 1 June 2012 23:23, zackhasit <zackhasit@gmail.com> wrote:
>  I am using Activemq 5.5.1. After configuring activemq.xml as follows:
>
>  <persistenceAdapter>
>                <jdbcPersistenceAdapter dataSource="oracle-ds"/>
>  </persistenceAdapter>
>  <bean id="oracle-ds" class="org.apache.commons.dbcp.BasicDataSource"
> destroy-method="close">
>    <property name="driverClassName"
> value="oracle.jdbc.driver.OracleDriver"/>
>    <property name="url" value="jdbc:oracle:thin:@10.2.9.2:1521:MYDEV"/>
>    <property name="username" value="ss"/>
>    <property name="password" value="ss"/>
>    <property name="maxActive" value="200"/>
>    <property name="poolPreparedStatements" value="true"/>
>  </bean>
>
> When I start broker it crashes. No idea why. I increased all traces/DEBUG
> log and this is what I get :
>
> 2012-06-01 23:03:44,417 | DEBUG | Now attempting to figure out the type of
> resource: activemq.xml | org.apache.activemq.xbean.XBeanBrokerFactory | main
> 2012-06-01 23:03:44,467 | INFO  | Refreshing
> org.apache.activemq.xbean.XBeanBrokerFactory$1@5488e2dd: startup date [Fri
> Jun 01 23:03:44 BST 2012]; root of c
> ontext hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main
> 2012-06-01 23:03:44,522 | INFO  | Loading XML bean definitions from file
> [/irb/dev2/srathee/apache-activemq-5.5.1/conf/activemq.xml] |
> org.apache.xbean.spri
> ng.context.v2.XBeanXmlBeanDefinitionReader | main
> 2012-06-01 23:03:44,540 | DEBUG | Using JAXP provider
> [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl] |
> org.springframework.beans.facto
> ry.xml.DefaultDocumentLoader | main
> 2012-06-01 23:03:44,569 | DEBUG | Loading schema mappings from
> [META-INF/spring.schemas] |
> org.springframework.beans.factory.xml.PluggableSchemaResolver | m
> ain
> 2012-06-01 23:03:44,575 | DEBUG | Loaded schema mappings:
> {http://www.springframework.org/schema/tx/spring-tx-2.5.xsd=org/springframework/transaction/config
> /spring-tx-2.5.xsd,
> http://www.springframework.org/schema/jms/spring-jms-2.5.xsd=org/springframework/jms/config/spring-jms-2.5.xsd,
> http://camel.apache.org/
> schema/osgi/camel-osgi-2.0.0.xsd=camel-osgi.xsd,
> http://www.springframework.org/schema/util/spring-util-3.0.xsd=org/springframework/beans/factory/xml/spring
> -util-3.0.xsd,
> http://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd,
> http://camel.apache.org
> /schema/spring/camel-spring-2.3.0.xsd=camel-spring.xsd,
> http://camel.apache.org/schema/osgi/camel-osgi-2.5.0.xsd=camel-osgi.xsd,
> http://www.springframework.
> org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd,
> http://www.springframework.org/schema/context/spring-context.
> xsd=org/springframework/context/config/spring-context-3.0.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.1.0.xsd=activemq.xsd,
> http://www.sprin
> gframework.org/schema/context/spring-context-3.0.xsd=org/springframework/context/config/spring-context-3.0.xsd,
> http://www.springframework.org/schema/util/s
> pring-util-2.5.xsd=org/springframework/beans/factory/xml/spring-util-2.5.xsd,
> http://activemq.apache.org/schema/core=activemq.xsd,
> http://www.springframewor
> k.org/schema/mvc/spring-mvc.xsd=org/springframework/web/servlet/config/spring-mvc-3.0.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.4.2.xsd=ac
> tivemq.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.0.0.xsd=activemq.xsd,
> http://camel.apache.org/schema/spring/camel-spring-2.2.0.xsd=camel-
> spring.xsd,
> http://camel.apache.org/schema/osgi/camel-osgi-2.4.0.xsd=camel-osgi.xsd,
> http://camel.apache.org/schema/spring/camel-spring.xsd=camel-spring.xsd
> ,
> http://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd,
> http://camel.apache.org/schema/sprin
> g/camel-spring-2.0-M3.xsd=camel-spring.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.3.2.xsd=activemq.xsd,
> http://activemq.apache.org/schema/c
> ore/activemq-core-5.5.0.xsd=activemq.xsd,
> http://www.springframework.org/schema/aop/spring-aop-3.0.xsd=org/springframework/aop/config/spring-aop-3.0.xsd,
> ht
> tp://camel.apache.org/schema/spring/v2.7=camel-spring-v2.7.xsd,
> http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd=org/springframework/web/servlet
> /config/spring-mvc-3.0.xsd,
> http://camel.apache.org/schema/spring/camel-spring-2.7.0.xsd=camel-spring.xsd,
> http://www.springframework.org/schema/beans/sprin
> g-beans.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd,
> http://camel.apache.org/schema/spring/camel-spring-2.1.0.xsd=camel-spring.xsd,
> http:
> //activemq.apache.org/schema/core/activemq-core-5.4.1.xsd=activemq.xsd,
> http://www.springframework.org/schema/lang/spring-lang-3.0.xsd=org/springframework/s
> cripting/config/spring-lang-3.0.xsd,
> http://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-
> 2.5.xsd,
> http://camel.apache.org/schema/osgi/camel-osgi-2.3.0.xsd=camel-osgi.xsd,
> http://activemq.org/config/1.0=activemq.xsd, http://activemq.apache.org/sc
> hema/core/activemq-core.xsd=activemq.xsd,
> http://www.springframework.org/schema/tool/spring-tool-3.0.xsd=org/springframework/beans/factory/xml/spring-tool-3
> .0.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd,
> http://www.springframework.org/schem
> a/jee/spring-jee-3.0.xsd=org/springframework/ejb/config/spring-jee-3.0.xsd,
> http://camel.apache.org/schema/osgi/camel-osgi-2.0-M3.xsd=camel-osgi.xsd,
> http:/
> /www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd,
> http://activemq.org/config/1.0/1.0.xs
> d=activemq.xsd,
> http://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-3.0.xsd,
> http://camel.apache.org/schema/s
> pring/camel-spring-2.0-M2.xsd=camel-spring.xsd,
> http://www.springframework.org/schema/aop/spring-aop-2.5.xsd=org/springframework/aop/config/spring-aop-2.5.x
> sd,
> http://www.springframework.org/schema/jms/spring-jms.xsd=org/springframework/jms/config/spring-jms-3.0.xsd,
> http://activemq.apache.org/schema/core/activ
> emq-core-5.3.1.xsd=activemq.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd,
> ht
> tp://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd,
> http://www.springframework.org/schema/to
> ol/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd,
> http://camel.apache.org/schema/spring=camel-spring.xsd, http://activemq.ap
> ache.org/schema/core/activemq-core-5.4.0.xsd=activemq.xsd,
> http://www.springframework.org/schema/tx/spring-tx-3.0.xsd=org/springframework/transaction/config
> /spring-tx-3.0.xsd,
> http://www.springframework.org/schema/lang/spring-lang-2.5.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd,
> http://www.spri
> ngframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd,
> http://camel.apache.org/schema/spring/camel-spring-2.5.0.xs
> d=camel-spring.xsd,
> http://camel.apache.org/schema/spring/camel-spring-2.0.0.xsd=camel-spring.xsd,
> http://www.springframework.org/schema/tool/spring-tool-2.
> 5.xsd=org/springframework/beans/factory/xml/spring-tool-2.5.xsd,
> http://camel.apache.org/schema/osgi/camel-osgi-2.2.0.xsd=camel-osgi.xsd,
> http://www.springf
> ramework.org/schema/jee/spring-jee-2.5.xsd=org/springframework/ejb/config/spring-jee-2.5.xsd,
> http://camel.apache.org/schema/osgi/camel-osgi-2.0-M2.xsd=came
> l-osgi.xsd,
> http://www.springframework.org/schema/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd,
> http://camel.apache.or
> g/schema/spring/camel-spring-2.0-M1.xsd=camel-spring.xsd,
> http://activemq.apache.org/schema/core/activemq-core-5.3.0.xsd=activemq.xsd,
> http://camel.apache.o
> rg/schema/osgi/camel-osgi.xsd=camel-osgi.xsd,
> http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-3.
> 0.xsd,
> http://www.springframework.org/schema/jms/spring-jms-3.0.xsd=org/springframework/jms/config/spring-jms-3.0.xsd,
> http://www.springframework.org/schema
> /beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd,
> http://www.springframework.org/schema/tx/spring-tx.xsd=org/springfra
> mework/transaction/config/spring-tx-3.0.xsd,
> http://camel.apache.org/schema/osgi/camel-osgi-2.7.0.xsd=camel-osgi.xsd,
> http://camel.apache.org/schema/osgi/ca
> mel-osgi-2.1.0.xsd=camel-osgi.xsd,
> http://www.springframework.org/schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.x
> sd,
> http://www.springframework.org/schema/tx/spring-tx-2.0.xsd=org/springframework/transaction/config/spring-tx-2.0.xsd,
> http://activemq.apache.org/schema/c
> ore/activemq-core-5.2.0.xsd=activemq.xsd,
> http://camel.apache.org/schema/osgi/camel-osgi-2.0-M1.xsd=camel-osgi.xsd,
> http://www.springframework.org/schema/ao
> p/spring-aop.xsd=org/springframework/aop/config/spring-aop-3.0.xsd,
> http://camel.apache.org/schema/spring/camel-spring-2.4.0.xsd=camel-spring.xsd}
> | org.spr
> ingframework.beans.factory.xml.PluggableSchemaResolver | main
> 2012-06-01 23:03:44,577 | DEBUG | Found XML schema
> [http://www.springframework.org/schema/beans/spring-beans-2.0.xsd] in
> classpath: org/springframework/bean
> s/factory/xml/spring-beans-2.0.xsd |
> org.springframework.beans.factory.xml.PluggableSchemaResolver | main
> 2012-06-01 23:03:44,617 | DEBUG | Found XML schema
> [http://activemq.apache.org/schema/core/activemq-core.xsd] in classpath:
> activemq.xsd | org.springframewo
> rk.beans.factory.xml.PluggableSchemaResolver | main
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Oracle-jdbc-adapter-causing-crashes-with-no-helpful-log-messages-tp4652940.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
http://fusesource.com
http://blog.garytully.com

Mime
View raw message