PDA

View Full Version : Multiple BlazeDS applications on dm Server



andrei.aioanei
Sep 18th, 2009, 04:05 PM
I am trying to deploy two applications to dm server 1.0.2 and both of them are using Spring Blazeds Integration and JPA.

When I deploy the first application everything works ok but after I deploy the second application it seems that the fist one has problem with JPA, doesn't save anything.

Are there any special configurations whem running multiple applications on dm server ?

I am using:
Spring BlazeDS Integration 1.0
SpringSource Dm Server 1.0.2
Hibernate JPA
PostgreSQL 8.3

Thank you in advance

jeremyg484
Sep 25th, 2009, 12:28 PM
I can't think of any reasons why this shouldn't work. Can you provide more detail about the problem. When you say "it doesn't save anything", what exactly is going on? Are there any errors being logged?

andrei.aioanei
Sep 26th, 2009, 07:50 AM
No error and no sql is logged.It seems that the transaction doesn't commit.

The two applications are connecting to different databases on a local postgresql server.

It is possible to create two LocalContainerEntityManagerFactoryBean?
Can this be the problem?

Thanks