[jboss-user] [JBoss jBPM] - Strategy for uniform persistence of ContextInstance variable

2007-01-26 Thread brado
All: One rather significant issue I've encountered with jBPM (currently using 3.1.2) is the limitations on the length of ContextInstance variables able to be persisted when a process instance is saved. I understand that there are several ways to deal with this: - truncate the variable value

[jboss-user] [JBoss jBPM] - jbpm and maven 2

2007-01-26 Thread brado
What is the status of jBPM being maven 2 enabled (for building) and being made available on ibiblio as a maven 2 artifact? I had a brief discussion on this some time ago, but as there was no maven availability, I went through the drill of installing these into my repository server for 3.1.2.

[jboss-user] [JBoss jBPM] - Re: How to stop the SchedulerThread

2007-01-25 Thread brado
Just wanted to check ... have you had good success with this approach? My basic need is to create some external management of this Scheduler, i.e. be able to change the polling interval, and stop / restart the Scheduler. I was wondering if you have found the means below as effective to stop /

[jboss-user] [JBoss jBPM] - Re: Invoke a sub-process from main process in JBPM

2007-01-25 Thread brado
I am interested in the answer to the same question. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4006543#4006543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006543 ___

[jboss-user] [JBoss jBPM] - jBPM Eclipse plugin support for Eclipse 3.2

2007-01-25 Thread brado
I searched and didn't find any threads that explicitly addressed this, but I have tried installing the jBPM plugin several times now, and though it installs, it doesn't appear to work on Eclipse 3.2. Does anyone know when the plugin will support Eclipse 3.2? Thanks. Brad View the original

[jboss-user] [JBoss jBPM] - Re: JbpmThreadServlet and member threads

2007-01-25 Thread brado
Alex, Thanks for the reply. Yeah, it would seem that the ServletContextListener would probably be the logical way to implement it. Seems simple enough -- in fact, I'll probably have to do that for my application anyway. Brad View the original post :

[jboss-user] [JBoss jBPM] - Effects of saving a process instance

2006-12-01 Thread brado
When I save a process instance: jbpmContext.save(processInstance); I am curious about the actual effect of that. Keeping in mind that the transaction on the jbpmContext is not committed until a jbpmContext.close() is invoked, what actually happens when this process instance is saved? Does it

[jboss-user] [JBoss jBPM] - Re: JbpmContext: when to create new vs. get current

2006-10-13 Thread brado
Jean, Yes, that helps -- thanks for the reply. However, it still doesn't answer the big question which is whether JbpmContext is reentrant or not. If it is not reentrant, then I want to know what the purpose of the JbpmConfiguration.getCurrentContext() method is. If JbpmConfiguration is

[jboss-user] [JBoss jBPM] - Re: JbpmContext: when to create new vs. get current

2006-10-13 Thread brado
Perhaps I've been a bit obtuse, and haven't properly phrased my question. But since its been over a month, and its obvious that others have the same question, I'll try to rephrase my question for jBPM developers and those who would consider themselves experts in jBPM: How is it possible to use

[jboss-user] [JBoss jBPM] - Re: Best way to structure a business process with a delay.

2006-10-06 Thread brado
Hello gygerl, I dont know how to work out your declarative approach -- I used a programmatic approach to creating my timer inside my node's ActionHandler, as follows: | Date dueDate = set your due date here; | timer.setDueDate(dueDate); | timer.setTransitionName(mytransitionname); |

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Dynamic creation and changing of a dynamic data source

2006-09-29 Thread brado
The typical way of creating a data source in JBoss is via a *-ds.xml configuration file in the server/deploy directory. I have the need to create and bind a custom data-source programmatically at runtime -- so my first question is how can this be done? My second question is if it can be done

[jboss-user] [JBoss jBPM] - Re: jBPM with JBoss vs. without JBoss

2006-09-25 Thread brado
Ronald, Thanks for the reply. Can you expound on what you mean by enterprise grade async messaging? Are you basically saying that JMS won't be available? Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3973911#3973911 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Bizarro jBPMException when trying to create a new JbpmCo

