[JBoss Web Services] - wsprovide and maven plugin
by Herman Post
Herman Post [https://community.jboss.org/people/hbpost] created the discussion
"wsprovide and maven plugin"
To view the discussion, visit: https://community.jboss.org/message/713844#713844
--------------------------------------------------------------
Hi. I am trying to use wsprovide through the maven-jaxws-tools-plugin. I am using Indigo SR1, JBoss Maven Integration 1.3.0 and have declared jboss-jaxws-api_2.2_spec as a dependency. Following is from my pom (also attached):
<plugin>
<groupId>org.jboss.ws.plugins</groupId>
<artifactId>maven-jaxws-tools-plugin</artifactId>
<version>1.1.0.GA</version>
<configuration>
<verbose>true</verbose>
<endpointClass>org.ihc.hwcir.drools.framework.DroolsRuntimeWSImpl</endpointClass>
<generateWsdl>true</generateWsdl>
</configuration>
<executions>
<execution>
<goals>
<goal>wsprovide</goal>
</goals>
</execution>
</executions>
</plugin>
I get the following error in eclipse:
"Plugin execution not covered by lifecycle configuration: org.jboss.ws.plugins:maven-jasws-tools-plugin:1.1.0.GA: wsprovide(execution: default, pahse:process-classes)"
And when I run from the command line the plugin does not get run.
Any help would be appreciated.
Thanks,
Herm
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/713844#713844]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 6 months
[jBPM] - Re: jBPM processes started from Java code dont show up in jBPM process console
by Maïté Braud
Maïté Braud [https://community.jboss.org/people/mbraud] created the discussion
"Re: jBPM processes started from Java code dont show up in jBPM process console"
To view the discussion, visit: https://community.jboss.org/message/646856#646856
--------------------------------------------------------------
Hi
I've got a similar issue except that in my case, processes started from java simply reset entries in my database.
I have only one process available. The first step in this process is a human task.
If I start 2 process instances from the jBPM console, both process instances appear in the "Process Overview" tab and they also appear in the database (I'm persisting PROCESSINSTANCEINFO, PROCESSINSTANCELOG, SESSIONINFO, VARIABLEINSTANCELOG, WORKITEMINFO and NODEINSTANCELOG in a H2 DB).
If I start the same process from the java code, my 2 previous process instances disappear (both from the console and the database which is consistent) and get replaced by the new process instance.
If I start another process instance from the java code, it replaces the previous one so that I can never have more than 2 process instances started from my java code.
Here is my java code:
EntityManagerFactory emf = Persistence.createEntityManagerFactory( "org.jbpm.persistence.jpa" );
Environment env = KnowledgeBaseFactory.newEnvironment();
env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);
env.set(EnvironmentName.TRANSACTION_MANAGER, TransactionManagerServices.getTransactionManager());
env.set( EnvironmentName.GLOBALS, new MapGlobalResolver() );
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource(ACCESS_WORKFLOW_FILE), ResourceType.BPMN2 );
KnowledgeBase kbase = kbuilder.newKnowledgeBase();
StatefulKnowledgeSession ksession = JPAKnowledgeService.newStatefulKnowledgeSession(kbase, null, env);
JPAWorkingMemoryDbLogger dbLogger = new JPAWorkingMemoryDbLogger(ksession);
KnowledgeRuntimeLogger logger = KnowledgeRuntimeLoggerFactory.newFileLogger(ksession, "test");
ksession.getWorkItemManager().registerWorkItemHandler("Human Task", new CommandBasedWSHumanTaskHandler(ksession));
ksession.startProcess(ACCESS_WORKFLOW_ID, new HashMap());
dbLogger.dispose();
logger.close();
Also I forgot to mention it but I'm deploying jBPM 5.1 on Tomcat 6 and I'm not using Guvnor but simply a directory specified in "-Djbpm.console.directory".
I've also noted some strange behaviour where my process instances also seem to be reset everytime I restart tomcat. The entries remain in the DB after I shutdown Tomcat and they also remain in it once I've restarted Tomcat and logged in the jBPM console again but the moment I go to the "Process Overview" tab and jBPM reloads the process definition, all process instances disappear from my DB.
I think that I'm missing something important here but I don't know what.
Any help would be greatly appreciated
Maïté
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/646856#646856]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 6 months
[jBPM] - JBPM 5.2 final : Designer loading problem in drools-guvnor
by linna shan
linna shan [https://community.jboss.org/people/shanlinna] created the discussion
"JBPM 5.2 final : Designer loading problem in drools-guvnor"
To view the discussion, visit: https://community.jboss.org/message/717098#717098
--------------------------------------------------------------
I'm sorry to repost the same question :
I have the designer loading problem after the manual installation JBPM 5.2 final.
When I open a process, the console stops at "Please wait while loading..."
These traces in ther server.log make me think this problem is caused by classpath entry of the designer :
11:39:06,577 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "designer.war"
11:39:48,311 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry avalon-framework-4.2.0.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,311 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry batik-all-1.7.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,311 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry commons-io-1.3.1.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,311 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry commons-logging-1.0.4.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,311 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry serializer-2.7.0.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,311 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry servlet-2.2.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,311 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xalan-2.7.0.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,311 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xercesImpl-2.7.1.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,311 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xml-apis-1.3.04.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xml-apis-ext-1.3.04.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xmlgraphics-commons-1.3.1.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry fop-hyph.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jai_codec.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jai_core.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jai_imageio.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jimi-1.0.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xmlunit1.0.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb-api.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/jaxb-impl-2.2.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/jaxb-impl-2.2.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jsr173_1.0_api.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/jaxb-impl-2.2.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb1-impl.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/jaxb-impl-2.2.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xalan-2.7.1.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry serializer-2.7.1.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xercesImpl-2.9.1.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xml-apis-1.0.b2.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry commons-lang-2.6.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry commons-io-2.1.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry log4j-1.2.16.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,327 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/D:/shanl/jbpm-installer/content/designer.war/WEB-INF/lib/mail-1.4.1.jar" does not point to a valid jar for a Class-Path reference.
11:39:48,842 INFO [org.jboss.web] (MSC service thread 1-4) registering web context: /designer
11:39:48,983 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "designer.war"
11:49:18,941 INFO [stdout] (http-localhost-127.0.0.1-8089-1) (null: -1, -1): Premature end of file.
11:49:19,863 INFO [org.oryxeditor.server.EditorHandler] (http-localhost-127.0.0.1-8089-1) The diagram editor is running in development mode. Javascript will be served uncompressed
11:49:19,894 INFO [org.oryxeditor.server.EditorHandler] (http-localhost-127.0.0.1-8089-1) Performing diagram information pre-processing steps.
11:49:19,988 GRAVE [com.intalio.web.preprocessing.impl.JbpmPreprocessingUnit] (http-localhost-127.0.0.1-8089-1) http://localhost:8080/drools-guvnor/rest/packages/ http://localhost:8080/drools-guvnor/rest/packages/
11:49:19,988 INFO [stdout] (http-localhost-127.0.0.1-8089-1) Setting up default workitem configuration
11:49:19,988 INFO [stdout] (http-localhost-127.0.0.1-8089-1) End setting up default workitem configuration
11:49:20,441 INFO [com.intalio.web.preprocessing.impl.JbpmPreprocessingUnit] (http-localhost-127.0.0.1-8089-1) Successfully deleted file :D:\shanl\jbpm-installer\jboss-as-7.0.2.Final\standalone\tmp\vfs\temp776ee7cbf186088e\designer.war-85f1fb0623260c57\stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json
11:49:20,503 INFO [com.intalio.web.preprocessing.impl.JbpmPreprocessingUnit] (http-localhost-127.0.0.1-8089-1) Created file:D:\shanl\jbpm-installer\jboss-as-7.0.2.Final\standalone\tmp\vfs\temp776ee7cbf186088e\designer.war-85f1fb0623260c57\stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json
11:49:42,862 INFO [stdout] (http-localhost-127.0.0.1-8089-2) INFO 16-02 11:49:42,862 (NilAuthenticator.java:authenticate:35) All users are guests.
Somebody could show me in which file these classpath is defined? Put me right if I'm falling in the wrong piste
Thank you for your response.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717098#717098]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 6 months
[jBPM] - GetTasksOwned API is not returning the claimed tasks as Task.createdBy_Id column is not updated
by S Jegan
S Jegan [https://community.jboss.org/people/jegan] created the discussion
"GetTasksOwned API is not returning the claimed tasks as Task.createdBy_Id column is not updated"
To view the discussion, visit: https://community.jboss.org/message/716523#716523
--------------------------------------------------------------
Hi All,
Request you all to please help me on this. I am using jbpm 5.2. I use getTasksOwned API to get the tasks assigned to an user. It works fine in all scenarios except for the tasks that are claimed.
What happens is, as part of the claim operation the "createdBy_id" column of Task is not getting updated. Because of this the query "TaskOwned" which is defined in TaskOrm.xml does not return the results. The "actualOwner_id" column is updated, but for some reason "createdBy_id" column is not.
I tried going through the code and found that in commands method of TaskServiceSession.class, only actual owner is set. Is this an issue? If I manually update this column in db, it works.
Is this an issue? If yes, is there any work-around for this? I am right now thinking of using the query API to get the tasks assigned. Will there be any other issue if I do that?
Please provide your suggestions. Let me know if I need to provide any more information. Thanks for your time.
Regards.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/716523#716523]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 6 months