1 Reply Latest reply on Oct 15, 2010 3:00 AM by James Taylor-Oracle

    Can't resolve ORABPEL-04096 Build/Deploy issue

    636994
      I have three subversion passes in my cruise control build of the BPEL. One is the trunk. The other two are branches and all three build fine on the
      old Linux BPEL build server. I just installed a new Linux BPEL Build server with OC4J 10.1.3.1 and everything seemed to be going OK, until it
      attempts to build the oldest branch. The trunk and the most recent branch builds all BPEL processes. Each build is a sequence using the Oracle
      ANT build and deploy sequence.

      The third and oldest branch builds the first few processes, but on one process the build is stopped because of the ORABPEL-04096 exception.

      I have compared the second branch's BPEL project with the third and they are identical except for the version number. Also, the two ANT build
      scripts for each branch are identical in the area of failing.
              .....
              <exec dir="${util.dir}/UTIL_ReplaceContentExpressions" executable="${ant.exec}" failonerror="true"
                  output="${bpel_build_logs}/UTIL_ReplaceContentExpressions.log"
              >
                  <arg value="-Djar.target=${jar.target}/${util.domain}"/>
                  <arg value="-Dhttp.hostname=localhost"/>
                  <arg value="-Dj2ee.hostname=localhost"/>
                  <arg value="-Dhttp.port=${http.port}"/>
                  <env key="CLASSPATH" value="/home/oracle/cruisecontrol-bin-2.8.2/apache-ant-1.7.0/lib/xalan_2.7.0.jar:... jars ...."/>
              </exec>
              <!-- Give the server time to update its cash for the GetWooConfiguration wsdl -->
              <sleep seconds="25"/>
              <exec dir="${util.dir}/UTIL_NotificationEmail" executable="${ant.exec}" failonerror="true"
                  output="${bpel_build_logs}/UTIL_NotificationEmail.log"
              >
                  <arg value="-Djar.target=${jar.target}/${util.domain}"/>
                  <arg value="-Dhttp.hostname=localhost"/>
                  <arg value="-Dj2ee.hostname=localhost"/>
                  <arg value="-Dhttp.port=${http.port}"/>
              </exec>
              <exec dir="${util.dir}/UTIL_WaitForCompletedActivity" executable="${ant.exec}" failonerror="true"
                  output="${bpel_build_logs}/UTIL_WaitForCompletedActivity.log"
              >
                  <arg value="-Djar.target=${jar.target}/${util.domain}"/>
                  <arg value="-Dhttp.hostname=localhost"/>
                  <arg value="-Dj2ee.hostname=localhost"/>
                  <arg value="-Dhttp.port=${http.port}"/>
              </exec>
              .....
      The UTIL_NotificationEmaill fails with the ORABPEL-04096 exception in the third branch. The exception is shown below. I'm at loss to figure out
      what to change since the two UTIL_NotificationEmail processes in the other passes build & deploy, and they are identical except for the version number in their respective BPEL project's build.xml files.

      Any suggestion would be deeply appreciated.*
      [deployProcess] Deploying process /home/oracle/cruiseControl/projects/WOO_B2_4_1_1/bpel/GRC_UTIL/src/UTIL_NotificationEmail/output/bpel_UTIL_NotificationEmail_2.3.jar
      
      BUILD FAILED
      /home/oracle/cruiseControl/projects/WOO_B2_4_1_1/bpel/GRC_UTIL/src/UTIL_NotificationEmail/build.xml:79: A problem occured while connecting
      to server "localhost" using port "7777": bpel_UTIL_NotificationEmail_2.3.jar failed to deploy. Exception message is:  ORABPEL-04096
      Cannot update process metadata.
      The process domain was unable to insert/update the process metadata for process "UTIL_NotificationEmail" with revision tag "2.3" in the datastore.
      The exception reported is: javax.resource.ResourceException: RollbackException: Transaction has been marked for rollback: Timed out
      Please check that the machine hosting the datasource is physically connected to the network.  Otherwise, check that the datasource connection 
      parameters (user/password) is currently valid.
      sql statement: SELECT process_guid, process_id, revision_tag, suitcase_id, state, lifecycle, deploy_user, deploy_timestamp FROM process WHERE 
      domain_ref = ?  AND process_id = ?  AND revision_tag = ?  FOR UPDATE
      at com.collaxa.cube.engine.adaptors.common.BaseProcessPersistenceAdaptor.storeProcess(BaseProcessPersistenceAdaptor.java:458)
      at com.collaxa.cube.engine.adaptors.common.BaseProcessPersistenceAdaptor.storeProcess(BaseProcessPersistenceAdaptor.java:312)
      at com.collaxa.cube.engine.data.ProcessPersistenceMgr.storeProcess(ProcessPersistenceMgr.java:76)
      at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:815)
      at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:670)
      at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
      at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
      at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
      at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
      at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
      at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
      at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:317)
      at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:339)
      at _deployHttpClientProcess._jspService(_deployHttpClientProcess.java:376)