Petals ESB Container

Deploying apache ODE on petals ESB

Details

  • Type: Bug Bug
  • Status: New New
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 4.3.0
  • Fix Version/s: None
  • Component/s: Autoloader
  • Security Level: Public
  • Description:
    Hide

    Hi, i'm trying to deploy Apache ODE on petals esb 4.3.0 (http://ode.apache.org/jbi-deployment.html), when i copied the file and pasted in install folder, an error happened and i don't know what is the problem. i deployed on windows 7 and ubuntu server and throws the same error in both enviroments.

    Here is a image of the error: http://imgur.com/Z2YlQby

    Show
    Hi, i'm trying to deploy Apache ODE on petals esb 4.3.0 (http://ode.apache.org/jbi-deployment.html), when i copied the file and pasted in install folder, an error happened and i don't know what is the problem. i deployed on windows 7 and ubuntu server and throws the same error in both enviroments. Here is a image of the error: http://imgur.com/Z2YlQby
  • Environment:
    windows 7 64 bits, ubuntu server 64 bits

Activity

Hide
Victor NOËL added a comment - Thu, 3 Dec 2015 - 17:29:16 +0100

Yes, you could add the java transaction api jar to the extensions directory (see https://doc.petalslink.com/display/petalsesb42/Installing+Petals+ESB+using+the+ZIP+archive)

Show
Victor NOËL added a comment - Thu, 3 Dec 2015 - 17:29:16 +0100 Yes, you could add the java transaction api jar to the extensions directory (see https://doc.petalslink.com/display/petalsesb42/Installing+Petals+ESB+using+the+ZIP+archive)
Hide
Victor NOËL added a comment - Thu, 3 Dec 2015 - 17:25:00 +0100

It must be cause by PETALSESBCONT-2 which was corrected in Petals 5… (actually, we then removed any support for transaction manager, but that should normally not be a problem for ODE).

Could you maybe try with Petals 5 (there is a milestone that was released not so long ago) first?
I will see if you need something complex to make it work with petasl 4.3

Show
Victor NOËL added a comment - Thu, 3 Dec 2015 - 17:25:00 +0100 It must be cause by PETALSESBCONT-2 which was corrected in Petals 5… (actually, we then removed any support for transaction manager, but that should normally not be a problem for ODE). Could you maybe try with Petals 5 (there is a milestone that was released not so long ago) first? I will see if you need something complex to make it work with petasl 4.3
Hide
Miguel Angel Guerrero Forigua added a comment - Thu, 3 Dec 2015 - 16:47:21 +0100

hi, i just added the jar library for logging (http://mvnrepository.com/artifact/commons-logging/commons-logging/1.2) and registered it on the jbi file, but throws a new error http://imgur.com/lqVxODF

Show
Miguel Angel Guerrero Forigua added a comment - Thu, 3 Dec 2015 - 16:47:21 +0100 hi, i just added the jar library for logging (http://mvnrepository.com/artifact/commons-logging/commons-logging/1.2) and registered it on the jbi file, but throws a new error http://imgur.com/lqVxODF
Hide
Victor NOËL added a comment - Thu, 3 Dec 2015 - 16:04:45 +0100

I concur with Christophe: I just checked and commons-log is missing from the JBI archive.

Show
Victor NOËL added a comment - Thu, 3 Dec 2015 - 16:04:45 +0100 I concur with Christophe: I just checked and commons-log is missing from the JBI archive.
Hide
Victor NOËL added a comment - Thu, 3 Dec 2015 - 15:55:16 +0100

That's an interesting question.

I'm wondering if Apache ODE wasn't actually meant to be only used with ServiceMix…
In theory all JBI implementations should be able to load a valid JBI component, but in practice it's not so true…

Anyway, the error shown is still maybe a problem coming from Petals (basically it seems that some libraries should have been loaded with the components but wasn't, I will have to test to see if it's really a bug in Petals or a problem in the JBI descriptors from ODE), but even if it's fixed, I wouldn't bet that everything will work out as you want…

Let's see

Show
Victor NOËL added a comment - Thu, 3 Dec 2015 - 15:55:16 +0100 That's an interesting question. I'm wondering if Apache ODE wasn't actually meant to be only used with ServiceMix… In theory all JBI implementations should be able to load a valid JBI component, but in practice it's not so true… Anyway, the error shown is still maybe a problem coming from Petals (basically it seems that some libraries should have been loaded with the components but wasn't, I will have to test to see if it's really a bug in Petals or a problem in the JBI descriptors from ODE), but even if it's fixed, I wouldn't bet that everything will work out as you want… Let's see
Hide
Christophe DENEUX added a comment - Thu, 3 Dec 2015 - 15:54:18 +0100

I think the JBI service engine you are trying to install into Petals ESB is designed to ServiceMix because it expects that the JBI container provides some classes: org.apache.commons.logging.LogFactory.

To be installed into Petals ESB or other JBI container, the ODE JBI component must embed all classes that it needs (except the classes of the JBI API).
Try to add the JAR 'commons-log' to the ODE JBI component archive (without to forget to update its JBI descriptor) before to install it into Petals ESB.

Show
Christophe DENEUX added a comment - Thu, 3 Dec 2015 - 15:54:18 +0100 I think the JBI service engine you are trying to install into Petals ESB is designed to ServiceMix because it expects that the JBI container provides some classes: org.apache.commons.logging.LogFactory. To be installed into Petals ESB or other JBI container, the ODE JBI component must embed all classes that it needs (except the classes of the JBI API). Try to add the JAR 'commons-log' to the ODE JBI component archive (without to forget to update its JBI descriptor) before to install it into Petals ESB.

People

Dates

  • Created:
    Thu, 3 Dec 2015 - 15:32:43 +0100
    Updated:
    Thu, 3 Dec 2015 - 17:29:16 +0100