Looks like this is a bug:
https://jira.jboss.org/jira/browse/JBPM-1471
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4171258#4171258
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4171258
I'm using Jboss Seam 2.0.1.GA with jbpm 3.2.3.GA.
I have a simple process that has a process-state in it. Sometimes, I need to
cancel the parent process instance, which should also cancel the child
(process-state) process instance, if the child happens to be open.
Once the child process is in
I have a state node that requires a specific time be set (e.g. at 16:00 instead
of 3 hours from now). I can achieve this via the following:
jpdl code:
|state name=Buffer period
| event type=timer-create
|action expression=#{orderFulfillmentWorkflow.setBufferDueDate} /
|
Thanks Pete, I have now filled a JIRA relating to this issue. I've also done
some further investigation and discovered that JBPM session is not null.
The NPE is caused by a call to getTransactionManager().getTransaction() in
Hibernates JTATransaction class that returns null. Its detailed in the
I've added an example ear and project source to the jira
And I've now posted on the jBPM forums too:
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126208#4126208
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126213#4126213
Reply to the post :
Hi, I've been using Seam 2.0.0.GA with jBPM 3.2.2 and have run into some issues
with executing timer tasks.
I have a simple process with a timer:
| ?xml version=1.0 encoding=UTF-8?
| process-definition xmlns=urn:jbpm.org:jpdl-3.1
|
I'm more than willing to take this task on, but I'll need some pointers on
where the cause of the problem lies and how to tackle it. This is now a
critical issue for my project, so any help at all would be greatly appreciated.
In addition, I think a related problem can be observed if, for
Thanks Pete. Let me know how you get on, or if you need anything else from me
to replicate the problem.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4116994#4116994
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116994
Unfortunately, this is still a major problem for me. I'd be grateful for any
suggestions you may have.
If you need any further info then please don't hesitate to ask.
Many thanks, Pete.
BTW Are you able to replicate this issue using the code I posted previously?
View the original post :
Thanks Jamie, I think we have slightly different problems (although possibly/
probably related).
I am deploying on JBoss AS 4.2.1.GA and my processes manage to complete
successfully, as long as I do not use jbpm timers.
My problem occurs when a jbpm timer fires and then I think it trys to
Hi Alex, thanks for your continued help.
Unfortunately, I get the same behaviour whether I initiate the JobExecutor via
a seam component or by using the JobExecutorServlet.
| 2007-11-14 11:58:05,675 ERROR [org.jbpm.db.JobSession]
org.hibernate.TransactionException: could not register
I'm a bit puzzled as to why my custom resource loader isn't being called for
anything other than page resource bundles. I'm using Seam 2.0.0.GA with Java 6:
components.xml
| ...
| component name=org.jboss.seam.core.resourceLoader
| property name=bundleNames
|
I'm using Seam 2.0.0.GA on JBoss 4.2.1.GA and have discovered that when I
include seam-pdf.jar (with jfreechart.jar and jcommon.jar) in the ear's lib
directory, and then press ctrl+c to shutdown JBoss I get the following error:
| 13:16:45,817 ERROR [STDERR] Exception in thread AWT-Windows
|
Ok I've solved that problem. Now I have a problem with seam caching resource
bundles.
I'm using Java 6 to do my resource bundle caching, so I want to remove, disable
or override the following method in org.jboss.seam.core.SeamResourceBundle.java:
|private Listjava.util.ResourceBundle
I'm using Seam 2.0.0.GA with jbpm 3.2.1.GA and have a simple timer process that
simple creates a task and if it is not completed by a user within 1 minute a
timer fires and progresses the workflow automatically, writing out messages to
the logs as it goes:
| ?xml version=1.0 encoding=UTF-8?
Thanks for the speedy reply.
I have set that property - heres my config in full:
jbpm.cfg.xml
| ?xml version=1.0 encoding=utf-8?
|
| jbpm-configuration
|
| jbpm-context
| service name=persistence
|factory
| bean
I'm trying to get a simple jbpm timer to fire in JBoss 4.2.1GA, Seam 1.2.1.GA
(using jbpm 3.1.4) with JSF RI 1.2 and RichFaces 3.1.1:
|task-node name=timerTest
| event type=node-enter
| action expression=#{timerTestWorkflow.logNodeEnter} /
| /event
| event
Ah, ok thanks, I've changed the timer definition to:
| timer duedate=1 minute transition=finished
| action class=uk.co.iblocks.midas.workflow.TimerTestWorkflow /
| /timer
|
which implements the ActionHandler and simply outputs a debug message. But the
behaviour
I've discovered that I'm missing a scheduler service. jBPM 3.1.4 provides a
SchedulerServlet that I had trouble getting to work out of the box, so I
created a Seam component that starts the scheduler instead.
This helps to some extent with Seam 1.2.1.GA integration, but be aware that
since
Thanks vtysh, that's true, but LongInstance is a sub-class of VariableInstance.
And it does define a value property:
| hibernate-mapping default-access=field
| subclass name=org.jbpm.context.exe.variableinstance.LongInstance
| extends=org.jbpm.context.exe.VariableInstance
If anyone has any ideas at all, I'd be very grateful.
Thanks again, Pete.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4063922#4063922
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4063922
I'm using Hibernate 3.2.2 and jBPM 3.1.4 in a Seam 1.2.1GA environment.
I have a problem with a query that should return VariableInstance entities
based on a particular name and value. The variable instance is actually an
instance of org.jbpm.context.exe.variableinstance.LongInstance.
The
For the needsReload method, I implemented a public boolean isDirty(Date
lastLoaded) on the resource bundle entity. It simply compares the lastLoaded
date to the last modified date stored on the entity (which is updated each time
a message in the bundle is updated).
If you do decide to reload
You can also retrieve the entity manager by calling:
| EntityManager em = (EntityManager) Component.getInstance(entityManager,
true);
|
Sorry that this posting is delayed, it sounds like you're pretty much there.
But here is a more expanded version of the steps I outlined earlier.
Has there been any further developments on this?
I'm starting to use sub-processes and it would be very convenient to have the
leaving transition of the process-state dependent on the end-state of the
sub-process.
So, if the queryProcess ends in a state of Details received I would like the
Overriding a built-in seam component was previously discussed in this thread:
http://www.jboss.com/index.html?module=bbop=viewtopict=101324
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043208#4043208
Reply to the post :
I have implemented a database resource bundle using entities in Seam - its too
verbose to post, but here are the steps to implement it:
1. Create the entity beans/ tables. To accurately match the ResourceBundle
concept, I created a Resource Bundle table and a child Resource Message table
(see
I'm not sure if I completely understand what you are trying to achieve, but why
not use something like facelets ui:repeat or tomahawks t:dataList component?
E.g.
| ui:repeat value=#{myBean.name} var=arrayItem
| h:inputText id=firstname value=#{arrayItem.firstname}/
| /ui:repeat
This is really just a jsf question, but you can acheive this just like
exporting to html - with one key difference, you must include the f:view tag
with a content type of text/xml. Although I have used facelet templates with
this technique, I assume the examples below can easily be adapted.
I'm new to using jBPM and am trying to query the jBPM database objects.
I run a query that returns summary data containing the process and the number
of tasks for the process. The summary data is displayed, however, the user then
trys to click a process to display a list of tasks for that
Thanks for the tip, is there a jBPM sub-forum of the Seam forum? I can't find a
link to it :(
I thought it was more relevant to the Seam forum than the jBPM forum as my
question is more about how to access jBPM database objects through Seam in a
conversation safe manner. Perhaps I wasn't clear
For anyone else that runs into this problem - it occurs because it is not
permitted to call a method of a List implementation - you can only access its
index. The following example will fail with the error mentioned previously.
E.g. SummingList.java
| public class SummingList extends
How would a subclass of org.jboss.seam.core.ResourceBundle be annotated in this
case - are the annotations below correct?
Also, would some extra configuration in components.xml be required too?
ExtendedResourceBundle.java
| ...
| @Scope(ScopeType.SESSION)
| @Intercept(NEVER)
|
I can confirm that the current cvs fixes the issue I was encountering.
Unfortunately, now it gets a bit further and fails. Any ideas on this one?
Cheers, Pete.
The ant output is listed below:
| ...
| [hibernate] 14-Feb-2007 11:44:37 org.hibernate.tool.Version clinit
| [hibernate] INFO:
The schema is called PBTEST and contains more than 40 tables and I've also set
the default_schema property via Seam setup (to avoid generating against system
tables).
I've just tried it against 1.1.6.GA and generation still fails, with the same
problem.
Is there anyway I can tell seam-gen
I've just started looking at seam-gen (with Seam 1.1.5 and Oracle XE) and it
fails when running the generate-entites task. It manages to build all the
entity beans, but breaks half way through building the xxxList.xhtml pages (it
does output about 10 files of an expected 40).
The error message
Thanks for the quick response.
Unfortunately, I've just updated to the latest cvs (list.xhtml.ftl is now
v1.11) and the problem is still present (with the same error as before). If
there's anything else I can try let me know.
Cheers, Pete.
View the original post :
If I understand correctly, then I should explain how navigation rules are
supposed to work. This is how your current setup will work: Your /index.jsp
will redirect to /home.seam which, in turn will map to a file in your war
called /home.xhtml which will then be rendered on the front-end. (Note
Not sure where I should post/ email this, but for your info the dvd demo at
http://dvdstore.demo.jboss.com/browse.seam is currently down (see trace below).
Hope to see it back up soon.
javax.ejb.EJBTransactionRolledbackException:
javax.persistence.PersistenceException:
Since moving to Seam 1.1 (b1, b2 and cr1) I've been getting
NullPointerExceptions when using the @RequestParameter annotation - I can
ignore these errors and the application continues to work. However, it is
filling up the logs.
It appears to occur when destroying a component that has been
Thanks Gavin. Just checked out the latest CVS head and that solves the problem
completely. Thanks to superflav for posting the testcase, too.
I wasn't using @EJB annotation but did do a jndi lookup for a different bean,
which is the same thing according to the JIRA issue. Sorry I didn't spot
Upon futher investigation, this appears to be related to using ajax4jsf. I can
revert back to a version without ajax4jsf that works, and then after
integrating ajax4jsf the problem previously outlined occurs.
I thought this may be caused by the view handler that ajax4jsf uses, but it use
the
I'm using seam 1.1beta2 (although the error occurs in 1.0.1.GA as well). I have
defined some page actions to setup some virtual pages so that two different
user types (standard and special) get redirected to a single sign-up page.
So, when a user goes to standardRegistration.faces they:
1. hit
I've got a web app built on JBoss Seam 1.0.1.GA that works fine. I've tried to
upgrade to both 1.1beta1 and 1.1beta2, but I get an error when seam trys to
inject a value.
I've stepped through some of the code:
extract from Component.java
| 1513 private void setFieldValue(Object bean, Field
Thanks for the prompt response. Perhaps what I'm doing is a little unusual.
I've created a simple way to update resource bundle messages that is intended
to be a stop-gap until java 6 sorts out ResourceBundles.
My application also has a login component that takes a username and password.
But
Unfortunately, cvs head (includes Component.java version 1.206) doesn't seem to
solve the problem. I get exactly the same error.
If you still want me to, I'll look into building a test case sometime tomorrow.
Not fully understanding the error, it may take me a little while to get the
test case
I'm using JBoss 4.0.5 configured to use ejb3 via the jems installer.
I have a web application based on the myfaces JSF implementation combined with
icefaces community edition 1.0.1 and facelets, which deploys without error into
jboss. The package structure is defined below:
| web.war
| +
Hi Todd,
I'm just starting to look at integrating Seam and ajax4jsf. It would be great
if you could email me a working example of the two working together (or better
still add a wiki entry). My email address is peter (at) iblocks.co.uk.
Thanks in advance for saving alot of head scratching,
I've got a strange bug in my seam application. If a user clicks on many
different links in quick succession then they can frequently get seam to break
with the stacktrace below.
Any ideas why this may be happening and how to prevent it? I'm using Seam
1.0.1GA in tomcat without using pageflows.
Thanks for the JIRA tip-off.
Any work-arounds, ideas for work-arounds or hints for where to get started on
looking how I can resolve the issue?
This is a fairly major bug for me, so any hints you can throw my way would be
good.
View the original post :
50 matches
Mail list logo