[jboss-user] [JBoss jBPM] - Re: Mutiple timers in a task node problem

2009-05-01 Thread trouby
Hello, I had exactly the same problem with multiple timers in the same task node, Is there a solution for that problem? is it a known bug? Thanks, Asaf. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4227605#4227605 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars

2009-02-04 Thread trouby
Eh, Sometime too much thinking leads to complicating ideas, I just performed a select on the variables, each variable references the process its attached to so it's easy to fetch the process from the loaded var. Asaf. View the original post :

[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars

2009-01-29 Thread trouby
Yes, I thought so, but I have no idea how to do that since there is no direct association between processinstance-vars, there's a context in the middle that is associated with a MAP of vars, Is there any example or something similar somewhere? Many thanks, Asaf. View the original post :

[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars

2009-01-28 Thread trouby
I like storing the data in the process itself, The process itself makes a usage of the process vars (for decisions for example) and it makes my programming much easier (instead of loading few domain models I just load the process and thats it) I have thousands of processes, having almost

[jboss-user] [JBoss jBPM] - Finding process instances by vars

2008-12-29 Thread trouby
Hey, Is there an easy way to find process instances by variable namessvalues? Thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4198808#4198808 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4198808

[jboss-user] [JBoss jBPM] - Process comments

2008-12-22 Thread trouby
Hey, I can see that it's possible to add comment(s) to a task instance, Is there any way to retrieve the list of comments of the entire process (comments from all previous tasks?) I couldn't find any methods related to that, Thanks, Asaf. View the original post :

[jboss-user] [JBoss jBPM] - Re: Process comments

2008-12-22 Thread trouby
Yeah, sounds good enough, Thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4198100#4198100 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4198100 ___ jboss-user

[jboss-user] [JBoss jBPM] - Storing process instance creator

2008-12-15 Thread trouby
Hey, As apart of the identity, I think it is valuable to allow the option to store the creator of a process (in case a process was started by a person) and add functionality like retrieving all processes that were started of a certain person, It is common to retrieve processes via the

[jboss-user] [JBoss jBPM] - Re: Tying domain objects to JBPM Processes

2008-12-15 Thread trouby
Well, It depends on your flow, If you first work with your data models and want to load the process based on the active DOs you are working with, store the JBPM key/id in your data model, If your flow start with working on business processes, and based on the business processes you want to

[jboss-user] [JBoss jBPM] - Re: Storing process instance creator

2008-12-15 Thread trouby
Thanks for the tip, Well, it depends on the requirements I guess, I have a system where the requester want to track what's happening with their processes and understand where a process stuck, why, etc... So I have somehow to display the requester only the relevant processes, Thanks, Asaf.

[jboss-user] [JBoss jBPM] - Re: How to define a process definition that has multiples su

2008-12-15 Thread trouby
Where is that example? I would like to take a look at it as well, Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4196662#4196662 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4196662

[jboss-user] [JBoss jBPM] - java.sql.SQLException: You cannot commit during a managed tr

2008-11-26 Thread trouby
Hey, I have created a very simple seam component that injects the jbpmContext and uses it to create the schema, this is the code: | @name(workflowManager) | public class WorkflowManager { | | @In | private JbpmContext jbpmContext; | | | public void createJbpmSchema() { |

[jboss-user] [JBoss jBPM] - Re: java.sql.SQLException: You cannot commit during a manage

2008-11-26 Thread trouby
Hey, Thanks for the quick reply, I know that, but according to: 7.1.3. Managed transactions in the manual, JBPM can be configured not to commit transactions at all when jbpmContext.close() is invoked. This is also described here: http://www.jboss.org/community/docs/DOC-11090 So what causes

[jboss-user] [JBoss jBPM] - Re: java.sql.SQLException: You cannot commit during a manage

2008-11-26 Thread trouby
Hey, Not that I'm very familiar with JBPM's source code but here's the code of createSchema: | public void createSchema(String jbpmContextName) { | JbpmContext jbpmContext = createJbpmContext(jbpmContextName); | try { | Services services = jbpmContext.getServices(); |

[jboss-user] [JBoss jBPM] - Re: java.sql.SQLException: You cannot commit during a manage

2008-11-26 Thread trouby
Yeah, Probably because it involves of creating tables, so Hibernate commits it just after, Well, I'll find another solution it's not a big deal, I just wanted to make sure that this is only for the schema related functionality and JBPM is not going to manage the transactions by itself when

[jboss-user] [EJB/JBoss] - Problem with transaction management.

2008-11-26 Thread trouby
Hey, I have a stateless EJB3 class that configured with a timer, When the timer times out, it invokes several methods, At the end, it perform some modifications via EntityManager and commits the transaction, My problem is that in the middle of that long running method that times out, I have

[jboss-user] [JBoss jBPM] - JBPM and Managed Container Transactions

2008-11-24 Thread trouby
Hey, I am trying to make JBPM to work smoothly through EJB3 components with no success, After invoking very simple methods through a stateless EJB3 such as: | ProcessInstance pi = jbpmContext.loadProcessInstance(spmlTask.getWorkflowProcessId()); | I'm getting errors such as: |

[jboss-user] [JBossMQ] - MessageDriven component stops listening to the queue

2008-10-28 Thread trouby
Hey, We have a small EJB3 with a method based on timer that sends JMS messages as follows: | @Stateless() | public class ScannerBean implements ScannerLocal { | @Timeout | public void sendMessages(Timer timer) { | InitialContext ctx = new InitialContext(); | queue = (Queue)

[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob

2008-03-25 Thread trouby
Great, I wouldn't never imagine that this flag is related to WS encoding, Many thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138763#4138763 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138763

[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob

2008-03-17 Thread trouby
Hey, I performed some tests and now I am sure there's encoding problem but I'm not sure on which size, I've created the simplest WS .NET method with one string parameter and after calling the WS method, on the .NET side I see gibberish instead of UTF8 encoded string, Please note, English

[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob

2008-03-14 Thread trouby
Hey, Well, something is wrong, I have a file saved as unicode, I read the content of the file into a java String variable and pass it to the WS, I see gibberish on the other side (C#), Is there any way to investigate it? are there any WS testcases in C#/.NET and WS client code in java so I

[jboss-user] [JBossWS] - communicating with WS in c# thorugh Java - encoding problem

2008-03-13 Thread trouby
Hey, I have a simple .NET ws based on WCF technology with some simple method which expect an object that has few string properties, I have created the relevant artifacts with wsimport and everything works as expected, The string property is encoded with UTF-8, for some reason, on the .NET ws

[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...

2008-03-04 Thread trouby
Hey, That what I was looking for, It doesn't really matter for me if the logic is done via an action or a custom node type as long as there's a possibility to create 'different' gui nodes, Where can I find the example? including the GPD customizations? and btw, is it also possible to modify

[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...

2008-02-29 Thread trouby
Cool, btw, the reason I was trying to do everything through different type of nodes is the designer, At the end, I would like to see a designer with different type of nodes that are draggable, and have different behavior, With the suggested way here, in the future, the designer will still

[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...

2008-02-28 Thread trouby
Hey, Well, the designer is not so easily extend able, I better leave it for now, What about extending the default node, but having more tags specified in its body? aint there an example for that? I hope there is, I also hope that the engine delegates the XML tags to the node execution itself

[jboss-user] [JBoss jBPM] - Less coding by custom nodes/jrules/etc...

2008-02-27 Thread trouby
Hey, I'm finding myself writing a lot of processes nodes that make a usage of the same java code but with very simple modifications, Then, I think writing custom nodes that will receive information(probably as parameters of the custom nodes) when drawing the node will solve the code re-write,

[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...

2008-02-27 Thread trouby
Hey, Thanks for answering, Few reasons: 1) In the future, it'll be easier to customize things visually through nodes, selecting handles is not nice as dragging nodes, 2) Customizing parameters of nodes can be done visually, handlers receive info as method parameters, which is not nice as

[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...

2008-02-27 Thread trouby
Hey, I already read the whole doc from top to bottom :) I'll try to download the source code, hopefully there's a full sample (custom node/process that make a usage of the custom node, etc...) I thought that this is something very common, Thanks, Asaf. View the original post :

[jboss-user] [Beginners Corner] - Re: IP address

2008-02-27 Thread trouby
Yeah, Jboss binds itself to localhost by default, If you want, you must set the binding parameter and specify the IP you would like JBOSS to listen to (this is relevant to many JBOSS services, 0.0.0.0 meaning all available IPs), I guess this is mainly for security reasons :) Asaf. View the

[jboss-user] [Beginners Corner] - Re: Windows vs Linux

2008-02-27 Thread trouby
Yeah, Same goes here, I was checking Jboss in Win/Linux(many different kind of distributions) and the results were pretty equal, I still would suggest to go for Linux, Mainly because it's easier to start it as a service rather than installing Native pkg/using external service loaders...

[jboss-user] [Beginners Corner] - Re: richfaces richTree can't get item.type!

2008-02-27 Thread trouby
Hey, You have some tree examples that are working perfectly in the samples war file, If you need more specific help you better ask in Richfaces forum, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132641#4132641 Reply to the post :

[jboss-user] [Beginners Corner] - Re: Deploying .EAR files fails with [HDScanner] Scan failed

2008-02-27 Thread trouby
I would suggest you to take a look at class: EARStructure.java, line 155, But Jboss should never throw a NPE anyway, So you better open a ticket in JIRA :-) Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132643#4132643 Reply to the post :

[jboss-user] [Beginners Corner] - Re: JBOSS SSO Authentication with Windows

2008-02-27 Thread trouby
SSO? Are you talking about transparent authentication through Windows? If so, yeah, you can use JCIFS , I used it a lot, btw, are you using Seam by any chance? Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4132645#4132645 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Less coding by custom nodes/jrules/etc...

2008-02-27 Thread trouby
Hey, Can't I just have my own node type? maybe extended from the generic node available in JBPM like there's / task-node I would like to have my own node tag, fully described differently, with different tags and parameters? Thanks, Asaf. View the original post :

[jboss-user] [JBoss Tools (users)] - Re: Seam Validator

2008-02-06 Thread trouby
Well, weird, here it's going through all the files, one after another everytime I save a file, Well, I just noticed I'm using RC1 instead of GA ver, then I'll try to upgrade and see the result, Many thanks, Asaf. View the original post :

[jboss-user] [JBoss Tools (users)] - Re: Add/Remove projects to Server

2008-02-06 Thread trouby
Yeah, I know what is the System Copy Server for, I'm using RC1, btw, it is impossible to uninstall the tools from eclipse nor upgrade, So I hope it's fixed in GA, Anyway, according to this: http://in.relation.to/Bloggers/JBossTools20GAGoesFinal It seems like the upgrade is much easier with

[jboss-user] [JBoss Seam] - Identity Management?

2008-02-06 Thread trouby
Hey, Seems like the IdentityManagement paragraph does not exist anymore (nor in doc/seam-gen/etc...), Is it deprecated or what? Thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4127070#4127070 Reply to the post :

[jboss-user] [JBoss Seam] - Restrictions in pages

2008-02-06 Thread trouby
Hey, I was wondering if it's possible to restrict pages by pattern and use sort of exclude for specific pages, for instance, I would like to do something like: {code} page view-id=* #{s:hasRole('member')} {code} but add sort of exclude for the login page/other public pages,

[jboss-user] [JBoss Tools (users)] - Add/Remove projects to Server

2008-02-05 Thread trouby
Hey, I have configured Jboss AS 4.2 server and associated a seam project to it, In the association form, I see my EAR projects hierarchically with the web/-ejb projects beneath it which good as in deployment time I see under Jboss deploy dir 'myproject-ear.ear' dir with both .war/.ejb

[jboss-user] [JBoss Tools (users)] - Seam Validator

2008-02-05 Thread trouby
Hey guys, Everytime I save a file I see in the progress panel: 'Seam Validator, Validating: project myproject; EL in xxx.xhtml' Is this a normal behavior? I have many facelets files, this validation process it takes a lot of time, Many thanks, Asaf. View the original post :

[jboss-user] [JBoss Tools (users)] - Re: Add/Remove projects to Server

2008-02-05 Thread trouby
Hey, So first, why there's a difference between Jboss 4.2 server and the 'Jboss System Copy Server' projects layout? Second, then I guess it is not working as expected, I have created a new seam project through jboss tools packed as an EAR, so I got the following projects: - myproject -

[jboss-user] [JBoss Tools (users)] - Re: Seam Validator

2008-02-05 Thread trouby
When I save a file it validates all files within the project, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126813#4126813 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126813

[jboss-user] [JBoss Seam] - Project layout suggestion

2008-02-04 Thread trouby
Hey, Just a suggestion, I think it could be wise to have the same project layout when generating a new Seam project with seam-gen and jboss tools, seam-gen creates one project while jboss tools creates 4 projects, I guess both offering about the same functionality but it would be nice if

[jboss-user] [JBoss Seam] - Re: Project layout suggestion

2008-02-04 Thread trouby
Seamgen can also archive the jar/war/ear individually, so I think it's also ok, but I agree regarding the clean separation and the need, Thanks for the reply :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4126191#4126191 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Dynamic Entity Beans

2008-02-04 Thread trouby
AFAIK it is impossible to generate facelets pages via other storage formats but simple files, Facelets templates/include functionality is very strong, but is only based on files, btw, I also asked these questions in Facelet's forum, Asaf. View the original post :

[jboss-user] [JBoss Tools (users)] - Re: Jboss Tools - Few first questions

2008-02-04 Thread trouby
Hey, anonymous wrote : | When the server is running there is a Restart button in the main toolbar. Yeah - should probably be in the menu too (report in jira - thanks) | | Note: that besides restart we also have the touch functionallity which touches the relevant descriptor depending on

[jboss-user] [JBoss Tools (users)] - Jboss Tools - Few first questions

2008-02-04 Thread trouby
Hey, I have few first questions regarding the plugin: 1) Right click on the server - I can't see a way to restart the server, only stop/start, is there a restart button somewhere? 2) I upgraded Jboss with Jboss WS ver 2, but for some reason, when starting the server through 'Jboss Server

[jboss-user] [JBoss Seam] - Re: Project layout suggestion

2008-02-04 Thread trouby
Great, Although I see the current structure of seam-gen much easier, 4 different projects is too complicated and confusing in my opinion, Well, happy to see the ticket already exist, thanks :) Asaf. View the original post :

[jboss-user] [JBoss Seam] - Re: Wiki - Seems like it's not an example anymore :)

2008-01-31 Thread trouby
Uh? he opened all tickets related to Wiki? there are sooo many, (Heh, maybe we need to set him his own JIRA :P) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4125084#4125084 Reply to the post :

[jboss-user] [JBoss Seam] - Seam + Ajax4JSF - The conversation ended, timed out or was

2008-01-30 Thread trouby
Hey, I'm not sure yet why, but sometimes ajax calls are being processed very slowly for me, So if the user press another button while an ajax call is being processed, I get: The conversation ended, timed out or was processing another request, It is of course logical, but since sometimes I

[jboss-user] [JBoss Seam] - Re: Poll: what JSF framework are you using with Seam?

2008-01-30 Thread trouby
Hey, In my opinion, Richfaces works best with Seam as it is tested very well, we have built a huge application based on Richfaces and it works perfectly, I think the integration between RF and Ajax4Jsf is best and you can find beneficial from both world together and combine nice stuff with

[jboss-user] [JBoss Seam] - Wiki - Seems like it's not an example anymore :)

2008-01-30 Thread trouby
Hey, It seems lately that a lot of Seam tickets related to feature requests for the Wiki example, I think most of the people trying to keep updated with Seam through its changelog, As Seam is very active, it's very hard to keep updated of each ticket when there are so many, Just a

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-05 Thread trouby
gus888 wrote : [EMAIL PROTECTED] wrote : Have you taken a look at the way seam-gen does it? It produces a pageable, bookmarkable search screen that saves the search criteria without using a conversation. | I went through all seam examples, and I found the following search beans: | | 1.

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-04 Thread trouby
[EMAIL PROTECTED] wrote : trouby wrote : Well, sorry for being so annoying but I still don't get the point, If I have buttons that should start a conversation, propagation='none' is not an option | | Normally I find that you don't want to start a new conversation whilst another one

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2008-01-01 Thread trouby
Alright, Well, sorry for being so annoying but I still don't get the point, If I have buttons that should start a conversation, propagation='none' is not an option, big part of my buttons start a new conversation, so no matter what, I find myself adding join=true, at least for these buttons,

[jboss-user] [JBoss Seam] - Re: Flex + Seam example not working

2007-12-31 Thread trouby
Hey, I'm not sure what went wrong for you but I tried the example and it works pretty well, it requires extra code(transferring objects between both sides is not that easy) and it's not safe typed with the approach that is used in the example, If you are planning to heavily use these both

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-31 Thread trouby
Hey, I still don't get it, what about links that -should- start a new conversation? is it possible to combine begin/end annotations together for the same method? like ending the current conversation and starting a new one? btw, I have a seam link which invoke an method that is annotated with

[jboss-user] [JBoss Seam] - Re: How to control end of conversations/state of stateful be

2007-12-31 Thread trouby
So if the same method that is annotated with @begin is invoked within the same bean -instance- a new conversation is created without exception? what's the difference between a new conversation starting from the same bean instance or from different bean instance? why the behavior is different?

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - OnetoMany - cascade all

2007-12-30 Thread trouby
Hey, I think I have a very basic confusion regarding cascade, I have the following simple relationship: | public class message { | | private SetComment comments; | | @OneToMany(mappedBy = message, fetch = FetchType.EAGER, cascade = CascadeType.ALL) | public SetMessageComment

[jboss-user] [JBoss Seam] - Re: persist entities problem

2007-12-26 Thread trouby
Yeah, Hibernate forum is better, But just to give you directions, what DB type are you using? is your DB supports sequences at all? (if you'r using Mysql, better go for '@GeneratedValue' which will create the PK column with mysql's auto_incremental. Asaf. View the original post :

[jboss-user] [JBoss Seam] - How to control end of conversations/state of stateful beans

2007-12-26 Thread trouby
Hey, I find myself using @Begin(join=true) almost anywhere I want to start a conversation, The main reason is that I cannot be sure that I'm out of a conversation, If a user clicked on some button that started a conversation, how can I control the end of the conversation? I have somehow to

[jboss-user] [JBoss Seam] - Re: ProcessList in seam

2007-12-26 Thread trouby
Although it could be amazing to integrate Seam/jbpm4jsf/jbpm forms all together :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4115501#4115501 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4115501

[jboss-user] [JBoss Seam] - Very strange conversation behavior

2007-12-26 Thread trouby
Hey, I'm having a very very strange conversation behavior, Following is the scenario: I have the following stateful bean: | @Stateful | @Name(personActions) | public class PersonActionsBean implements PersonActions{ | SetAttr attrs = new LinkedHashSetAttr(); | //getAttrs() |

[jboss-user] [JBoss Seam] - Re: Hibernate + Groovy

2007-12-15 Thread trouby
Yeah, that is for sure the case, sounds good! thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113147#4113147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113147 ___

[jboss-user] [JBoss Seam] - Forms - JBPM with Seam

2007-12-14 Thread trouby
Hey, JBPM offers forms functionality (I never used it and it's not so documented but it seems that it's available through the jbpm designer) Is there any integration between JBPM forms and Seam? I would really like to keep some of the data within the jbpm process itself (without outjecting

[jboss-user] [JBoss Seam] - Re: JBPM and Seam problem

2007-12-13 Thread trouby
For deployment only? what do you mean by that? So what came out of this ticket? none yet? So what is the best practice in production use right now? modify components.xml, deploy, then clean components.xml?, this sounds too dirty to me.. Anyway, I would like to deploy processes out of my ear

[jboss-user] [JBoss jBPM] - Re: Assigning a task to pooled-actors via context var

2007-12-13 Thread trouby
huh? It's just a simple string var I outjected (via seam) into the process instance, I can see the var within 'variableinstance' table of JBPM (type string, simple string value... etc...) there must be an easy way to do this, isn't ContextInstance somehow available within the process

[jboss-user] [JBoss Seam] - Re: Injecting Business Process context scoped variables

2007-12-13 Thread trouby
Hey, Can anyone comment on this? (I'm having the same problems...) Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112559#4112559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112559

[jboss-user] [JBoss Seam] - Re: JBPM and Seam problem

2007-12-13 Thread trouby
Alright, and nah, it's not working, I already tried it, Jbpm does not load itself when server starts with empty 'bpm:jbpm /' tag, (jbpm starts at the moment I make a use of it in runtime, but that causes transaction exceptions when it's done on later stages) so as a workaround I just left an

[jboss-user] [JBoss Seam] - Re: Hibernate + Groovy

2007-12-12 Thread trouby
Sure, Thank you for your answer Emmanuel, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4112252#4112252 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4112252 ___

[jboss-user] [JBoss Seam] - JBPM and Seam problem

2007-12-12 Thread trouby
Hey, I was wondering why Seam deploys each jbpm process every time I start JBossAS, that's the normal behavior? after few restarts JBPM tables looks too dirty, I think it would be wise to check the version of the process somehow and only deploy when a change occurs, Anyway, I tried to avoid

[jboss-user] [JBoss jBPM] - Assigning a task to pooled-actors via context var

2007-12-12 Thread trouby
Hey, In creation time of a process instance I set a variable (lets name it 'username'), Then in the middle of the process I have a task node with a task which I want to assign to an actor based on the value of the 'username' variable which available in the context, I tried something like:

[jboss-user] [JBoss Seam] - Hibernate + Groovy

2007-12-11 Thread trouby
Hey, My question is more related to HibernateGroovy but since I mix it all with seam / seam provides examples with groovy I felt like it's ok to ask my question here :) I have looked at the hotel booking example with groovy and it seems to work fine, but at the moment I'm trying to write an

[jboss-user] [JBoss Seam] - Cache problem with Seam EntityQuery

2007-11-28 Thread trouby
Hey, I have a list of entities(tasks) I manage via a seam component which extended from Seam EntityQuery, These tasks are sometimes gets updated via an EJB (Not seam) method which is triggered via EJB's time resource, Refreshing the task list -sometimes- showing old state of data although

[jboss-user] [JBoss Seam] - Re: Cache problem with Seam EntityQuery

2007-11-28 Thread trouby
well, if EntityQuery is a pojo then yes, I didn't change the scope, If I'm in a conversation, then the persistence context is in conversation scope although my class inherited from EntityQuery is in event scope? this is confusing :-) Well, back to the question, sometimes it's hard to truck if

[jboss-user] [JBoss Seam] - Custom JSF Validator/Converter with EntityManager

2007-11-22 Thread trouby
Hey, I would like to create a jsf validator/converter that should involve some db queries/modifications, Is it possible elegantly to use Seam's entityManager somehow? There's entityConverter out of the box coming with Seam which probably make a usage of it, not sure how exactly it works,

[jboss-user] [JBoss Seam] - Re: Custom JSF Validator/Converter with EntityManager

2007-11-22 Thread trouby
Uh damn, missed the validator/converter annotations, it's documented, Thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107225#4107225 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107225

[jboss-user] [JBoss Seam] - Re: Custom JSF Validator/Converter with EntityManager

2007-11-22 Thread trouby
Hey, Careful of what? Component.getInstance? what component? where? could you give a little bit more details? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107219#4107219 Reply to the post :

[jboss-user] [JBoss OSGi] - Re: OSGi features

2007-11-16 Thread trouby
Eh, pity, I think that this is strength of OSS over commercial development, Nuxeo's projects are all LGPL, which exactly the same license Jboss uses, Seems like they are planning A LOT with their new Runtime environment related to OSGI, Take a look:

[jboss-user] [JBoss Seam] - Re: Modular pluggable components application

2007-11-14 Thread trouby
Hah, was my post looks like I'm an embittered developer? :-) I was curious if there are any known architecture designs which can assist in modular pluggable components deployment, Main points are: - pluggable components activation/de-activation - Affect already installed components behaviors

[jboss-user] [JBoss Seam] - Modular pluggable components application

2007-11-13 Thread trouby
Hey, I'm trying to build an application platform which all of its layers can be affected by pluggable components, I assume such a design could be achieved if each component (in my example seam component) can be affected by some kind of external packages, There are few problems I see around

[jboss-user] [JBoss OSGi] - Re: OSGi features

2007-11-13 Thread trouby
Hey, As I see the last replies to this post are only month ago so I guess things are in progress now :-) I think OSGI implementation is very important, Geronimo, Jonas/WS/etc.. are already there so it'll be great having it in Jboss too! I have some points which I think could be real

[jboss-user] [JBoss Seam] - Seam Framework, slow behaviours

2007-11-05 Thread trouby
Hey, I developed an application that is heavily based on Seam Framework with hibernate/oracle server running under Jboss 4.2.1, I get very slow behaviors when searching / loading lists of entities by using EntityQuery, I guess this is not directly related to the framework but I rather

[jboss-user] [JBoss jBPM] - Re: Emails with pooled-actors assignment

2007-09-07 Thread trouby
Any more information about the addressresolver ? I could just see that it should extends some interface and resolve the email from the actor name, how do I get the assignment handler, what about the custom resolver per assignment? this link:

[jboss-user] [JBoss jBPM] - Emails with pooled-actors assignment

2007-09-07 Thread trouby
Hey, I have many tasks with pooled-actors assignments, Assuming I have a task within a task-node, Is it possible to do something like: | task name='aaa' notify='yes' / | assignment pooled-actors=#{seamPoolActorResolver()}/assignment | /task | And write an

[jboss-user] [JBoss Seam] - SeamGen+EntityQuery - 'argument type mismatch'

2007-08-28 Thread trouby
Hey, I have a simple entityList class inherited from EntityQuery, Everything seems to work fine with pagination, search ,etc... as seamGen generates this just fine, but I can't seems to find a way to add a search parameter that is an entity and not a primitive datatype, so here's an

[jboss-user] [JBoss Seam] - Re: SeamGen+EntityQuery - 'argument type mismatch'

2007-08-28 Thread trouby
Another test of the same thing resulted a 'classCastException', almost same seam stacktrace, but here are the important lines again: | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:619) | Caused by:

[jboss-user] [JBoss Seam] - Re: SeamGen+EntityQuery - 'argument type mismatch'

2007-08-28 Thread trouby
Well, I actually tried almost anything possible that is elegant enough, I also tried to a add the referenced entity as a property for the EntityQuery but nothing, | Address address; | | getter/setter | and in the view I have added an EntityConverter for this address via a

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate with Oracle10g, Inheritance issue

2007-08-14 Thread trouby
Hello, I have an abstract class (Base) that looks as follows: | @Entity | @Table(name=MyTable) | @Inheritance(strategy=InheritanceType.SINGLE_TABLE) | @DiscriminatorColumn(name=OVERRIDE_LEVEL) | | class abstract Base { | some properties here | .. | .. | } | Then

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Setting the ID of the entity manually before persist

2007-08-09 Thread trouby
Ye, I figured it out, I just need it for initial data, and I wanted to keep the IDs synchronized, Well, thanks :) Asaf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072632#4072632 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Setting the ID of the entity manually before persist

2007-08-06 Thread trouby
Hello, I have some simple entities with ID annotated as: | @Entity | @Table(name=MY_TABLE) | public class MyEntity { | private Long id; | | @Id @GeneratedValue | @Column(name=ID) | public Long getId() { |return id; | } | | public void setId(Long id) { |

[jboss-user] [JBoss Seam] - Re: s:convertEntity - EntityManager is closed.

2007-08-01 Thread trouby
Here: component.xml | factory name=guiSystems value=#{guiSystemsQuery.resultList} / | framework:entity-query name=guiSystemsQuery | ejbql=select s from System s | order=s.displayName asc/ | in view: | s:decorate template=layout/display.xhtml |

[jboss-user] [Beginners Corner] - lo4j levels with Jboss App server

2007-08-01 Thread trouby
Hey, I have some classes which I've added a static reference to the logger as: | private static Logger logger = Logger.getLogger(MyClass.class.getName()); | where MyClass full pkg is rootPkg.subPkg.MyClass Then I simply use the logger in many places by invoking logger.debug(message),

[jboss-user] [JBoss Seam] - Seam from CVS with Jboss 4.2.0

2007-07-31 Thread trouby
Hey, I tried to upgrade seam (from beta to current cvs version), When jboss start, I get the following JBPM related exception, any clue? | 11:23:01,671 INFO [Contexts] starting up: | org.jboss.seam.remoting.remoting | 11:23:01,687 INFO [Contexts] starting up:

[jboss-user] [JBoss Seam] - Re: s:convertEntity - EntityManager is closed.

2007-07-31 Thread trouby
Hey, I upgraded to CVS version and the entityManager error stopped from hapening, but I have encountered another issue, when I add a search parameter to the EntityQuery that has a s:convertEntity tag, + the parameter within the myList.page.xml file, submitting the form results a argument type

[jboss-user] [JBoss Seam] - Re: s:convertEntity - EntityManager is closed.

2007-07-30 Thread trouby
Hmm, anyone? :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4068953#4068953 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068953 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - JPDL editor, for pageflow..

2007-07-27 Thread trouby
Hey, I downloaded jboss tools from: http://download.jboss.org/jbosstools/builds/nightly/ and created a new Seam Pageflow file, I can see the visual editor, but there's no way to add any params such as redirects/name of pages/transitions/view-id/etc... so I always find myself edit the xml

[jboss-user] [JBoss Seam] - s:convertEntity - EntityManager is closed.

2007-07-26 Thread trouby
Hey, I generated a list action automatically with seam-gen that seems to work just fine, I'm trying to add to the 'search parameters' in my list which extends EntityQuery a parameter that is based on some other entity, I use h:selectOneMenu + s:selectItems and s:convertEntity tags, but when I

[jboss-user] [JBoss Seam] - Re: Multiple row selection

2007-07-24 Thread trouby
Ye I know, that is only for facelets, just wanted to avoid constructing the map for all of these objects that were not selected, but I'll wrap the map with a method that creates a list of the selected objects only, thanks View the original post :

[jboss-user] [JBoss Seam] - Multiple row selection

2007-07-23 Thread trouby
Hey, I have created a CRUD actions for a specific entity via Seam-Gen which seems to be nice and clean using EntityHome/EntityQuery, I would like to add to the generated list another column that has a boolean jsf tag in order to support multiple row selection, I thought about adding a map to

  1   2   >