[jBPM] - Re: Integrating TaskService with jbpm-console
by bpmn2user
bpmn2user [http://community.jboss.org/people/bpmn2user] created the discussion
"Re: Integrating TaskService with jbpm-console"
To view the discussion, visit: http://community.jboss.org/message/581359#581359
--------------------------------------------------------------
I have integrated this human task as part of jbpm-console mainly for the following reasons
* I do not need to maintain another job to run human task and the installation becomes simply dropping the war files in Tomcat.
* I can use Tomcat logs to see if there is any problem in calling Humantasks from Tomcat
Anyway, here are the details if any one wants to integate with Tomcat6.
Modify web.xml in jbpm-console's war file to include a human task startup servlet.
e.g.,
+<servlet>+
+ <servlet-name>HumanTaskStartupServlet</servlet-name>+
+ <servlet-class>com.sample.HumanTaskStartupServlet</servlet-class>+
+ <load-on-startup>2</load-on-startup>+
+ </servlet>+
+ <servlet-mapping>+
+ <servlet-name>HumanTaskStartupServlet</servlet-name>+
+ <url-pattern>/HumanTaskStartupServlet/*</url-pattern>+
+ </servlet-mapping>+
Copy the humantask compiled class to WEB-INF/classes diectory of jbpm-console
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/581359#581359]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[IronJacamar] - IronJacamar RHQ plugin
by Yang Yong
Yang Yong [http://community.jboss.org/people/yyang%40redhat.com] created the discussion
"IronJacamar RHQ plugin"
To view the discussion, visit: http://community.jboss.org/message/578647#578647
--------------------------------------------------------------
Hi Jesper,
Thanks for your information given in email, it points out the way to implement rhq plugin, but we got several questions want to discuss with you.
a. we have took a look at core/src/main/java/org/jboss/jca/core/management/, it wraps all manageable objects and properties, but
1) we can NOT saw any setter methods in those classes, so how to change the configuration?
2) class ManagementRepository is a singleton class, we can access it directly in embedded environment, but will ManagementRepository/Connector/ConnectionFactory/AdminObject be registered to org.jboss.deployers.spi.management.ManagementView? so them can be accessed by ManagementView like hornetq plugin.
b. If IronJacamar has embedded in current AS7 release? if not, how can we test IronJacamar plugin?
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/578647#578647]
Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[jBPM] - persistence.xml - not all data table are being created jbpm5
by Odelya Holiday
Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the discussion
"persistence.xml - not all data table are being created jbpm5"
To view the discussion, visit: http://community.jboss.org/message/579786#579786
--------------------------------------------------------------
HI!
I have the following persistence.xml file:
<persistence version="1.0"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
xmlns:orm="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/persistence">
<persistence-unit name="org.mycompany.task">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<class>org.jbpm.task.Attachment</class>
<class>org.jbpm.task.Content</class>
<class>org.jbpm.task.BooleanExpression</class>
<class>org.jbpm.task.Comment</class>
<class>org.jbpm.task.Deadline</class>
<class>org.jbpm.task.Delegation</class>
<class>org.jbpm.task.Escalation</class>
<class>org.jbpm.task.Group</class>
<class>org.jbpm.task.I18NText</class>
<class>org.jbpm.task.Notification</class>
<class>org.jbpm.task.EmailNotification</class>
<class>org.jbpm.task.EmailNotificationHeader</class>
<class>org.jbpm.task.PeopleAssignments</class>
<class>org.jbpm.task.Reassignment</class>
<class>org.jbpm.task.Status</class>
<class>org.jbpm.task.Task</class>
<class>org.jbpm.task.TaskData</class>
<class>org.jbpm.task.SubTasksStrategy</class>
<class>org.jbpm.task.OnParentAbortAllSubTasksEndStrategy</class>
<class>org.jbpm.task.OnAllSubTasksEndParentEndStrategy</class>
<class>org.jbpm.task.User</class>
<class>org.drools.persistence.session.SessionInfo</class>
<class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>
<class>org.jbpm.persistence.processinstance.ProcessInstanceEventInfo</class>
<class>org.drools.persistence.processinstance.WorkItemInfo</class>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect" />
<property name="hibernate.connection.driver_class" value="oracle.jdbc.driver.OracleDriver" />
<property name="hibernate.connection.url"
value="jdbc:oracle:thin:@mypc:port:mydb" />
<property name="hibernate.connection.username" value="jbpm" />
<property name="hibernate.connection.password" value="jbpm" />
<property name="hibernate.connection.autocommit" value="false" />
<property name="hibernate.max_fetch_depth" value="3" />
<property name="hibernate.hbm2ddl.auto" value="create" />
<property name="hibernate.show_sql" value="true" />
</properties>
</persistence-unit>
</persistence>
However, after executing:
emf = Persistence.createEntityManagerFactory("org.mycompany.task");
Only some of the tables are being created! for example, Attachement and Deadline were not created.
For now - I created them manually but am afraid that it's a bug.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/579786#579786]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months
[EJB3] - Re: newbie question: ejb3 tutorial examples
by Meena Rajani
Meena Rajani [http://community.jboss.org/people/MeenaRajani] created the discussion
"Re: newbie question: ejb3 tutorial examples"
To view the discussion, visit: http://community.jboss.org/message/579040#579040
--------------------------------------------------------------
Hi
I am getting the same error with the same example. How you added add jnp-client.jar . I am using I am using Elipse Helios and Jboss 6. I creted a java project with exisiting build file.
The error stack is
Exception in thread "main" javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.tutorial.stateless.client.Client.main(Client.java:34)
Can you please reply in detail as I am stucked with eclipse and Jboss for more than 3 weeks.
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/579040#579040]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 9 months