Thanks Kiran.
Ravi
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933082#3933082
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933082
---
This SF.Net email is spon
Hi,
I get NullPointerException when I try to invoke session bean from my message
driven bean onMessage() method.
Here is my MDB code.
|
|
|
| public class MDB implements MessageDrivenBean, MessageListener{
|
| private WorkerHome workerHome = null;
|
| private M
I solved this problem with the following two steps:
1. adding the attribute useBodyEncodingForURI="true" to 'Connector' element of
JBOSS_TOMCAT's server.xml
2. Using request.setCharacterEncoding("UTF-8"); in the ServletFilter.
It is weird to note that such things are not properly documented anywh
Hi,
I use JBOSS-4.0.2.
My application is struts based.
When my action class receives form parameters, the request is not able to
handle unicode characters.
The unicode characters are getting displayed as some junk characters.
I searched weba and everywhere it is written that
"request.setChara
I don't know how exactly the websale application generated the sql script from
process definition. But here is a solution I can define.
1. deploy process definition into database using the regular code.
|
|
| ProcessDefinition def = ProcessDefinition.parseXmlString(
"http://www.jboss
Hi,
I want to use log4j logging for my application.
I have two options.
- Use the existing logging service provided by jboss ( it essentially menas use
the log4j instance created by jboss)
- Use my own log4j service (create my own instance)
I had a look into the following article which explains
Even in real life you need to keep track of processinstanceID or taskInstanceID
to access process instances.
given processInstanceID, you can access processInstacnce object using the
folloiwng code.
JbpmSession session = JbpmSessionFactory.getInstance().openJbpmSession();
Proce
Even in real life you need to keep track of processinstanceID or taskInstanceID
to access process instances.
given processInstanceID, you can access processInstacnce object using the
folloiwng code.
JbpmSession session = JbpmSessionFactory.getInstance().openJbpmSession();
Proce
>In my web-application include jbpm.jar as a library, and create jbpmsessions,
>processinstances etc. using the apis.
CORRECT
> 1. But then about the database, shold the jbpm db tables be created in the
> same database as the web applications?
YOU CAN CREATE A NEW DATABASE SAY 'JBPMDB' AND E
For serialization, you should have created appropriate sub-classes of
variableinstance and variableupdatelog and hibernate hbm.xml files . Also an
entry into jbpm.varmapping.properties. Right?
Could you please post them?
View the original post :
http://www.jboss.com/index.html?module=bb&op=vi
Hi,
You should be using token.getChildren() to access forked nodes.
here is the working code for your sample.
|
| import java.util.Iterator;
| import java.util.Map;
| import org.jbpm.graph.def.ProcessDefinition;
| import org.jbpm.graph.exe.ProcessInstance;
| import org.jbpm.graph.ex
I have tested the same. It works fine for me with jbpm-3.0.2. No complaits
about end-tasks attribute. Here is the code I tested.
import org.jbpm.graph.def.ProcessDefinition;
public class ProcessdefTest {
public static void main(String args[]) {
String procdef = ""+
Have you solved this problem?
Deploying mysql driver jar in the server/default/lib should ideally solve drive
class loading problem. But, I think there is some class loading issues in your
case.
If you have not sovled the problem yet, pl. let me know the contents of your
jbpm core libraries ea
Have you solved this problem?
Deploying mysql driver jar in the server/default/lib should ideally solve drive
class loading problem. But, I think there is some class loading issues in your
case.
If you have not sovled the problem yet, pl. let me know the contents of your
jbpm core libraries ea
Hi,
I am using Jboss 4.0.2 in linux environment. I use JBOSS datasource to connect
to MySQL 4.1 server. When I was testing my application, all of a sudden the
application crashed and the server log showed me the following error. I googled
for the error and all the links say that this problem is
That means, the root token points to node 'Read Lones Data' and again you are
trying to signal to the same node in the following line:
rootToken.signla("toReadLoansData");
You have already reached that node.
I think you can just use token.signal() to execute the node 'Read Lones Data'.
View
Can you place the following lines in ur code:
System.out.println("root token name="+rootToken.getNode().getName());
After the following line:
Token rootToken = procInst.getRootToken();
Let me know the result.
Ravi Prakash
View the original post :
http://www.jboss.com/index.html?module=bb&op=
17 matches
Mail list logo