[JBoss jBPM] - jBPM or pages.xml overloading / extending / composition
by utiba_davidr
Hi,
I have a query regarding jBPM and Seam. Essentially what I want to know is, if I have a defined process or page flow using either jBPM or standard pages.xml is it possible to extend or customize that flow elsewhere? Is this addressed now in Seam 2.0 (I read about page flow composition support..)?
For example, say I have a page that has the outcomes: "delete" or "modify" and a particular client wants to have their version of the software allow a new outcome of: "activityLog". How would I achieve this? Ideally what I would like is to setup a product level page flow and then simply extend that to include the new outcome. What I want to avoid at all costs is "copy and pasting" the page flow. Is this achievable by designing the page flows properly? Or is it only achievable by writing some sophisticated XML merging utility perhaps? It would also be good to say, remove or disable certain outcomes if a client wishes.
Thanks,
David
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058525#4058525
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058525
18Â years, 10Â months
[EJB 3.0] - Re: Can a Stateless bean make a call to an entity bean to pe
by ashusri000
Hi !
I am able to get the datasource being properly deployed and able to see it at the server console also. There is no error so far with this part . But when I go for deployment of the entity bean then it shows an error that this jndi name is not a compound name and then the call to the entity also fails .
I had already put the ds.xml file in the deploy directory but it when I go to access the entity it throws up this error :
Internal Exception: javax.naming.InvalidNameException: Not a compound name: my-ejb-test
16:05:48,312 ERROR [STDERR] at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:220)
16:05:48,312 ERROR [STDERR] at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.
And the question about using Toplink , I mean since I am not using hibernate that's why I am making use of toplink jars for persisietnce .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058521#4058521
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058521
18Â years, 10Â months
[Installation, Configuration & Deployment] - java.lang.ClassCastException: com.sun.faces.application.Appl
by coejboss
I am a newbie to JBoss and I am trying to deploy my war in JBoss 4.2.0.GA version.
My application which I am trying to deploy is JSF-Spring-Framework application. But on deploying the application I am getting the following error:
09:02:41,451 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
09:03:03,889 INFO [TomcatDeployer] deploy, ctxPath=/myapp, warUrl=.../tmp/deploy/tmp36978myapp-exp.war/
09:03:04,639 INFO [WebappClassLoader] validateJarFile(C:\jboss-4.2.0.GA\server\default\.\tmp\deploy\tmp36978myapp-exp.war\WEB-INF\lib\javax.servlet.jar) - jar not loaded. See Servlet Spec 2.3
, section 9.7.2. Offending class: javax/servlet/Servlet.class
09:03:04,654 INFO [WebappClassLoader] validateJarFile(C:\jboss-4.2.0.GA\server\default\.\tmp\deploy\tmp36978myapp-exp.war\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3,
section 9.7.2. Offending class: javax/servlet/Servlet.class
09:03:06,326 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(/jsp/login.jspx)
09:03:06,326 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
09:03:06,326 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
09:03:06,326 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(/jsp/login.jspx)
09:03:06,326 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
09:03:06,326 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
09:03:06,342 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
09:03:06,342 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
09:03:06,342 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
09:03:06,342 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
09:03:06,764 INFO [D2DViewHandler]
ICEsoft Technologies, Inc.
ICEfaces 1.5.3
Build number: 5
Revision: 13132
09:03:07,514 ERROR [[/myapp]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.ClassCastException: com.sun.faces.application.ApplicationAssociate
at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:172)
at com.sun.faces.config.JSFVersionTracker.publishInstanceToApplication(JSFVersionTracker.java:266)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:424)
at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
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:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
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:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
at org.jboss.deployment.SubDeployerInte
Can anyone please tell me what is the problem and what shall I do for it? Has anyone encountered this problem?
Any suggestion will be very helpful for me.
Thanks & Regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058519#4058519
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058519
18Â years, 10Â months
[Management, JMX/JBoss] - Re: How to call a secured EJB method from the Service mbean
by batter
So I now *what* caused it but not the *why*. (and maybe this post should go to the security forum but no clue how to X-post here).
In the ejb jar that I create, I use the security-domain element to specify the security realm I defined. The reason for this was that I had to do that if I wanted to secure ejbs that are called from MBeans. What I saw was that if I defined a user/role in the jmx-console realm, I was able to call ejbs even when that jmx-console role was NOT defined in the EJBs rolesAllowed annotation; it started working correctly after I added the security-domain element to the ejb. Having this in in now, however 'causes the authentication exception during the mbeans start execution. ( the reason I mucking with this is that I don't want people f.e. to use twiddle or like code to call mbeans that they are not allowed
Now I *guess* that I need to muck around with the client-login realm defined in the login-config.xml
So much to learn, so little time lol
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058516#4058516
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058516
18Â years, 10Â months