[JBoss jBPM] - Re: fault never reaches catchall
by meghanai_99
I built the jbpm-jpdl.jar locally using the cvs repository I have checked out. After copying that file to default\lib I get this exception -
| 14:28:08,571 ERROR [JobExecutorThread] exception in job executor thread. waiting
| 320000 milliseconds
| java.lang.IllegalStateException: DOT node with no left-hand-side!
| at org.hibernate.hql.ast.tree.DotNode.getLhs(DotNode.java:559)
| at org.hibernate.hql.ast.tree.DotNode.getDataType(DotNode.java:534)
| at org.hibernate.hql.ast.tree.BinaryLogicOperatorNode.extractDataType(Bi
| naryLogicOperatorNode.java:168)
| at org.hibernate.hql.ast.tree.BinaryLogicOperatorNode.initialize(BinaryL
| ogicOperatorNode.java:35)
| at org.hibernate.hql.ast.HqlSqlWalker.prepareLogicOperator(HqlSqlWalker.
| java:1014)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.comparisonExpr(HqlSqlBaseWal
| ker.java:3992)
|
Can anyone please tell me what else I need to create new? jbpm-bpel.jar is already built using the source code so the mapping files should have been correct :(
Meghana
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043008#4043008
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043008
18 years, 12 months
[JBoss Seam] - Re: Trinidad 1.0.0, Seam and JBoss 4.0.5
by stephen.friedrich
"petemuir" wrote :
| anonymous wrote : I noticed that seamdiscs puts the myfaces api jar in the ear and only the impl jar in the web module. That's a combination I have not yet tried. Will check if that works this evening.
|
| I take it you mean trinidad? Thats needed so that you can get at the trinidad model classes (such as TreeModel) from your business layer)
|
Doh - of course I meant trinidad.
Even better: This approach also works for 4.0.5: myfaces completely in server's default location and trinidad impl in WEB-INF/lib and the api jar in the ear. Doh.
So for the record: Seam and trinidad do work with myfaces on JBoss 4.0.5.
Well, now there are lots of other smaller issues that I have to deal with one by one, like trinidad components no longer accepting br tags (wrapped in verbatim) - that were ugly hacks anyway ("expected UIXCommand but found another type of component instead").
Plus all our styles seem to be lost so the app is quite ugly currently.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043006#4043006
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043006
18 years, 12 months
[EJB 3.0] - design pattern for canceling an EJB3 timer
by ajay662
I need some advice on how to cancel an active EJB3 timer. Currently below is the flow of things in my application
1. Client schedules a task via SLSB.
| 2. SLSB validates task parameters and queues a JMS msg, passing it the Task Object.
| 3. Corresponding MDB gets the JMS message and depending on scheduling params starts a timer for the task.
| 4. On timer expiration the @Timeout method on MDB is called, which executes the task
In between 1 and 4, client my request to cancel this task via SLSB. In this case SLSB will set the 'cancelRequested' flag on the Task Object.
In 4 above, the MDB @Timeout method checks if the 'cancelRequested' flag is set. If cancel is requested it wouldn't perform the task and if this timer was of a recurring nature it will also cancel the timer.
|
Problem is user has to wait till next timer expiration (i.e. until @Timeout method is called) to see if the task was successfully canceled. I need a way to cancel the timer right away when user requests to cancel the task. In order to cancel the timer, I need the TimerHandle. How can I access the TimerHandle to be able to cancel the timer right away?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043003#4043003
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043003
18 years, 12 months
[JBoss Seam] - Re: While Seam is great, is any weakness of this framework?
by petemuir
"fperedo" wrote : Maybe it is just me.. but I feel that lines between "cant be done without J2EE5" and "can't be done without the microcontainer" and "can be done with just tomcat" are blurry... perhaps if the documentation included some kind of feature matrix comparing the functionality of seam on each case? (also... if it can be deployed to tomcat shouldn't that mean it should be easy to deploy pretty much everywhere?)
Feel free to raise a JIRA issue and someone can review this. Forum posts tend to get lost, putting it in JIRA means it will get looked at :)
"fperedo" wrote : The thing I don't like about seam-gen, is that I feel like my applications gets to have lots of code I don't quite understand... and therefore... if something it that generated code fails... its going to be really hard to fix... I would like to be able to build a really really simple example and add stuff to it, to understand exactly what is done by each piece of the project...
pretty much *everything* in a skeleton seam app is necessary! Ok, i guess you drop the security stuff, but the rest...
"supernovasoftware.com" wrote : Is there anyone else working on this? From the jira issue is appeared that there was a need.
not afaik. i would expect this in a later beta of 1.3 or even a 1.3 point release. or perhaps shane has it up his sleeve ;) i agree its impotant, and if its not being looked at in June, I'll push for it.
"vwu98034" wrote : In general, I will use a framework with a great flexibility that allows me to integrate other technologies easily.
whilst seam doesn't have as many integrations as version 1 million of some other frameworks at the moment, it has a very strong base that makes integrations great! seam's ws support will not only add ws (obviously!), it will also add a model for integrating seams conversations with non-jsf/ejb3 participants which we can then use in many other situations - for example a seam conversation conducted via email.
otherwise: bpm, rules, email, pdf, richfaces, icefaces, ajax4jsf, trinidad, gwt- the list goes on!
"fperedo" wrote : I will have to integrate part of my projects with Flex, so I have to use eclipse (Flex is an eclipse plugin) if it werent for that, I would prefer to use Netbeans IDE
Interesting you mention flex - we should definitely have a flex/seam example (using seam remoting).
And yes, use ant and seam-gen in eclipse! ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043001#4043001
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043001
18 years, 12 months