[jboss-user] [EJB 3.0 Users] - Re: how to save the history of modifications of the table?

2009-09-25 Thread maestr0
OK,
Envers is what I'm looking for

EOT

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256999#4256999

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256999
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering] - Re: Failover trouble mod_jk

2009-09-25 Thread jmpdesign
Hi,

Thank you very much Brian, actually it sounds like 
https://jira.jboss.org/jira/browse/JBAS-7123.
Below this is my full stack trace.
Have you got an idea when this issue will be fixed or is there a work around to 
shutdown properly JBoss 5.1.0GA instance in clustering environment?


2009-09-25 09:33:22,527 ERROR [org.apache.catalina.connector.CoyoteAdapter] 
(ajp-CPO-ARC2%2F172.18.210.33-8009-2) Une exception ou une erreur s'est 
produite dans le conteneur durant le traitement de la 
requ�te
  | java.lang.RuntimeException: DistributedCacheManager is null.
  | at 
org.jboss.web.tomcat.service.session.ClusteredSession.establishDistributedCacheManager(ClusteredSession.java:1773)
  | at 
org.jboss.web.tomcat.service.session.ClusteredSession.setManager(ClusteredSession.java:507)
  | at 
org.jboss.web.tomcat.service.session.ClusteredSession.(ClusteredSession.java:399)
  | at 
org.jboss.web.tomcat.service.session.AttributeBasedClusteredSession.(AttributeBasedClusteredSession.java:65)
  | at 
org.jboss.web.tomcat.service.session.JBossCacheManager.createEmptyClusteredSession(JBossCacheManager.java:1715)
  | at 
org.jboss.web.tomcat.service.session.JBossCacheManager.loadSession(JBossCacheManager.java:1805)
  | at 
org.jboss.web.tomcat.service.session.JBossCacheManager.findSession(JBossCacheManager.java:489)
  | at org.apache.catalina.connector.Request.doGetSession(Request.java:2320)
  | at org.apache.catalina.connector.Request.getSession(Request.java:2094)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:132)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
  | at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)
  | at 
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:619)


Thanks,
Regards.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257005#4257005

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257005

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Task descriptions not possible?

2009-09-25 Thread kukeltje
I'll pick these two issues up myself since I need them to in the not so distant 
future.

Regarding specifying it, no it does not get picked up (from what I have seen) 
so it should be 'parsed' as well. This is not difficult, just adding a few 
lines in JpdlParser.java 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257009#4257009

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257009
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Start time of process instances

2009-09-25 Thread kukeltje
Correct, from where we are now, it is something for the dev forum.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257010#4257010

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257010
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Migrating custom workflow to jbpm

2009-09-25 Thread kukeltje
jBPM3? or 4? 

You can put the execution (4) or token (3) in a specific node.

There are no real best practices for this since every situation is different

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257012#4257012

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257012
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment

2009-09-25 Thread kukeltje
And you can always use the latest source from trunk, run all tests, do a 
functionality test on your application and if it works, just use that. Why not? 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257013#4257013

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257013
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jBPM stops processing

2009-09-25 Thread kukeltje
No idea since you posted only a very small part of what is normally expected to 
be posted, http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158610 we 
do not know what you do. 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257014#4257014

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257014
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] configure dashboard

2009-09-25 Thread Nedim Ozan Tekin
Hi, my question is about jboss portal 2.7.2 personal dashboard editor.

when i want to use dashboard editor for a non-administrator role, i cannot
see the portlets list. 

it gives a message "You don't have the privileges to access this resource.".


 

with Administrator users, there is no problem.

 

So the non-administrator users cannot configure their dasboards.

How can i give privileges the nonadministrator users to configure their
dasboards?

 

Thanks.


Internal Virus Database is out-of-date.
Checked by AVG. 
Version: 7.5.557 / Virus Database: 270.12.10/2088 - Release Date: 4/30/2009
6:01 AM
 

Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size 
gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen 
ve giden mesajlar virus taramasindan gecirilmektedir.Mesajdaki gorusler  
gondericiye ait olup HAVELSAN A.S. resmi gorusu olmak zorunda degildir.

