Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1167406

Summary: BPMS6 deployment on WAS-8.5.5 ND failed
Product: [Retired] JBoss BPMS Platform 6 Reporter: Prabakar <psingara>
Component: DeploymentAssignee: Maciej Swiderski <mswiders>
Status: CLOSED WORKSFORME QA Contact: Radovan Synek <rsynek>
Severity: high Docs Contact:
Priority: medium    
Version: 6.0.3CC: kverlaen, mbaluch, mwinkler, nobody, psingara, rrajasek, rsynek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-08 21:19:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
BPMS6 deployment on WAS-8.5.5 ND failed
none
BPMS6 deployment on WAS-8.5.5 ND failed none

Description Prabakar 2014-11-24 16:35:29 UTC
Created attachment 960864 [details]
BPMS6 deployment on WAS-8.5.5 ND failed

Description of problem:
BPMS6 dployment on WAS-8.5.5.3 failed

Version-Release number of selected component (if applicable):
BPMS-6.03, WebSphere Application Server-8.5.5.3 ND

How reproducible:
Deploy on this server

Steps to Reproduce:
1.
2.
3.

Actual results:
[11/24/14 11:31:00:267 EST] 00000091 EJBApplicatio E   CNTR0190E: The ConfigServiceWatchServiceExecutorImpl startup singleton session bean in the business-central.war module failed initialization with exception:
javax.ejb.NoSuchEJBException: An error occurred during initialization of singleton session bean business-central#business-central.war#ConfigServiceWatchServiceExecutorImpl, resulting in the discarding of the singleton instance.; nested exception is: javax.ejb.EJBException: Injection failure; nested exception is: javax.enterprise.context.ContextNotActiveException: WebBeans context with scope type annotation @ApplicationScoped does not exist within current thread
	at com.ibm.ejs.container.util.ExceptionUtil.NoSuchEJBException(ExceptionUtil.java:511)
	at com.ibm.ejs.container.EJSHome.createSingletonBeanO(EJSHome.java:3992)
	at com.ibm.ejs.csi.EJBApplicationMetaData.createStartupBeans(EJBApplicationMetaData.java:991)
	at com.ibm.ejs.csi.EJBApplicationMetaData.startedModule(EJBApplicationMetaData.java:715)
	at com.ibm.ws.runtime.component.EJBContainerImpl.stateChanged(EJBContainerImpl.java:4866)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.stateChanged(ApplicationMgrImpl.java:1122)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectEvent(DeployedApplicationImpl.java:1353)
	at com.ibm.ws.runtime.component.DeployedModuleImpl.setState(DeployedModuleImpl.java:248)
	at com.ibm.ws.runtime.component.DeployedModuleImpl.setState(DeployedModuleImpl.java:244)
	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:642)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:776)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1379)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2189)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:389)
	at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:332)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:119)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(CompositionUnitMgrImpl.java:607)
	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5474)
	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5600)
	at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:621)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:565)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1269)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:69)
	at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:272)
	at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1152)
	at java.security.AccessController.doPrivileged(AccessController.java:298)
	at com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:30)
	at sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaSecurityAccessWrapper.java:41)
	at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1146)
	at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:999)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:847)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:783)
	at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1335)
	at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
	at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1228)
	at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
	at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:241)
	at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:578)
	at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
	at org.apache.struts.action.RequestProcessor.process(Unknown Source)
	at org.apache.struts.action.ActionServlet.process(Unknown Source)
	at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1385)
	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:194)
	at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
	at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)
	at org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown Source)
	at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown Source)
	at org.apache.struts.action.RequestProcessor.process(Unknown Source)
	at org.apache.struts.action.ActionServlet.process(Unknown Source)
	at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
	at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCUrlFilter.java:959)
	at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:506)
	at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:327)
	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960)
	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3878)
	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:981)
	at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:461)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:528)
	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:314)
	at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
	at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1864)
Caused by: javax.ejb.EJBException: Injection failure; nested exception is: javax.enterprise.context.ContextNotActiveException: WebBeans context with scope type annotation @ApplicationScoped does not exist within current thread
	at com.ibm.ejs.container.util.ExceptionUtil.EJBException(ExceptionUtil.java:475)
	at com.ibm.ejs.container.SingletonBeanO.initialize(SingletonBeanO.java:374)
	at com.ibm.ejs.container.BeanOFactory.create(BeanOFactory.java:130)
	at com.ibm.ejs.container.EJSHome.createNewBeanO(EJSHome.java:869)
	at com.ibm.ejs.container.EJSHome.createSingletonBeanO(EJSHome.java:3981)
	... 102 more
