[JBoss Tools] - JBoss Tools 4 Alpha 1 - doesn't install
by Andy Pickler
Andy Pickler [https://community.jboss.org/people/andypickler] created the discussion
"JBoss Tools 4 Alpha 1 - doesn't install"
To view the discussion, visit: https://community.jboss.org/message/759991#759991
--------------------------------------------------------------
OS: Ubuntu 12.04 64-bit
JDK: OpenJDK 1.7_07 (for compiling projects)
Eclipse JDK: Oracle JDK 1.7_07 (specified in eclipse.ini)
I followed today's blog posting to install the new JBoss Tools 4 Alpha 1 build, but Eclipse doesn't find any updates. The .log file in my workspaces folder has this entry:
!ENTRY org.eclipse.equinox.p2.core 4 0 2012-09-17 10:41:12.334
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://download.jboss.org/jbosstools/updates/JBossTools-4.0.0.Alpha1b.core/ http://download.jboss.org/jbosstools/updates/JBossTools-4.0.0.Alpha1b.core/.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:393)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:675)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:165)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.(CompositeMetadataRepository.java:105)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:122)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:758)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.equinox.p2.ui.ProvisioningUI.loadMetadataRepository(ProvisioningUI.java:412)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.getMetadataRepository(MetadataRepositoryElement.java:120)
at org.eclipse.equinox.internal.p2.ui.model.MetadataRepositoryElement.fetchChildren(MetadataRepositoryElement.java:70)
at org.eclipse.equinox.internal.p2.ui.model.RemoteQueriedElement.fetchDeferredChildren(RemoteQueriedElement.java:34)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SUBENTRY 1 org.eclipse.equinox.p2.metadata.repository 4 1000 2012-09-17 10:41:12.335
!MESSAGE No repository found at http://download.jboss.org/jbosstools/updates/JBossTools-4.0.0.Alpha1b.core/ http://download.jboss.org/jbosstools/updates/JBossTools-4.0.0.Alpha1b.core/.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759991#759991]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[jBPM] - EvaluationExample2 execution failed
by Ava H
Ava H [https://community.jboss.org/people/avah99] created the discussion
"EvaluationExample2 execution failed"
To view the discussion, visit: https://community.jboss.org/message/757727#757727
--------------------------------------------------------------
After setting up the demo and executing +ant start.demo+, the followings in console with error were showed when I had imported the jbpm-5.3.0.Final-examples.zip into Eclipse and executed org.jbpm.examples.evaluation.EvaluationExample2:
Krisv executing task Performance Evaluation(1: Please perform a self-evalutation.)
John executing task Performance Evaluation(2: You need to evaluate krisv.)
Mary delegating task Performance Evaluation(3: You need to evaluate krisv.) to krisv
Administrator delegating task back to mary
Mary executing task Performance Evaluation(3: You need to evaluate krisv.)
Exception in thread "Thread-3" java.lang.RuntimeException: Client Exception with class class org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1 using port 5445
at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:127)
at java.lang.Thread.run(Unknown Source)
Caused by: HornetQException[errorCode=102 message=Consumer is closed]
at org.hornetq.core.client.impl.ClientConsumerImpl.checkClosed(ClientConsumerImpl.java:911)
at org.hornetq.core.client.impl.ClientConsumerImpl.receive(ClientConsumerImpl.java:184)
at org.hornetq.core.client.impl.ClientConsumerImpl.receive(ClientConsumerImpl.java:401)
at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:118)
... 1 more
Exception in thread "Thread-2" java.lang.RuntimeException: Client Exception with class class org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1 using port 5445
at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:127)
at java.lang.Thread.run(Unknown Source)
Caused by: HornetQException[errorCode=102 message=Consumer is closed]
at org.hornetq.core.client.impl.ClientConsumerImpl.checkClosed(ClientConsumerImpl.java:911)
at org.hornetq.core.client.impl.ClientConsumerImpl.receive(ClientConsumerImpl.java:184)
at org.hornetq.core.client.impl.ClientConsumerImpl.receive(ClientConsumerImpl.java:401)
at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:118)
... 1 more
Could you run it smootly? Please help me... Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/757727#757727]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[jBPM] - HornetQException in EvaluationExample2
by zhihai
zhihai [https://community.jboss.org/people/zhihai] created the discussion
"HornetQException in EvaluationExample2"
To view the discussion, visit: https://community.jboss.org/message/759793#759793
--------------------------------------------------------------
I ran into an exception when running EvaluationExample2 from jbpm-examples module. Quite a few people asked the same question in this forum but I couldn't find a post with solution. I didn't expect that the out-of-box example would fail.
Exception in thread "Thread-3" java.lang.RuntimeException: Client Exception with class class org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1 using port 5445
at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:127)
at java.lang.Thread.run(Unknown Source)
Caused by: HornetQException[errorCode=102 message=Consumer is closed]
at org.hornetq.core.client.impl.ClientConsumerImpl.checkClosed(ClientConsumerImpl.java:911)
at org.hornetq.core.client.impl.ClientConsumerImpl.receive(ClientConsumerImpl.java:184)
at org.hornetq.core.client.impl.ClientConsumerImpl.receive(ClientConsumerImpl.java:401)
at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:118)
... 1 more
My environment:
-Windows 7
-JDK 1.6
-jBPM 5.3 final, installed with jbpm-installer
- jbpm-examples was downloaded and imported into Eclipse
To replicate the error, first run "ant start.emo", then in Eclipse, EvaluationExample2 "Run as" > "Java Application.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/759793#759793]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[JBoss Tools] - JBoss Tools 4
by Max Rydahl Andersen
Max Rydahl Andersen [https://community.jboss.org/people/maxandersen] modified the blog post:
"JBoss Tools 4"
To view the blog post, visit: https://community.jboss.org/community/tools/blog/2012/09/17/the-return-of...
--------------------------------------------------------------
Summer is over and it's time to start getting the JBoss Tools release train moving again.
h4. JBoss Tools 4 Alpha 1
[ http://www.jboss.org/tools/download/dev/4_0.html Download] [ http://download.jboss.org/jbosstools/updates/development/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]
h2. A new version ?
This year we are starting on JBoss Tools 4 (opposite to previous years where we have been moving on JBoss Tools 3). Why the new version ? There are a bunch of reasons why it was time, one is that our target platform on Eclipse.org also changed (Eclipse 3.x to 4.x), the projects is growing bigger and bigger so its time to clean up some of the API's and move from our big SVN semi-modularized monolithic layout to smaller more independent but still aligned Git backed projects. The groundworks for this does require splitting with things in the past, at least on a technical level - but we do plan on making this transition as transparent as possible on the user level.
We are also starting to use Alpha (A) instead of Milestone (M) in our versioning - same meaning at user level (development releases/semi-bleeding edge), but at technical levels it allow us to follow and use osgi/p2 friendly version schemes that prevents and detects incompatible changes better than in the past.
But enough about a single digit - on to the user visible changes/improvements...
h2. Installation
Recommended path to install is to have a clean Eclipse Juno install and use our updatesite to install from.
This release you need Eclipse 4.2 but we recommend using the http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/... Eclipse 4.2 JEE Bundle since then you get most of the dependencies preinstalled.
Once you have installed Eclipse, you either find us on http://marketplace.eclipse.org/content/jboss-tools-indigo Eclipse Marketplace under "JBoss Tools (Indigo)" or use our update site directly.
The update site URL to use from Help > Install New Software... is:
http://download.jboss.org/jbosstools/updates/development/juno/
Note: SOA tooling such as Drools, jbpm, ESB, Teeid etc. are not included in the JBoss Tools core releases at this time - they will be available separately.
+Note m2e-wtp users+: In case you already have m2e-wtp installed, then add the updatesite first and then run "Help > Find Updates" before trying to run Help > Install. This way you will get the old m2e-wtp updated automatically to eclipse.org.
h2. Eclipse Juno & m2e-wtp
JBoss Tools 3.x could and can run on Juno but it did have its problems, especially in context of Eclipse Dali/Hibernate integration since the Dali API changed radically from Indigo to Juno. In JBoss Tools 4 Alpha1 all of this should now be a thing of the past. Let us know if you find any discrepencencies in this area.
Since m2eclipse-wtp is moving to Eclipse.org as https://www.eclipse.org/m2e-wtp/ m2e-wtp. As such the existing dependency on m2eclipse-wtp has been changed to http://wiki.eclipse.org/M2E-WTP/New_and_Noteworthy/0.16 m2e-wtp 0.16.0. Since the two plugins overlap and can not coexist you have to either uninstall the old m2e-wtp before installing the new or perform a "Help > Check for updates..." which will be able to do the uninstall old/install new automatically. We wish it could be easier but a bug in p2 install UI prevents this.
h2. Bugfixes
278 issues were fixed in this Alpha1, mainly targeted on issues reported and found when working on Juno and of course a good bunch of bugfixes based on the feedback from previous releases - please keep the feedback coming, its immensly useful.
h2. Migrate jar-classpath to maven-classpath
The biggest in Maven tools are that we now use the eclipse.org m2e-wtp but there are also work on making it easy to convert an eclipse project into a Maven project by helping identifiying the proper Maven Group-Artifact-Version id's of the various jars on your classpath. http://docs.jboss.org/tools/whatsnew/maven/maven-news-4.0.0.Alpha1.html Maven Tools What's'New has more about this.
http://docs.jboss.org/tools/whatsnew/images/dependency_conversion.png http://docs.jboss.org/tools/whatsnew/images/dependency_conversion.png
h2. "As-you-type" validation
Our CDI and JSF/xhtml validation previously only ran when you saved your file(s) and triggered the incremental-builds which would validate the changes across the project. In JBoss Tools 4
we validate the file being edited as you type allowing you to get feedback faster.
Alexey Kazakov recorded a video highlighting how it works:
h2.
h2. Next steps...
JBoss Tools 4 is planned to have a very short release cycle compared to previous years - we want to GA in 2012, running on a well-performing Eclipse 4/Juno release inside JBoss Developer Studio 6.
Our https://issues.jboss.org/browse/JBIDE#selectedTab=com.atlassian.jira.plug... Jira contains the roadmap with tentative dates and in the upcoming weeks we'll blog more about planned/upcoming features for JBoss Tools 4 and onward.
For now, take Alpha1 a spin and let us know what you think!
Have fun,
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/community/tools/blog/2012/09/17/the-return-of...]
13 years, 6 months
[jBPM] - Signal Event is not happening in persisted process
by ravichandrankg
ravichandrankg [https://community.jboss.org/people/ravichandrankg] created the discussion
"Signal Event is not happening in persisted process"
To view the discussion, visit: https://community.jboss.org/message/751377#751377
--------------------------------------------------------------
Hi,
In our company, we are doing some sample process implementation for our application, to decide which BPM engine to be use. It mostly have external system communication, that will trigger the next set of activities in our application.
I am using the following sample process, with one human task and two script tasks with signal events (to trigger from external applications).
https://community.jboss.org/servlet/JiveServlet/showImage/2-751377-19130/... https://community.jboss.org/servlet/JiveServlet/downloadImage/2-751377-19...
and first signal event is having the properties as below,
https://community.jboss.org/servlet/JiveServlet/showImage/2-751377-19132/... https://community.jboss.org/servlet/JiveServlet/downloadImage/2-751377-19...
I am using JBPM 5.3.0.Final version, JBOSS 5.1 and MySQL 5.5.
I am creating a single knowledge session for whole my web application (singleton object holder class, initializing at server startup time). I am creating the process as,
+ StatefulKnowledgeSession jbpmsession = util.getSession();+
+ UserTransaction ut = (UserTransaction) new InitialContext().lookup( "java:comp/UserTransaction" );+
+ ut.begin();+
+ ProcessInstance instance = jbpmsession.startProcess("IngestMetadataAndFile", props);+
+ jbpmsession.insert(instance);+
+ ut.commit();+
and the getSession method will return the new session for first time, and reloaded session there after, using the following code.
+StatefulKnowledgeSession sessionobj = null;+
+ Properties properties = new Properties();+
+ properties.put("drools.processInstanceManagerFactory", "org.jbpm.persistence.processinstance.JPAProcessInstanceManagerFactory");+
+ properties.put("drools.processSignalManagerFactory", "org.jbpm.persistence.processinstance.JPASignalManagerFactory");+
+ KnowledgeSessionConfiguration config = KnowledgeBaseFactory.newKnowledgeSessionConfiguration(properties);+
+ if (sessionId == -1) {+
+ sessionobj = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, config, env );+
+ } else {+
+ try {+
+ sessionobj = JPAKnowledgeService.loadStatefulKnowledgeSession( sessionId, kbase, config, env);+
+ } catch(Exception e) {+
+ System.out.println("Exception in loading the session");+
+ sessionobj = JPAKnowledgeService.newStatefulKnowledgeSession( kbase, config, env );+
+ }+
+ }+
+ new JPAWorkingMemoryDbLogger(sessionobj);+
+ KnowledgeRuntimeLoggerFactory.newConsoleLogger(sessionobj);+
+ JPAProcessInstanceDbLog processLog = new JPAProcessInstanceDbLog(sessionobj.getEnvironment());+
+ DsrClientHandler wsHumanTaskHandler = new DsrClientHandler(sessionobj);+
+ wsHumanTaskHandler.setClient(client.getTaskClient());+
+ sessionobj.getWorkItemManager().registerWorkItemHandler("Human Task",wsHumanTaskHandler);+
With this code, i can able to create the process instance successfully and i am completing the human task by using HornetQ service. It is sucessfully completing the human task and coming to the script task (i can see the syslogs in the script task get printed). From the script task, i am calling my business implementation java class and calling signal event after the business logic completion.
I am signalling as below,
+ StatefulKnowledgeSession ksession = util.getSession();+
+ ksession.signalEvent(eventtype, null, Long.parseLong(processid));+
+ //ksession.signalEvent(eventtype, null);+
+ ProcessInstance processinst = ksession.getProcessInstance(Long.parseLong(processid));+
+ //processinst.signalEvent(eventtype, null);+
after this signalling, it is not coming to the next script task. I have developed my BPMN file by using eclipse (setup using JBPM 5.3 installer).
I dont know what is really wrong with my code. I am not getting any exception after the signal event, but console is printing the following logs.
*2012-07-31 12:29:27,804 INFO [STDOUT] (Thread-26) BEFORE PROCESS NODE EXITED node:External Task1[id=4] process:Sample new DSR Process[id=IngestMetadataAndFile]*
*2012-07-31 12:29:27,805 INFO [STDOUT] (Thread-26) BEFORE PROCESS NODE TRIGGERED node:Signal[id=5] process:Sample new DSR Process[id=IngestMetadataAndFile]*
*2012-07-31 12:29:27,805 INFO [STDOUT] (Thread-26) AFTER PROCESS NODE TRIGGERED node:Signal[id=5] process:Sample new DSR Process[id=IngestMetadataAndFile]*
*2012-07-31 12:29:27,805 INFO [STDOUT] (Thread-26) AFTER PROCESS NODE TRIGGERED node:External Task1[id=4] process:Sample new DSR Process[id=IngestMetadataAndFile]*
*2012-07-31 12:29:27,805 INFO [STDOUT] (Thread-26) AFTER PROCESS NODE TRIGGERED node:External Task1[id=4] process:Sample new DSR Process[id=IngestMetadataAndFile]*
*2012-07-31 12:29:27,805 INFO [STDOUT] (Thread-26) AFTER PROCESS NODE TRIGGERED node:EnterMetadata[id=2] process:Sample new DSR Process[id=IngestMetadataAndFile]*
can you please help me to get out of this issue, where i got stucked and invested lot of time :( .
Thanks,
Ravichandran
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/751377#751377]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months