Hello,
I asked this in the beginner's forum but there were no answers, so if you don't mind I'll try again in this more specific forum:
Trying to get the Hello World example to run in the jBPM I can get to the screen with the console and the HelloWorld Process listed (as the only process). Then I can get a screen with the URL: http://localhost:8080/hello/Greeter? that says "And Now... Some Services" but the function listed (sayHello) is not clickable and I don't know how to get to the place where I can input values to the variable which will be concatenated with "Hello".
When I had made a web service in C# it was possible to go to that service from a browser and type in values to the input variables. Can I do that here?
Thanks,
Barn
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188270#4188270
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188270
Yes.. of course, you need to configure the hibernate.cfg.xml file to connect to you database that have the jBPM schema. You can do that in the following way, if you are in a standalone application with a postgreSQL DB:
| <!-- hibernate dialect -->
| <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
|
| <!-- JDBC connection properties (begin) -->
| <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
| <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/jbpm</property>
| <property name="hibernate.connection.username">user</property>
| <property name="hibernate.connection.password">password</property>
| <!-- JDBC connection properties (end) -->
|
In the case that you are using jBPM in an Application Server you could look in my post:
http://salaboy.wordpress.com/2008/08/26/jugando-con-jbpm-9-cambiando-de-d...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188206#4188206
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188206
I'm running into a small problem here...
I've got a task node set with notify="true".
The task is assigned to a swimlane, which has a set of pooled actors.
As far as I can tell, the AssignmentHandler is setting those actors properly.
When I try to use those pooled actors in my mail template, I'm getting a
ClassCastException: java.util.HashSet cannot be cast to java.lang.String
My template is doing this:
#{taskInstance.pooledActors}
Am I doing something wrong?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188179#4188179
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188179