[jBPM] - In jBPM 4.4 [using BPMN2.0] referenced in the process has been deployed as part of the process do you (subprocess)?
by Vincent He
Vincent He [http://community.jboss.org/people/bcanew] created the discussion
"In jBPM 4.4 [using BPMN2.0] referenced in the process has been deployed as part of the process do you (subprocess)?"
To view the discussion, visit: http://community.jboss.org/message/576773#576773
--------------------------------------------------------------
I am currently using jBPM 4.4, I see in the document have been supported and supportBPMN2.0 subprocess 【Reusable (call activity)】, the problem is I can not referencean external process to a certain process, has reached the general Purpose?
Ex
<process id="boundary_signal_event" name="Signal Boundary Event Process">
<process id="boundary_signal_event" name="Signal Boundary Event Process">
<startEvent id="startEvent" name="StartProcess"/>
<sequenceFlow id="flow1" sourceRef="startEvent" targetRef="subProcess"/>
<subProcess id="*subProcess*" name="*Hello*" >
*...*
</subProcess>
+ <startEvent id="startEvent" name="StartProcess"/>
I only wrote "..." subprocess in the details of it? Or under the subprocess's Id ("subProcess") or name ("Hello") can refer to an already Deployment of Process?
+ <sequenceFlow id="flow1" sourceRef="startEvent" targetRef="subProcess"/>
+ <subProcess id="subProcess" name="Hello" >
+ ...
+ </subProcess>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576773#576773]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 6 months
[JBoss Microcontainer] - JBoss 6.0.0.M5 spring and cxf problem
by Sandra T
Sandra T [http://community.jboss.org/people/sandra.t] created the discussion
"JBoss 6.0.0.M5 spring and cxf problem"
To view the discussion, visit: http://community.jboss.org/message/576340#576340
--------------------------------------------------------------
Hello,
When I deploy my war in jboss 6.0.0.M5 I have the following error:
Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationListener
at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [:1.6.0_16]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_16]
at java.net.URLClassLoader.findClass(URLClassLoader.java:188) [:1.6.0_16]
at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [:1.6.0_16]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [:1.6.0_16]
at java.lang.ClassLoader.loadClass(ClassLoader.java:252) [:1.6.0_16]
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) [:1.6.0_16]
at java.lang.Class.forName0(Native Method) [:1.6.0_16]
at java.lang.Class.forName(Class.java:247) [:1.6.0_16]
at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:284) [jboss-classloader.jar:2.2.0.Alpha8]
at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1152) [jboss-classloader.jar:2.2.0.Alpha8]
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:886) [jboss-classloader.jar:2.2.0.Alpha8]
at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:505) [jboss-classloader.jar:2.2.0.Alpha8]
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:450) [jboss-classloader.jar:2.2.0.Alpha8]
at java.lang.ClassLoader.loadClass(ClassLoader.java:252) [:1.6.0_16]
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) [:1.6.0_16]
My jboss-classloading.xml:
<?xml version="1.0" encoding="UTF-8"?>
<classloading xmlns="urn:jboss:classloading:1.0"
name="myApp.war"
domain="myApp.war.domain"
parent-domain="DefaultDomain"
export-all="NON_EMPTY"
import-all="true">
</classloading>
The spring jars (version 3.0.4) and cxf-bundle-minimal (version 2.2.11) are in WEB-INF/lib
Do I need to configure anything else? Did I miss something to do?
Thanks in advance for your help.
Sandra
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576340#576340]
Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 6 months
[Beginner's Corner] - help with packtpub JBoss 5 AS book example
by Wojtek Augustynski
Wojtek Augustynski [http://community.jboss.org/people/waugust] created the discussion
"help with packtpub JBoss 5 AS book example"
To view the discussion, visit: http://community.jboss.org/message/576749#576749
--------------------------------------------------------------
Hello,
I'm following along in the packtpub JBoss 5 AS book and came upon an issue I can't resolve.
There is nothing in the errata on it, so I thought I would try asking for help here.
Running JBoss 6.0 on JDK 6.
I followed everything to a "T" though JBoss throws an exception that it can't inject a resource as its not bound. This after on deployment it clearly states that its bound to global jndi:
16:21:46,143 INFO [org.hibernate.util.NamingHelper] Creating subcontext: persistence.unit:unitName=EnterpriseStore.ear
16:21:46,143 INFO [org.hibernate.impl.SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=EnterpriseStore.ear/AppStore.jar#AppStore
16:21:46,143 WARN [org.hibernate.impl.SessionFactoryObjectFactory] InitialContext did not implement EventContext
16:21:46,144 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
16:21:46,152 INFO [org.jboss.ejb3.session.SessionSpecContainer] Starting jboss.j2ee:ear=EnterpriseStore.ear,jar=AppStore.jar,name=StoreManagerBean,service=EJB3
16:21:46,179 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: com.packtpub.ejb.example3.StoreManagerBean ejbName: StoreManagerBean
16:21:46,266 INFO [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
AppstoreEJB/remote - EJB3.x Default Remote Business Interface
EnterpriseStore/StoreManagerBean/remote-com.packtpub.ejb.example3.StoreManagerRemote - EJB3.x Remote Business Interface
AppstoreEJB/local - EJB3.x Default Local Business Interface
EnterpriseStore/StoreManagerBean/local-com.packtpub.ejb.example3.StoreManagerLocal - EJB3.x Local Business Interface
16:21:46,869 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/AppStoreWeb
16:21:46,916 INFO [org.apache.catalina.core.StandardContext] The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
16:21:46,917 INFO [org.apache.catalina.core.StandardContext] The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
16:23:55,792 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/AppStoreWeb].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: javax.naming.NameNotFoundException: AppStoreEJB not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) [:5.0.5.Final]
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) [:5.0.5.Final]
at org.jnp.server.NamingServer.getObject(NamingServer.java:785) [:5.0.5.Final]
at org.jnp.server.NamingServer.lookup(NamingServer.java:396) [:5.0.5.Final]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728) [:5.0.5.Final]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688) [:5.0.5.Final]
at javax.naming.InitialContext.lookup(InitialContext.java:392) [:1.6.0_22]
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1350) [:5.0.5.Final]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:819) [:5.0.5.Final]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688) [:5.0.5.Final]
at org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:44) [:1.5.1]
at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:75) [:1.5.1]
at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99) [:1.5.1]
at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:395) [:6.0.0.20100911-M5]
at org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider.inject(JBossDelegatingInjectionProvider.java:77) [:1.0.0]
at com.sun.faces.mgbean.BeanBuilder.injectResources(BeanBuilder.java:205) [:2.0.2-FCS]
at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:103) [:2.0.2-FCS]
at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:405) [:2.0.2-FCS]
at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:267) [:2.0.2-FCS]
at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:86) [:2.0.2-FCS]
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) [:1.0.0.Beta2]
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) [:2.0.2-FCS]
at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67) [:6.0.0.20100911-M5]
at org.apache.el.parser.AstValue.getValue(AstValue.java:115) [:6.0.0.20100911-M5]
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187) [:6.0.0.20100911-M5]
at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101) [:6.0.0.20100911-M5]
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190) [:2.0.2-FCS]
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178) [:2.0.2-FCS]
at javax.faces.component.UIOutput.getValue(UIOutput.java:168) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.MenuRenderer.getCurrentSelectedValues(MenuRenderer.java:646) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.MenuRenderer.renderOptions(MenuRenderer.java:747) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:842) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:296) [:2.0.2-FCS]
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:878) [:2.0.2-FCS]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1620) [:2.0.2-FCS]
at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) [:2.0.2-FCS]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129) [:2.0.2-FCS]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) [:2.0.2-FCS]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613) [:2.0.2-FCS]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616) [:2.0.2-FCS]
at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:420) [:2.0.2-FCS]
at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:209) [:2.0.2-FCS]
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126) [:2.0.2-FCS]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127) [:2.0.2-FCS]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [:2.0.2-FCS]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [:2.0.2-FCS]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313) [:2.0.2-FCS]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.20100911-M5]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]
at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:6.0.0.20100911-M5]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.20100911-M5]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.20100911-M5]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.20100911-M5]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.20100911-M5]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.20100911-M5]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.20100911-M5]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:6.0.0.20100911-M5]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.20100911-M5]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
16:21:46,143 INFO [org.hibernate.util.NamingHelper] Creating subcontext: persistence.unit:unitName=EnterpriseStore.ear
16:21:46,143 INFO [org.hibernate.impl.SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=EnterpriseStore.ear/AppStore.jar#AppStore
16:21:46,143 WARN [org.hibernate.impl.SessionFactoryObjectFactory] InitialContext did not implement EventContext
16:21:46,144 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
16:21:46,152 INFO [org.jboss.ejb3.session.SessionSpecContainer] Starting jboss.j2ee:ear=EnterpriseStore.ear,jar=AppStore.jar,name=StoreManagerBean,service=EJB3
16:21:46,179 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: com.packtpub.ejb.example3.StoreManagerBean ejbName: StoreManagerBean
16:21:46,266 INFO [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] *Binding the following Entries in Global JNDI*:
AppstoreEJB/remote - EJB3.x Default Remote Business Interface
EnterpriseStore/StoreManagerBean/remote-com.packtpub.ejb.example3.StoreManagerRemote - EJB3.x Remote Business Interface
*AppstoreEJB/local* - EJB3.x Default Local Business Interface
EnterpriseStore/StoreManagerBean/local-com.packtpub.ejb.example3.StoreManagerLocal - EJB3.x Local Business Interface
16:21:46,869 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/AppStoreWeb
16:21:46,916 INFO [org.apache.catalina.core.StandardContext] The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
16:21:46,917 INFO [org.apache.catalina.core.StandardContext] The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
16:23:55,792 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/AppStoreWeb].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: *javax.naming.NameNotFoundException: AppStoreEJB not bound*
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) [:5.0.5.Final]
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) [:5.0.5.Final]
at org.jnp.server.NamingServer.getObject(NamingServer.java:785) [:5.0.5.Final]
at org.jnp.server.NamingServer.lookup(NamingServer.java:396) [:5.0.5.Final]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728) [:5.0.5.Final]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688) [:5.0.5.Final]
at javax.naming.InitialContext.lookup(InitialContext.java:392) [:1.6.0_22]
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1350) [:5.0.5.Final]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:819) [:5.0.5.Final]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688) [:5.0.5.Final]
at org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:44) [:1.5.1]
at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:75) [:1.5.1]
at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99) [:1.5.1]
at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:395) [:6.0.0.20100911-M5]
at org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider.inject(JBossDelegatingInjectionProvider.java:77) [:1.0.0]
at com.sun.faces.mgbean.BeanBuilder.injectResources(BeanBuilder.java:205) [:2.0.2-FCS]
at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:103) [:2.0.2-FCS]
at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:405) [:2.0.2-FCS]
at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:267) [:2.0.2-FCS]
at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:86) [:2.0.2-FCS]
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) [:1.0.0.Beta2]
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) [:2.0.2-FCS]
at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67) [:6.0.0.20100911-M5]
at org.apache.el.parser.AstValue.getValue(AstValue.java:115) [:6.0.0.20100911-M5]
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187) [:6.0.0.20100911-M5]
at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101) [:6.0.0.20100911-M5]
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190) [:2.0.2-FCS]
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178) [:2.0.2-FCS]
at javax.faces.component.UIOutput.getValue(UIOutput.java:168) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.MenuRenderer.getCurrentSelectedValues(MenuRenderer.java:646) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.MenuRenderer.renderOptions(MenuRenderer.java:747) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:842) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:296) [:2.0.2-FCS]
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:878) [:2.0.2-FCS]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1620) [:2.0.2-FCS]
at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) [:2.0.2-FCS]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185) [:2.0.2-FCS]
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129) [:2.0.2-FCS]
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) [:2.0.2-FCS]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613) [:2.0.2-FCS]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616) [:2.0.2-FCS]
at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:420) [:2.0.2-FCS]
at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:209) [:2.0.2-FCS]
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126) [:2.0.2-FCS]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127) [:2.0.2-FCS]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [:2.0.2-FCS]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [:2.0.2-FCS]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313) [:2.0.2-FCS]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.20100911-M5]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]
at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:6.0.0.20100911-M5]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.20100911-M5]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.20100911-M5]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.20100911-M5]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.20100911-M5]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.20100911-M5]
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.20100911-M5]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.20100911-M5]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.20100911-M5]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:6.0.0.20100911-M5]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.20100911-M5]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
In the bean I have:
import org.jboss.ejb3.annotation.LocalBinding;
import org.jboss.ejb3.annotation.RemoteBinding;
import com.packtpub.jpa.example3.Customer;
import com.packtpub.jpa.example3.Item;
@Stateless
@RemoteBinding(jndiBinding="AppstoreEJB/remote")
@LocalBinding(jndiBinding="AppstoreEJB/local")
public class StoreManagerBean implements StoreManagerLocal, StoreManagerRemote{
What am I doing wrong?
My sincere gratitude in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576749#576749]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 6 months
[jBPM] - can not able to ProcessInstance
by prasad basutkar
prasad basutkar [http://community.jboss.org/people/peterbasutkar%40gmail.com] created the discussion
"can not able to ProcessInstance"
To view the discussion, visit: http://community.jboss.org/message/576761#576761
--------------------------------------------------------------
Hi All
Requirement : Can not able to delete ProcessInstance.
Description : I am using jbpm 3.2.6 and i am facing problem in deleting the ProcessInstance which Contains Sub-Process in it.
""
scenario : I have process("ProcessA") which contains sub-process as process("ProcessB") and sub-process("ProcessB") is the next Node in ParentProcess("ProcessA") after "start" node.i started the process("ProcessA") and completes the "start" task and then i creates the sub-process's("ProcessB") start task by using api
TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance(); //where processInstance is the instance of ("ProcessB")
TaskInstance startTaskInstance = taskMgmtInstance.createStartTaskInstance();//manually creates start task because sub-process always skips starting task , means there is no TaskInstance entry in the database for this task.
and then to move to next task in the process i used api
startTaskInstance.end(); // i intenssionally not used processInstance.signal() to move to next task because i want EndDate for the starting task.
after doining all this when i try to delete processInstance of parent process("ProcessA") then i am getting exception.
Thanks And Regards
Prasad Basutkar
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576761#576761]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 6 months
[Beginner's Corner] - Guvnor Security
by Shobhit Tyagi
roxy1987 [http://community.jboss.org/people/roxy1987] created the discussion
"Guvnor Security"
To view the discussion, visit: http://community.jboss.org/message/576759#576759
--------------------------------------------------------------
I am trying to add authentication to the guvnor console.
My WEB-INF/components.xml is like this :
*<?xml version="1.0" encoding="UTF-8"?>
<components xmlns=" http://jboss.com/products/seam/components http://jboss.com/products/seam/components"
xmlns:core=" http://jboss.com/products/seam/core http://jboss.com/products/seam/core"
xmlns:security=" http://jboss.com/products/seam/security http://jboss.com/products/seam/security"
xmlns:web=" http://jboss.com/products/seam/web http://jboss.com/products/seam/web"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xmlns:transaction=" http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction"
xsi:schemaLocation=
" http://jboss.com/products/seam/core http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd http://jboss.com/products/seam/core-2.0.xsd
http://jboss.com/products/seam/security http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd http://jboss.com/products/seam/security-2.0.xsd
http://jboss.com/products/seam/components http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd http://jboss.com/products/seam/components-2.0.xsd
http://jboss.com/products/seam/web http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd http://jboss.com/products/seam/web-2.0.xsd
http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd http://jboss.com/products/seam/transaction-2.0.xsd">
<core:init transaction-management-enabled="false"/>
<transaction:no-transaction/>
<component name="repositoryConfiguration">
<!--
*** This is for configuring the "home" directory for the repo storage. the directory must exist. ***
<property name="homeDirectory">/home/michael/RulesRepository_001</property>
-->
<!--
Optional: this is for creating a configurator for a seperate repository type.
<property name="configurator">org.drools.repository.JackrabbitRepositoryConfigurator</property>
-->
</component>
<!-- SECURITY IDENTITY CONFIGURATION -->
<!-- default (will take any username, useful if you want to keep track of users but not authenticate
<security:identity authenticate-method="#{defaultAuthenticator.authenticate}"/> -->
<!-- NO authentication. This will bypass the login screen when you hit the app. Everyone is "guest" -->
<!-- <security:identity authenticate-method="#{nilAuthenticator.authenticate}"/> -->
<!-- FOR EXAMPLE: the following one will use the jaas configuration called "other" - which in jboss AS means you can use properties files for users: -->
<security:identity authenticate-method="#{authenticator.authenticate}" jaas-config-name="other"/>
<!-- as JAAS is used you can use container specific ones to link up to your login services, eg LDAP/AD etc -->
<!-- SECURITY AUTHORIZATION CONFIGURATION -->
<!-- This is used to enable or disable role-based authorization. By default it is disabled. -->
<security:role-based-permission-resolver enable-role-based-authorization="true"/>
</components>*
server/default/conf/login-config.xml looks like this :
*<?xml version='1.0'?>*
*<!-- The XML based JAAS login configuration read by the
org.jboss.security.auth.login.XMLLoginConfig mbean. Add
an application-policy element for each security domain.*
*The outline of the application-policy is:
<application-policy name="security-domain-name">
<authentication>
<login-module code="login.module1.class.name" flag="control_flag">
<module-option name = "option1-name">option1-value</module-option>
<module-option name = "option2-name">option2-value</module-option>
...
</login-module>*
* <login-module code="login.module2.class.name" flag="control_flag">
...
</login-module>
...
</authentication>
</application-policy>*
*$Id: login-config.xml 76444 2008-07-29 23:50:53Z mailto:sguilhen@redhat.com sguilhen(a)redhat.com $
$Revision: 76444 $
-->*
*<policy>
<!-- Used by clients within the application server VM such as
mbeans and servlets that access EJBs.
-->
<application-policy name="client-login">
<authentication>
<login-module code="org.jboss.security.ClientLoginModule"
flag="required">
<!-- Any existing security context will be restored on logout -->
<module-option name="restore-login-identity">true</module-option>
</login-module>
</authentication>
</application-policy>*
* <!-- Security domains for testing new jca framework -->
<application-policy name="HsqlDbRealm">
<authentication>
<login-module code="org.jboss.resource.security.ConfiguredIdentityLoginModule"
flag="required">
<module-option name="principal">sa</module-option>
<module-option name="userName">sa</module-option>
<module-option name="password"></module-option>
<module-option name="managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
</login-module>
</authentication>
</application-policy>*
* <application-policy name="JmsXARealm">
<authentication>
<login-module code="org.jboss.resource.security.ConfiguredIdentityLoginModule"
flag="required">
<module-option name="principal">guest</module-option>
<module-option name="userName">guest</module-option>
<module-option name="password">guest</module-option>
<module-option name="managedConnectionFactoryName">jboss.jca:service=TxCM,name=JmsXA</module-option>
</login-module>
</authentication>
</application-policy>*
* <!-- A template configuration for the jmx-console web application. This
defaults to the UsersRolesLoginModule the same as other and should be
changed to a stronger authentication mechanism as required.
-->
<application-policy name="jmx-console">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag="required">
<module-option name="usersProperties">props/jmx-console-users.properties</module-option>
<module-option name="rolesProperties">props/jmx-console-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>*
* <!-- A template configuration for the web-console web application. This
defaults to the UsersRolesLoginModule the same as other and should be
changed to a stronger authentication mechanism as required.
-->
<application-policy name="web-console">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag="required">
<module-option name="usersProperties">web-console-users.properties</module-option>
<module-option name="rolesProperties">web-console-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>*
* <!--
A template configuration for the JBossWS security domain.
This defaults to the UsersRolesLoginModule the same as other and should be
changed to a stronger authentication mechanism as required.
-->
<application-policy name="JBossWS">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag="required">
<module-option name="usersProperties">props/jbossws-users.properties</module-option>
<module-option name="rolesProperties">props/jbossws-roles.properties</module-option>
<module-option name="unauthenticatedIdentity">anonymous</module-option>
</login-module>
</authentication>
</application-policy>*
* <!-- The default login configuration used by any security domain that
does not have a application-policy entry with a matching name
-->
<application-policy name="other">
<!-- A simple server login module, which can be used when the number
of users is relatively small. It uses two properties files:
users.properties, which holds users (key) and their password (value).
roles.properties, which holds users (key) and a comma-separated list of
their roles (value).
The unauthenticatedIdentity property defines the name of the principal
that will be used when a null username and password are presented as is
the case for an unuathenticated web client or MDB. If you want to
allow such users to be authenticated add the property, e.g.,
unauthenticatedIdentity="nobody"
-->
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required">
<module-option name="usersProperties">props/guvnor-users.properties</module-option>
<module-option name="rolesProperties">props/guvnor-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>
</policy>*
Also I have created the two files *guvnor-users.properties.xml* and *guvnor-roles.properties.xml* and put these files in props folder.
But the password and username i provided doesnt work. What is wrong with the code???
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576759#576759]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 6 months