[EJB 3.0] New message: "Re: Configuring the EJB timer service"
by Andrig Miller
User development,
A new message was posted in the thread "Configuring the EJB timer service":
http://community.jboss.org/message/531760#531760
Author : Andrig Miller
Profile : http://community.jboss.org/people/andy.miller@jboss.com
Message:
--------------------------------------------------------------
> jaikiran wrote:
>
> A quick look at the code suggests that commenting out the retry policy is going to cause errors. It expects RetryPolicy as mandatory. I don't see any NoOpRetryPolicy available. So maybe the user application has to create a NoOpRetryPolicy and configure the timer service to use this.
Well, I created a NoRetryPolicy class and MBean, patterned after the FixedDelayRetryPolicy, and it works as expected. The issue that this brings up in my mind is that this seems to be global. You can only have one retry policy defined. Am I right about that? Is there a way to make it so some timers use one retry policy and others use another?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/531760#531760
16 years, 4 months
[JBoss Cache POJO Edition] New message: "Configure PojoCache on Rad 7.5 Development"
by Sachin Daftary
User development,
A new message was posted in the thread "Configure PojoCache on Rad 7.5 Development":
http://community.jboss.org/message/531744#531744
Author : Sachin Daftary
Profile : http://community.jboss.org/people/sdaftary
Message:
--------------------------------------------------------------
Guys,
I am very new to PojoCache, I was trying to use that for caching of java objects, and It all worked fine with JUnit, Now when I try to use it on the webapplication, nothing seems to work, I think I am missing a few steps in the configuration. I go to admin console and put in the javaAgent, but, that does not work. I added quite a few libs in the classpath, and now it is attempting to instrument every file including the ones given by Eclipse. Which takes about 3 minutes to do, So, for every small change, it takes about 3 mins, which is totally confusing. after all that when it does start up. I put a break point in the method that fetches the object from cache. It does find it in the cache, and I can inspect the object, but when I use any variable in the object that was retrieved it says cannot create joinPoint I am sure that is another configuration that I am missing, can you guys please lead me in the right direction. It might be something trivial that I have missed, but, I am not able to figure out on my own.
Thank,
Sachin.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/531744#531744
16 years, 4 months
[JBoss Tools] New message: "Re: Tutorial for BPEL simple-invoke"
by Peter Johnson
User development,
A new message was posted in the thread "Tutorial for BPEL simple-invoke":
http://community.jboss.org/message/531728#531728
Author : Peter Johnson
Profile : http://community.jboss.org/people/peterj
Message:
--------------------------------------------------------------
I recently realized that I misread Feng's first response to my original question, specifically step 2. I thought that Feng was suggesting to add an Invoke action to the BPEL. Which is why I stated that Feng's steps were too simplistic - it takes a lot more that just adding an Invoke action.
But Feng was actually suggesting that I import the simple-invoke project into Eclipse and open it. Considering that I wanted a tutorial on how to *RECREATE* the simple-invoke project, I do not see how step 2 would do that.
This is one of the things that bugs me about a lot of the open source tutorials that I see. Many of them consist of the steps: "run this ant script and open the browser to this URL. Congratulations, you are now running XXX!" Oh really? And how does this impart knowledge of working with the technology to me? Without an understanding of how to build the app from scratch, I am pretty much left in the dark as to how to tackle a new project using that technology.
And the sad thing is that I know the person who developed that technology knows how to use it to to do wonderful things, but unless that knowledge is somehow communicated to us "unwashed masses", the technology will be either ignored or misused. (I have a working BPEL, but is it really correct or will I have issues later on I attempt to expand on it? I have no idea, because no one told me how the tool is supposed to be used. So I experimented with it and possibly used it the wrong way.) I have had this point pounded into my head by some very patient technical writers who over time helped me realize that without adequate documentation that is written in the user's language (i.e., not in technical jargon) and tells the user how to use the technology to solve his or her problem (i.e., does not just describe how wonderfully the code was architected), that my wonderfully written code that I was so proud of is pretty much useless.
The current tutorial is a good start. But considering that BPEL is a means for orchestrating web services, the tutorial is woefully inadequate. The minimum tutorial should show how to use the tool to invoke an external web service (i.e., build simple-invoke from scratch). That way the user will know how to use the tool to incorporate web service calls into his or her BPEL.
I apoligize if my tirade has offended, I guess my frustration level is really high right now. Is it happy hour yet? I need a beer!
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/531728#531728
16 years, 4 months
[JBoss Tools] New message: "Re: Tutorial for BPEL simple-invoke"
by Peter Johnson
User development,
A new message was posted in the thread "Tutorial for BPEL simple-invoke":
http://community.jboss.org/message/531720#531720
Author : Peter Johnson
Profile : http://community.jboss.org/people/peterj
Message:
--------------------------------------------------------------
I agree that BPEL is not very intuitive, but that is no reason why the editor cannot be.
For example, let's say we start with a new BPEL project. Then...
When the user creates the a new BPEL process file, why does the use have to edit the generated WSDL to add in the Service and the Binding? Instead, have the new BPEL Process File wizard ask the user what inputs and outputs they would like for the process and generate the complete WSDL accordingly.
When the user wants to add an Invoke to the workflow, after dragging the Invoke action to the workflow, the Assign Wizard should aks the user to identify the WSDL, and allow the user to indicate which variables contain the parameter information and will receive the return result. The tool will then a) copy the WSDL into the project, b) add a pertnerLinkType to the WSDL, c) add a pertnerLink to the BPEL, d) add the edditional variables to the BPEL, e) add the Assign actions needed to copy the data among the variables.
Doing similar wizards for the other actions or controls wouldprobably satisfy 80-90% if a user's requriements for defining a BPEL. And it would make doing that 80=90% fairly easy and intuitive. Then only users who need mopre advanced capabilities would need to understand BPEL in depth.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/531720#531720
16 years, 4 months
[JBoss Tools] New message: "Re: JBoss Tools 3.1 Final!"
by Arbi Sookazian
User development,
A new message was posted in the thread "JBoss Tools 3.1 Final!":
http://community.jboss.org/message/531719#531719
Author : Arbi Sookazian
Profile : http://community.jboss.org/people/asookazian
Message:
--------------------------------------------------------------
I'd like to upgrade. I believe I have 3.1.0.M4 (3.1.0.v200910281724M-H247-M4) currently. Is there an easy way to find out what version of a plugin you have without looking at all the folders in the eclipse\plugins folder? This is always such a pain.
I search for updates in Eclipse (it does not allow me to search for updates for particular plugins!)
I see JBossAS tools 2.1.0 and JBoss Tools RichFaces 3.1.0.GA but nothing else with 3.1.0.GA.
What is the best (and safest) way to upgrade?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/531719#531719
16 years, 4 months
[jBPM] New message: "Question About Forks and Modeling Rework Requests in jbpm4"
by Robert Moskal
User development,
A new message was posted in the thread "Question About Forks and Modeling Rework Requests in jbpm4":
http://community.jboss.org/message/531702#531702
Author : Robert Moskal
Profile : http://community.jboss.org/people/rmoskal
Message:
--------------------------------------------------------------
Hi all:
I've been modeling a process which is a pipeline in which one can always be sent back from the current state to a preceding one. This corresponds to a rework request. I handle this by having a decision node at that uses a variable expression to decide what node to target.
Everything works fine when I have a linear pipeline, but when I introduce forks and joins things become interesting. Here is a simplified version of a pipeline:
http://community.jboss.org/servlet/JiveServlet/showImage/2327/Screenshot-...
Things mostly work as I would expect. When my process is at activity *state2* and *state3* (right after the fork) and I signal state2 with "to rework" with *state1* as the target, indeed I get an active execution at *state1*. But if I then signal *state1* to go take the "to fork 1" transition jbpm comes back with a org.hibernate.exception.ConstraintViolationException as tries to execute *state3*. Now this makes sense to me since there is already an execution at *state3*.
I'm wondering what I should do about it. For my clients use case it would be acceptable to terminate the original execution at *state3*. But am curious as to whether anyone else has run into this sort of situation and what they've done to handle it.
Thanks and regards,
Robert Moskal
Brooklyn, USA
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/531702#531702
16 years, 4 months