[JNDI/Naming/Network] - Re: jboss-client.jar really needed for Tomcat?
by henk53
"kahzoo" wrote :
| The reason is, although the JNDI application programming interface is publicly defined by J2EE spec, the underlying communication protocol (between the JNDI server and client) is vendor specific, and if you need to connect to JBoss's JNDI sever, you need JNDI client classes which understand/talk the JBoss JNDI protocol.
| [...]
| Hope this helps.
|
It sure does, thanks a lot! :-)
I do wonder, but perhaps this is not a question for this forum, why a JNDI connection to the Jboss AS directory can't be made without exposing the jboss-client-jar to the client application. I mean, it's also possible to provide authentication services to a Java EE application, without the application itself having to know about a particular authenticator. I.e. in Tomcat these are called realms and are defined at the servlet container level, not at the application level.
The reason I'm asking is that I'm building an application where the dependencies should be as few as is reasonably possible. As much as possible should be defined at the servlet or AS level.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151864#4151864
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151864
18 years, 1 month
[JBoss jBPM] - Re: swimlane task assignment in process definition not worki
by Fornachari
I am having the same problem, and I could not fix it doing what jeffcwang said.
I am using JBoss jBPM 3.2.2. When I execute the websale example the swimlane task assignment don't work well.
I am runing the websale using jBPM Console Administrator, when I run the websale example, show in the tasks table "Assigned To manager" for example, but all users can see and modify the open task.
I created a very simple process, in this process There are 4 tasks and I generated a form for each task, like the code below (file forms.xml):
<?xml version="1.0" encoding="UTF-8"?>
|
| <forms>
| <form task="criar" form="criar.xhtml"/>
| <form task="preencher" form="preencher.xhtml"/>
| <form task="aprovar" form="aprovar.xhtml"/>
| <form task="relatorio" form="relatorio.xhtml"/>
| </forms>
Each task was assigned for one user, using swimlane, like the code below (processdefinition.xml):
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="request">
|
|
| <swimlane name="gerente">
| <assignment actor-id="admin"></assignment>
| </swimlane>
|
| <swimlane name="funcionario">
| <assignment actor-id="manager"></assignment>
| </swimlane>
|
| <swimlane name="usuario">
| <assignment actor-id="user"></assignment>
| </swimlane>
|
|
| <start-state name="Funcionario Envia Documento">
| <task name="criar"></task>
| <transition to="Usuario Assina e Preenche"></transition>
| </start-state>
|
|
| <task-node name="Usuario Assina e Preenche">
| <task swimlane="usuario" name="preencher"></task>
| <transition to="Gerente Confere e Valida"></transition>
| </task-node>
|
| <task-node name="Gerente Confere e Valida">
| <task name="aprovar" swimlane="gerente"></task>
| <transition to="Funcionario Recebe Documento" name="Aprovado"></transition>
| <transition to="Usuario Assina e Preenche" name="Nao Aprovado"></transition>
| </task-node>
|
| <task-node name="Funcionario Recebe Documento">
| <task name="relatorio" swimlane="funcionario"></task>
| <transition to="Fim"></transition>
| </task-node>
|
|
| <end-state name="Fim"></end-state>
|
| </process-definition>
Only the first task was not assigned for anyone, like jeffcwang said.
I did not implemented nothig with java, I just did like I said and generate 4 forms: criar.xhtml, preencher.xhtml, aprovar.xhtml and relatorio.xhtml. Only xml and xhtml files.
The process work well in the jBPM Console Admin but the swimlane task assignment don'tt work. Like in the websale example, in the tasks table appear, for example, "Assigned To admin", but any kind of user can modify the task.
Any idea? I am very new with jBPM, am I forgeting something? I need to do some java implementation in this case, like a actionhandler?
Thank you in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151862#4151862
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151862
18 years, 1 month