Error al hacer upgrade de SOA Suite 10.1.3.1 a 10.1.3.3 ó 10.1.3.4
1
Cuando se aplica la actualización de 10.1.3.1 a 10.1.3.4 ó bien de 10.1.3.3 a 10.1.3.4 es común encontrarse con el siguiente error al querer entrar al BPELConsole:
Oracle BPEL Process Manager Full CycleAn unexpected error has occurred while executing your request. This is most likely related to a defect in the Oracle BPEL Process Manager product. We apologize you can post the error to the OTN forum and we will get back to you as soon as possible.Attachments:Build Information:***************************************************************************** Oracle BPEL Server version 10.1.3.3.0Build: 0 Build time: Fri Jun 15 06:05:31 PDT 2007 Build type: release Source tag: PCBPEL_10.1.3.3.0_GENERIC_070615.0525 Exception Message:[java.lang.NoSuchMethodException] com.collaxa.cube.ejb.impl.FinderBean.tryLookupInstanceByReferenceId(java.lang.String, com.oracle.bpel.client.auth.DomainAuth) Exception Trace:java.lang.NoSuchMethodException: com.collaxa.cube.ejb.impl.FinderBean.tryLookupInstanceByReferenceId(java.lang.String, com.oracle.bpel.client.auth.DomainAuth) at java.lang.Class.getMethod(Class.java:1581) at com.evermind.server.ejb.interceptor.MethodStateFactory.createMethodState(MethodStateFactory.java:112) at com.evermind.server.ejb.deployment.ExposableBeanDescriptor.createMethodStates(ExposableBeanDescriptor.java:657) at com.evermind.server.ejb.deployment.ExposableBeanDescriptor.getRemoteComponentMethodStates(ExposableBeanDescriptor.java:723) at com.evermind.server.ejb.deployment.ExposableBeanDescriptor.getMethodState(ExposableBeanDescriptor.java:599) at com.evermind.server.ejb.AbstractEJBObject.OC4J_getMethodState(AbstractEJBObject.java:385) at FinderBean_RemoteProxy_4bin6i8.lookupDomain(Unknown Source) at com.oracle.bpel.client.Locator.lookupDomain(Locator.java:228) at _index._jspService(_index.java:78) 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:65) at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396) 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:410) 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:283) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:131) at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396) 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:410) 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:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) 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)
Para resolverlo hay que realizar lo siguiente:
- Todo consiste en remplazar el ejb_ob_engine.jar con una copia que se encuentra en otra carpeta. Lo siguiente asume que la SOA Suite (BPEL) está ejecutándose en el container OC4J_SOA.
- Primero hay que parar el container con: opmnctl stopproc process-type=OC4J_SOA
- Cambiarse a la carpeta $ORACLE_HOME/j2ee/OC4J_SOA/applications/orabpel
- Borrar el archivo: ejb_ob_engine.jar
- Copiar el archivo $ORACLE_HOME/bpel/system/j2ee/ejb/ejb_ob_engine_oc4j.jar a la carpeta $ORACLE_HOME/j2ee/OC4J_SOA/applications/orabpel
- Renombrarlo de ejb_ob_engine_oc4j.jar a ejb_ob_engine.jar
- Iniciar la SOA SUITE: opmnctl startproc process-type=OC4J_SOA
Con esto al entrar al BPELConsole ya no se tendrá el problema anteriormente mencionado.