[JBoss Tools] - Re: Hibernate tools for Hibernate 4.x
by Max Rydahl Andersen
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] created the discussion
"Re: Hibernate tools for Hibernate 4.x"
To view the discussion, visit: https://community.jboss.org/message/753491#753491
--------------------------------------------------------------
> > yes, you should be able to use trunk on github - fixing the lack of proper tags in the master repo this week so stay tuned.
>
> I added my hand-woven 4.0.0 tools SNAPSHOT to the hibernate3-maven-plugin and experienced the described the Ant issues. I don't think this is a use case you actually test. Why should you..once tools 4.0.0 is out the Maven plugin maintainer(s) have to take care of that. IMO there's little hope, though. Never got any feedback to the post I sent to their mailing list.
yeah, I wasn't involved in hibernate3-maven-plugin; that was all externally done and I've rarely heard from them either. I wanted them to contribute it so the maven plugin could work more or less the same as the ant tasks and eclipse integration. Just never materialized ;(
But its sure that they can't run with hibernate4 jars in a hibernate3 plugin - that will never work without changes.
> About autoregistered usertypes, can you show me the code you actually want to have executed ?
>
> We use the http://usertype.sourceforge.net/ Usertype library to map Joda Time data types via Hibernate (it's also JSR-310 compliant). It provides several implementations of org.hibernate.integrator.spi.Integrator. The relevant abstract class is AbstractUserTypeHibernateIntegrator (http://usertype.svn.sourceforge.net/viewvc/usertype/tags/usertype.parent-...) (autoRegisterUsertypes()). The relevant sub class that provides implementations of getUserTypes() and getCompositeUserTypes() is UserTypeJodaTimeHibernateIntegrator (http://usertype.svn.sourceforge.net/viewvc/usertype/tags/usertype.parent-...).
I haven't done much work with auto registered types but my understanding was that these jars just needed to be on the classpath when "starting" hibernate. Do you have these usertypes on the classpath ?
if yes, then yes we definitely need to add in a hook for this to happen and I would appreciate if you could open a issue on https://jira.jboss.org/jira/browse/JBIDE https://jira.jboss.org/jira/browse/JBIDE with a small example that fails for you.
Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753491#753491]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 3 months
[JBoss Tools] - Eclipse: problem installing EGit and JBoss Tools
by abdull
abdull [https://community.jboss.org/people/abdull] created the discussion
"Eclipse: problem installing EGit and JBoss Tools"
To view the discussion, visit: https://community.jboss.org/message/752081#752081
--------------------------------------------------------------
In my Eclipse
Indigo Service Release 2
Build id: 20120216-1857
installation,
I already have JBoss Tools installed. I would like to install EGit separately via the Eclipse Marketplace, but I get the following error message. What should I do?
~~~Error Message during installation~~~~
Your original request has been modified.
"Eclipse EGit" is already installed, so an update will be performed instead.
"Eclipse JGit" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse EGit 2.0.0.201206130900-r (org.eclipse.egit.feature.group 2.0.0.201206130900-r)
Software currently installed: JBoss Tools EGit Integration (Experimental) 2.3.0.v20120613-1951-H135-Final (org.jboss.tools.openshift.egit.integration.feature.feature.group 2.3.0.v20120613-1951-H135-Final)
Only one of the following can be installed at once:
Git Team Provider UI 2.0.0.201206130900-r (org.eclipse.egit.ui 2.0.0.201206130900-r)
Git Team Provider UI 1.1.0.201109151100-r (org.eclipse.egit.ui 1.1.0.201109151100-r)
Git Team Provider UI 1.3.0.201202151440-r (org.eclipse.egit.ui 1.3.0.201202151440-r)
Git Team Provider UI 1.2.0.201112121913 (org.eclipse.egit.ui 1.2.0.201112121913)
Git Team Provider UI 1.0.0.201106090707-r (org.eclipse.egit.ui 1.0.0.201106090707-r)
Cannot satisfy dependency:
From: Eclipse EGit 2.0.0.201206130900-r (org.eclipse.egit.feature.group 2.0.0.201206130900-r)
To: org.eclipse.egit.ui [2.0.0.201206130900-r]
Cannot satisfy dependency:
From: JBoss Tools EGit Integration (Experimental) 2.3.0.v20120613-1951-H135-Final (org.jboss.tools.openshift.egit.integration.feature.feature.group 2.3.0.v20120613-1951-H135-Final)
To: org.jboss.tools.openshift.egit.ui [2.3.0.v20120613-1951-H135-Final]
Cannot satisfy dependency:
From: EGit integration UI 2.3.0.v20120613-1951-H135-Final (org.jboss.tools.openshift.egit.ui 2.3.0.v20120613-1951-H135-Final)
To: bundle org.eclipse.egit.ui [1.0.0,2.0.0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
((( The problem seems to be located at " JBoss Tools EGit Integration (Experimental) 2.3.0.v20120613-1951-H135-Final (org.jboss.tools.openshift.egit.integration.feature.feature.group 2.3.0.v20120613-1951-H135-Final)JBoss Tools EGit Integration (Experimental) 2.3.0.v20120613-1951-H135-Final (org.jboss.tools.openshift.egit.integration.feature.feature.group 2.3.0.v20120613-1951-H135-Final) " )))
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/752081#752081]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 3 months
[jBPM] - Question about how to add user to assign and execute human task
by Jimmy dong
Jimmy dong [https://community.jboss.org/people/jimmy.dongjia] created the discussion
"Question about how to add user to assign and execute human task"
To view the discussion, visit: https://community.jboss.org/message/717004#717004
--------------------------------------------------------------
Dear all:
I created a jbpm project only include .bpmn file and .ftl file, I start and execute process by jbpm console. At first, a user task node 's +ActorId+ I fill in "john",
and I can use john login console and see personal task. But when I fill in the user task node 's +ActorId as "jimmy" or other name which I set in+
+/jbpm-installer/jboss-5.1.0.GA/server/default/conf/users.properties, I only can login the console ,and start a process,but can't be assigned a personal task.+
+My question is : why only set+ user task node 's +ActorId as "krisv","john",or "mary" can be assigned task, if set+ user task node 's +ActorId as other names in "users.properties",+
+only can login console,but can't assign personal task?+
the content of file users.properties:
admin=admin
krisv=krisv
john=john
mary=mary
jimmy=jimmy
hawis=hawis
marvin=marvin
william=william
daniel=daniel
kim=kim
jason=jason
yuri=yuri
devin=devin
sales-rep=sales-rep
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717004#717004]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 3 months
[jBPM] - jBPM REST API for custom client application
by Justin Robbins
Justin Robbins [https://community.jboss.org/people/jhrobbin] created the discussion
"jBPM REST API for custom client application"
To view the discussion, visit: https://community.jboss.org/message/734916#734916
--------------------------------------------------------------
Hi folks,
I'd appreciate some suggestions on the topic of exposing jBPM REST API to a custom client application.
Cliff Notes:
Bulding a custom smartphone app (not just using BPM Console client). Better to re-use the REST API already exposed by the Console-Server or roll our own REST API for jBPM? (See details below for better explanation)
Details:
Let's say we want to build a smartphone app that provides a small subset of what the BPM Console browser app does along with some other functionality specific to our own application. To be clear, the smartphone app doesn't just interact with jBPM. If that were the case, then I assume it would be a no-brainer to have the smartphone app directly hit the Console-Server.
I'm thinking the smartphone app makes REST calls to our own server API. From there, one option would be for our server API to make REST API calls to the Console-Server (also running in our server environment) for jBPM related things like get a list of tasks, claim a task, etc.
Would that be preferrable to rolling our own? Or would it be better to skip using the Console-Server and have our API server side code use the jBPM Java API instead. I'm assuming I can do things like get a list of tasks for a user, claim a test, etc using the jBPM Java API (I haven't dug deep into the capabilities of the jBPM Java API). I have seen the list of available URIs prvided by the Console-Server so I think I have a handle on what the Console-Server API exposes.
Many thanks for your input.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/734916#734916]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 4 months
[jBPM] - unable to find a bound object at name 'java:comp/TransactionManager'
by tntzht tnt
tntzht tnt [https://community.jboss.org/people/zht] created the discussion
"unable to find a bound object at name 'java:comp/TransactionManager'"
To view the discussion, visit: https://community.jboss.org/message/746047#746047
--------------------------------------------------------------
hi,
I have config and run the jbpm-human-task-5.2.1.Final in j2se, and got the exception. can somebody encounter the same problom?
here is the exceptions:
2012-07-04 19:12:14.296 DEBUG [JtaTransactionManager:106] {main} No JTA TransactionManager found at fallback JNDI location [java:comp/TransactionManager]
javax.naming.NameNotFoundException: unable to find a bound object at name 'java:comp/TransactionManager'
at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.drools.persistence.jta.JtaTransactionManager.findTransactionManager(JtaTransactionManager.java:101)
at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:75)
at org.jbpm.task.service.persistence.TaskJTATransactionManager.<init>(TaskJTATransactionManager.java:28)
at org.jbpm.task.service.persistence.TaskSessionFactoryImpl.createTaskServiceSession(TaskSessionFactoryImpl.java:75)
at org.jbpm.task.service.TaskService.createSession(TaskService.java:164)
at org.jbpm.task.service.TaskService.initialize(TaskService.java:115)
at org.jbpm.task.service.TaskService.initialize(TaskService.java:101)
at org.jbpm.task.service.TaskService.<init>(TaskService.java:79)
at com.eastcom.emergency.task.TaskManage.init(TaskManage.java:58)
at com.eastcom.emergency.task.TaskManage.main(TaskManage.java:70)
2012-07-04 19:12:14.296 DEBUG [BitronixContext:72] {main} looking up 'java:appserver/TransactionManager'
2012-07-04 19:12:14.296 DEBUG [JtaTransactionManager:106] {main} No JTA TransactionManager found at fallback JNDI location [java:appserver/TransactionManager]
javax.naming.NameNotFoundException: unable to find a bound object at name 'java:appserver/TransactionManager'
at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.drools.persistence.jta.JtaTransactionManager.findTransactionManager(JtaTransactionManager.java:101)
at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:75)
at org.jbpm.task.service.persistence.TaskJTATransactionManager.<init>(TaskJTATransactionManager.java:28)
at org.jbpm.task.service.persistence.TaskSessionFactoryImpl.createTaskServiceSession(TaskSessionFactoryImpl.java:75)
at org.jbpm.task.service.TaskService.createSession(TaskService.java:164)
at org.jbpm.task.service.TaskService.initialize(TaskService.java:115)
at org.jbpm.task.service.TaskService.initialize(TaskService.java:101)
at org.jbpm.task.service.TaskService.<init>(TaskService.java:79)
at com.eastcom.emergency.task.TaskManage.init(TaskManage.java:58)
at com.eastcom.emergency.task.TaskManage.main(TaskManage.java:70)
2012-07-04 19:12:14.296 DEBUG [BitronixContext:72] {main} looking up 'java:pm/TransactionManager'
2012-07-04 19:12:14.296 DEBUG [JtaTransactionManager:106] {main} No JTA TransactionManager found at fallback JNDI location [java:pm/TransactionManager]
javax.naming.NameNotFoundException: unable to find a bound object at name 'java:pm/TransactionManager'
at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.drools.persistence.jta.JtaTransactionManager.findTransactionManager(JtaTransactionManager.java:101)
at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:75)
at org.jbpm.task.service.persistence.TaskJTATransactionManager.<init>(TaskJTATransactionManager.java:28)
at org.jbpm.task.service.persistence.TaskSessionFactoryImpl.createTaskServiceSession(TaskSessionFactoryImpl.java:75)
at org.jbpm.task.service.TaskService.createSession(TaskService.java:164)
at org.jbpm.task.service.TaskService.initialize(TaskService.java:115)
at org.jbpm.task.service.TaskService.initialize(TaskService.java:101)
at org.jbpm.task.service.TaskService.<init>(TaskService.java:79)
at com.eastcom.emergency.task.TaskManage.init(TaskManage.java:58)
at com.eastcom.emergency.task.TaskManage.main(TaskManage.java:70)
2012-07-04 19:12:14.296 DEBUG [BitronixContext:72] {main} looking up 'java:/TransactionManager'
2012-07-04 19:12:14.296 DEBUG [JtaTransactionManager:106] {main} No JTA TransactionManager found at fallback JNDI location [java:/TransactionManager]
javax.naming.NameNotFoundException: unable to find a bound object at name 'java:/TransactionManager'
at bitronix.tm.jndi.BitronixContext.lookup(BitronixContext.java:83)
at javax.naming.InitialContext.lookup(Unknown Source)
at org.drools.persistence.jta.JtaTransactionManager.findTransactionManager(JtaTransactionManager.java:101)
at org.drools.persistence.jta.JtaTransactionManager.<init>(JtaTransactionManager.java:75)
at org.jbpm.task.service.persistence.TaskJTATransactionManager.<init>(TaskJTATransactionManager.java:28)
at org.jbpm.task.service.persistence.TaskSessionFactoryImpl.createTaskServiceSession(TaskSessionFactoryImpl.java:75)
at org.jbpm.task.service.TaskService.createSession(TaskService.java:164)
at org.jbpm.task.service.TaskService.initialize(TaskService.java:115)
at org.jbpm.task.service.TaskService.initialize(TaskService.java:101)
at org.jbpm.task.service.TaskService.<init>(TaskService.java:79)
at com.eastcom.emergency.task.TaskManage.init(TaskManage.java:58)
at com.eastcom.emergency.task.TaskManage.main(TaskManage.java:70)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/746047#746047]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 4 months