[jBPM Development] - Integration of JBPM into a web application
by Cyrine Bjaoui
Cyrine Bjaoui [https://community.jboss.org/people/cyrine] created the discussion
"Integration of JBPM into a web application"
To view the discussion, visit: https://community.jboss.org/message/773663#773663
--------------------------------------------------------------
Hello everybody,
I started creating a JBPM5 project, witch includes some functions to call in a main class. It runs perfectly.
I created also a web application, witch contains 2 web pages (a web page A with a button to go to the web page B). It works too.
Now i wanna use a function from the JBPM project, and call it via the button action (I used a managed bean) of my web page.
I tryed to call my JBPM project as Jar file, it generated an error saying :
" GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) com.sun.faces.config.ConfigureListener
java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/sun/faces/config/ConfigureListener, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature
at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1595)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:419)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
org.apache.catalina.core.StandardContext start "
I thought to use web services, I'm not sure if it will help.
The idea is to use functions, from my JBPM project, into a web application.
Any help please !
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/773663#773663]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 3 months
Community Updates, January 17 - January 24
by JBoss Community
===============================================================
Community Updates for January 17 - January 24
===============================================================
Your Content
* testing the new list server [https://community.jboss.org/thread/127309]
was viewed 13,199 times and replied to by 3 people
* No Link to Jboss Nukes [https://community.jboss.org/thread/90785]
was viewed 111,508 times and replied to by 3 people
Your Connections - Activity by people you are following
You don't have any connections yet. Find people and connect! [https://community.jboss.org/people/]
Popular Content - The content that is most viewed and participated in
* Open Session in View [https://community.jboss.org/docs/DOC-13954]
* Sessions and transactions [https://community.jboss.org/docs/DOC-13951]
* Data Source Configuration in AS 7 [https://community.jboss.org/docs/DOC-16657]
* how I set up a PostgreSQL JDBC Driver on JBoss 7 [https://community.jboss.org/blogs/amartin-blog/2012/02/08/how-to-set-up-a...]
* JBoss Tools 4 and Developer Studio 6 is ready! [https://community.jboss.org/community/tools/blog/2012/12/10/jboss-tools-4...]
* Spring and JBoss AS7 (Part 1) : Getting Started [https://community.jboss.org/blogs/mariusb/2011/07/13/spring-and-jboss-as7...]
* Re: Agent Proxy Communication [https://community.jboss.org/message/792847#792847]
* Re: Jboss 7.1.2.Final is only for EAP? [https://community.jboss.org/message/793965#793965]
* Re: java.net.BindException: Address already in use: JVM_Bind [https://community.jboss.org/message/785144#785144]
Tips and tricks - Remember Who, not Where
Have you ever forgotten the location of a file, but remembered who worked on it? With Community you can easily get to all of the content that someone has worked on. Just navigate to their profile and go to their Stuff tab. Inside that tab you can filter by the type of content, like document, discussion, task, or blog post.
Not interested in these emails anymore, or want to change how often they come? Update your email preferences by visiting: https://community.jboss.org/user-notification-preferences!input.jspa
11 years, 3 months
[JBoss AS 7 Development] - AS7ManagementVersionsKnownIssues
by Brian Stansberry
Brian Stansberry [https://community.jboss.org/people/brian.stansberry] modified the document:
"AS7ManagementVersionsKnownIssues"
To view the document, visit: https://community.jboss.org/docs/DOC-19586
--------------------------------------------------------------
See https://community.jboss.org/docs/DOC-19172 AS7ManagementVersions for the list of management model versions per AS 7 version. This document lists known issues/false positives in the output of CompareModelVersionsUtil for different AS 7 versions, mainly things which don't need to be (or cannot?) be transformed
*7.1.x versions*
*Known issues from CompareModelVersionsUtil between 7.1.3 and 7.1.2.Final:*
====== Resource root address: ["subsystem" => "security"] - Current version: 1.1.0; legacy version: 1.1.0 =======
--- Problems for relative address to root ["security-domain" => "*"]:
Missing parameters for operation 'flush-cache' in current: []; missing in legacy [principal]
Different 'reply-properties' for operation 'list-cached-principals'. Current: {
"description" => "list-cached-principals.return",
"type" => LIST,
"value-type" => STRING
}; legacy: undefined
The code for the operation handlers is identical. The difference is improvement of the DescriptionProviders, so no transformation is needed.
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-19586]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
11 years, 3 months
[JBoss AS 7 Development] - AS7ManagementVersionsKnownIssues
by Brian Stansberry
Brian Stansberry [https://community.jboss.org/people/brian.stansberry] modified the document:
"AS7ManagementVersionsKnownIssues"
To view the document, visit: https://community.jboss.org/docs/DOC-19586
--------------------------------------------------------------
See https://community.jboss.org/docs/DOC-19172 AS7ManagementVersions for the list of management model versions per AS 7 version. This document lists known issues/false positives in the output of CompareModelVersionsUtil for different AS 7 versions, mainly things which don't need to be (or cannot?) be transformed
*7.1.x versions*
*Known issues from CompareModelVersionsUtil between 7.1.3 and 7.1.2.Final:*
====== Resource root address: ["subsystem" => "security"] - Current version: 1.1.0; legacy version: 1.1.0 =======
--- Problems for relative address to root ["security-domain" => "*"]:
Missing parameters for operation 'flush-cache' in current: []; missing in legacy [principal]
Different 'reply-properties' for operation 'list-cached-principals'. Current: {
"description" => "list-cached-principals.return",
"type" => LIST,
"value-type" => STRING
}; legacy: undefined
The code for the operation handlers is identical. The difference is improvement of the DescriptionProviders, so no transformation is needed.
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-19586]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
11 years, 3 months