Attention: This e-mail message is private and privileged.If you are not the 
recipient for whom this e-mail message is intended, please notify the sender 
immediately and delete this e-mail message from your system.All sent and 
received e-mail messages go through a virus scan in our company. Any opinions 
presented in this e-mail message are solely those of the author and do not 
necessarily represent HAVELSAN A.S.`s formal and authorized views.
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: EJB3 access issue between portal 2.7.2 and AS 5.1.0GA

2009-09-25 Thread belcar
I worked around it deploying my EJB services layer on JBoss AS 4.2.3 but fell 
back to JBoss Messaging 1.4.4 instead of using JBM 2.0.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257019#4257019

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257019
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment

2009-09-25 Thread sebastian.s
Sure, if Ronald tells you so you can do this as well. Why not. :) I personally 
did not feel comfortable (not enough information, experience) about advising to 
use the trunk and gladly leave this to people with more competence like Ronald.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257030#4257030

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257030
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment

2009-09-25 Thread kukeltje
But keep in mind that this is my personal opinion, not one of the jBPM team. 

I did it several times with different projects and it saved a lot of time 
patching and stuff...

BUT always go over the jira issues (open and closed) since it might be that 
a 'nightly' version can run when used in a clean install, but that it might 
*not* run as an upgrade.

The latter unfortunately currently is the case as Tom is working on replacing 
the id generator from 'native' to a provided one as I just found out. 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257035#4257035

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257035
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Task descriptions not possible?

2009-09-25 Thread sebastian.s
Sounds good. As soon as you have done this you could supply me with a patch for 
testing? I a need the description "feature", too.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257038#4257038

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257038
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1

2009-09-25 Thread kukeltje
One day late, and afternoon already since this response required a little 
digging for me :-) 

In theory you are right, escalating is a basic BPM-thing 

In practical situations howeever, escalation differs from company to company, 
department to department etc... and if you have a look at 
http://www.workflowpatterns.com/patterns/resource/detour/wrp28.php you see that 
even the theoretical people look at it from a very narrow perspective.

They say jBPM (3.1.4 ) does not support it, that is because they assume 
businesspeople should be able to to everything, and a BPM 'framework' like jBPM 
which can do much more than other products gets a '-' rating because sometimes 
you need java... sigh...

You can make it as complex as needed like in the article you refer to, but you 
can also keep it simple and just assigning  the current task to someone else on 
a timeout event.

The way it is done in the article is valid for jBPM 3 and 4 (ok different 
interfaces and jpdl changes, but the basics is the same)

jBPM 4 has a still undocumented feature (it is not even in the dev guide yet) 
which is based in the PVM. There is the concept of a "task lifecycle" in 
combination with the accompanying java code.

But keep in mind, it is not supported. This does not mean it does not work, 
only that there are no guarantees that it stays 100% as it is, and that I and 
other users, probably did not customize it much either so support in the forum 
is also kind of limited.

What *is* nice about this 'solution' is that jBPM eats its own dogfood (again) 
by re-using the pvm in yet another way.

(I think someone could even make a (ws-)Human Task based on this if he/she 
cares to read 100's of pages)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257042#4257042

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257042
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: org.jbpm.persistence.db.DbPersistenceService commit

2009-09-25 Thread kukeltje
Great

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257044#4257044

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257044
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Task descriptions not possible?

2009-09-25 Thread kukeltje
I have to take my previous comment back.  I thought one was for the xsd, one 
for parsing.  I'll only pick up one for the xsd/parsing (the GPD is not my cup 
of tea).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257046#4257046

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257046
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - JBoss: Windows vs Linux

2009-09-25 Thread xavi.pinyol
Hello,

We have deployed few projects in JBoss but we have a dilema. In wich platform 
the performance of JBoss is better Windows or Linux? Is there a big difference?

Thanks in advance,

Xavi.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257049#4257049

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257049
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - org.jbpm.persistence.db.DbPersistenceService commit

2009-09-25 Thread Saravanan.P
Row was updated or deleted by another transaction (or unsaved-value mapping was 
incorrect): [org.jbpm.taskmgmt.exe.TaskInstance#315397]


org.jbpm.persistence.db.DbPersistenceService commit
SEVERE: hibernate commit failed

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257041#4257041

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257041
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: JBoss: Windows vs Linux

2009-09-25 Thread erasmomarciano
IT will perform well everywere there is the JVM working.
We choose  Linux becouse is simple 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257052#4257052

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257052
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Is JBoss Enterprise App Platform a commerical fork of JBossA

2009-09-25 Thread thoste
Is JBoss Enterprise App Platform a commerical fork of JBossAS?

Is it a super of subset of JBossAS?

Is there a side-by-side comparison of the included tools?

Thomas



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257053#4257053

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257053
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Re: Possible transaction scopes for asynchronous reception?

2009-09-25 Thread chtimi2
The only solution i can think of is intercepting message production, to 
aggregate the messages produced within a transaction into a single wrapper 
message. 
This way the consumption scope necessarily spans the same messages as the 
production scope.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257055#4257055

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257055
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: Cache does not release locked nodes on transaction rollb

2009-09-25 Thread feutche
So is it a bug in TxInterceptor?:

Line 923:
  public void afterCompletion(int status)
  {
 // could happen if a rollback is called and beforeCompletion() doesn't 
get called.
 if (ctx == null)
 {
ctx = invocationContextContainer.get();
setTransactionalContext(tx, gtx, transactionContext, ctx);


if afterCompletion() is called in a different thread than beforeCompletion() 
was called, then ctx is not null and invocation context is not initialized

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257057#4257057

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257057
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1

2009-09-25 Thread sebastian.s
Thanks for this really long answer, Ronald. In my opinion you are right, 
escalation is a very complex thing and can mean a lot and I appreciate the 
flexibility of jBPM but maybe we should think of a basic thing to be included 
with the distro while replacing it with your own implementation is still 
possible. Enable simple escalations without the need of coding to give people a 
smooth start.

To me it is actually about a simple one right now. I would like to assign a 
task to somebody else or take a transition to a second task assigned to 
somebody else.

I managed to use a timer to make the engine take a timeout transition after 
some time. My question here: If you make the engine take the transition like 
this is the previous task completed? Or is this the wrong approach and I should 
just change the assignment of the task in jBPM?

I am thinking about the first one because business people often model 
escalations like this: There is a transition to take when the task is completed 
or a different one is taken on a timer event leading to a task assigned to 
somebody else.

If the task was marked completed when the timeout transition was taken wouldn't 
this be a bit strange for reports on processes because actually the first 
person did not complete the task but it was marked as completed?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257059#4257059

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257059
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Embedd jBPM in OSGi

2009-09-25 Thread wolfgang.frank
Hello there,

I face currently the problem to integrate jBPM with OSGi (Equinox). I started 
with an naiv approach to include all jars in the bundle and add them all to the 
bundle classpath, but somehow I get classloader violations when jBPM tries to 
parse the XML configurations.

Has someone ever tried that before successfully?

Greets,
~Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257060#4257060

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257060
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1

2009-09-25 Thread sebastian.s
Regarding the task lifecyle I have not written anything since I have not yet 
looked into this.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257061#4257061

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257061
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1

2009-09-25 Thread kukeltje
"The European guy" wrote : I managed to use a timer to make the engine take a 
timeout transition after some time. My question here: If you make the engine 
take the transition like this is the previous task completed? Or is this the 
wrong approach and I should just change the assignment of the task in jBPM?

In 3 it is ended (and configurable) in 4 it is not ended (not configurable) but 
there is a jira issue for this to make it compatible again. Reassignment is 
also an option, but that is not visible in the processdefinition then.

"The European guy" wrote : I am thinking about the first one because business 
people often model escalations like this: There is a transition to take when 
the task is completed or a different one is taken on a timer event leading to a 
task assigned to somebody else.
  |  Yes, me to, and this will be visualized also on the GPD once the timeout 
from BPMN comes into play

"The European guy" wrote : If the task was marked completed when the timeout 
transition was taken wouldn't this be a bit strange for reports on processes 
because actually the first person did not complete the task but it was marked 
as completed?

That is why the task lifecycle is so interesting since you can add an 
additional 'state' (not a node but the state of a task ;-))

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257065#4257065

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257065
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1

2009-09-25 Thread kukeltje
oh, in addition, in 4 the tasks remains open, also not what you want I think. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257066#4257066

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257066
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Re: Intermittent failures in multithreaded test

2009-09-25 Thread adinn
Hi Alessio,

I will try it as soon as I can.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257067#4257067

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257067
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Error while deleting in jbpm 4

2009-09-25 Thread makam
Hi, sorry by my english,
I have some problem, maybe you can help me,
i´m working with jBPM 4.0 with spring and hibernet, i have integreted jbpm to 
my solution and everything worked perfect , but i can´t delete anything from 
Data base, i´m using MySQL . I can do the deploy of the process and get 
instance and create user and everything, but i can´t delete anything, it throw 
me an java.lang.NullPointerException but the id are ok.
well thaks ;)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257070#4257070

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257070

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - JBossCache3.2.1CR1 released

2009-09-25 Thread mircea.markus
I've released JBossCache3.2.1CR1 [1].
Besides other fixes[2], this includes the integration with jgroups 2.6.13.CR2.

Enjoy!

[1] 
https://svn.jboss.org/repos/repository.jboss.org/maven2/org/jboss/cache/jbosscache-core/3.2.1.CR1/
[2] 
https://jira.jboss.org/jira/secure/IssueNavigator.jspa?reset=true&pid=10051&fixfor=12313922


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257071#4257071

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257071
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment

2009-09-25 Thread makarandk502
Hi,

I am also not comfortable in using trunk.

Anyway will this problem solve if I run this process outside console ?
I mean using APIS.

Can I get this code so that I can get it done in my local version ?
Also is their any chance to get console 1.2 ?

-Regards
Makarand

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257072#4257072

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257072
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Error while deleting in jbpm 4

2009-09-25 Thread kukeltje
please try 4.1 first and search the jira if there are/were any issues regarding 
deleting things (I think there are/were)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257073#4257073

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257073
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment

2009-09-25 Thread sebastian.s
As understood from Joram's description there won't be any exceptions but theire 
will be process instances and tasks missing which should be in their respective 
lists.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257074#4257074

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257074
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1

2009-09-25 Thread sebastian.s
Thanks for your interesting answer, Ronald. I think for know I use the 
timer/transitition approach because I need I want to visualize the escalation 
in the diagram shown in the console. So it would be necessary to call a 
completeTask() for the "old task" manually to remove it from the first user's 
task list.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257075#4257075

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257075
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: 2 JBoss Cache questions

2009-09-25 Thread manik.surt...@jboss.com
Can you confirm the version of JBoss Cache used?  It should be the same as what 
JBoss AS uses.

re: 1, you also need to make sure you are using the same JGroups stack as the 
app server

re: 2, which threads are these?  Could you provide a thread dump?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257077#4257077

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257077
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - [jBPM4] Service Invocation

2009-09-25 Thread c4s4l
Hello, 

In jBPM3 there is an ESB Service that hooks up directly to the ESB service. In 
jBPM4 there isn't such node in the designer or I didn't find it. Will there be 
an ESB Service node in jBPM4? Is the ESB service usage by JBPM supposed to be 
done by codding the access to it in a java class or something custom? 

Thanks, 
Sergio

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257079#4257079

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257079
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - jBPM 4 - Process Classloading question

2009-09-25 Thread tjse
Hi,

In jBPM 4 documentation it's stated that v4 does not yet have a process 
classloading mechanism as in v3.

So, this means that I cannot change the interface of a user class referred by 
running processes?

Or is there any way so that multiple versions of a user class can be deployed 
and used according to the process version?

TIA,
Tiago

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257082#4257082

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257082
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: JBoss: Windows vs Linux

2009-09-25 Thread PeterJ
Our fairly extensive performance testing using the SpecJAppServer and other 
benchmarks running in JBoss AS on Windows and Linux has shown that there is no 
difference - we hit the same performance numbers on both OSes.

So which one are you more comfortable with? And how much is cost a factor?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257091#4257091

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257091
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Removing Dashboard Feature

2009-09-25 Thread PeterJ
Try this. In jboss-portal.sar/conf/data/default-object.xml, delete the entire 
'deployment' entry that starts with:


  |keep
  |
  |   dashboard
  |   
  |  . . .
  | 

Disclaimer: I haven't tried this, so no guarantees.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257086#4257086

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257086
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: Is JBoss Enterprise App Platform a commerical fork of JB

2009-09-25 Thread PeterJ
Yes.

Super.

Go to http://www.jboss.com/products/platforms/application/ and download the 
datasheet. Look at the "Components and Features" section.

In a nutshell:
EAP 4.2 = AS 4.2.0 + Seam + patches
EAP 4.3 = AS 4.2.1 + Seam + JBoss Messaging + patches
EAP 5 = AS 5.1.0 + Seam (this is from my understanding, still waiting for my 
trial copy)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257092#4257092

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257092
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: EJB Entity Bean works in default configuration, failes u

2009-09-25 Thread gldnrtvr
Ok, I must have had a typo in my original grep because as I expected, there was 
a hard-coded URL in the jndi.properties file.  Thank you jaikiran for 
encouraging me to revisit the jndi.properties file, where I should have found 
the problem in the first place.

I guess sleep deprevation doesn't mesh well with software engineering.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257093#4257093

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257093
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Migrating custom workflow to jbpm

2009-09-25 Thread p2auljr
I am using jBPM4. I haven't found anything in the javadoc api that will allow 
me to place an execution in a specific node. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257094#4257094

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257094
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Re: avoid lazy-initialization exceptions

2009-09-25 Thread lespoches
I think the solution is to use @XmlAccessorFactory on Entity Bean and override 
default accessor ! 
But by default, Jboss do not exploit this annotation when creating JAXBContext 
and i can't find how to enable this Binding customization.

If anyone have an idea, help would be greatly appreciated 
Jo

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257095#4257095

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257095
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Authenticating SOAP Requests with WSSE UsernameToken does no

2009-09-25 Thread sthatcher
I have created a simple EJB3 project and exposed it as a web service (your 
typical Echo service).  I'm using WSSE UsernameToken headers in the SOAP 
requests to send authentication info.  I can successfully authenticate using a 
username and digesting the password (e.g. Base64 encode of the SHA-1 hash).

However, when I encorporate the Created node and add to the digest I get an 
"Invalid User" exception. But, I can use just the hash of the password (without 
the created node) and authenticate successfully.  According to the docs from 
the OASIS site the digest is computed as (taken from Web Services Security 
UsernameToken Profile):

  | Password_Digest = Base64 ( SHA-1 ( nonce + created + password ) ) 
  | 

I'm currently not using a Nonce since the spec says that both the Nonce and the 
Created are optional. 

It's as if the server is ignoring the fact that the created node exists.  I'm 
not fully confident that I have the jboss-wsse-server.xml file set up or even 
the security header.  See below for the appropriate files.  Any thoughts would 
be appreciated.

EJB3 Service:

  | package com.test;
  | 
  | import javax.annotation.security.RolesAllowed;
  | import javax.ejb.Stateless;
  | import javax.jws.WebMethod;
  | import javax.jws.WebParam;
  | import javax.jws.WebResult;
  | import javax.jws.WebService;
  | 
  | import org.jboss.ws.annotation.EndpointConfig;
  | 
  | @Stateless
  | @WebService(endpointInterface = "com.test.IEchoSession", 
serviceName="EchoService", portName="EchoServiceSOAP")
  | @EndpointConfig(configName = "Standard WSSecurity Endpoint")
  | public class EchoSession implements IEchoSession {
  | 
  | /**
  |  * 
  |  */
  | private static final long serialVersionUID = 1L;
  | 
  | @Override
  | @WebMethod(operationName="Echo")
  | @WebResult(partName="EchoResponse")
  | @RolesAllowed(value={"friend"})
  | public String echo(@WebParam(partName="text") String text) {
  | return "You said: " + text;
  | }
  | 
  | }
  | 

jboss.xml (in the EJB3 META-INF folder):

  | 
  | java:/jaas/MyRealm
  | 
  | /echo
  | 
  |  
  | 
  | EchoSession
  | 
  | 
EchoSession
  | 
/EchoService
  | NONE
  | false
  | 
  | 
  |   
  | 
  |  

jboss-wsse-server.xml (also in the META-INF):
http://www.jboss.com/ws-security/config";
  |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |
xsi:schemaLocation="http://www.jboss.com/ws-security/config
  |
http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd";>
  |  
  | 
  | 
  | 
  | 
  |   
  | 
  |  
  |   
  | 

On the client side (flex component) the following header get's added to the 
request:


  | private function addWSSEHeader(): SOAPHeader {
  | 
  | var date : Date = new Date();
  | _ds = getDateString(date);
  | date.minutes += 3;
  | 
  | var plain : String = SHA1.hashToBase64(password.text);
  | 
  | _password = SHA1.hashToBase64(_ds + password.text);
  | 
  | trace("plain: " + plain);
  | trace("timestamp " + _password);
  | var usernameTokenXML:XML =
  | http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
  | 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
  | http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
  | {_ds}
  | {getDateString(date)}
  | 
  | 
  | http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>{username.text}
  | http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";
  | 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>{_password}
  | {_ds}
  | 
  | 
  | 
  | var wsse: Namespace = new 
Namespace("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";);
  | var wsseSecurity: QName = new QName(wsse.uri, "Security");
  | var header: SOAPHeader = new SOAPHeader(wsseSecurity, 
{"wsse":"Security"});
  | header.content = usernameTokenXML;
  | 
  | return header;
  | }
  | 
  | 

And here is an example of the SOAP message:

  | 
  |   
  | 2009-09-25T13:07:29Z
  | 2009-09-25T13:10:29Z
  |   
  |   
  | kermit
  | lKnNIypKvfb27kzvQynQtS+iNUc=

[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment

2009-09-25 Thread kukeltje
Funny, that many people are afraid of using trunk when all unit test are green, 
but do want to take a chance (and put (a lot of ) effort in it) to get an 
official release, try to find patches/diffs which might depend on other things 
solved (or not) and user that. But that is up to ecerybody else to decide.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257097#4257097

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257097
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering] - Re: Failover trouble mod_jk

2009-09-25 Thread bstansbe...@jboss.com
Thanks for the stack trace; yeah that's the JBAS-7123 condition.

It's already fixed in SVN and will be fixed in the 5.2 which should be out late 
this year. It will also be fixed in JBoss Enterprise Application Platform 5.

As to a workaround for AS 5.1.0, the only one I can see is to add this to your 
startup command:

-Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false

That will prevent the 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:132)
 call that is leading to the problem.

That has a number of effects on the behavior of JBoss Web though, many of which 
I don't claim to understand. This doc gives a good overview of the effect of 
that flag:

http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html

The "every request that is associated with a session will cause the session's 
last accessed time to be updated regardless of whether or not the request 
explicity accesses the session. (SRV.7.6) " bit on that page is the one 
specifically relevant to this issue.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257100#4257100

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257100
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1

2009-09-25 Thread kukeltje
Yes I think you do need that. Would be nice if you made a unit test first to 
test if that really works. I think it does, but not completely sure.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257102#4257102

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257102
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: [jBPM4] Service Invocation

2009-09-25 Thread kukeltje
There eventually will be. The jBPM side of things is kind of identical to what 
is in 3, but the ESB side for the async callback needs to change.

For the moment it is indeed something that can/needs to be done in a custom node

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257103#4257103

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257103
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jBPM 4 - Process Classloading question

2009-09-25 Thread kukeltje
unfortunately there is no way other then e.g. repackaging your classes per 
version and using that package name in the processdefinition. (if someone else 
has another creative solution, please post it here)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257104#4257104

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257104
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jBPM 4 - Process Classloading question

2009-09-25 Thread tjse
Thanks Ronald, it seems that we're stuck to that. I've already voted on 
#JBPM-2200 issue, hope it gets implemented soon.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257107#4257107

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257107
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment

2009-09-25 Thread makarandk502
It would be better if I can get some alternative solution to this. OR
should I wait till 4.2 release ?

OR 
Can I absorb GWT 1.2 where problem is fixed.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257111#4257111

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257111
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Process with combination of Task ( with forms ) and java tas

2009-09-25 Thread makarandk502
I want to know if somebody can guide me in following scenario

Process definition is combination of Task with forms, automatic java tasks, 
hql/sql tasks,subprocess ...

In such scenario, If i use jbpm API instead of Console for start/stop process 
instead of console, how can I see task forms if flow reaches to task with forms 
? once I submit the form, will it reach to next task automatically ? Are forms 
only be viewed through jbpm -console ?

It would be better if there is such link/example which I can see and get a 
proper idea

Thanks in advance

Regards
-Makarand



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257114#4257114

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257114
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Remoting Users] - JNDI Lookup Fails, Causes Failed EJB2 MDB

2009-09-25 Thread mmichalek
I'm not exactly sure where to post this one, but since most of the relevant log 
shows jboss remoting code, I'll start here.

I'm trying to deploy an EJB 2 MDB to JBoss 4.2.3.
Here are the points of interest:
JBoss Messaging 1.4.4
JBoss Remoting 2.2.3
ear deployment Isolated=true

Here's some of my initial findings:
1) If I turn off ear deployment isolation, this problem goes away (and 
apparently remoting is not used for the lookup in that scenerio.)
2) From this log and looking at the source, it looks like a JNDI lookup for 
java:/StdJMSPool is failing (returning null) - but I don't understanding why 
that's happening.

Let me know if you have any ideas.  It's important to me to get make the ear 
deployment isolation work.


  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Using client id: null
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.ejb.plugins.jms.JMSContainerInvoker] looking up session 
pool factory: java:/StdJMSPool
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] 
unregistered connection 
ConnectionEndpoint[l3-c3gw510g-1-cy6v510g-ys6ooo-7375o4c5] with remoting 
session ID ...-g015wfyk-3f
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.InvokerRegistry] removed 
org.jboss.remoting.transport.local.localclientinvo...@4b2199 from registry
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.Client] 
Client[12933527:5c4o5737-ooo6sy-g015v6yc-1-g015wg3c-3k] is disconnected
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.jms.server.remoting.JMSServerInvocationHandler] removing 
callback handler 
ServerInvokerCallbackHandler[5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f+5c4o5737-ooo6sy-g015v6yc-1-g015wg3c-3i]
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.Client] 
Client[9099123:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f].connect(null)
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.Client] 
Client[9099123:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f] connected to 
InvokerLocator 
[bisocket://192.168.187.115:2088433572/callback?callbackServerHost=192.168.187.115&callbackServerPort=2088433572&callbackServerProtocol=bisocket&clientMaxPoolSize=1&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&datatype=jms&guid=5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3h&isCallbackServer=true&onewayThreadPool=org.jboss.jms.server.remoting.DirectThreadPool&serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper]
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.ServerInvoker] ServerInvoker 
(SocketServerInvoker[UNINITIALIZED]) removing client callback handler with 
session id of 
5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f+5c4o5737-ooo6sy-g015v6yc-1-g015wg3c-3i.
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] 
unrecognized listener ID: 5c4o5737-ooo6sy-g015v6yc-1-g015wg3c-3i
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.InvokerRegistry] removed 
org.jboss.remoting.transport.local.localclientinvo...@146c67a from registry
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.Client] 
Client[9099123:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f] is disconnected
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.ServerInvoker] 
SocketServerInvoker[UNINITIALIZED] stopped
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.InvokerRegistry] decremented 
org.jboss.remoting.transport.local.localclientinvo...@da85fe's count, current 
count 5
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.Client] 
Client[8486630:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f] is disconnected
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.InvokerRegistry] decremented 
org.jboss.remoting.transport.local.localclientinvo...@93133e's count, current 
count 5
  | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.remoting.Client] 
Client[28468394:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3g] is disconnected
  | 12:43:23,640 ERROR [JMSContainerInvoker(OfflineEventLogConsumerMDB) 
Reconnect] [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: 
JMS provider failure detected for OfflineEventLogConsumerMDB
  | org.jboss.deployment.DeploymentException: Error during topi

[jboss-user] [JBoss Cache Users] - Re: 2 JBoss Cache questions

2009-09-25 Thread userjboss99
Hi Manik,

Thanks for the reply...here is my info:

1) yes, the Java client is using the same JGroups stack as the appserver 
(essentially just the jbossall-client.jar, jbosscache-core.jar and jgroups.jar 
files found in the JBoss server distribution).  This is all under JBoss 
5.1.0.GA.  

Also, if it helps, I'm running my client application with the following system 
properties to help it try to join the JGroups channel (though running with or 
without these properties doesn't seem to make any difference for me):


  |  -Djgroups.udp.mcast_addr=228.1.2.3 -Djgroups.mping.mcast_port=39472 
-Djgroups.udp.mcast_port=34972 -Djgroups.bind_addr=10.1.0.22 
  | 

2) here's the thread dump:


  | 
  | Full thread dump Java HotSpot(TM) Server VM (11.2-b01 mixed mode):
  | 
  | "DestroyJavaVM" prio=10 tid=0x7627b000 nid=0x1317 waiting on condition 
[0x..0xb7f51070]
  |java.lang.Thread.State: RUNNABLE
  | 
  | "Timer-4,10.1.0.22:34975" daemon prio=10 tid=0x762ff400 nid=0x1334 waiting 
on condition [0x75cba000..0x75cbae30]
  |java.lang.Thread.State: TIMED_WAITING (parking)
  | at sun.misc.Unsafe.park(Native Method)
  | - parking to wait for  <0xaed041a0> (a 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
  | at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
  | at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
  | at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
  | at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
  | at java.lang.Thread.run(Thread.java:619)
  | 
  | "Timer-3,10.1.0.22:34975" daemon prio=10 tid=0x75e1c800 nid=0x1333 waiting 
on condition [0x75d0b000..0x75d0c0b0]
  |java.lang.Thread.State: TIMED_WAITING (parking)
  | at sun.misc.Unsafe.park(Native Method)
  | - parking to wait for  <0xaed041a0> (a 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
  | at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
  | at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
  | at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
  | at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
  | at java.lang.Thread.run(Thread.java:619)
  | 
  | "OOB-1,10.1.0.22:34975" prio=10 tid=0x09fcc400 nid=0x1332 waiting on 
condition [0x75d5c000..0x75d5d130]
  |java.lang.Thread.State: WAITING (parking)
  | at sun.misc.Unsafe.park(Native Method)
  | - parking to wait for  <0xaed07f78> (a 
java.util.concurrent.SynchronousQueue$TransferStack)
  | at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
  | at 
java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:422)
  | at 
java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
  | at 
java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:857)
  | at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
  | at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
  | at java.lang.Thread.run(Thread.java:619)
  | 
  | "Timer-2,10.1.0.22:34975" daemon prio=10 tid=0x762b7c00 nid=0x1331 waiting 
on condition [0x75dad000..0x75dadfb0]
  |java.lang.Thread.State: TIMED_WAITING (parking)
  | at sun.misc.Unsafe.park(Native Method)
  | - parking to wait for  <0xaed041a0> (a 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
  | at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
  | at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)
  | at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
  | at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(Schedu

[jboss-user] [JBoss Messaging Users] - How to set up topic subscriber and publisher?

2009-09-25 Thread rpezz
How would a topic subscriber be set up in Hypersonic tables JBM_User and 
JBM_Role? I'm not sure what the JBM_USER.CLIENTID field is used for.
Same for setting up a publisher.

I have a topic set up like this:


  | 
  |   
  | jboss.messaging:service=ServerPeer  
  | 
  | jboss.messaging:service=PostOffice
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257128#4257128

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257128
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Hibernate, Sessions, and Sync - Oh my!

2009-09-25 Thread michaelholtzman
Greetings -

We are plagued with StaleObjectStateExceptions that I have been unable to 
resolve. We are running jBPM (derived from version 3.1.2) in an application 
which launches and manages our workflows and also executes commands targetting 
specific workflow instances (for example, a signal from our main application, 
an external system wrt the jBPM app).

We have a number of custom nodes that call out to our system and enter a wait 
state. Our system processes the request and sends back a command to the jbpm 
application. The command will include the process instance and token that made 
the request, and possibly data that will be saved in jbpm instance variables.

Our custom nodes use the JbpmContext attached to the current ExecutionContext. 
The 'out of band' command processing creates a new JbpmContext from a singleton 
JbpmConfiguration, loads the specified token by id and modifies it, then saves 
and closes the JbpmContext.

In general this works great, but I have one case that consistently causes 
SOSE's:

A custom node (Wait) creates a timer with a 10 second due date. When the timer 
fires, it transitions to a custom node (Script) that messages our system and 
goes into a wait state. Our system responds with a 'Results' command that 
essentially does this:


  | gProcessInstance = jbpmContext.loadProcessInstance(gProcessInstanceId);
  | if (gProcessInstance == null) 
  |throw new Exception("Unable to load  process instance id " + 
gProcessInstanceId);
  | 
  | if (gTokenId > 0) {
  |gToken = jbpmContext.loadToken(gTokenId);
  | } else {
  |gToken = gProcessInstance.getRootToken();
  | }
  | 
  | // Get new JbpmContext from static configuration
  | jbpmContext = Manager.jbpmConfiguration.createJbpmContext();
  | try {
  |// Set some instance variables
  |...
  | 
  |// Save and close the jbpmContext
  |jbpmContext.save(gToken);
  | } catch (Exception e) {
  |...
  | } finally {
  |jbpmContext.close();
  | }
  | 

Usually this works correctly, advancing the token from the 'Script' node to the 
next node in the process. However, sometimes the signal advances the token from 
the 'Wait' node -- the token's previous node. The next execution of 
jbpmContext.close() throws the SOSE.

My theory du jour is that somehow the transition in the workflow from 'Wait' to 
'Script' has not been committed at the time the 'Result' command arrives, so 
that the loadToken() call is getting  the state of the token before it moved to 
the 'Script' node and the Token.getNode() is returning the wrong node as the 
source of the transition.

I have tried adding 

  | jbpmContext.save(token);
  | jbpmContext.getSession().flush();
  | 
when the 'Wait' and 'Script' nodes go into their respective wait states, as 
well as inserting 

  | jbpmContext.getSession().refresh(gToken)'
  | 
after loading the token, but the problem persists.

Any ideas?

Thanx.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257134#4257134

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257134
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - InstanceAlreadyExistsException During hot deployment

2009-09-25 Thread pavnesh
I am currently using JBOSS Cache v3.3.1GA with Websphere 6.1.0.21, JPA, 
Hibernate3.3, Spring 2.5.6. During development, we have hot deployed the 
application. So whever I make any change in the java code, code gets hot 
deployment on the server and I get the exception 
javax.management.InstanceAlreadyExistsException.

  |  javax.management.InstanceAlreadyExistsException: 
jboss.cache:service=TreeCache-Cluster,cell=TD2471Node01Cell,node=TD2471Node01,process=server1
  | at 
com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:470)
  | at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1428)
  | at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:954)
  | at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:355)
  | at 
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:515)
  | at 
com.ibm.ws.management.PlatformMBeanServer.registerMBean(PlatformMBeanServer.java:472)
  | at 
org.jboss.cache.util.MBeanConfigurator.registerInterceptors(MBeanConfigurator.java:72)
  | at org.jboss.cache.TreeCache._createService(TreeCache.java:1385)
  | at org.jboss.cache.TreeCache.startService(TreeCache.java:1463)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:173)
  | at 
org.hibernate.cache.TreeCacheProvider.start(TreeCacheProvider.java:75)
  | 

When I restart the server, it starts working fine. This process goes on whever 
we make any code change. Any help/clue with be highly appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257137#4257137

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257137
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging Users] - Stateless Session Bean and JMS best practice

2009-09-25 Thread ab2003
Based on this forum post 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=127090

the create/close a connection and session per JMS message is considered an 
anti-pattern.

For reference, we are using JBoss EAP 4.3.0 and JBoss Messaging 1.4.0.SP3

What is the best practice for a Stateless Session Bean that sends JMS messages 
in response to some (high throughput) external stimulus?

Should there be one Session and Connection per Bean instance, potentially 
creating hundreds of these references depending on the size of the EJB pool?  

Or are the Session and Connection objects thread-safe, and assuming that the 
application is not calling close() on them, can one Session/Connection per JMS 
destination be used safely?

We currently use the connection/session-per-bean-instance model, but are 
wondering if we are creating unnecessary overhead by doing so.  Profiling the 
heap shows thousands of JBossSession and JBossConnection objects because the 
EJB pools have expanded to handle heavy load.

Thanks for any pointers on best-practice.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257140#4257140

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257140
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache Users] - Re: how to lock a node for update?

2009-09-25 Thread alllle
Thanks for the reply, I just realized that you answered the questions before my 
last post :)

I am still not clear with two of the answers and wonder if you can help:
"manik.surt...@jboss.com" wrote : 
  | "ae" wrote : 
  |   | - With "REPEATABLE_READ" isolation, is the "write skew" still a 
problem? - I think it's not but I'd like to get a confirmation from you.
  |   | 
  | Write skews are *only* a problem with R_R.  See the discussion in the user 
guide for details.
  | 
So if I have isolation set to R_R in the config file, when I call the 
cache.getInvocationContext().getOptionOverrides().setForceWriteLock(true);
  |  Is the isolation for the current invocation context still the R_R, or is 
it changed to some thing else? In other words, do I still need to worry about 
write skew?

"manik.surt...@jboss.com" wrote : "ae" wrote : 
  |   | - What is the scope of the current "InvocationContext"? Is it within 
the current transaction, or current thread, or something else?
  |   | 
  | Invocation contexts last for, well, an invocation!  :-)
  | 
Could you explain more on what an "invocation" is then? This answer, I have to 
say, doesn't really help :)
What I'd like to know is the impact of the call. Should I remove the option 
override after the transaction? Does other thread who is accessing the same 
cache affected by this call? etc.


Thanks,

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257142#4257142

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257142
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Exception with X509 certificates on jbossws-native-3.1.1.GA

2009-09-25 Thread jorgerst
Hi!
  
  I'm having trouble to use WS-Security with X509 certificates. I've followed 
the instructions of the wiki ( 
http://www.jboss.org/community/wiki/JBossWS-NativeUserGuide#WSSecurity ). But 
when I invoke my service (using SoapUI, correctly configured with a X509 signed 
and encrypted SOAP request) I am getting the following exception:

ERROR [WSSecurityDispatcher] Internal error occured handling inbound message:
  | org.jboss.ws.extensions.security.exception.WSSecurityException: Currently 
only SubjectKeyIdentifiers are supported, was passed: 
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3

Plus, my jboss-wsse-server.xml is like this:


  | http://www.jboss.com/ws-security/config";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://www.jboss.com/ws-security/config 
jboss-wsse-server.xsd">
  | 
  | WEB-INF/wsse.keystore
  | jbossws
  | WEB-INF/wsse.truststore
  | jbossws
  | 
  | 
  | 
  |  
  | 
  | 
  | 
  | 
  | 
  | 
  | 

  I'm using Sun JDK 1.5.0.15, JBoss AS 4.2.3 and jbossws-native-3.1.1.GA. 

  I'm not very familiar with the security stuff, so please, if anybody could 
help it will be great!
  
  Thanks in advance!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257143#4257143

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257143
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JMX] - Exception when deploying a XMBean

2009-09-25 Thread rsobchak
I have a standard MBean that deploys fine on JBossesb-server-4.6 (JDK 1.5). I 
used twiddle to create the XMBean XML from the MBean. I then changed the 
jboss-service.xml to

  | 
  | http://www.jboss.org/j2ee/dtd/jboss-service_3_2.dtd";>
  | 
  | 
  |  
  |  
  | 
  | 
  | 
  | 
  | 
  | 

The mailservice-xmbean.xml looks like 

  | 
  | http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd";>
  | 
  | 
  |Management Bean.
  |com.mail.MailService
  | 
  |
  |   MBean Constructor.
  |   com.mail.MailService
  |
  | 
  | &defaultAttributes;
  | 
  |
  |   MBean Attribute.
  |   MailFromName
  |   java.lang.String
  |
  |
  |   MBean Attribute.
  |   MailFrom
  |   java.lang.String
  |
  |
  |   MBean Attribute.
  |   StateString
  |   java.lang.String
  |
  |
  |   MBean Attribute.
  |   State
  |   int
  |
  |
  |   MBean Attribute.
  |   Enabled
  |   boolean
  |
  |
  |   MBean Attribute.
  |   Name
  |   java.lang.String
  |
  |
  |   MBean Attribute.
  |   MailURL
  |   java.lang.String
  |
  | 
  |
  |   MBean Operation.
  |   start
  |   void
  |
  |
  |   MBean Operation.
  |   jbossInternalLifecycle
  |   
  |  
  |  p1
  |  java.lang.String
  |   
  |   void
  |
  |
  |   MBean Operation.
  |   destroy
  |   void
  |
  |
  |   MBean Operation.
  |   create
  |   void
  |
  |
  |   MBean Operation.
  |   sendTestMessage
  |   void
  |
  |
  |   MBean Operation.
  |   stop
  |   void
  |
  |
  |   MBean Operation.
  |   sendTestMessage
  |   
  |  
  |  p1
  |  java.lang.String
  |   
  |   void
  |
  | 
  | &defaultOperations; 
  | 
  | 
  | 

During deployment the following exception is thrown

  | org.jboss.deployment.DeploymentException: Class does not expose a 
management interface: java.lang.Object; - nested throwable: 
(javax.management.NotCompliantMBeanException: Class does not expose a 
management interface: java.lang.Object)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
  | at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy9.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentSc

[jboss-user] [Persistence] - Re: JBoss does not reconnect after mysql-server restart

2009-09-25 Thread henk53
"PeterJ" wrote : Try "touching" the *-ds.xml file. That will update the last 
modified timestamp which will cause the app server to redeploy the datasource.

Peter, is there any more automatic recovery available? I just encountered a 
similar problem. We have many Jboss AS instances connecting to a central DB. 
Because of a full disk the DB (Postgres) stopped working and after resolving 
the problem the DB had to be restarted.

The problem was that none of the Jboss instances were able to connect anymore 
after this restart and they all had to be restarted manually. This is rather 
tedious to say the least. Touching the *-ds.xml file reliefs this pain only a 
little.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257152#4257152

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257152
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence] - Re: JBoss does not reconnect after mysql-server restart

2009-09-25 Thread henk53
I found this other thread: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4158716

It seems that if you have valid connection checker, then basically the 
redeployment of the datasource would not really be needed. Sure, it might still 
be better to redeploy instead of waiting for every connection to have thrown an 
exception, but eventually the pool *should* recover automatically. Only. 
clearly it doesn't (or it doesn't always). The topic starter has a valid 
connection checker configured, so if I understand correctly those connections 
should have been closed and re-opened, shouldn't they?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257153#4257153

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257153
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment

2009-09-25 Thread sebastian.s
If Joram is right changing to a newer version of the console won't help alone. 
Read the comments again where he wrote about the change to the runtime source 
code.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257156#4257156

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257156
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Re: Authenticating SOAP Requests with WSSE UsernameToken doe

2009-09-25 Thread sthatcher
I did a bit more investigation on this and found the crux of the issue but I'm 
not sure how to solve it.  In the login configuration for the realm you are 
supposed to use a UsernameTokenCallback object to update the digest based on 
the existence of a nonce or created.  However, on debugging, these values are 
always null.  And the init function sends a map with both keys (nonce and 
created) set to null.  So the question is what other configuration do I need to 
tell JBoss to pull out these header nodes and send to the callback handler.

The specific login config is as follows:

  |   
  | 
  |   
  | 
  |java:/WSExampleDS
  |SELECT password FROM users 
WHERE username=?
  |SELECT r.role, 'Roles' FROM roles 
r join users u on u.id = r.userid WHERE u.username=?
  |   SHA
  |   BASE64
  |   false
  |   true
  |  
  | anonymous
  |   org.jboss.ws.extensions.security.auth.callback.UsernameTokenCallback
  | 
  |   
  | 
  |   
  |  

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257157#4257157

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257157
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Removing Dashboard Feature

2009-09-25 Thread junanax
Thanks, Peter!

I tried it and the dashboard is still there. I tried deleting the whole 
document and nothing changed.:-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257159#4257159

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257159
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user