Hi,

not knowing Oracle, but that looks like you did not make ActiveMQ available as a JCA resource and therefore
Oracle can't find the classes.

Google being our friend I have found this link:
http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-use-activemq-JCA-RA/doc/how-to-use-activemq-JCA-RA.html

It looks like a how-to for setting up Active MQ as a JCA resource in Oracle environments.

Hope that helps
Andreas

On Mar 11, 2009, at 6:23 AM, lyall wrote:


I am trying to setup a JMS adapter in JDeveloper 10.1.3.1.0 to talk to
ActiveMQ.

Has anyone done this, what do I need to do to get it to work?

In particular
* Factory Properties - I tried
** java.naming.provider.url = tcp://activeMQServerIP:61616
** java.naming.security.principal = system (from the credentials.properties)
** java.naming.security.credentials = manager  (from the
credentials.properties)
* JMS Connection Factory - I tried
** org.apache.activemq.ActiveMQConnectionFactory
* JMS Connection JNDI Name - I tried
** eis/Jms/JmsAdapter

And, do I have to include any JAR's into the BPEL Project? If so, which
ones? How? As Libraries or something else? I tried including
Activemq-ra-5.2.0.jar and spring-core-2.5.5.jar, to no avail.

When I try it, BPEL whinges

file:/E:/SOASuite10131/bpel/domains/default/ tmp /.bpel_Message_to_ActiveMQ_1.0_375eb1288a4cf9e62466ce5132d9f94b.tmp/ ActiveMQ_Test.wsdl
[ Produce_Message_ptt::Produce_Message(opaque) ] - WSIF JCA Execute of
operation 'Produce_Message' failed due to: Adapter Framework unable to
create outbound JCA connection.
file:/E:/SOASuite10131/bpel/domains/default/ tmp /.bpel_Message_to_ActiveMQ_1.0_375eb1288a4cf9e62466ce5132d9f94b.tmp/ ActiveMQ_Test.wsdl [ Produce_Message_ptt::Produce_Message(opaque) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following
issue: ORABPEL-12141
ERRJMS_CONN_FAC_NOT_FOUND.
Unable to instantiate connection factory. JMS adapter was unable to look up the connection factor org.apache.activemq.ActiveMQConnectionFactory neither
through JNDI nor instantiate it as a Java class
Please examine the log file to determine the problem.
[Caused by: org.apache.activemq.ActiveMQConnectionFactory not found]
; nested exception is:
        ORABPEL-12511
Adapter Framework unable to create outbound JCA connection.
file:/E:/SOASuite10131/bpel/domains/default/ tmp /.bpel_Message_to_ActiveMQ_1.0_375eb1288a4cf9e62466ce5132d9f94b.tmp/ ActiveMQ_Test.wsdl [ Produce_Message_ptt::Produce_Message(opaque) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following
issue: ORABPEL-12141
ERRJMS_CONN_FAC_NOT_FOUND.
Unable to instantiate connection factory. JMS adapter was unable to look up the connection factor org.apache.activemq.ActiveMQConnectionFactory neither
through JNDI nor instantiate it as a Java class
Please examine the log file to determine the problem.
[Caused by: org.apache.activemq.ActiveMQConnectionFactory not found]
Please examine the log file for any reasons. Enable DEBUG logging in the
BPEL Console.


I hope someone can help.

...Lyall

--
View this message in context: 
http://www.nabble.com/Oracle-BPEL-%3C-%3E-ActiveMQ---Howto--tp22449017p22449017.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


---
Mit freundlichen Grüssen - Kind Regards
Andreas Gies
Principal Consultant
Open Source Center of Competence

Progress Software GmbH
Agrippinawerft 26
50678 Köln

E-Mail          ag...@progress.com
Direct Line     +49 (0)9953 980349
Mobile          +49 (0)170 5759611
Skype           +44 (0)20 3239 2922
Skype           +353 (0)1 443 4971
Skype           +1 (0)781 262 0168

http://www.progress.com
http://fusesource.com
http://open-source-adventures.blogspot.com



-------------------------------------------------------
Progress Software GmbH
Sitz der Gesellschaft: Agrippinawerft 26, 50678 Koeln;
Niederlassung: Fuerstenrieder Str. 279, 81377 Muenchen
Amtsgericht Koeln, HRB 15620;
Geschaeftsfuehrung: David Ireland
-------------------------------------------------------

Reply via email to