[JBoss Tools] - BPEL Technical Preview available soon!
by Robert (Bob) Brodt
Robert (Bob) Brodt [http://community.jboss.org/people/bbrodt] modified the blog post:
"BPEL Technical Preview available soon!"
To view the blog post, visit: http://community.jboss.org/community/tools/blog/2011/01/24/bpel-technical...
--------------------------------------------------------------
h1. http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3550-1119... (http://community.jboss.org/servlet/JiveServlet/showImage/38-3550-11190/BP... in SOA-P
Let's face it,BPEL has become the de facto standard for building industrial strength business work flows, despite the fact that it is not for the faint of heart and, much like suicide by lapidation (http://en.wikipedia.org/wiki/Stoning), it requires a strong will and determination to get through the pain.
Red Hat/JBoss recognized the importance of BPEL in the enterprise quite a while ago and as a result, a WS-BPEL 2.0 compliant engine and tooling is being offered as a “Technical Preview” in SOA-P 5.1, which is due to release sometime this spring.
The BPEL tooling and runtime will also be available in JBoss Developer Studio 4 (http://devstudio.jboss.com/updates/) as a Technical Preview and in JBoss Tools (http://community.jboss.org/en/tools), the community (free (http://freebeer.org/blog/)!) edition.
Technical Preview simply means that it will be bundled with SOA-P but it will not be officially supported until the 5.2 release scheduled for this summer. However, we the developers will still do our best to respond to feature and bug fix requests from the community, as always.
h1. The Runtime
Riftsaw, which is the BPEL engine that ships with the above mentioned products, is based on Apache ODE (http://ode.apache.org/) version 1.3.4 and in fact, JBoss developers have been very active in the ODE community and have been instrumental in determining the future direction of the project.
The Riftsaw engine is optimized for the JBoss Application Server and supports a variety of features which you can read about in the project pages here (http://jboss.org/riftsaw).
Startup and shutdown of Riftsaw and deployment of business processes to the engine, as well as control of process instances can be done either through the Eclipse tooling, or using the BPEL Console shown below. Before you start, make sure that your JBoss Application Server environment is installed and configured correctly and you have installed Riftsaw as described in the User Guide (http://docs.jboss.com/riftsaw/2.0.0.Final/userguide/html_single/).
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3550-1119... (http://community.jboss.org/servlet/JiveServlet/showImage/38-3550-11191/bp...)
The “Servers”view is used to manage the Riftsaw engine from the Eclipse tooling, as shown here:
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3550-1119... (http://community.jboss.org/servlet/JiveServlet/showImage/38-3550-11192/Se...)
To create a new server instance in Eclipse, simply select “New” from the Servers View context menu (right-click) and follow the wizard; first select the JBoss App Server version. Currently this must be 5.1.0.GA - support for AS 6.0 is being considered for a future release.
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3550-1119... (http://community.jboss.org/servlet/JiveServlet/showImage/38-3550-11193/Ne...)
Next, select the AS installation directory:
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3550-1119... (http://community.jboss.org/servlet/JiveServlet/showImage/38-3550-11194/Ne...)
and finally, deploy your processes - that's all there's to it!
http://community.jboss.org/servlet/JiveServlet/downloadImage/38-3550-1119... (http://community.jboss.org/servlet/JiveServlet/showImage/38-3550-11195/Ne...)
h1. The Tooling
Over a year ago, JBoss made the very difficult decision to fork the Eclipse BPEL Designer source (http://eclipse.org/bpel/) because apparently the original development team was unable to commit the time and resources to maintain the editor, for whatever reasons (http://www.theregister.co.uk/2006/03/16/eclispe_soa_ibm_oracle/) and the project has been floundering until recently (http://dev.eclipse.org/blogs/bpel/2010/08/20/the-eclipse-bpel-designer-pr...). Since then a lot of improvements and bug fixes have been made and the BPEL editor is finally stable enough to be considered a beta release! Not only are there other Eclipse projects (http://eclipse.org/smila/) that depend on, and use the BPEL Designer, but it has been officially integrated into our QA cycle.
In the coming months these fixes and enhancements will be pushed back upstream to the Eclipse code line and made available to the community. The plan is to rekindle community interest in this project and eventually have it be self-sustaining so that we can finallyretire our forked code line. The fact that we have been able to gain some measure of control over the code at eclipse.org will make this task much simpler.
h1. What's Next?
We still have some features we'd like to see implemented in the editor and runtime, such as:
* Execution simulation and in situ runtime debugging.
* WS-HumanTask or BPEL4People support.
* Clustering to support HA and load balancing.
* Solidifying the BPEL Designer plug-in extension API, especially BPEL extension activities.
* A new “Design” page with a simplified GUI which could be offered as a “BPEL Lite” page vs the current “BPEL Classic” designer.
* A new "Overview" page that simplifies partner link and WSDL management.
The current graphical UI has long been criticized for being less than user friendly and several ideas have been tossed around which would improve the user experience. We hope to implement each of these as time permits.
h1. How You Can Help
The reason for offering BPEL as a Technical Preview is so that early adopters can get their hands on new technology goodies to start playing with them and provide us with valuable feedback! This will help us shake out bugs and help us offer a better product. But this only works if you, the users, provide us with that feedback.
So if you are an early adopter and run across a bug, or you see a need for a new feature/enhancement, please let us know by posting to the JBoss (http://community.jboss.org/en/tools?view=discussions) or Riftsaw (http://community.jboss.org/en/riftsaw?view=discussions) community user forums. For BPEL Designer-specific issues and questions, you can also post directly to the Eclipse BPEL project forum (http://www.eclipse.org/forums/index.php?t=thread&frm_id=43).
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/community/tools/blog/2011/01/24/bpel-technical...]
13 years, 8 months
[jBPM] - jBPM5 console + Oracle + Tomcat
by bpmn2user
bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion
"jBPM5 console + Oracle + Tomcat"
To view the discussion, visit: http://community.jboss.org/message/582878#582878
--------------------------------------------------------------
Here are the steps:
1.) Configure the jBPM console with Tomcat ( http://community.jboss.org/thread/160572?tstart=0 http://community.jboss.org/thread/160572?tstart=0) and configure the datasource against the Oracle database.
2.) Copy Oracle driver (e.g. oracle-11.1.0.6.jar) into into TOMCAT_HOME/lib
3.) Modify hibernate.cfg.xml in TOMCAT_HOME\webapps\gwt-console-server\WEB-INF\classes\META-INF to include Oracle connection details.
e.g
+......+
+......+
+<!-- Database connection settings -->+
+ <property name="connection.driver_class">oracle.jdbc.OracleDriver</property>+
+ <property name="connection.url">jdbc:oracle:thin:@yourhostname:1521:test</property>+
+ <property name="connection.username">dbuser</property>+
+ <property name="connection.password">dbpw</property>+
+ <!-- JDBC connection pool (use the built-in) -->+
+ <property name="connection.pool_size">1</property>+
+ <!-- SQL dialect -->+
+ <property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>+
+ .......+
+.......+
Following two steps requires repackaging the jar files as the default embedded configuration files use h2
4.) Modify META-INF\persistence.xml in jbpm-human-task-5.0-SNAPSHOT.jar to include Oracle DB details.
e.g
.....
....
<class>org.jbpm.task.User</class>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
<property name="hibernate.connection.driver_class" value="oracle.jdbc.OracleDriver"/>
<property name="hibernate.connection.url" value="+jdbc:oracle:thin:@yourhostname:1521:test+" />
<property name="hibernate.connection.username" value="dbuser"/>
<property name="hibernate.connection.password" value="dbpw"/>
<property name="hibernate.connection.autocommit" value="false" />
<property name="hibernate.max_fetch_depth" value="3"/>
<property name="hibernate.hbm2ddl.auto" value="create" />
<property name="hibernate.show_sql" value="false" />
</properties>
</persistence-unit>
......
.....
5.) Modify hibernate.cfg.xml in jbpm-bam-5.0-SNAPSHOT.jar to include Oracle database connection details
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/582878#582878]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 8 months
[Performance Tuning] - Trying to connect JConsole to JBOSS with exception
by Fernando Martinez
Fernando Martinez [http://community.jboss.org/people/fer1979] created the discussion
"Trying to connect JConsole to JBOSS with exception"
To view the discussion, visit: http://community.jboss.org/message/582869#582869
--------------------------------------------------------------
Hy, I am trying to connect JConsole with jboss 4.0.3. So I go the bin folder of jboss instalation directory and I execute run.bat and everything is ok but when I open JConsole and I try to connect to jboss process in local processes section I get the next exception: ''
21:10:02,437 INFO [STDOUT] javax.management.JMRuntimeException: Failed to load
MBeanServerBuilder class org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.C
lassNotFoundException: org.jboss.mx.server.MBeanServerBuilderImpl
21:10:02,437 INFO [STDOUT] .....
Agent failed to start!
I have tried many configurations in the run.bat and in the run.conf files of jboss but I get the same exception. I have checked the in the lib folder of jboss that the library jboss.jmx_jar has the class "org.jboss.mx.server.MBeanServerBuilderImpl". Any ideas, please?
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/582869#582869]
Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 8 months
[EJB3] - Weired JPA named query @NamedQuery behaviour
by Christian Groove
Christian Groove [http://community.jboss.org/people/TheGroove] created the discussion
"Weired JPA named query @NamedQuery behaviour"
To view the discussion, visit: http://community.jboss.org/message/582625#582625
--------------------------------------------------------------
Salut
i recogniozed a strange behaviour, declaring anmed
queries with a annotation. Here is some code:
@NamedQueries(
{
@NamedQuery(
name=Dbean1.GET_COMPOSITION,
query=Dbean1.JPQL_COMPOSITION)
}
)
where:
@Entity
public class Dbean1. implements Serializable
{
/* some code */
final public static String GET_COMPOSITION = ".... composition " ;
final public static String GET_COMPOSITION = "SELECT dbean FROM ..... " ;
this looks fine. But imagine iff you a to implement a recurring part of the
where expression and start thinking of a java code, that could help you to
create that JPA-QL string.
So when you write:
@Entity
public class Dbean1. implements Serializable
{
/* some code */
final public static String GET_COMPOSITION = ".... composition " ;
final public static String *GENERATED_WHERE_EXPR* = generateWehreCompo() ;
final public static String GET_COMPOSITION =
"SELECT dbean FROM ..... +
WHERE" + *GENERATED_WHERE_EXPR* ... ;
JBoss5.1 will tell you "+The value for annotation attribute NamedQuery.query must be a+
+constant expression+" So is final private static not constant enough ???
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/582625#582625]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 8 months