Caused by: javax.enterprise.context.ContextNotActiveException: WebBeans context with scope type annotation @ApplicationScoped does not exist within current thread
	at org.apache.webbeans.container.BeanManagerImpl.getContext(BeanManagerImpl.java:323)
	at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:124)
	at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.invoke(NormalScopedBeanInterceptorHandler.java:95)
	at org.uberfire.backend.server.io.ConfigIOServiceProducer_$$_javassist_121.systemRepository(ConfigIOServiceProducer_$$_javassist_121.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.apache.webbeans.inject.InjectableMethods.doInjection(InjectableMethods.java:205)
	at org.apache.webbeans.component.ProducerMethodBean.createDefaultInstance(ProducerMethodBean.java:204)
	at org.apache.webbeans.component.ProducerMethodBean.createInstance(ProducerMethodBean.java:166)
	at org.apache.webbeans.component.AbstractOwbBean.createNewInstance(AbstractOwbBean.java:216)
	at org.apache.webbeans.portable.creation.AbstractProducer.produce(AbstractProducer.java:82)
	at org.apache.webbeans.component.InjectionTargetWrapper.produce(InjectionTargetWrapper.java:142)
	at org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:174)
	at org.apache.webbeans.context.DependentContext.getInstance(DependentContext.java:69)
	at org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:191)
	at org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:911)
	at org.apache.webbeans.container.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:782)
	at com.ibm.ws.webbeans.services.IBMBeanManagerImpl.getInjectableReference(IBMBeanManagerImpl.java:194)
	at com.ibm.ws.webbeans.services.InjectInjectionObjectFactory.getInjectableReference(InjectInjectionObjectFactory.java:316)
	at com.ibm.ws.webbeans.services.InjectInjectionObjectFactory.getObjectInstance(InjectInjectionObjectFactory.java:154)
	at com.ibm.ws.webbeans.services.InjectInjectionBinding.getInjectionObjectInstance(InjectInjectionBinding.java:100)
	at com.ibm.wsspi.injectionengine.InjectionBinding.getInjectionObject(InjectionBinding.java:1093)
	at com.ibm.wsspi.injectionengine.InjectionBinding.getInjectableObject(InjectionBinding.java:1032)
	at com.ibm.wsspi.injectionengine.InjectionTarget.inject(InjectionTarget.java:125)
	at com.ibm.ws.injectionengine.AbstractInjectionEngine.inject(AbstractInjectionEngine.java:1084)
	at com.ibm.ejs.container.SingletonBeanO.initialize(SingletonBeanO.java:363)
	... 105 more

Expected results:
no error

Additional info:

Comment 1 Prabakar 2014-11-24 16:35:56 UTC
Created attachment 960865 [details]
BPMS6 deployment on WAS-8.5.5 ND failed

BPMS6 deployment on WAS-8.5.5 ND failed

Comment 3 Kris Verlaenen 2014-11-25 13:12:02 UTC
This was verified by QE as well, that it works with 6.0.3.GA if you follow the installation instructions, right?  We are not sure how to reproduce this, any ideas?

Comment 4 Marek Winkler 2014-11-27 16:09:15 UTC
Prabakar,

we verified that BPMS 6.0.3.GA can be deployed with WAS 8.5.5, can you please provide your WAS configuration and the exact steps that you followed during BPMS deployment? Otherwise we might be unable to reproduce the issue.

Can you please attach also the FFDC incidents indicated by the log lines such as: 

[11/24/14 11:29:15:154 EST] 00000046 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /home/psingaram/WASHome/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_4272e53f_14.11.24_11.29.15.1432091293336331844914.txt com.ibm.wsspi.injectionengine.InjectionBinding.getInjectionObject 408

(I mean the contents of the files such as /home/psingaram/WASHome/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_4272e53f_14.11.24_11.29.15.1432091293336331844914.txt).

Thank you!

Comment 5 Radovan Synek 2014-12-01 11:23:47 UTC
Prabakar,

just a blind shot - did you change classloading for Business Central? Both options "Classes loaded with local class loader first (parent last)" and
"Single class loader for application" must be checked.

I have double checked installation guide for WebSphere and steps provided there seem reasonable.