[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Calling Session Bean from MDB - Newbie Q

2006-03-28 Thread ummadiravi78
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

[JBoss-user] [Messaging, JMS & JBossMQ] - Calling Session Bean from MDB - Newbie Q

2006-03-28 Thread ummadiravi78
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

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: URGENT - request.setCharacterEncoding(

2006-03-20 Thread ummadiravi78
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

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - URGENT - request.setCharacterEncoding(

2006-03-15 Thread ummadiravi78
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

[JBoss-user] [JBoss jBPM] - Re: jbpm in a web application

2006-01-24 Thread ummadiravi78
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

[JBoss-user] [Management, JMX/JBoss] - Use of JBoss Logging Service - URGENT

2006-01-24 Thread ummadiravi78
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

[JBoss-user] [JBoss jBPM] - Re: jbpm in a web application

2006-01-23 Thread ummadiravi78
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

[JBoss-user] [JBoss jBPM] - Re: jbpm in a web application

2006-01-23 Thread ummadiravi78
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

[JBoss-user] [JBoss jBPM] - Re: jbpm in a web application

2006-01-23 Thread ummadiravi78
>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

[JBoss-user] [JBoss jBPM] - Re: ProcessClassLoader [ Urgent Help please !!!]

2006-01-20 Thread ummadiravi78
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

[JBoss-user] [JBoss jBPM] - Re: Query regarding forking

2006-01-19 Thread ummadiravi78
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

[JBoss-user] [JBoss jBPM] - Re: Schema validation problem with JpdlXmlReader.readProcess

2006-01-19 Thread ummadiravi78
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 = ""+

[JBoss-user] [JBoss jBPM] - Re: problem in configuring jbpm for mysql database

2006-01-17 Thread ummadiravi78
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

[JBoss-user] [JBoss jBPM] - Re: problem in configuring jbpm for mysql database

2006-01-17 Thread ummadiravi78
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

[JBoss-user] [Beginners Corner] - ManagedConnectionFactory is null Problem - Not related to ho

2005-12-26 Thread ummadiravi78
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

[JBoss-user] [JBoss jBPM] - Re: JBOSS jBPM tool evaluation >> Help Required

2005-12-19 Thread ummadiravi78
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

[JBoss-user] [JBoss jBPM] - Re: JBOSS jBPM tool evaluation >> Help Required

2005-12-19 Thread ummadiravi78
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=