[JBoss jBPM] - task assigment and ejb role/group
by yxyang
Hello
When i try to define the assigment for a given task, is it possible to retrieve the users from the EJB enviroment instead of the JBPM identity component database?
anonymous wrote :
| 11.11.2.1. First terms
|
| An expression is resolved from left to right. The first-term specifies a User or Group in the identity model. Subsequent terms calculate the next term from the intermediate user or group.
|
| previous means the task is assigned to the current authenticated actor. This means the actor that performed the previous step in the process.
|
| swimlane(swimlane-name) means the user or group is taken from the specified swimlane instance.
|
| variable(variable-name) means the user or group is taken from the specified variable instance. The variable instance can contain a java.lang.String, in which case that user or group is fetched from the identity component. Or the variable instance contains a User or Group object.
|
| user(user-name) means the given user is taken from the identity component.
|
| group(group-name) means the given group is taken from the identity component.
|
The reason i want to do this way is because i need to integrate the jbossportal with jbpm in my project. Currently, jbpm use different identity component than that of jboss application server system.
The problem currently facing is that how to assign tasks to users/roles in existing JBOSS application server system instead of using jbpm its own?
Please advice. Any recommendations are appreciated.
yang
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963456#3963456
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963456
19 years, 9 months
[JBoss Seam] - Eclipse & expanded deployment
by aozoren
Hi - I am trying get JBoss hot deploy the Eclipse seam project but so far I am not successful. Any hint is appreciated..
The last error I am getting is as follows..
22:52:58,241 FATAL [DatasourceConnectionProvider] Could not find datasource: java:/oneDatasource
javax.naming.NameNotFoundException: oneDatasource not bound
I don't understand why I am getting this because the oneDatasource seems to have deployed according to these log entries..
22:52:09,907 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=oneDatasource' to JNDI name 'java:oneDatasource'
One thing I notice is that it looks for a "/" before jndi name when it fails.
jboss-service.xml is as follows..
deploy/,
file:/Users/ali/Java5/dev8/workspace/one/bin
the directory structure is as follows..
+bin
++one.ear
components.properties
hibernate.cfg.xml
jboss.seam.jar
jbpm.3.1.1.jar
jbpm.cfg.xml
+++META-INF
application.xml
components.properties
ejb-jar.xml
jboss-app.xml
jboss-beans.xml
persistence.xml
MANIFEST.MF
++one.war
seam.properties
+++META-INF
MANIFEST.MF
+++WEB-INF
components.xml
web.xml
faces-config.xml
++one.ejb3 // for .class files
+src
..
application.xml is as follows..
<application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
<display-name>One</display-name>
One Software
one.ejb3
<web-uri>one.war</web-uri>
<context-root>/one</context-root>
jboss-seam.jar
jbpm-3.1.1.jar
components.properties is as follows..
myFacesLifecycleBug false
embeddedEjb true
jndiPattern #{ejbName}/local
jboss-beans.xml is as follows..
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_1_0.xsd"
xmlns="urn:jboss:bean-deployer:2.0">
com.mysql.jdbc.Driver
jdbc:mysql://localhost/seamtest?useUnicode=true&characterEncoding=UTF-8
root
java:/oneDatasource
0
10
1000
100000
persistence.xml is as follows..
<persistence-unit name="oneDatabase">
org.hibernate.ejb.HibernatePersistence
<jta-data-source>java:/oneDatasource</jta-data-source>
</persistence-unit>
and components.xml is as follows..
true
@myFacesLifecycleBug@
@jndiPattern@
<!-- 120 second conversation timeout -->
120000
ordermanagement1.jpdl.xml
checkout.jpdl.xml, newuser.jpdl.xml
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963447#3963447
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963447
19 years, 9 months
[Installation, Configuration & Deployment] - JBOSS install probs, on server w/o X11
by mdholloway
Hello everyone... I have been beating my head against this for a while now and am looking for some help. I am trying to create an application server for home development projects. I am pretty new to linux, and JBOSS.
I have installed Ubuntu Server 6.06 (LAMP Server), Java 1.5, and am now trying to install JBOSS Application server. The problem is that it requires a GUI for installation. I am now trying to fight through the X11 forwarding issues to get this installed. I think I am getting closer. X11 fowarding is enabled in my sshd_config. Here is what I have added to my profile:
export JAVA_HOME="/usr/lib/jdk"
export PATH=$JAVA_HOME/bin:$PATH
export DISPLAY=192.168.0.3:0 (this is my windows box)
and here is my current error:
mike@homer:~$ java -jar jboss-4.0.4.GA-Patch1-installer.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jdk1.5.0_07/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1647)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:967)
...........
This file does not exist: libXext.so
and now I am starting to wonder if I have been going down the wrong path... I am using putty to connect from an XP machine. Here is part of the log file on login:
2006-08-06 10:10:01 Access granted
2006-08-06 10:10:01 Opened channel for session
2006-08-06 10:10:01 Requesting X11 forwarding
2006-08-06 10:10:01 Remote debug message: No xauth program; cannot forward with spoofing.
2006-08-06 10:10:01 X11 forwarding refused
2006-08-06 10:10:01 Allocated pty (ospeed 38400bps, ispeed 38400bps)
2006-08-06 10:10:02 Started a shell/command
I have X11 forwarding enabled and have tried both of the protocols.. Any ideas on where I can get the above SO, or what packages I need to install for Ubuntu?
If anyone can give me some advice I would greatly appreciate it...
Thanks, Mike
Reply With Quote
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963446#3963446
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963446
19 years, 9 months