[jBPM] - Service Tasks for Android
by Lenka Šišková
Lenka Šišková [https://community.jboss.org/people/lenka.s] created the discussion
"Service Tasks for Android"
To view the discussion, visit: https://community.jboss.org/message/818446#818446
--------------------------------------------------------------
Hi there,
I am from Slovakia and I am studying in Brno on Faculty of Informatics. This year I was writing my bachelor thesis on topic Business processes demonstration for Android platform. In practical part of my thesis I made three Service Tasks using Android libraries. First one get current location, second one send SMS with latitude and longitude on default number and the last one add scheduled event to calendar. I tested them on real devices and they worked just fine, but those test processes was created using API, not BPMN editor. I hope my work will be an inspiration for at least some of you for creating your own service tasks for Android and maybe one day there will repository full of tasks for Android.
Source code can be find im my Github repository (link below). This repository contains config files and handlers for those task, short html page with informations about each of them and my test apps.ff
Feel free to use them or change them in any way you need :)
Lenka
P.S. promissed link: https://github.com/lenka8d/tasks.git https://github.com/lenka8d/tasks.git
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/818446#818446]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[Datasource Configuration] - Problem with configuring jackrabbit data source.
by Petr Šrůtka
Petr Šrůtka [https://community.jboss.org/people/menzi] created the discussion
"Problem with configuring jackrabbit data source."
To view the discussion, visit: https://community.jboss.org/message/818424#818424
--------------------------------------------------------------
've encountered a problem with jackrabbit pool in jboss 5 and jackrabbit 2.0.
I've a jcr datasource configured like this
<tx-connection-factory>
<jndi-name>jcr/local</jndi-name>
<xa-transaction />
<track-connection-by-tx>true</track-connection-by-tx>
<rar-name>jackrabbit-jca.rar</rar-name>
<connection-definition>javax.jcr.Repository</connection-definition>
<config-property name="homeDir" type="java.lang.String">${jackrabbit.homedir}</config-property>
<config-property name="configFile" type="java.lang.String">classpath:repository.xml</config-property>
<config-property name="bindSessionToTransaction" type="java.lang.Boolean">true</config-property>
<no-tx-separate-pools />
<max-pool-size>30</max-pool-size>
</tx-connection-factory>
like this, application works fine, but i'm getting this error really often (it's thrown every time i'm logging into dms session with this code)
Repository repo = (Repository) ctx.lookup(repository.getJndiName());
Credentials cred = new SimpleCredentials(userId, new char[] { 'p', 'w', 'd' });
Session s = repo.login(cred);
Destroying connection that could not be successfully matched: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@8cd0558[state=NORMAL mc=org.apache.jackrabbit.jca.JCAManagedConnection@6eec369a handles=0 lastUse=1366642930773 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@8a800c9 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@6f7fc42f xaResource=org.apache.jackrabbit.jca.TransactionBoundXAResource@4c19d8eb txSync=null]
when i add to datasource configuration, error mentioned earlier dissapears, but each connection to jcr creates it's own subpool (which is kinda crazy, becouse after few hours of application running it creates like 700 subpools). I Tryed searching for possible problems with tag and found out that it uses ConnectionRequestInfo to authenticate connections but so far had no success with configuring that.
Any idea what could i try next to get rid of both problems at once?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/818424#818424]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[JBoss Tools] - JBosstoolsVisualEditorFAQ
by Yahor Radtsevich
Yahor Radtsevich [https://community.jboss.org/people/yradtsevich] modified the document:
"JBosstoolsVisualEditorFAQ"
To view the document, visit: https://community.jboss.org/docs/DOC-10862
--------------------------------------------------------------
*Q: Which platforms are supported by* *Visual Editor?*
*A:* The list of supported platforms (and their IDs):
* Windows with Java 32-bit (win32.win32.x86)
* +Experimental support of Windows with Java 64-bit (win32.win32.x86_64) is Coming Soon+
* Linux x86 (gtk.linux.x86)
* Linux x86-64 (gtk.linux.x86_64)
* Mac OS X Cocoa with Java 32-bit (cocoa.macosx.x86)
* Mac OS X Carbon with Java 32-bit (carbon.macosx.x86) [not supported by JBoss Tools 3.3.0 and later, JBDS 5.0 and later]
In brief, Java 64-bit is supported on Linux only, on all other systems Visual Editor requires Java 32-bit.
*Q: Eclipse crashes when I use Visual Editor, what can I do?*
*A:* This may happen in JBoss Tools 3.3.0.M2 and above with Eclipse 3.7.0 due to https://issues.jboss.org/browse/JBIDE-9144 the WebKit and XULRunner conflict. You can disable Visual Editor by adding the option –Dorg.jboss.tools.vpe.loadxulrunner=false to the eclipse.ini (or jbdevstudio.ini if you use JBoss Developer Studio).
*Q: Visual Editor does not start under Linux*
*A:* Linux users may need to do the following to get the visual editor to work correctly on their machines.
* The Visual Page Editor (before JBoss Tools 3.1.0.M4) requires the library libstdc++.so.5. This library is contained in the compat-libstdc++-33.i386 package.
* To install this package on Fedora Core or Red Hat Enterprise Linux run the following command:
yum install compat-libstdc++-33.i386
** On any other rpm based distributions download libstdc++.so.5 and run the following command:
rpm -Uvh compat-libstdc++-33.i386
** On Debian and Debian based distributions (e.g. Ubuntu) run the following command:
apt-get install libstdc++5
* In case you have the library installed and you still have issue with starting the visual page editor then close all browser views/editors and leave one visual page editor open and restart eclipse. This should force a load of the right XULRunner viewer.
*Q: Visual Editor doesn't start at any platform and shows message 'The VPE editor can't be run because your system environment needs to be changed slightly'*
*A:* Check if you version of JBoss Developer Studio/JBoss Tools is compatible with you version of Eclipse, see the compatibility matrix https://community.jboss.org/docs/DOC-14297 http://www.jboss.org/community/wiki/Matrixofsupportedplatformsruntimesand...
*Q: Visual Editor starts OK, but the following message dialog appears:*
https://community.jboss.org/servlet/JiveServlet/showImage/102-10862-45-19... https://community.jboss.org/servlet/JiveServlet/downloadImage/102-10862-4...
*A:* Some functionality of Visual Editor may not work if a project doesn't have org.jboss.tools.jsf.jsfnature or org.jboss.tools.jst.web.kb.kbnature in .project configuration. To fix this problem and turn off the message box execute next steps:
* Right mouse button click on a project in Package Explorer.
* Select +Configure -> Add JSF Capabilities+ from the context menu.
* Configure your project using +Add JSF Capabilities+ wizard and press Finish.
*P.S.* If you are sure that your project does not need JSF capabilities, just disable this message box by checking "+Do not show this dialog again!+" checkbox.
*Q: Visual Part doesn't start and "XPCOM error -2147467259" is shown*
*A:* Something bad happened with buildin xulrunner. To check it you should:
* Go to Eclipse -> Help -> About -> Installation Details... -> Configuration
* find +org.eclipse.swt.browser.XULRunnerPath+ and open this path in terminal
* try xulrunner.exe -version or ./xulrunner -version and it should show what is needed for XR to work
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-10862]
Create a new document in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 11 months
[JBoss Tools] - Matrix of supported platforms, runtimes and technologies in JBossTools & JBDS
by Nick Boldt
Nick Boldt [https://community.jboss.org/people/nickboldt] modified the document:
"Matrix of supported platforms, runtimes and technologies in JBossTools & JBDS"
To view the document, visit: https://community.jboss.org/docs/DOC-14297
--------------------------------------------------------------
+Note: this page is as up to date & accurate as possible, but is subject to change.+
*Platforms, Runtimes & Technologies*
*
*
The following matrix shows what versions of platforms, runtimes and technologies are supported by JBoss Tools & JBDS.
|| Eclipse (http://www.eclipse.org/downloads/) || JBoss Tools (http://www.jboss.org/tools) || JBDS (https://devstudio.jboss.com) || EAP (http://www.redhat.com/products/jbossenterprisemiddleware/application-plat...) || AS (http://www.jboss.org/jbossas) / WildFly (http://wildfly.org/) || Seam (http://seamframework.org/) || JSF (http://www.oracle.com/technetwork/java/javaee/javaserverfaces-139869.html) || RichFaces (http://www.jboss.org/richfaces) (the latest supported version) ||
| 4.3/Kepler | 4.1 | 7.0 | 4.3, 5.0, 6.0, 6.1 | 3.2, 4.0, 4.2, 5.0, 5.1, 6.0, 7.0, 8.0 (WildFly) | 1.2, 2.0, 2.1, 2.2, 2.3 | 1.1, 1.2, 2.0 | 3.3.x, 4.0.x |
| 4.2/Juno | 4.0 | 6.0 | 4.3, 5.0, 6.0 | 3.2, 4.0, 4.2, 5.0, 5.1, 6.0, 7.0 | 1.2, 2.0, 2.1, 2.2, 2.3 | 1.1, 1.2, 2.0 | 3.3.x, 4.0.x |
| 3.7/Indigo | 3.3 | 5.0 | 4.3, 5.0, 6.0 | 3.2, 4.0, 4.2, 5.0, 5.1, 6.0, 7.0 | 1.2, 2.0, 2.1, 2.2, 2.3 | 1.1, 1.2, 2.0 | 3.3.x, 4.0.x |
| 3.6/Helios | 3.2 | 4.x | 4.3, 5.0 | 3.2, 4.0, 4.2, 5.0, 5.1, 6.0 | 1.2, 2.0, 2.1, 2.2 | 1.1, 1.2, 2.0 | 3.3.x |
| 3.5/Galileo | 3.1 | 3.0 | 4.3, 5.0 | 3.2, 4.0, 4.2, 5.0, 5.1 | 1.2, 2.0, 2.1, 2.2 | 1.1, 1.2, 2.0 (in VPE) | 3.3.x |
| 3.4/Ganymede | 3.0 | 2.1 | 4.3, 5.0 | 3.2, 4.0, 4.2, 5.0 | 1.2, 2.0, 2.1, 2.2 | 1.1, 1.2 | 3.3.1 |
| 3.3.2/Europa | 2.1.2 | 1.1 | 4.3 | 3.2, 4.0, 4.2, 5.0 | 1.2, 2.0 | 1.1, 1.2 | 3.3.0 |
| 3.3.1.1/Europa | 2.0.1 | 1.0 | 4.2 | 3.2, 4.0, 4.2 | 1.2, 2.0 | 1.1, 1.2 | 3.1.0 |
*Operating Systems & JDKs*
*
*
This matrix shows what operating systems and JDKs are supported by Eclipse, JBoss Tools & JBDS.
|| JDKs Supported by Eclipse (http://www.eclipse.org/downloads/) || JBoss Tools (http://www.jboss.org/tools) || JBDS (https://devstudio.jboss.com) || Operating System || JDK || Supported?
|| Includes Visual Page Editor? ||
| %6% *4.3/Kepler*
Win7 & RHEL6: JDK 7 or 6
OSX: JDK 7 - Details (http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclip...)
+*** - Eclipse only supports Win7+
+** - Eclipse only supports OS X 10.8
+ | %6% 4.1 | %6% 7.0 | Windows 7 or 8***, 32-bit | 7 or 6, 32-bit | Yes | Yes |
| Windows 7 or 8***, 64-bit | 7 or 6, 64- or 32-bit | Yes | Yes, using 32-bit JDK only |
| RHEL6 or Fedora, 32-bit | 7 or 6, 32-bit | Yes | Yes |
| RHEL6 or Fedora, 64-bit | 7 or 6, 64- or 32-bit | Yes | Yes |
| OSX 10.8** Cocoa, 32-bit | 7, 32-bit | Yes | Yes |
| OSX 10.8** Cocoa, 64-bit | 7, 64- or 32-bit | Yes | Yes, using 32-bit JDK only - Details (https://issues.jboss.org/browse/JBDS-943) |
| %1,7%
|
| %6% *4.2/Juno*
Win7, WinXP & RHEL6: JDK 7 or 6
Others: JDK 6 - Details (http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclip...)
+*** - Eclipse.org only tested on Win7 and WinXP
+
+** - +Eclipse.org only tested on+ OS X 10.6+ | %6% 4.0 | %6% 6.0 | Windows XP, 7 or 8***, 32-bit | 7 or 6, 32-bit | Yes | Yes |
| Windows XP, 7 or 8***, 64-bit | 7 or 6, 64- or 32-bit | Yes | Yes, using 32-bit JDK only |
| RHEL6 or Fedora, 32-bit | 7 or 6, 32-bit | Yes | Yes |
| RHEL6 or Fedora, 64-bit | 7 or 6, 64- or 32-bit | Yes | Yes |
| OSX 10.6 - 10.8** Cocoa, 32-bit | 6, 32-bit | Yes | Yes |
| OSX 10.6 - 10.8** Cocoa, 64-bit | 6, 64- or 32-bit | Yes | Yes, using 32-bit JDK only - Details (https://issues.jboss.org/browse/JBDS-943) |
| %1,7%
|
| %6% *3.7/Indigo*
JDK 6 - Details (http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclip...)
+* - +Eclipse.org only tested on+ OS X 10.6+ | %6% 3.3 | %6% 5.0 | Windows XP or 7, 32-bit | 6, 32-bit | Yes | Yes |
| Windows XP or 7, 64-bit | 6, 64- or 32-bit | Yes | Yes, using 32-bit JDK only |
| RHEL6 or Fedora, 32-bit | 6, 32-bit | Yes | Yes |
| RHEL6 or Fedora, 64-bit | 6, 64- or 32-bit | Yes | Yes |
| OSX 10.6 - 10.7* Cocoa, 32-bit | 6, 32-bit | Yes | Yes |
| OSX 10.6 - 10.7* Cocoa, 64-bit | 6, 64- or 32-bit | Yes | Yes, using 32-bit JDK only - Details (https://issues.jboss.org/browse/JBDS-943) |
| %1,7%
|
| %5% *3.6/Helios*
WinXP and RHEL5: JDK 6 or 5
Others: JDK5 - Details (http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclip...) | %5% 3.2 | %5% 4.x | Windows XP 32-bit | 6 or 5, 32-bit | Yes | Yes |
| RHEL5 or Fedora, 32-bit | 6 or 5, 32-bit | Yes | Yes |
| RHEL5 or Fedora, 64-bit | 6 or 5, 64- or 32-bit | Yes | Yes |
| OSX 10.5 or 10.6 Cocoa, 32-bit | 5, 32-bit | Yes | Yes |
| OSX 10.5 or 10.6 Cocoa, 64-bit | 5, 64- or 32-bit | Yes | Yes, using 32-bit JDK only - Details (https://issues.jboss.org/browse/JBDS-943) |
| %1,7%
|
| %4% *3.5/Galileo*
WinXP and RHEL5: JDK 6 or 5
Others: JDK5 - Details (http://www.eclipse.org/projects/project-plan.php?planurl=http://www.eclip...) | %4% 3.1 | %4% 3.0 | Windows XP 32-bit | 6 or 5, 32-bit | Yes | Yes |
| RHEL5 or Fedora, 32-bit | 6 or 5, 32-bit | Yes | Yes |
| RHEL5 or Fedora, 64-bit | 6 or 5, 64- or 32-bit | Yes | Yes |
| OSX 10.5 Carbon or Cocoa, 32-bit | 5, 32-bit | Yes | Yes |
| %1,7%
|
| %4% *3.4/Ganymede*
WinXP: JDK 6 or 5
Others: JDK 5 - Details (http://dev.eclipse.org/viewcvs/viewvc.cgi/www/eclipse/development/eclipse...) | %4% 3.0 | %4% 2.1 | Windows XP 32-bit | 6 or 5, 32-bit | Yes | Yes |
| Linux, 32-bit | 5, 32-bit | Yes | Yes |
| Linux, 64-bit | 5, 64- or 32-bit | Yes | Yes |
| OSX 10.5 Carbon, 32-bit | 5, 32-bit | Yes | Yes |
| %1,7%
|
| %4% *3.3/Europa*
JDK 5 - Details (http://dev.eclipse.org/viewcvs/viewvc.cgi/www/eclipse/development/eclipse...) | %4% 2.x | %4% 1.x | Windows XP 32-bit | 5, 32-bit | Yes | Yes |
| Linux, 32-bit | 5, 32-bit | Yes | Yes |
| Linux, 64-bit | 5, 64- or 32-bit | Yes | Yes |
| OSX 10.4 Carbon, 32-bit | 5, 32-bit | Yes | Yes |
*Requirements, Target Platforms, JBoss Central & Extras*
For details regarding target platforms, requirement mirrors, or the contents of JBoss Central / Extras, see this spreadsheet: https://docs.google.com/spreadsheet/ccc?key=0AmGcQy-AtllqdG9XWEYxaldRTnZM... https://docs.google.com/spreadsheet/ccc?key=0AmGcQy-AtllqdG9XWEYxaldRTnZM...
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-14297]
Create a new document in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 11 months