[JBoss Tools] - JBoss Tools 4.1 and Red Hat JBoss Developer Studio 7 go GA
by Nick Boldt
Nick Boldt [https://community.jboss.org/people/nickboldt] modified the blog post:
"JBoss Tools 4.1 and Red Hat JBoss Developer Studio 7 go GA"
To view the blog post, visit: https://community.jboss.org/community/tools/blog/2013/07/23/jboss-tools-4...
--------------------------------------------------------------
On behalf of the JBoss Tools and Developer Studio team, I'm extremely proud to announce the general availability of the JBoss Tools 4.1.0.Final and Red Hat JBoss Developer Studio 7.0.0.GA releases.
https://devstudio.jboss.com/images/jbosstools-jbdevstudio-blog-header.png https://devstudio.jboss.com/images/jbosstools-jbdevstudio-blog-header.png
h3. JBoss Tools 4.1.0.Final and Developer Studio 7.0.0.GA
+To Infinity and Beyond, but Mobile first!+
Developer Studio: [ https://marketplace.eclipse.org/content/red-hat-jboss-developer-studio-ke... Marketplace] [ http://devstudio.jboss.com/earlyaccess Download] | Tools: [ https://marketplace.eclipse.org/content/jboss-tools-kepler Marketplace] [ http://www.jboss.org/tools/download Download] [ http://download.jboss.org/jbosstools/updates/stable/juno/ Update Site] | [ http://docs.jboss.org/tools/whatsnew What's New] [ http://www.jboss.com/index.html?module=bb&op=viewforum&f=201 Forums] [ http://jira.jboss.com/jira/browse/JBIDE JIRA] [ http://twitter.com/jbosstools Twitter]
JBoss Tools is a set of plugins for Eclipse that complements, enhances and goes beyond the support that exists for JBoss and related technologies in the default Eclipse distribution.
Red Hat JBoss Developer Studio is a fully bundled Eclipse distribution which not only includes the majority of JBoss Tools but also all its needed dependencies and 3rd party plugins allowing for an easy one-click and no-fuss installation.
If you are into doing your own bleeding edge Eclipse plugin assembly, JBoss Tools is for you; if you are more into having something that "Just Works" then JBoss Developer Studio is the way to go.
h2. Installation
JBoss Developer Studio is available with a http://devstudio.jboss.com/earlyaccess one-download-installer with everything bundled and configured out of the box.
You can also install JBoss Developer Studio or JBoss Tools from Eclipse Marketplace via "Help > Eclipse Marketplace..."
When installing from Eclipse Marketplace we recommend using a fresh http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/... Eclipse 4.3 JEE Bundle since then you'll have most of the dependencies pre-installed.
Note: SOA tooling for BPEL, Drools, Guvnor, jBPM, ESB, Modeshape, pi4soa, Savara, SwitchYard & Teiid, in future referred collectively as the JBoss Tools or JBoss Developer Studio *Integration Stack (JBT-IS or JBDS-IS)*, are not yet available for this release. They will become available separately later. If you wish to use these today we recommend you continue to use JBoss Tools 3.3 or JBoss Developer Studio 5.0, or try one installing the latest +unsupported nightly build+ from this update site:
http://download.jboss.org/jbosstools/updates/integration/kepler/integrati... http://download.jboss.org/jbosstools/updates/integration/kepler/integrati...
h2. Performance and stability improvements
JBoss Tools 4.1.0 and JBDS 7.0 are built on top of Eclipse Kepler (e4.3), which brought noticeable performance and stability improvements over the previous Juno version (e4.2). But we also improved the performance in some of our own features (Central, JAX-RS tooling, Web Service testing).
We worked really hard to fix more than https://issues.jboss.org/issues/?jql=(project%20%3D%20JBIDE%20AND%20fixVe... 1600 bugs and feature enhancements into this release.
We have so much good stuff this time around, it's hard to cram everything into a (readable) blog post, so I'll just present the major features we have here, introduced since JBoss Tools 4.0 and JBDS 6.0. But make sure to read the complete http://docs.jboss.org/tools/whatsnew/ New and Noteworthy for a more detailed and complete overview.
TL;DR : The recurring theme of this release is "HTML5 and mobile development". https://twitter.com/burrsutter Burr Sutter made a screencast highlighting several of the new features available in this release :
h2. LiveReload
Probably the coolest new features we have, the new LiveReload server allows you to have your browser automatically refresh when you save your html, javascript and css files.You can just focus on content and functionality and instantly see and use the changes in your browser. If it is hard to imagine how it works, https://twitter.com/xcoulon Xavier Coulon made a video showing how to activate and use it (on the right).
You should install a LiveReload plugin/extension into your browser as documented in our http://docs.jboss.org/tools/whatsnew/livereload/livereload-news-1.0.0.Alp... What’s New and Noteworthy. If you can't, don't worry, keep reading.
LiveReload supports local (i.e. file:// based urls) or content served out from an application server. In the latter case, the browser will reload once the files are published on the application server, especially useful when editing JSF content like xhtml.
You can right-click on files in the Project Explorer view or on modules deployed to a server, to load your Browser with a LiveReload enabled page. This action will setup the LiveReload server for you if it does not already exist :
https://community.jboss.org/servlet/JiveServlet/showImage/38-5273-21171/o... https://community.jboss.org/servlet/JiveServlet/downloadImage/38-5273-211...
Our server implements the existing http://feedback.livereload.com/knowledgebase/articles/86174-livereload-pr... defacto protocol used by the original http://livereload.com/ LiveReload and related plug-ins, meaning any browser, script and tool that works with live reload today should work with our Eclipse implementation of it.
It's really nice to have instant feedback for HTML5/JS based applications. But wait, it's getting even better :
h3. Proxying and Open in external Device
If your browser does not have the LiveReload plugin, like Safari or you're using a mobile device, you would normally manually add a livereload.js loading snippet in every web page. That can be tedious and requires changes to files you might not want to commit to your source repository. It's alright. Please meet our "LiveReload Proxying" :
http://docs.jboss.org/tools/whatsnew/images/LiveReload_open_in_web_browse... http://docs.jboss.org/tools/whatsnew/images/LiveReload_open_in_web_browse...
It is enabled by checking "Inject the livereload.js script in HTML pages" in the LiveReload Server configuration. This allows you to proxy your file:// urls and have them served out on localhost:35729/<projectname>/<filepath> (or any other port if you choose so in the LiveReload Server configuration) .
For security reasons, remote connections are disabled by default, so if you want mobile devices to be able to load the page, just enable "Allow Remote Connections".
Now, typing a complex, long url on a mobile device can be tedious, so in order to make your life even easier, we've added a "Show In > Web Browser on External device..." menu. This will display a QR code for the LiveReload enabled url. Simply use a QR reader application and have the webpage load on your device. Watch your pages reload as you make the modifications in your IDE, it's close to black magic!
h2. HTML5/JQuery Mobile Palette
To further improve your HTML5 / mobile development experience, we’ve added a new HTML5 palette with initial support for JQuery Mobile widgets. This palette will show up when you edit HTML5 files (files with <!DOCTYPE HTML> doc type). If it does not show up, it is probably using HTML4 or XHTML content types.
The JQuery Mobile palette features a dialog preview when you click or drag one of the buttons for a component, it lets you see and customize what will be inserted :
http://docs.jboss.org/tools/whatsnew/jst/images/4.1.0.Alpha2/lf.png http://docs.jboss.org/tools/whatsnew/jst/images/4.1.0.Alpha2/lf.png http://docs.jboss.org/tools/whatsnew/jst/images/4.1.0.Beta1/set.png http://docs.jboss.org/tools/whatsnew/jst/images/4.1.0.Beta1/set.png
Alexey Kazakov r http://www.screenr.com/embed/7M57 ecorded a video to show it in action.
h2. BrowserSim goodies
BrowserSim is a mobile web browser simulator, used to test your web pages on mobile devices with a realistic mobile device skin.
Now guess what? your mobile application development experience just scored 11. In this release, we've added a bunch of really exciting features, available with a right-click on the device bezel :
* synched browsing : open the same web page in 2 different but synchronized browsers. You can test horizontal and landscape modes at the same time or view how layout behaves on different devices simultaneously.
* screenshot : easily take screenshots to share your awesome design or nasty bug you want someone to hunt down.
* debugging facilities : use Firebug Lite for easy local debugging, or debug remotely using any Weinre compatible server to debug/inspect the application running in BrowserSim.
* new skins galore
https://community.jboss.org/servlet/JiveServlet/showImage/38-5273-21173/b... https://community.jboss.org/servlet/JiveServlet/downloadImage/38-5273-211...
Please note BrowserSim must be launched with a 32bits JRE (you can now select it in JBossTools > BrowserSim / Cordova preferences) and Safari must be installed on your machine.
h2. Windows 64-bit Visual Page Editor
A long standing issue for our Visual Page Editor was the lack of proper Windows 64-bit XULRunner integration.
https://community.jboss.org/people/carsten.pfeiffer Carsten Pfeiffer did an awesome contribution and made this happen. If you're using Windows 64 bit, and if you follow the https://community.jboss.org/docs/DOC-10862 JBoss Tools Visual Editor FAQ link, you will be told to try to install XULRunner from http://download.jboss.org/jbosstools/builds/staging/xulrunner-1.9.2_win64... http://download.jboss.org/jbosstools/builds/staging/xulrunner-1.9.2_win64...
Hopefully you should see the following, before and after installing the proper XulRunner version :
http://docs.jboss.org/tools/whatsnew/vpe/images/4.1.0.Beta1/missing-xulru... http://docs.jboss.org/tools/whatsnew/vpe/images/4.1.0.Beta1/missing-xulru... http://docs.jboss.org/tools/whatsnew/vpe/images/4.1.0.Beta1/vpe-win64.png http://docs.jboss.org/tools/whatsnew/vpe/images/4.1.0.Beta1/vpe-win64.png
We would love to hear if this works for you on Windows 64-bit or if you still see problems.
You can give your feedback on https://issues.jboss.org/browse/JBIDE-2720 this bug
h2. Hybrid Mobile via Apache Cordova (Experimental)
If real, cross-platform Mobile application development is your thing, we now have experimental support for developing Hybrid mobile applications with Apache Cordova.
You can create an "Hybrid Mobile" project and test and develop it using the Android SDK and XCode for iOS testing.
http://docs.jboss.org/tools/whatsnew/aerogear/images/runConfigs.png http://docs.jboss.org/tools/whatsnew/aerogear/images/runConfigs.png
Note: this is only available as Experimental in JBoss Tools, not part of Developer Studio (yet)
h2. CordovaSim (Experimental)
To help testing hybrid mobile development we've extended our BrowerSim to use Ripple to provide a way to do portable testing (meaning you do not necessarily need Android or XCode installed to do development)
http://docs.jboss.org/tools/whatsnew/browsersim/images/4.1.0.Beta1/Cordov... http://docs.jboss.org/tools/whatsnew/browsersim/images/4.1.0.Beta1/Cordov...
Note: this is only available as Experimental in JBoss Tools, not part of Developer Studio (yet)
h2. Forge integration
The majority of the feedback we got for the awesome integration of Forge into Eclipse was that many preferred to use a wizard over only having access to a "command line style" UI.
We listened to you and added new wizards, to give an Eclipse front-end to the following Forge features:
* Generate Entities from existing tables
* Generate REST Endpoint from Entities
* Scaffold UI (JSF or AngularJS based) from Entities
You will find these wizards - +which are Technology Preview as of this release+ - under "File > New > JBoss Tools":
https://community.jboss.org/servlet/JiveServlet/showImage/38-5273-21190/n... https://community.jboss.org/servlet/JiveServlet/downloadImage/38-5273-211...
Make sure you read a detailed description of these wizard in http://docs.jboss.org/tools/whatsnew/forge/forge-news-4.1.0.Beta2.html Forge What's New. Oh and to make it all work, we now embed the Forge 1.3.3.Final runtime.
Please note these wizards are considered *Technology Preview*, thus, even though they're included, are not supported in JBoss Developer Studio.
The long term goal is to get a closer integration between Forge and Eclipse. This is a current work in progress with Forge 2, which is now available as an +experimental+ download for JBoss Tools
h2. Arquillian (Experimental)
Arquillian Eclipse is a new JBoss Tools component that makes Java EE integration testing using http://arquillian.org/ Arquillian easier. The Arquillian support can be added/removed by right-clicking the project and selecting Configure>Add/Remove Arquillian support.
The project has to be a Maven (m2e) project. The "Add Arquillian Support" action adds the Arquillian nature to the project as well as arquillian artifacts (bom, dependencies, required plugins, profiles ...) to the project's pom.xml. The Remove Arquillian Support removes the Arquillian nature, but doesn't change the project's pom.xml.
A new "Arquillian JUnit Test Case" wizard, based on the JUnit Test Case wizard, adds the following to a created class:
* @RunWith(Arquillian.class) annotation
* the deployment method
https://community.jboss.org/servlet/JiveServlet/showImage/38-5273-21181/a... https://community.jboss.org/servlet/JiveServlet/downloadImage/38-5273-211... https://community.jboss.org/servlet/JiveServlet/showImage/38-5273-21183/a... https://community.jboss.org/servlet/JiveServlet/downloadImage/38-5273-211...
Enabling Arquillian support also brings you validation, navigation across arquillian resources, launch configuration... You'll most certainly want to read a more complete overview of the Arquillian support http://docs.jboss.org/tools/whatsnew/arquillian/arquillian-news-4.1.0.Bet... here.
Note: this is only available as Experimental in JBoss Tools, not part of Developer Studio (yet)
h2. OpenShift
OpenShift Tools received a good deal of improvements, usability wise. Improved UI, more explicit labels where needed, but more importantly :
h3. Git output streaming
Ever since we added OpenShift support to Eclipse we've had the problem that EGit did not allow streaming of console output when performing a push.
http://docs.jboss.org/tools/whatsnew/openshift/images/publishing-to-opens... http://docs.jboss.org/tools/whatsnew/openshift/images/publishing-to-opens...
This mean that when doing a long running push Eclipse would just have a blank console and show "Push in progress".
In Kepler, EGit now includes our contribution of allowing this meaning Git users and OpenShift users can and will get streaming of the console output. You can now see what is going on.
h3. Restart OpenShift Application
We've added "Restart" to the UI, allowing you to trigger a node restart for your application in case something bad has happened or you changed a configuration that requires a full node restart.
http://docs.jboss.org/tools/whatsnew/openshift/images/restart-application... http://docs.jboss.org/tools/whatsnew/openshift/images/restart-application...
h3. Create application from a remote repository
Opening the advanced section of the New OpenShift Appliction wizard, you can now create an application directly seeded from a remote git repository (github for instance) instead of forcing you to use git recursive merges locally.
http://docs.jboss.org/tools/whatsnew/openshift/images/advanced-source-cod... http://docs.jboss.org/tools/whatsnew/openshift/images/advanced-source-cod...
h3. Configure OpenShift markers
OpenShift is using markers to enable or disable features. These markers are hidden files added to the <project>/.openshift/markers directory. You can now add/remove/edit these markers by invoking a wizard from the OpenShift > Configure Markers... menu in th Project- or Package-Explorer.
http://docs.jboss.org/tools/whatsnew/openshift/images/configre-markers-wi... http://docs.jboss.org/tools/whatsnew/openshift/images/configre-markers-wi...
h3. Application creation logs
When creating applications you want to know about the credentials that OpenShift initially set for you. This is especially helpful and required when you create a jenkins where you get its url and username/password presented. We now display what OpenShift did for you if there's anything to be noticed for any type of application and/or cartridge.
h2. JBoss Central
JBoss Central, the welcome screen of JBDS / JBoss Tools has a new design. We've tried to make it easier for you to get started building new applications, providing more samples, displaying descriptions of what each wizard gives you.
http://content.screencast.com/users/fbricon/folders/Jing/media/679e2a00-1... http://content.screencast.com/users/fbricon/folders/Jing/media/679e2a00-1...
You can also access wizards for features you haven't installed yet, such as the OpenShift Application. You'll be prompted to install the required OpenShift Tools feature if you haven't installed it already.
In the software/update tab, you'll find we have added VJet, a promising new JavaScript editor, which should help you build, you know, HTML5 and mobile applications.
h2. Servers and runtimes
h3. New server adapters
* JBoss EAP 6.1, freely available to developers (you can get it from the http://www.jboss.org/jbossas/downloads http://www.jboss.org/jbossas/downloads JBoss AS download page), now has its own server adapter.
* WildFly now also has its own dedicated server adapter. Please note it's still considered experimental as WildFly itself is not stabilized to this day. We recommend using the latest Alpha-3 release, which fixes some file locking issue on windows and now support JSP development mode.
https://community.jboss.org/servlet/JiveServlet/showImage/38-5273-21191/n... https://community.jboss.org/servlet/JiveServlet/downloadImage/38-5273-211...
h3. Better server identification
Servers derived from JBoss AS 7.x (JPP, SOA-P, GateIn), are now properly identified, making searching runtimes easier to setup. We now reuse the stacks.yml descriptor provided by the JBoss Developer Framework to provide downloads of different runtimes and thus providing a consistent experience, as part of the JBoss Way initiative.
h3. Better server management
Server tools now uses the AS 7.x/EAP/WildFly management api, allowing for faster and more reliable (re)starts of servers, as well as better module management (individual module restart, status information).
h3. Tomcat runtime detection (JBoss Tools only)
A new Tomcat runtime feature detection allows you to automatically detect and create tomcat-based servers, after scanning a specified server directory.
h2. Maven Integration++
h3. m2e 1.4.0 and m2e-wtp 1.0.0
* JBDS comes with m2e 1.4.0 which brings some performance enhancements, as well as a very convenient Alt-F5 shortcut, to update project configuration, when it's gone out-of-synch.
* we contributed the JBoss JPA/JSF/JAX-RS configurators to the http://www.eclipse.org/m2e-wtp/ m2e-wtp project at eclipse.org, which just graduated from the Eclipse Incubator into version 1.0.0, adding support to Java EE 7.
In this Kepler release the configuration of these configurators moved under the Preferences > Maven > Java EE Integration.
h3. Automatic Source Lookup for the masses
Ever tasted m2e's awesome automatic source download but were frustrated when going back to work on legacy, non-maven projects? Then rejoice, we now enable automatic source lookup for *all*, *non-maven* java projects.
The automatic Source Lookup feature is based on Maven/m2e. As such, downloaded sources will be stored under your local Maven repository.
Since JDT doesn't support variables in source attachments (such as M2_REPO), source attachments use absolute (non-portable) paths. It's ok when the jar is part of a Classpath Library, since the path is stored in your own workspace. But it can become a problem if your jar dependency is listed in your project's .classpath descriptor, potentially shared with other developers. For this reason, by default, you'll be warned when a compatible source has been found :
https://community.jboss.org/servlet/JiveServlet/showImage/38-5273-21192/a... https://community.jboss.org/servlet/JiveServlet/downloadImage/38-5273-211...
The good news is the source lookup mechanism is capable of fixing bad source attachements, even for Maven enabled projects. If the attached source doesn't exist (ex. you wiped out your maven local repository or shared hard-coded source attachments in your scm) or doesn't contain the right source files, it will try to download the proper source.
h3. Maven repository edition
Maven Repositories defined in profiles in your settings.xml (Window > Preferences > JBoss Tools > Maven Integration > Configure Maven Repositories...) can now be edited with the "Edit Repository..." button :
https://community.jboss.org/servlet/JiveServlet/showImage/38-5273-21193/e... https://community.jboss.org/servlet/JiveServlet/downloadImage/38-5273-211...
h2. And much more...
there's not enough room here to list all the great things the team managed to pull. Better JAX-RS tooling performance, JSF 2.2 and updated Deltaspike support, improved web service tester (now using JBoss Wise). So, again, make sure you take a look at the news and screenshots in our http://docs.jboss.org/tools/whatsnew What's New page.
h2. Giving Feedback
Please don't hesitate to use our forum to ask questions, or, if you have ideas to better improve JBoss Tools / JBDS, or found a bug, then open an issue in our https://jira.jboss.org/jira/browse/JBIDE issue tracker.
h2. What's Next ?
First, some of us are gonna take a tiny bit of rest in the coming weeks. Then we'll work on a service release, mainly focused on bug fixes, to accompany the Eclipse Kepler SR1 release in september. Hopefully, new features should see the light of day by the end of the year.
Have fun!
Fred Bricon
http://twitter.com/fbricon http://twitter.com/fbricon
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/community/tools/blog/2013/07/23/jboss-tools-4...]
12 years, 8 months
[JBoss Web Services] - JBossWS - Supported Target Containers
by Alessio Soldano
Alessio Soldano [https://community.jboss.org/people/asoldano] modified the document:
"JBossWS - Supported Target Containers"
To view the document, visit: https://community.jboss.org/docs/DOC-13569
--------------------------------------------------------------
The following tables show the JBoss Application Server (community) versions JBossWS has been tested with before the release.
h2. Latest JBossWS versions
|| AS Version -> || 5.0.0 || 5.0.1 || 5.1.0 || 6.0.0.M1 || 6.0.0.M3 || 6.0.0.CR1 || 6.0.0.Final || 7.0.0 || 7.0.1 || 7.0.2 || 7.1.0 || 7.1.1 || 7.1.2 || 7.1.3 || 7.2.0 ||
| jbossws-cxf-3.1.2 | X | X | X |
|
|
|
|
|
|
|
|
|
|
|
|
| jbossws-cxf-3.2.0 | X | X | X |
|
|
|
|
|
|
|
|
|
|
|
|
| jbossws-cxf-3.2.1 | X | X | X |
|
|
|
|
|
|
|
|
|
|
|
|
| jbossws-cxf-3.2.2 | X | X | X | X |
|
|
|
|
|
|
|
|
|
|
|
| jbossws-cxf-3.3.0 |
| X | X |
| X |
|
|
|
|
|
|
|
|
|
|
| jbossws-cxf-3.3.1 |
| X | X |
| X |
|
|
|
|
|
|
|
|
|
|
| jbossws-cxf-3.4.0 |
| X | X |
|
| X |
|
|
|
|
|
|
|
|
|
| jbossws-cxf-3.4.1 |
|
|
|
|
|
| X |
|
|
|
|
|
|
|
|
| jbossws-cxf-4.0.0 |
|
|
|
|
|
|
| X | X | X |
|
|
|
|
|
| jbossws-cxf-4.0.1 |
|
|
|
|
|
|
| X | X | X |
|
|
|
|
|
| jbossws-cxf-4.0.2 |
|
|
|
|
|
|
|
| X | X | X |
|
|
|
|
| jbossws-cxf-4.1.0 |
|
|
|
|
|
|
|
|
|
| X | X | X |
|
|
| jbossws-cxf-4.1.1 |
|
|
|
|
|
|
|
|
|
|
| X | X | X |
|
| jbossws-cxf-4.2.0 |
|
|
|
|
|
|
|
|
|
|
|
| X | X | X |
|| AS Version -> || 5.0.0 || 5.0.1 || 5.1.0 || 6.0.0.M1 || 6.0.0.M3 || 6.0.0.CR1 || 6.0.0.Final || 7.0.0 || 7.0.1 || 7.0.2 || 7.1.0 ||
| jbossws-native-3.1.2 | X | X | X |
|
|
|
|
|
|
|
|
| jbossws-native-3.2.0 | X | X | X |
|
|
|
|
|
|
|
|
| jbossws-native-3.2.1 | X | X | X |
|
|
|
|
|
|
|
|
| jbossws-native-3.2.2 | X | X | X | X |
|
|
|
|
|
|
|
| jbossws-native-3.3.0 |
| X | X |
| X |
|
|
|
|
|
|
| jbossws-native-3.3.1 |
| X | X |
| X |
|
|
|
|
|
|
| jbossws-native-3.4.0 |
| X | X |
|
| X |
|
|
|
|
|
| jbossws-native-3.4.1 |
|
|
|
|
|
| X |
|
|
|
|
| jbossws-native-4.0.0 |
|
|
|
|
|
|
| X | X | X |
|
| jbossws-native-4.0.1 |
|
|
|
|
|
|
| X | X | X |
|
| jbossws-native-4.0.2 |
|
|
|
|
|
|
|
| X | X | X |
h2. Legacy / old JBossWS versions
|| AS Version -> || 4.0.5 || 4.2.1 || 4.2.2 || 4.2.3 || 5.0.0
Beta4 || 5.0.0
CR1 || 5.0.0
CR2 || 5.0.0 || 5.0.1 ||
| jbossws-native-2.0.1 | X | X |
|
|
|
|
|
|
|
| jbossws-native-2.0.2 | X | X | X |
|
|
|
|
|
|
| jbossws-native-2.0.3 | X | X | X |
|
|
|
|
|
|
| jbossws-native-3.0.0 |
| X | X |
| X |
|
|
|
|
| jbossws-native-3.0.1 |
| X | X |
| X |
|
|
|
|
| jbossws-native-3.0.2 |
| X | X |
| X | X |
|
|
|
| jbossws-native-3.0.3 |
|
| X | X |
| X | X |
|
|
| jbossws-native-3.0.4 |
|
| X | X |
|
| X |
|
|
| jbossws-native-3.0.5 |
|
| X | X |
|
|
| X |
|
| jbossws-native-3.1.0 |
|
|
| X |
|
|
| X | X |
| jbossws-native-3.1.1 |
|
|
| X |
|
|
| X | X |
|| AS Version -> || 4.0.5 || 4.2.1 || 4.2.2 || 4.2.3 || 5.0.0
Beta4 || 5.0.0
CR1 || 5.0.0
CR2 || 5.0.0 || 5.0.1 || 5.1.0 || 6.0.0.M1 || 6.0.0.M3 ||
| jbossws-metro-3.0.0 |
|
| X |
| X |
|
|
|
|
|
|
|
| jbossws-metro-3.0.1 |
|
| X |
| X |
|
|
|
|
|
|
|
| jbossws-metro-3.0.2 |
|
| X |
| X | X |
|
|
|
|
|
|
| jbossws-metro-3.0.3 |
|
| X | X |
| X | X |
|
|
|
|
|
| jbossws-metro-3.0.4 |
|
| X | X |
|
| X |
|
|
|
|
|
| jbossws-metro-3.0.5 |
|
| X | X |
|
|
| X |
|
|
|
|
| jbossws-metro-3.1.0 |
|
|
| X |
|
|
| X | X |
|
|
|
| jbossws-metro-3.1.1 |
|
|
| X |
|
|
| X | X |
|
|
|
| jbossws-metro-3.2.0 |
|
|
|
|
|
|
| X | X | X |
|
|
| jbossws-metro-3.2.1 |
|
|
|
|
|
|
| X | X | X |
|
|
| jbossws-metro-3.2.2 |
|
|
|
|
|
|
| X | X | X | X |
|
| jbossws-metro-3.3.0 |
|
|
|
|
|
|
|
| X | X |
| X |
| jbossws-metro-3.3.1 |
|
|
|
|
|
|
|
| X | X |
| X |
|| AS Version -> || 4.0.5 || 4.2.1 || 4.2.2 || 4.2.3 || 5.0.0
Beta4 || 5.0.0
CR1 || 5.0.0
CR2 || 5.0.0 || 5.0.1 ||
| jbossws-cxf-3.0.0 |
|
| X |
| X |
|
|
|
|
| jbossws-cxf-3.0.1 |
|
| X |
| X |
|
|
|
|
| jbossws-cxf-3.0.2 |
|
| X |
| X | X |
|
|
|
| jbossws-cxf-3.0.3 |
|
| X | X |
| X | X |
|
|
| jbossws-cxf-3.0.4 |
|
| X | X |
|
| X |
|
|
| jbossws-cxf-3.0.5 |
|
| X | X |
|
|
| X |
|
| jbossws-cxf-3.1.0 |
|
|
| X |
|
|
| X | X |
| jbossws-cxf-3.1.1 |
|
|
| X |
|
|
| X | X |
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-13569]
Create a new document in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 8 months
[EJB3] - JBoss 6.1.0.Final SFSB concurrency issue
by Octavian Pop
Octavian Pop [https://community.jboss.org/people/PopOctavian] created the discussion
"JBoss 6.1.0.Final SFSB concurrency issue"
To view the discussion, visit: https://community.jboss.org/message/828891#828891
--------------------------------------------------------------
Hi,
I am trying to run a test to investigate a performace issue after upgrading from JBoss 4.0.5 to 6.1. For this I use a simple test application with a service which starts threads, each thread looks-up a SFSB instace and execute a method to increment a number.
>From this test I notticed that SFSB method calls in the multi-threaded test are serialized - one execution after the other. Investigating in more detail I found that this serialization is caused by CMC interceptor from server/current/deploy/ejb3-interceptors-aop.xml.
If I commented out CMC, performance increased significantly.
Is this a known behavior?
What are the implications if I comment CMC?
Thanks.
Below are code snippets from test:
@Service
public class TestingService
{
public static int numberOfThreads=2;
public static void start() throws Exception
{
startTest(numberOfThreads);
}
public static void startTest(int threadNumber) throws InterruptedException
{
Thread [] threads = new Thread[threadNumber];
for (int i=0;i< threadNumber;i++)
{
Thread t = new Thread()
{
public void run()
{
Client testClient = new Client();
testClient.processNumber(Math.round(Math.random()*1000));
testClient.destroy();
}
};
t.start();
threads[i] = t;
}
for(int i=0; i<threadNumber; i++)
{
threads[i].join();
}
}
}
public class Client
{
IGenericSFB genericSFB;
public Client()
{
genericSFB = (IGenericSFB) ServiceLocator.getLocalService(GenericSFB.class.getSimpleName());
System.out.println("This address " + genericSFB + " " + genericSFB.hashCode());
}
public void processNumber(Long number)
{
System.out.println("Client - Start incrementing " + number);
genericSFB.incrementNumber(number);
System.out.println("Client - Finish incrementing " + number);
}
...
@Stateful
public class GenericSFB implements IGenericSFB, Serializable
{
private int number;
private String stuff;
private String someOtherStuff;
public Long incrementNumber(Long number)
{
System.out.println("SFB - start incrementing number " + number + " by " + this);
try
{
Thread.currentThread().sleep(10000);
}
catch (InterruptedException e){}
System.out.println("SFB - finish incrementing number " + number);
return 0L;
}
...
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/828891#828891]
Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 8 months
[jBPM] - Need help with persistence and initialisation
by Thomas Colditz
Thomas Colditz [https://community.jboss.org/people/fellowtom] created the discussion
"Need help with persistence and initialisation"
To view the discussion, visit: https://community.jboss.org/message/829233#829233
--------------------------------------------------------------
Hi all,
I have some questions wich I cant answer myself. What is the difference when initializing a process instance with Knowledgebuilder/KnowledgeBase/.. or with JBPMHelper and the RuntimeManager? Or better to say, when to use which one?
I just want to use jBPM in my own application. Persistance can be handled first in H2 inmem db. Later it will be handled with other db on a server. But atm I just want to test some process-scenarios. If I setup my process with that knowledgebase/... all events/task will work, but im not able to handle a usertask (cant get it working). If I set it up with JBPMHelper and the RuntimeManger the process always terminates when reaching for example a timer(probably all wait-states). No errors or something. Process just terminates. I think its just some kind of persistence problem, but I cant figure it out.
I'm using jBPM 6.0. The initialization of process is done like in chapter 4 (manual) or in type of JBPMHelper like the given exampleprocess "HumanTaskExample". If I run this example it works. But even if I copy this processfiles (bpmn+java) in own project it wont work.
Can somebody give me a hint?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/829233#829233]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 8 months
[jBPM] - JBPM5.4 with MySQL with CustomTaskService
by chakri_7
chakri_7 [https://community.jboss.org/people/chakri_7] created the discussion
"JBPM5.4 with MySQL with CustomTaskService"
To view the discussion, visit: https://community.jboss.org/message/830136#830136
--------------------------------------------------------------
Hi
I am using CustomeTaskService as TaskService Provider, IN *JBPM 5.4*
public class DemoTaskService {
public static void main(String[] args) {
EntityManagerFactory emf = Persistence.createEntityManagerFactory("org.jbpm.task");
TaskService taskService = new TaskService(emf, SystemEventListenerFactory.getSystemEventListener());
TaskServiceSession taskSession = taskService.createSession();
// Add users
taskSession.addUser(new User("krisv"));
taskSession.addUser(new User("john"));
Map vars = new HashMap();
InputStream usersin = DemoTaskService.class.getResourceAsStream("/LoadUsers.mvel");
if(usersin != null) {
Reader reader = new InputStreamReader( usersin );
@SuppressWarnings("unchecked")
Map<String, User> users = ( Map<String, User> ) TaskService.eval( reader, vars );
for ( User user : users.values() ) {
System.out.println("Adding user: "+user);
taskSession.addUser( user );
}
}
InputStream groupsin = DemoTaskService.class.getResourceAsStream("/LoadGroups.mvel");
if(groupsin != null) {
Reader reader = new InputStreamReader( groupsin );
@SuppressWarnings("unchecked")
Map<String, Group> groups = ( Map<String, Group> ) TaskService.eval( reader, vars );
for ( Group group : groups.values() ) {
System.out.println("Adding group: "+group);
taskSession.addGroup( group );
}
}
// try to get the usergroup callback properties
InputStream usergroupsin = DemoTaskService.class.getResourceAsStream("/jbpm.usergroup.callback.properties");
if(usergroupsin != null) {
Properties callbackproperties = new Properties();
try {
// Properties.load(Reader) is a JDK 6 method
System.out.println("Loading usergroupsin: "+usergroupsin);
callbackproperties.load(usergroupsin);
UserGroupCallbackManager.getInstance().setCallbackFromProperties(callbackproperties);
System.out.println("Task service registered usergroup callback ...");
} catch (Exception e) {
System.out.println("Task service unable to register usergroup callback ...");
}
}
// start server
MinaTaskServer server = new MinaTaskServer(taskService,9988);
Thread thread = new Thread(server);
thread.start();
taskSession.dispose();
System.out.println("Task service started correctly!");
System.out.println("Task service running ...");
}
And JBPM process as,
public static final void main(String[] args) {
try {
/*
EntityManagerFactory emf = Persistence.createEntityManagerFactory( "org.jbpm.task" );
Environment env = KnowledgeBaseFactory.newEnvironment();
env.set( EnvironmentName.ENTITY_MANAGER_FACTORY, emf );
env.set( EnvironmentName.TRANSACTION_MANAGER, TransactionManagerServices.getTransactionManager());
env.set( EnvironmentName.GLOBALS, new MapGlobalResolver() );*/
// load up the knowledge base
KnowledgeBase kbase = readKnowledgeBase();
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
//StatefulKnowledgeSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, null, env );
KnowledgeRuntimeLogger logger = KnowledgeRuntimeLoggerFactory.newFileLogger(ksession, "test");
WSHumanTaskHandler wsTaskHandler = new WSHumanTaskHandler();
wsTaskHandler.setConnection("127.0.0.1", 9988);
CommandBasedWSHumanTaskHandler cmdTaskHandler = new CommandBasedWSHumanTaskHandler();
cmdTaskHandler.setConnection("127.0.0.1", 9988);
cmdTaskHandler.setSession(ksession);
//Map params = new HashMap();
//params.put("employee", "krisv");
//UserTransaction ut = (UserTransaction) new InitialContext().lookup("java:comp/UserTransaction");
//ut.begin();
ksession.getWorkItemManager().registerWorkItemHandler("Human Task", cmdTaskHandler);
// start a new process instance
ksession.startProcess("humantask.demo");
// commit the transaction
//ut.commit();
logger.close();
} catch (Throwable t) {
System.out.println(t.getCause());
t.printStackTrace();
}
in Task Service End I get,
Loading usergroupsin: sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream@67e54826
Task service registered usergroup callback ...
Task service started correctly!
Task service running ...
0 29/07 07:18:13,164[NioProcessor-1] ERROR hibernate.util.JDBCExceptionReporter.logExceptions - Cannot add or update a child row: a foreign key constraint fails (`task`.`peopleassignments_bas`, CONSTRAINT `FK9D8CF4EC2C122ED2` FOREIGN KEY (`entity_id`) REFERENCES `organizationalentity` (`id`))
3 29/07 07:18:13,167[NioProcessor-1] ERROR event.def.AbstractFlushingEventListener.performExecutions - Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
at org.hibernate.persister.collection.AbstractCollectionPersister.recreate(AbstractCollectionPersister.java:1141)
at org.hibernate.action.CollectionRecreateAction.execute(CollectionRecreateAction.java:58)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:171)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:366)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java:55)
at org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:107)
at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:189)
at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:151)
at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:176)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61)
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.BatchUpdateException: Cannot add or update a child row: a foreign key constraint fails (`task`.`peopleassignments_bas`, CONSTRAINT `FK9D8CF4EC2C122ED2` FOREIGN KEY (`entity_id`) REFERENCES `organizationalentity` (`id`))
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
... 45 more
25 29/07 07:18:13,189[NioProcessor-1] WARN service.persistence.TaskLocalTransactionManager.commit - Unable to commit transaction
javax.persistence.RollbackException: Error while commiting the transaction
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:71)
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java:55)
at org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:107)
at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:189)
at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:151)
at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:176)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61)
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
at org.hibernate.persister.collection.AbstractCollectionPersister.recreate(AbstractCollectionPersister.java:1141)
at org.hibernate.action.CollectionRecreateAction.execute(CollectionRecreateAction.java:58)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:171)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:366)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
... 31 more
Caused by: java.sql.BatchUpdateException: Cannot add or update a child row: a foreign key constraint fails (`task`.`peopleassignments_bas`, CONSTRAINT `FK9D8CF4EC2C122ED2` FOREIGN KEY (`entity_id`) REFERENCES `organizationalentity` (`id`))
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
... 45 more
27 29/07 07:18:13,191[NioProcessor-1] ERROR service.persistence.TaskPersistenceManager.endTransaction - Unable to commit, rolling back transaction.
java.lang.RuntimeException: Unable to commit transaction
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java:59)
at org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:107)
at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:189)
at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:151)
at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:176)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61)
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.persistence.RollbackException: Error while commiting the transaction
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:71)
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.commit(TaskLocalTransactionManager.java:55)
... 30 more
Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:114)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:109)
at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:244)
at org.hibernate.persister.collection.AbstractCollectionPersister.recreate(AbstractCollectionPersister.java:1141)
at org.hibernate.action.CollectionRecreateAction.execute(CollectionRecreateAction.java:58)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:171)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:366)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
... 31 more
Caused by: java.sql.BatchUpdateException: Cannot add or update a child row: a foreign key constraint fails (`task`.`peopleassignments_bas`, CONSTRAINT `FK9D8CF4EC2C122ED2` FOREIGN KEY (`entity_id`) REFERENCES `organizationalentity` (`id`))
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
... 45 more
28 29/07 07:18:13,192[NioProcessor-1] WARN service.persistence.TaskLocalTransactionManager.rollback - Unable to rollback transaction
java.lang.IllegalStateException: Transaction not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:82)
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
at org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:110)
at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:189)
at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:151)
at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:176)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61)
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
29 29/07 07:18:13,193[NioProcessor-1] WARN service.persistence.TaskLocalTransactionManager.rollback - Unable to rollback transaction
java.lang.IllegalStateException: Transaction not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:82)
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
at org.jbpm.task.service.persistence.TaskPersistenceManager.rollBackTransaction(TaskPersistenceManager.java:118)
at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1120)
at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:189)
at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:151)
at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:176)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61)
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
30 29/07 07:18:13,194[NioProcessor-1] ERROR service.persistence.TaskPersistenceManager.rollBackTransaction - Unable to rollback transaction (or to mark as 'to rollback')!
java.lang.RuntimeException: Unable to rollback transaction
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:77)
at org.jbpm.task.service.persistence.TaskPersistenceManager.rollBackTransaction(TaskPersistenceManager.java:118)
at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1120)
at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:189)
at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:151)
at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:176)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61)
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Transaction not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:82)
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
... 30 more
33 29/07 07:18:13,197[NioProcessor-1] ERROR task.service.TaskServerHandler.messageReceived - Could not commit transaction
java.lang.RuntimeException: Could not commit transaction
at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1130)
at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:189)
at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:151)
at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:176)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61)
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Unable to rollback transaction
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:77)
at org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:110)
at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
... 28 more
Caused by: java.lang.IllegalStateException: Transaction not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:82)
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
... 30 more
java.lang.RuntimeException: Could not commit transaction
at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1130)
at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:189)
at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:151)
at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:176)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61)
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Unable to rollback transaction
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:77)
at org.jbpm.task.service.persistence.TaskPersistenceManager.endTransaction(TaskPersistenceManager.java:110)
at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:1118)
... 28 more
Caused by: java.lang.IllegalStateException: Transaction not active
at org.hibernate.ejb.TransactionImpl.rollback(TransactionImpl.java:82)
at org.jbpm.task.service.persistence.TaskLocalTransactionManager.rollback(TaskLocalTransactionManager.java:70)
... 30 more
And at JBPM end I get,
1 29/07 07:18:13,231[NioProcessor-1] ERROR workitem.wsht.CommandBasedWSHumanTaskHandler.setError - Mon Jul 29 07:18:13 IST 2013: Error when creating task on task server for work item id 1. Error reported by task server: Command AddTaskRequest faild due to Could not commit transaction. Please contact task server administrator.
java.lang.RuntimeException: Command AddTaskRequest faild due to Could not commit transaction. Please contact task server administrator.
at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:729)
at org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:176)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793)
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587)
at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61)
at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
and persistence.xml is as
<properties>
<!-- <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/> -->
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
<!-- <property name="hibernate.connection.driver_class" value="org.h2.Driver"/> -->
<property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/>
<!-- <property name="hibernate.connection.url" value="jdbc:h2:tcp://localhost/runtime/task" /> -->
<property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/task" />
<property name="hibernate.connection.username" value="root"/>
<property name="hibernate.connection.password" value="tomcat"/>
<property name="hibernate.connection.autocommit" value="true" />
<property name="hibernate.max_fetch_depth" value="3"/>
<property name="hibernate.hbm2ddl.auto" value="create" />
<property name="hibernate.show_sql" value="false" />
</properties>
Please help if something is missing,
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/830136#830136]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 8 months
[Datasource Configuration] - Re: Jboss-3.2.OCR2_tomcat.4.1.18
by arron lee
arron lee [https://community.jboss.org/people/arronlee] created the discussion
"Re: Jboss-3.2.OCR2_tomcat.4.1.18"
To view the discussion, visit: https://community.jboss.org/message/830192#830192
--------------------------------------------------------------
I have never used the OCR you mentioned above, so I have never met the errors. But I want to share some information about OCR with you:
Actually, there are two basic types of core OCR algorithm, which may produce a ranked list of candidate characters.
Matrix matching involves comparing an image to a stored glyph on a pixel-by-pixel basis; it is also known as "pattern matching" or "pattern recognition". This relies on the input glyph being correctly isolated from the rest of the image, and on the stored glyph being in a similar font and at the same scale. This technique works best with typewritten text and does not work well when new fonts are encountered. This is the technique the early physical photocell-based OCR implemented, rather directly.
Feature extraction decomposes glyphs into "features" like lines, closed loops, line direction, and line intersections. These are compared with an abstract vector-like representation of a character, which might reduce to one or more glyph prototypes. General techniques of feature detection in computer vision are applicable to this type of OCR, which is commonly seen in "intelligent" handwriting recognition and indeed most http://www.yiigo.com/net-document-image-plugin/ocr-plugin/ modern OCR software. Nearest neighbour classifiers such as the k-nearest neighbors algorithm are used to compare image features with stored glyph features and choose the nearest match.
Software such as Cuneiform and Tesseract use a two-pass approach to character recognition. The second pass is known as "adaptive recognition" and uses the letter shapes recognized with high confidence on the first pass to better recognize the remaining letters on the second pass. This is advantageous for unusual fonts or low-quality scans where the font is distorted (e.g. blurred or faded).You can refer to some professional OCR SDKs for help. And you'd better try its free trial package first then choose one whose way of processing is simple and fast. I t can save a lot of time for you. I hope you success. Good luck.
Best regards,
Arron
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/830192#830192]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 8 months
[Datasource Configuration] - JBoss Connection pool not recovered after a database outage with back ground validation enabled
by Ramesh Kodali
Ramesh Kodali [https://community.jboss.org/people/kodali.rameshbabu] created the discussion
"JBoss Connection pool not recovered after a database outage with back ground validation enabled"
To view the discussion, visit: https://community.jboss.org/message/830034#830034
--------------------------------------------------------------
Hi,
To give a littler backround of the problem,
Recently we had a data base outage in production due to some locks applied on tables(due to abnormal termination of DB update jobs) and it causes all the connections in JDBC connection pool waiting at data base and waiting to get hold of tables. After some time, it leads all the connections in the connection pool got exhausted and no more conenctions in the pool. Aplication server started throrwing connection errors for new coming request as no more conenctions available in pool.
DBA killed those waiting threads and restarted data base instance. Though after DB servers restarts, still App servers can not recover the connections in connection pool and it forces us to restart App servers too.
After App servers restarts, problem solved.
*Now question is:* Why JBoss App servers required to restart after DB servers are back up? Will JBoss connection pool does not have mechanism to recover connections automatically?
P.S: Other team in our company not enabled the back ground validation in their ds.xml, their App servers does not require restart after DB back up. Their App servers picked up connections automatically.
What makes the back ground validation different here?
Your valueble inputs are much apprecitated. Also if it a problem, can you please suggest the solution to fix this.
We are using JBoss AS 5.0
Here below our JBoss ds.xml configuration:
We are using the Informix data base.
<local-tx-datasource>
<jndi-name>JNDIName</jndi-name>
<connection-url>Connection_URL</connection-url>
<driver-class>com.informix.jdbc.IfxDriver</driver-class>
<!-- Use the security domain defined in conf/login-config.xml -->
<security-domain>Sample-POLICY</security-domain>
<depends>jboss.security:service=JaasSecurityDomain,domain=ServerMasterPassword</depends>
<new-connection-sql>SET LOCK MODE TO WAIT </new-connection-sql>
<check-valid-connection-sql>select * from sysmaster:sysdual</check-valid-connection-sql>
<min-pool-size>5</min-pool-size>
<max-pool-size>200</max-pool-size>
<idle-timeout-minutes>3</idle-timeout-minutes>
<background-validation-millis>20000</background-validation-millis>
<validate-on-match>false</validate-on-match>
<query-timeout>15</query-timeout>
<set-tx-query-timeout>true</set-tx-query-timeout>
<prepared-statement-cache-size>20</prepared-statement-cache-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.InformixExceptionSorter
</exception-sorter-class-name>
<metadata>
<type-mapping>InformixDB</type-mapping>
</metadata>
</local-tx-datasource>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/830034#830034]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 8 months
[Beginner's Corner] - EAP6 Oracle JDBC as a core module not working
by Ashwin Kumar Suresh
Ashwin Kumar Suresh [https://community.jboss.org/people/ashwinkumar_s] created the discussion
"EAP6 Oracle JDBC as a core module not working"
To view the discussion, visit: https://community.jboss.org/message/830165#830165
--------------------------------------------------------------
I followed the Instructions given in the JBoss module for creating "JDBC as a core module"
This is what I did..Created the "module.xml" file inside
jboss_HOME/<release>/modules/com/oracle/oracle
and that looks like this...
<module xmlns="urn:jboss:module:1.0" name="com.oracle.oracle">
<resources>
<resource-root path="ojdbc6.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
</dependencies>
</module>
Then I edited the "standalone.xml" file present in
jboss-7.0.0.<release>/standalone/configuration/standalone.xml
and added...
<driver name="h2" module="com.h2database.h2">
</driver>
Now, when I stared the standalone server, get into Management Console... The JDBC driver is not present in the drivers list be deployed.
I am stuck at this step to deploy the driver as a core module.?????
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/830165#830165]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 8 months