camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: [DISCUSS] - Apache Camel 2.10 release
Date Fri, 15 Jun 2012 08:48:48 GMT
Hi

Okay so I have fixed camel-rmi to use dynamic port numbers.

I got 2 osgi failures on windows with java7
1) JpaBlueprintRouteTest
2) HdfsBlueprintRouteTest


Ad 1)
This fails due the old data from previous test is still around. A quick fix
would be to change the test to use different entity, so its different
tables.
Or figure out a way to get the **** jpa provider to drop/recreate the
schema.

2012-06-15 10:22:51,593 | ERROR | )-192.168.93.128 | DefaultErrorHandler
           | 72 - org.apache.camel.camel-core - 2.10.0.SNAPSHOT | Failed
delivery for (MessageId: ID-vomit-4934-1339748567031
-0-3 on ExchangeId: ID-vomit-4934-1339748567031-0-2). Exhausted after
delivery attempt: 1 caught:
org.springframework.transaction.CannotCreateTransactionException: Could not
open JPA EntityManager for
 transaction; nested exception is <openjpa-2.2.0-r422266:1244990 nonfatal
general error> org.apache.openjpa.persistence.PersistenceException:
Table/View 'SENDEMAIL' already exists in Schema 'APP'. {st
mnt 17844447 CREATE TABLE SENDEMAIL (id BIGINT NOT NULL, address
VARCHAR(255), PRIMARY KEY (id))} [code=30000, state=X0Y32]
org.springframework.transaction.CannotCreateTransactionException: Could not
open JPA EntityManager for transaction; nested exception is
<openjpa-2.2.0-r422266:1244990 nonfatal general error> org.apach
e.openjpa.persistence.PersistenceException: Table/View 'SENDEMAIL' already
exists in Schema 'APP'. {stmnt 17844447 CREATE TABLE SENDEMAIL (id BIGINT
NOT NULL, address VARCHAR(255), PRIMARY KEY (id))}
[code=30000, state=X0Y32]
        at
org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:382)[115:org.springframework.orm:3.0.7.RELEASE]
        at
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:371)[79:org.springframework.transaction:3.0.7.RELEASE]
        at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)[79:org.springframework.transaction:3.0.7.RELEASE]
        at
org.apache.camel.component.jpa.JpaTemplateTransactionStrategy.execute(JpaTemplateTransactionStrategy.java:78)[126:org.apache.camel.camel-jpa:2.10.0.SNAPSHOT]
        at
org.apache.camel.component.jpa.JpaProducer.process(JpaProducer.java:50)[126:org.apache.camel.camel-jpa:2.10.0.SNAPSHOT]
        at
org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)[72:org.apache.camel.camel-core:2.10.0.SNAPSHOT]



Ad 2)

I guess maybe its something with the camel-hdfs feature. I could not find
much in the logs.

-------------------------------------------------------------------------------
Test set: org.apache.camel.itest.osgi.hdfs.HdfsBlueprintRouteTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 91.875 sec
<<< FAILURE!
testWriteAndReadString:HdfsBlueprintRouteTest.testWriteAndReadString:KarafTestContainer{mvn:org.apache.karaf/apache-karaf/2.2.7/tar.gz}(org.apache.camel.itest.osgi.hdfs.HdfsBlueprintRouteTest)
 Time elapsed: 20.719 sec  <<< FAILURE!
java.lang.AssertionError: Gave up waiting for service
(&(objectClass=org.apache.camel.CamelContext)(camel.context.symbolicname=CamelBlueprintHdfsTestBundle))
at org.junit.Assert.fail(Assert.java:93)
 at
org.ops4j.pax.exam.junit.JUnit4TestRunner$3.evaluate(JUnit4TestRunner.java:293)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)

-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message