2006-09-25 Thread brado
Koen, Thanks for the reply. If the lifetime of the jbpmContext is equal to the lifetime of the request (in a webapplication), then I have a few more questions: 1) What enforces this lifetime, a jbpmContext.close() has to be invoked somewhere, doesn't it? 2) Is the purpose of

[jboss-user] [JBoss jBPM] - Re: JbpmContext: when to create new vs. get current

2006-09-21 Thread brado
Does anyone have any inkling about the answer to this. This still seems to be a question for which the answer is elusive. Thanks. Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3973452#3973452 Reply to the post :

[jboss-user] [JBoss.NET] - Status of DIME support in JBoss 4.0.4

2006-09-08 Thread brado
I wanted to inquire as to the state of DIME attachment support in JBoss. Can someone tell me whether and to what degree DIME is supported under JBoss 4.0.4? Thanks for your help. Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3970429#3970429 Reply to

[jboss-user] [JBoss jBPM] - Re: Bizarro jBPMException when trying to create a new JbpmCo

2006-09-07 Thread brado
cpob, Thanks for the very helpful reply and answer. I greatly appreciate it. Your answer brings up another question I have had, which is when should new JbpmContext be created, and when should the current context be obtained instead? The reason that this question hasn't been completely clear

[jboss-user] [JBoss jBPM] - Bizarro jBPMException when trying to create a new JbpmContex

2006-09-06 Thread brado
I am using jBPM 3.1.2, and have incorporated my own servlets into what is basically the jbpm.war webapp. My servlets start by doing nothing more complicated than create a jbpmContext, using the following code: | JbpmConfiguration jc = JbpmConfiguration.getInstance(); | JbpmContext

[jboss-user] [JBoss jBPM] - Problem looking up JbpmConfiguration from JNDI

2006-08-28 Thread brado
jBPM 3.1.2: I have a sar that uses JbpmService to bind a new JbpmConfiguration instance to JNDI. I have another webapp which tries to look the JbpmConfiguration up from JNDI, but I receive the following Exception: java.lang.RuntimeException: Unable to complete JNDI lookup on:

[jboss-user] [Beginners Corner] - Questions about the unified Classloader

2006-08-24 Thread brado
I have a couple of questions regarding the JBoss unified classloader: 1) Are there any plans to refactor out the unified classloader mechanism at any time in the near future? 2) What would be the possibility for a user to swap out the unified classloader in favor of a a different classloading

[jboss-user] [Installation, Configuration Deployment] - Possible bug in JBoss hot deployment

2006-08-23 Thread brado
I believe I may have discovered a hot-deployment bug in JBoss 4.0.4. I am running a webapp that initialized a static variable (singleton) indirectly by a servlet loaded on startup. While testing this application, I kept having intermittent NullPointerExceptions while trying to access this

[jboss-user] [JBoss jBPM] - Re: Web app hot deploy problem

2006-08-23 Thread brado
I realize my response is about a year after the fact, but in case anyone else had come across this thread, I thought I'd reference you to a post in another JBoss forum on deployment: http://www.jboss.com/index.html?module=bbop=viewtopict=89209 The gist of the post is that I believe that there

[jboss-user] [JBoss jBPM] - Re: jbpm.sar deployment from ant file lost when server is re

2006-08-16 Thread brado
In all honesty, I knew I wouldn't be deploying the starter's kit in production, so I took the time to figure out all dependencies to do the following: 1) Use Maven for all my builds. 2) Deploy to standard JBoss 4.0.4 3) Build a custom SAR, rather than use the existing jbpm.sar. I wanted to add

[jboss-user] [JBoss jBPM] - Re: jbpm.sar deployment from ant file lost when server is re

2006-08-16 Thread brado
Ronald, Thanks for the reply. Hey, what's the chances of getting jBPM releases up on ibiblio/maven2 with poms that hold all dependencies? Also, here's another side question that's more about archive classloading than anything (working on multiple appservers, sometimes get wires crossed). I

