3 Replies Latest reply: Jan 19, 2013 8:27 PM by 972351 RSS

    EJB Session Bean & OBIEE 11g

    969883
      Hi everyone,

      So our issue is this: we are trying to embed a Java Method in an EJB session bean and then call it from BI EE (we are also following the steps shown here: http://www.rittmanmead.com/2010/09/oracle-bi-ee-11g-action-framework-java-ejbs-and-pdf-watermarks/). Everything seems to work fine until we create an Agent and from the Actions tab, then select "invoke a Java method".

      We are getting the message "No Content". Any ideas on how this can be solved? Probably it has something to do with configuring ActionFrameConfig.xml properly.

      BI version: Oracle Business Intelligence 11.1.1.6.5
      Server OS: Linux
      Oracle JDeveloper version: Studio Edition Version 11.1.1.5.0

      Willing to provide more info if needed.

      Regards
        • 1. Re: EJB Session Bean & OBIEE 11g
          Srini VEERAVALLI
          Have you copy past the xml content from webpage to the .xml file?
          I would suggest to do manually type each line and see.

          If you are through then update with solution
          • 2. Re: EJB Session Bean & OBIEE 11g
            969883
            Hi Srini,

            Thanks for the fast reply, but I couldn't understand what you meant by that. Could you please clarify? What do you need me to do?

            Regards
            • 3. Re: EJB Session Bean & OBIEE 11g
              972351
              Hi, the prolem is in ActionFrameworkConfig.xml file. I took a look at the ActionFrameworkConfig.xml file in the link you gave. You need to add this to your file :


              In accounts add this :

              <account>
                        <name>WLSJNDI</name>
                        <description>Account used to access WLS JNDI.</description>
                   <adminonly>false</adminonly>
                   <credentialkey>JNDIUser</credentialkey>
              <credentialmap>oracle.bi.actions</credentialmap>
              </account>


              And in content-types, add this :

              <content-type>
                   <typename>java</typename>
                   <displayname>Java Actions</displayname>
                   <actionType>JavaActionType</actionType>
              </content-type>

              This may be too late, but it can help somone else.

              Cheers
              Salma

              Edited by: salomé01 on 19 janv. 2013 18:27