[jBPM] - Setting input/params/variables in BPMN2 web designer
by Adam Bach
Adam Bach [https://community.jboss.org/people/heathcliff] created the discussion
"Setting input/params/variables in BPMN2 web designer"
To view the discussion, visit: https://community.jboss.org/message/717708#717708
--------------------------------------------------------------
Hi,
I'm trying to develop some simple process with web designer. There are few things I do no know how to use:
1. What is valid for jBPM5.2 valid format for "Variable Definitions" attribute?
2. I have defined domain specific task(using task definition in guvnor) and I have problem specifying attributes:
- DataInputSet - what format is valid? do I set types here some how?
- Assignments - what format is valid? Do I pass here as value: value-string, variable? I mean what do I set as value for key=value pair, a value is treates as string or variable?
- no available attributes for "On Entry Actions" and "On Exit Actions". I have seen these attributes in eclipse designer but they seem to be unavailable in domain specific tasks.
I would be very greatefull for helping me with this.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717708#717708]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
14 years, 1 month
[IronJacamar] - Re: Unable to deploy resource adapter with embedded ironjacamar
by Logan McGrath
Logan McGrath [https://community.jboss.org/people/lmcgrath] created the discussion
"Re: Unable to deploy resource adapter with embedded ironjacamar"
To view the discussion, visit: https://community.jboss.org/message/718111#718111
--------------------------------------------------------------
Here's the specific commands I'm executing with the code generator:
C:\jboss\ironjacamar-1.0.7.Final\doc\codegenerator>codegenerator.bat -o acme-resource
C:\jboss\ironjacamar-1.0.7.Final\doc\codegenerator>java -jar ironjacamar-codegenerator.jar -o acme-resource
Profile version (1.6/1.5/1.0) [1.6]:
Type (O/Outbound/I/Inbound/B/Bidirectional) [O]:
Package name: com.acme
Transaction support (N/NoTransaction/L/LocalTransaction/X/XATransaction) [N]:
Support reauthentication (Y/Yes/N/No) [N]:
Use annotations (Y/Yes/N/No) [Y]: Y
Include a ResourceAdapter (Y/Yes/N/No) [Y]: Y
Resource adapter class name [AcmeResourceAdapter]:
Resource adapter config properties [enter to quit]:
Name:
Managed connection factory class name [AcmeManagedConnectionFactory]:
Managed connection factory config properties [enter to quit]:
Name:
Use ResourceAdapterAssociation (Y/Yes/N/No) [Y]:
Managed connection class name [AcmeManagedConnection]:
Use CCI (Y/Yes/N/No) [N]:
Connection factory interface class name [AcmeConnectionFactory]:
Connection factory implementation class name [AcmeConnectionFactoryImpl]:
Connection interface class name [AcmeConnection]:
Connection implementation class name [AcmeConnectionImpl]:
Add methods to connection interface (Y/Yes/N/No) [N]:
Additional managed connection factory (Y/Yes/N/No) [N]:
Include an admin object (Y/Yes/N/No) [N]:
Generate a MBean class (Y/Yes/N/No) [Y]: N
Build environment [A/Ant/I/Ant+Ivy/M/Maven] [A]: Maven
Code generated
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/718111#718111]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
14 years, 1 month
[IronJacamar] - Unable to deploy resource adapter with embedded ironjacamar
by Logan McGrath
Logan McGrath [https://community.jboss.org/people/lmcgrath] created the discussion
"Unable to deploy resource adapter with embedded ironjacamar"
To view the discussion, visit: https://community.jboss.org/message/718105#718105
--------------------------------------------------------------
I've been getting the following error with default maven-generated project as well as custom adapters. The resource adapters deploy and are usable in a full JBoss AS deployment, but I'm unable to perform any integration tests with the embedded IronJacamar. The ironjacamar.xml files have the jndi-name attributes, yet I'm still getting this error. The problem exists using IronJacamar 1.0.3 (shipped with JBoss AS 7.0.2.Final) as well as IronJacamar 1.0.6.Final and 1.0.7.Final.
-------------------------------------------------------------------------------
Test set: com.acme.resource.ConnectorTestCase
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.091 sec <<< FAILURE!
com.acme.resource.ConnectorTestCase Time elapsed: 0 sec <<< ERROR!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy the application: Deployment file:/C:/Users/lmcgrath/AppData/Local/Temp/ConnectorTestCase.rar failed
at org.jboss.jca.embedded.arquillian.EmbeddedJCAContainer.deploy(EmbeddedJCAContainer.java:146)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:148)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:115)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:246)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:86)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:79)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:238)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:222)
at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:134)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:158)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:290)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:45)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:175)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:123)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at $Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: com.github.fungal.spi.deployers.DeployException: Deployment file:/C:/Users/lmcgrath/AppData/Local/Temp/ConnectorTestCase.rar failed
at org.jboss.jca.deployers.fungal.RADeployer.deploy(RADeployer.java:206)
at com.github.fungal.impl.MainDeployerImpl.deploy(MainDeployerImpl.java:167)
at com.github.fungal.impl.MainDeployerImpl.deploy(MainDeployerImpl.java:79)
at org.jboss.jca.embedded.EmbeddedJCA.deploy(EmbeddedJCA.java:287)
at org.jboss.jca.embedded.arquillian.EmbeddedJCAContainer.deploy(EmbeddedJCAContainer.java:142)
... 93 more
Caused by: org.jboss.jca.common.metadata.ParserException: IJ010065: Missing mandatory jndi-name attribute: connection-definition
at org.jboss.jca.common.metadata.common.CommonIronJacamarParser.parseConnectionDefinitions(CommonIronJacamarParser.java:124)
at org.jboss.jca.common.metadata.ironjacamar.IronJacamarParser.parseIronJacamar(IronJacamarParser.java:170)
at org.jboss.jca.common.metadata.ironjacamar.IronJacamarParser.parse(IronJacamarParser.java:100)
at org.jboss.jca.common.metadata.ironjacamar.IronJacamarParser.parse(IronJacamarParser.java:67)
at org.jboss.jca.common.metadata.MetadataFactory.getIronJacamarMetaData(MetadataFactory.java:120)
at org.jboss.jca.deployers.fungal.RADeployer.deploy(RADeployer.java:155)
... 97 more
The ironjacamar.xml file:
<!--
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-->
<ironjacamar xmlns="http://www.jboss.org/ironjacamar/schema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.jboss.org/ironjacamar/schema
http://www.jboss.org/ironjacamar/schema/ironjacamar_1_0.xsd">
<transaction-support>NoTransaction</transaction-support>
<connection-definitions>
<connection-definition class-name="com.acme.resource.AcmeManagedConnectionFactory" enabled="true" jndi-name="java:/eis/AcmeManagedConnectionFactory" use-java-context="true" pool-name="AcmeManagedConnectionFactory">
</connection-definition>
</connection-definitions>
</ironjacamar>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/718105#718105]
Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
14 years, 1 month