BPEL Descriptor Link Does Not Display For a MailActivationAgent activationAgent Defined in bpel.xml (Doc ID 852820.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.4
This problem can occur on any platform.

Symptoms

After deployment of a BPEL process the Descriptor link in the BPELConsole gives a null message as follows:

"The following exception occured while processing this request:

null"

The following error is also issued in the $OH/j2ee/<bpel container>/log/*_*_group_1/oc4j/log.xml:

<MESSAGE>
  <HEADER>
    <TSTZ_ORIGINATING>2009-06-02T18:01:13.974+01:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>j2ee</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>soa.vm.oracle.com</HOST_ID>
    <HOST_NWADDR>10.220.17.65</HOST_NWADDR>
    <MODULE_ID>security</MODULE_ID>
    <THREAD_ID>24</THREAD_ID>
    <USER_ID>oracle</USER_ID>
  </HEADER>
  <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>1243962073:10.220.17.65:1150:0:431</UNIQUE_ID><SEQ>1</SEQ></EXEC_CONTEXT_ID>
  </CORRELATION_DATA>
  <PAYLOAD>
    <MSG_TEXT>ServletException cause</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[java.lang.NullPointerException
        at _ngDescriptor._jspService(_ngDescriptor.java:147)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
        at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
        at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
        at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:51)
        at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
        at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
        at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
        at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:456)
        at _displayProcess._jspService(_displayProcess.java:824)
        at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
        at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
        at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
        at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
        at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
        at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
        at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
        at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
        at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
        at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
        at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:230)
        at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
        at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
        at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
        at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
        at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
        at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
        at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
        at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
        at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
        at java.lang.Thread.run(Thread.java:595)
]]></SUPPL_DETAIL>
  </PAYLOAD>
</MESSAGE>

In this case a MailActivationAgent has been added to the bpel.xml file in JDeveloper as an activationAgent.  If some of the available documentation has been followed you would have defined this as follows:

<activationAgents>
    <activationAgent
className="com.collaxa.cube.activation.mail.MailActivationAgent"
                            heartBeatInterval="60">
       <property name="accountName">myAccount</property>
    </activationAgent>
  </activationAgents>
 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms