Forum Stats

  • 3,838,667 Users
  • 2,262,392 Discussions
  • 7,900,730 Comments

Discussions

OEP App cannot connect to EDN of SOA Suite

Ahmadin-Oracle
Ahmadin-Oracle Member Posts: 162 Employee
edited Dec 26, 2014 8:02PM in Complex Event Processing

All samples and demod I could find on Google use JDev and local wls (integrated wls).

I created an OEP (CEP) 12c app to publish an event via EDN using EDN Outbound Adapter.

I installed OEP 12c and BPM 12c on a Linux server. I have business processes that can send and receive signal using EDN. It is all good up to this point.

Then I try to deploy the OEP app, I got authentication error like below:

Caused by: javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: weblogic, failed to be authenticated.]

        at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:42)

I thought it was password problem. I logged in to SOA Admin, EM, and bpm worklist/composer, the user weblogic and the password that I configure the outbound EDN adapter and was able to login successfully.

Then I tried to change the user to something else, just like bpm_soainfra. Somehow the error message still show that the user used for authentication is weblogic.

It seems to me there is a default user/password left in OEP 12c codes/configuration for EDN that basically ignores what ever user/password we configure on the EDN adapter.

Here is my configuration for the adapter:

<edn-adapter>

    <name>edn-outbound-adapter</name>

    <edl-file>EventDefinition1.edl</edl-file>

    <schema-file>Signal.xsd</schema-file>

    <validate>false</validate>

    <raw-xml-content>false</raw-xml-content>

    <jndi-provider-url>t3://someserver:7001</jndi-provider-url>

    <jndi-factory>weblogic.jndi.WLInitialContextFactory</jndi-factory>

    <user>weblogic</user>

    <password>xxxxxx</password>

  </edn-adapter>

Any one can help?

Thanks.

Ahmadin

Best Answer

Answers

This discussion has been closed.