4 Replies Latest reply on Jan 7, 2014 9:57 AM by Vikram Srinivasan

    Cannot deploy HelloWorld! BPM project into the workspace

    Vikram Srinivasan

      I tried updating WLS and even applied post deployment close patch. The UI project deployed successfully but not BPM project.

       

      Environment: 11gR1

       

      Error deploying BPMN suitcase.

      error while attempting to deploy the BPMN component file "C:\Oracle\Middleware\user_projects\domains\poc_domain\servers\AdminServer\dc\soa_c3d683f9-a3f0-43e9-b27b-fe9c51892d84"; the exception reported is: java.lang.Exception: BPMN compilation failed

       

      This error contained an exception thrown by the underlying deployment module.

      Verify the exception trace in the log (with logging level set to debug mode).

       

          at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:202)

          at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:949)

          at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:128)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)

          at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

          at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

          at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

          at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

          at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

          at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)

          at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)

          at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)

          at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

          at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)

          at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

          at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

          at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

          at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

          at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

          at $Proxy273.deployComponent(Unknown Source)

          at oracle.bpm.bpmn.engine.ejb.impl.BPMNServerManagerBean_6gbx7k_IBPMNCubeServerManagerLocalBeanImpl.__WL_invoke(Unknown Source)

          at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)

          at oracle.bpm.bpmn.engine.ejb.impl.BPMNServerManagerBean_6gbx7k_IBPMNCubeServerManagerLocalBeanImpl.deployComponent(Unknown Source)

          at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:923)

          at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:703)

          at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.load(BPMNServiceEngine.java:157)

          at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:243)

          at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:94)

          at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:185)

          at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:63)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)

          at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)

          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

          at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:86)

          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

          at $Proxy366.load(Unknown Source)

          at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeRedeploy(StandaloneCompositeDeploymentCoordinatorImpl.java:120)

          at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.overwriteExistingComposite(BaseDeployProcessor.java:487)

          at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:298)

          at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:203)

          at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:147)

          at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:134)

          at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:100)

          at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:221)

          at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:130)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

          at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

          at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

          at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

          at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)

          at java.security.AccessController.doPrivileged(Native Method)

          at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

          at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

          at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

          at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

          at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)

          at java.security.AccessController.doPrivileged(Native Method)

          at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

          at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

          at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

          at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

          at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

          at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

          at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)

          at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)

          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

          at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

          at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

          at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

          at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

      >

      ####<Aug 21, 2013 5:39:03 PM IST> <Error> <ServletContext-/soa-infra> <BDC4A-L-HQM9TS1> <AdminServer> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <0b37023494fe13ca:-1a1ac72:140a0b1ebf0:-8000-0000000000000647> <1377086943671> <BEA-000000> <Error during deployment

      oracle.fabric.common.FabricException: Error occurred during deployment of component: HelloWorldProcess to service engine: implementation.bpmn, for composite: HelloWorldProject: ORABPEL-05250

        • 1. Re: Cannot deploy HelloWorld! BPM project into the workspace
          Ryan M O'Hare

          Hi Vikram:

           

          Unfortunately, you error is not very helpful for troubleshooting the issue. This error can be thrown for many different reasons. Can you provide some more information about where and what you are trying to deploy?  Also, provide some context around the questions below.

           

          1. Have you built this HelloWorld yourself or are you using something provided by Oracle? If the latter, can you point us to where you found the sample?
          2. Does the BPMN project compile locally? Can you do a deploy to JAR? or does it just not deploy to the server?
          3. What is the topology of your Weblogic instance? AdminServer only? Managed servers? On remote server? On VM on your desktop?

           

          -Ryan

          • 2. Re: Cannot deploy HelloWorld! BPM project into the workspace
            Dan Atwood

            In addition to what Ryan has advised you to check, is it possible that you upgraded WLS to a version not supported by the version of Oracle BPM that you're on?  For the compatibility matrix go to Oracle Fusion Middleware Supported System Configurations -> search for "BPM" -> click the "xls" above this.  If you're on 11.1.1.6 or 11.1.1.7, you'll struggle if you're on a WLS version other than 10.3.5 or 10.3.6.

             

            Might also want to temporarily change the logging level on the engine to "TRACE:32 (FINEST)" to see if you can get something more helpful in the log files.

             

            Dan

            • 3. Re: Cannot deploy HelloWorld! BPM project into the workspace
              Vikram Srinivasan

              Hi Ryan & Dan,

               

              Thanks for your response.

               

              Ryan:

              1. Have you built this HelloWorld yourself or are you using something provided by Oracle? If the latter, can you point us to where you found the sample?

              VS: I have built this on my own based on the "First Project using 11g BPM" with just a single process with one human interactive activity for display purpose and nothing else. In fact I have attended Oracle Vendor's complete training on OBPM 11g but they had a virtual system built in for the purpose of the training.

               

                2. Does the BPMN project compile locally? Can you do a deploy to JAR? or does it just not deploy to the server?

              VS: I can compile it using JDeveloper locally. My intention was to enumerate users and do modifications on Active Directory users/ LDAP users to show Proof of Concept for an upcoming project. Unfortunately am stuck in basics.

               

              3. What is the topology of your Weblogic instance? AdminServer only? Managed servers? On remote server? On VM on your desktop?

              VS: I have created developer instance of SOA with admin server alone for pure developmental purpose on my local win64 office Dell laptop with 4GB RAM (Cannot help with this but this is what I have for now).  Oracle XE database.

               

              Dan:

              Apologize for the delay in response.

              This is what I have, ofm_soa_generic_11.1.1.7.0_disk1_1of2 and ofm_soa_generic_11.1.1.7.0_disk1_2of2.

               

              I will enable trace level logging and get back with updated error message. What I can understand is, this should be simple first project that should go with no errors on deployment on the recommended version of SOA suite.

               

              Regards,

              Vikram Srinivasan

              • 4. Re: Cannot deploy HelloWorld! BPM project into the workspace
                Vikram Srinivasan

                Hi Ryan & Dear Dan,

                 

                I know this is a very late reply to this discussion. After checking versions I do understand the then latest SOA suite with BPM was downloaded. I frequently ran into OOM during deployment. One this is for sure 4GB of minimum RAM was never going to be enough whether it is 32 bit or 64 bit.

                 

                This problem got resolved by installing the 64 bit version of 1.1.1.7 SOA Suite, 64 bit Oracle XE on Windows 7 8GB RAM platform and slight modification of memory arguments in SOA Domain Environment file. Thanks for your kind assistance.

                 

                One more thing that hindered deployment in new evironment was error as in below website and thanks to the member who posted as my comment did not reflect there.

                 

                http://www.soatutor.com/2013/07/runtime-operation-error-in-bpm-orabpel.html

                 

                Now I am able to utilize webservice adapters, file adapters, LDAP Identity stuff (as in Dan's avion website) and looks like all is going well. Thanks esp. Dan for helping from ALBPM 5.7 till today...

                 

                Thank you too Ryan.

                 

                Regards,

                Vikram Srinivasan (Alias VikramInside)