i'm a new developer with the j2ee.
after do the Duke's Bank emaple in the <Getting Started with JBoss 4.0> step by step, i can run this example well.
but, i find something unnormal in the Security.
in the <Getting Started with JBoss 4.0>, it said must add the following policy to the conf/login-config.xml file,such as
<application-policy name="dukesbank">
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag="required" />
</application-policy>
although i'm not doing these thing, the same result of the Security is output.
i don't know why. could you give me some advisement?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965662#3965662
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965662
Hi,
When I click Cancel Button in JSF it's call the below method
public String cancelTask(){
TaskInstance taskInstance = taskMgmtSession.loadTaskInstance(taskVO.getTaskInstanceId());
taskInstance.setActorId(null);
graphSession.saveProcessInstance(taskInstance.getTaskMgmtInstance().getProcessInstance());
return "summary";
}
The above code sets the "ActorId" to "null" for a particular task thus releasing it (in JBPM database).
My doubt is
The code in blue has to be replicated for all the tasks which are tied to a user during:
(1) Session Timeout
(2) Browser Close/Exit
when the page session timeout or user click to close the browser
how to Actorid set to null
Please tell me the solution regarding the above.
Thanks and regards
Sri
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965660#3965660
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965660
Are you using myfaces? If so what version, as I can't spot where that error mesage comes from (I'm assuming that the error comes from h:messages, do you have showDetail turned on?)?
My converter throws a javax.faces.convert.ConverterException if something goes wrong, JSF then catches that and adds a FacesMessage. In eclipse you can add a breakpoint if a ConverterException is thrown and find out where this problem is originating.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965657#3965657
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965657