You can ignore all of the above. The problem, believe it or not, is when the deletedMessage contains an expression of the current instance of the EntityHome.
In the code below, if my deletedMessage in public String getDeletedMessage() contains #{myEntity.myProperty}, then the factory to get the row data is run again (to evaluate "myEntity") with a null value for "instance"...but if I leave it as a String with no EL in it, then it's fine.
Am I outjecting to the correct scope of CONVERSATION? What could be wrong with putting EL of the current instance in the message?
@Factory(value="myEntity",scope=ScopeType.CONVERSATION)
| public MyEntity returnMyEntity() { return getInstance(); }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018013#4018013
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018013
I am currently using an embedded JBoss for automated EJB unit testing as well as a standalone JBoss server for deployment. Both have to be performed on the same machine.
While the standalone machine uses the standard "on-disk" HSQLDB, the embedded JBoss uses the in-memory version.
It all seems to work ok, except that within my embedded container a lookup of
ctx = new InitialContext();
datasource = (DataSource) ctx.lookup("java:/DefaultDS");
returns the on-disc datasource of the standalone machine. I am not sure which session beans are returned from lookups...
is it possible to configure my embedded JBoss to coexist with my standalone version(different port, etc)?????
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017996#4017996
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017996
I fully understand your question. If I did not, I would have told you so.
The webconsole does for a large part what you want. If you had even the slightest look at it (which I assume you didn't since you did not even mention that you want something like in the webconsole) you would have figured out to look at the underlying code. (assuming you are smart enough, which I think you are since you choose jbpm). The webconsole uses the api so my answer 'use the api' is a very good answer.
You obviously want a free complete working solution without doing any work (be it coding or investigating) yourself. That is NOT what this forum is for.
Peace...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017994#4017994
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017994