[jboss-user] [JBoss jBPM] - Re: jbpm.sar deployment from ant file lost when server is re

2006-08-16 Thread brado
Well, my SAR and WAR just call classes in the jbpm.jar file and its depedent jars. My SAR isn't much different than the stock jbpm.sar from the starter's kit, it just has some of my additions. The only thing contained in my SAR file though is my configuration files. Similar situation in my WAR.

[jboss-user] [JBoss jBPM] - ETA on jBPM 3.2?

2006-08-09 Thread brado
Is there any kind of ballpark on when 3.2 is going to be released? I have some code I need to integrate into the jBPM core, and I had planned to use 3.1.2, unless 3.2 is going to be released soon. Any idea? Thanks, Brad View the original post :

[jboss-user] [JBoss jBPM] - Re: Timers and transitions

2006-08-03 Thread brado
Here is the code of my business process: | ?xml version=1.0 encoding=UTF-8? | | process-definition | xmlns= name=Solicit |start-state name=start | transition name= to=validateSecurityToken/transition |/start-state |end-state name=end1/end-state |node

[jboss-user] [JBoss jBPM] - Re: Timers and transitions

2006-08-03 Thread brado
Ah yes, my dunce alarm wasn't faulty. Thanks for the tip. Somehow from looking at examples I was under the impression that transitions could reference names of the nodes transitioned to, not the name of the transition itself. Thanks for the help -- I added a transition name and it worked.

[jboss-user] [JBoss jBPM] - Best way to structure a business process with a delay.

2006-08-02 Thread brado
Hello -- I need your advice on the best way to structure a particular business process using jbpm 3.1.1. What the business process actually needs to accomplish is the following in order: 1) Save information to custom tables in the database. 2) Wait until midnight. 3) Retrieve the information

[jboss-user] [JBoss jBPM] - Timers and transitions

2006-08-02 Thread brado
Using jbpm 3.1.1, I am trying to accomplish the following: 1) Create a timer. 2) Execute some action as the result of the timer waking up and being serviced. My question regards how to structure the business process in conjunction with the proper setting of the timer's transition. I have

[jboss-user] [JBoss jBPM] - Re: Creating a timer doesn't save to the database

