[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-11 Thread kukeltje
I do not get it either. jBPM retrieves all processdefinitions with the same name (how many can that be, just several I think) and loops over that. I again urge you to log additional things, you might e.g. have a problem with a reverse dns lookup why things take long... So I would not file a

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-11 Thread ajaygautam
saraswati.santanu wrote : Ajay, |I did not get the first part of your question | | anonymous wrote : shouldn't the query actually be performed at the database level !?!? | | The query will be performed at the db only. | | Do you mean a db procedure kind of thing? That

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-11 Thread ajaygautam
kukeltje wrote : I do not get it either. jBPM retrieves all processdefinitions with the same name (how many can that be, just several I think) and loops over that. | | I again urge you to log additional things, you might e.g. have a problem with a reverse dns lookup why things take

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-11 Thread kukeltje
ajaygautam wrote : saraswati.santanu wrote : Ajay, | |I did not get the first part of your question | | | | anonymous wrote : shouldn't the query actually be performed at the database level !?!? | | | | The query will be performed at the db only. | | | | Do

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread ajaygautam
Sure. Here you go... The complete log leading upto this. The time lag occurs between 9:33:57 to 9:35:43. This is when the deploy() runs. PS: Could this be a timeout thing? Does deploy() go out to the internet, and try to retrieve a DTD file or something like that? We are behind a proxy, so

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread kukeltje
jBPM afaik has the xsd's in a local resolver so should not need to go to the internet. But it could be that (since the xsd changed in 4.2) this was overlooked. Regarding the logging Well, I (ofcourse ;-)) meant logging of what happens DURING the deploy. So if it turns out not to be a

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread ajaygautam
kukeltje wrote : jBPM afaik has the xsd's in a local resolver so should not need to go to the internet. But it could be that (since the xsd changed in 4.2) this was overlooked. | | Regarding the logging Well, I (ofcourse ;-)) meant logging of what happens DURING the deploy. So if it

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread kukeltje
Is there any reason you cannot configure log4j (or jdk logging) to log in more detail? Works fine here (and I'm serious, not joking or trying to make fun of you or anything) Now (besides the internet access) It's like saying: Hey, look at that car driving by, it is going slow. Can you tell me

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread ajaygautam
This statement takes all the time: | ProcessDeployer.java line 134, method checkKey(). | | | ListProcessDefinition existingProcesses = repositorySession.createProcessDefinitionQuery() | .processDefinitionName(processDefinitionName) | .list(); | Then the code

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread ajaygautam
Changing the database location from cross continent to local fixes the time issue. I think I should file this as a bug. Database developers should be frugal with resources. What do you think? Ajay View the original post :

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-10 Thread saraswati.santanu
Ajay, I did not get the first part of your question anonymous wrote : shouldn't the query actually be performed at the database level !?!? The query will be performed at the db only. Do you mean a db procedure kind of thing? That will have other significant disadvantages. So that query

[jboss-user] [jBPM Users] - Re: deploy() takes an awefully LONG time

2009-12-09 Thread kukeltje
Uhh I assume you have WAY more logging if so please post here. If not, it is very, very hard for us to help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269773#4269773 Reply to the post :