2006-08-01 Thread brado
Ugh...laptop gone wild. Sorry about the ugly post above. Accidental hit of the return key before I formatted the code. Anyway, here it is in readable form: | public void execute(ExecutionContext executionContext) throws Exception { | log.debug([execute]: Enter.); | | try { |

[jboss-user] [JBoss jBPM] - Creating a timer doesn't save to the database

2006-08-01 Thread brado
Hello, I am trying to create a timer in a business process, and save it to the scheduler. I get no errors when creating or saving the timer. However, it does not appear that anything is getting saved to the database. The JBPM_TIMER table is empty. Here is the code I am executing inside of my

[jboss-user] [JBoss jBPM] - Re: Creating a timer doesn't save to the database

2006-08-01 Thread brado
The code which wraps the execution of this business process saves the process instance both before the business process is executed and after. Here is the code: | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | try { | log.debug([solicit]: Getting graph session.);

[jboss-user] [JBoss jBPM] - Re: PLEASE HELP

2006-07-31 Thread brado
I have a related question to this -- I have a simlar need, having extra tables that need to be added to the schema and managed by Hibernate. Is the common approach to this to alter the jbpm.sar, and rebuild it, or to just abandon the sar altogether and integrate the contents of the sar (which

[jboss-user] [JBoss jBPM] - Re: Web console failing

2006-07-20 Thread brado
Ronald, I went out to the download site and cvs a while ago -- by 3.2 did you actually mean 3.1.2? I don't see any version indication in the cvs tree, where can I find 3.2? Is it just simply what is sitting on HEAD in cvs, or is it the 3.1.2 distribution on the download site that was released

[jboss-user] [JBoss jBPM] - Where is jBPM 3.2?

2006-07-20 Thread brado
Hello, I am currently using jBPM 3.1.1. I have had jBPM 3.2 recommended to me, but I need some clarification on how to obtain 3.2. On the download link for jBPM, there is a 3.1.2 version that was released a couple of days ago. Is this 3.1.2 release actually the 3.2 version that has been

[jboss-user] [JBoss jBPM] - Re: Web console failing

2006-07-20 Thread brado
luca, Thanks for the reply -- do you happen to know if the same benefits mentioned in 3.2 (the date pickers working as Ronald mentioned) are available in 3.1.2? Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3959723#3959723 Reply to the post :

[jboss-user] [JBoss jBPM] - Where are processes / logs typically saved?

2006-07-18 Thread brado
Hello -- I have created a simple process that contains invocations of other Java classes via a node's ActionHandler implementation. This is a business process needs to be saved on creation, and saved on completion / exit. My question is this: is it typical to save processes in the code invoking

[jboss-user] [JBoss jBPM] - Re: Where are processes / logs typically saved?

2006-07-18 Thread brado
Ronald, Thanks a million for the speedy reply. You are a fountain of knowledge and quick on the draw too! Cheers, Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3958916#3958916 Reply to the post :

[jboss-user] [JBoss jBPM] - How do I change the URL to which the JBPM Eclipse plugin dep

2006-07-18 Thread brado
I am trying to deploy a JBPM process to the server, but I have incorporated the Upload servlets into a new webapp, not the one from the starter's kit. When I test the connection from the jbpm Eclipse plugin to my running JBoss server, I see the following URL is attempted:

[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread brado
Newbie007, Thanks for your reply. Regarding your post: newbie007 wrote : Which JPD version you are using? I am using 3.0.9.x and you can specify | the server port and server name during the deployment. | | If you are using old version, you can save the .par file locally and | deploy

[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread brado
oopsI neglected to mention versions...sorry. I am using: - Eclipse 3.1.2 - JBPM Plugin 3.0.9 - JBPM 3.1.1 - (and the starter's kit webapp code) Thanks Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3958971#3958971 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Web console failing

2006-07-17 Thread brado
Ronald, Hey thanks for the tip! That *is* a bonus! Cheers, Brad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3958558#3958558 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3958558

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-13 Thread brado
cpob, Thank you very much for the reply. I have the same text as you in my jbpm.cfg.xml file. So if it isn't a matter of what's in the config file itself, perhaps it is an issue of where the file is located. Within my jbpm.sar file, there is a file called jbpm.sar.cfg.jar, and inside of it,

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-13 Thread brado
Problem solved. The problem was apparently that I had no jbpmContext.close() operation, so although everything was executing properly, no commit was ever done on the SQL transactions performed on the context. However, this begs another question, which is directly applicable to my code that I

[jboss-user] [JBoss jBPM] - Re: Web console failing

2006-07-12 Thread brado
Ronald, Thanks a lot for your help. The U worked like a charm, and allowed me to save my record. Login also worked as a result. However, after logging in, if I try to click on the Home link, I get the following in the JBoss log, even though the page seems to render properly: | 14:12:04,515

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
Ronald, Ok, understood. Thanks for the answer. Supposing I were to contribute a history table to the db schema, how in your view would be the best way to handle writing history? Would it be best to add it as an automatic function done at the time a process instance is created, or leave it a

[jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History

2006-07-12 Thread brado
After further review, I think the links given may have left some important information out, in combination with possibly some confusing comments in the default jbpm.cfg.xml file. Anyway, I altered my jbpm.cfg.xml file once again, to be exactly the same as the default file (the reason I did this

[jboss-user] [JBoss jBPM] - Re: How to invoke a business process in JBoss

2006-07-11 Thread brado
kukeltje wrote : No answers? I'll only respond to one thing now, the 3.0.3/3.1.1 thing. | | The moment you mentioned you were using 3.03 instead of the latest 3.1.x you got an answer that 3.03 and 3.1 are different. If you had stated that earlier, you would have gotten a more specific