[jBPM Development] - Email Service & Task permission
by Sukla Nag
Sukla Nag [https://community.jboss.org/people/SuklaJbpm] created the discussion
"Email Service & Task permission"
To view the discussion, visit: https://community.jboss.org/message/714214#714214
--------------------------------------------------------------
I am having 2 problems while developing a demo program using eclipse graphical editor & drools repository.
1. It is a simple approval process, where krisv is sending a reuisition to john & john has to either approve or ask for change. I have hard coded john's name & krisv's name. The process is gone to repository, it is coming in krisv's process, he starts the process & fills up his requisition form but as the next stop it does not go to john, it says that john has no permission to start the task
2. krisv also sends a email using email service, it gets error that email service handler is not present. I checked that both the config files drools.session.conf & CustomWorkItemHandlers.conf & the jar file jbpm-workitems-5.2.0.Final.jar has been loaded by install.demo target. The javax.mail & javax.activation jar should be there in the jre location of eclipse project (java1.6.0.2 version).
So I cannot figure out the problem,
I have attached all files in the bpmn2 process
Help is appreciated,
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/714214#714214]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months
[JBoss AS 7 Development] - help:nginx jboss, session changed every request at ie, chrome ok
by magic_seek zyx
magic_seek zyx [https://community.jboss.org/people/zyx] created the discussion
"help:nginx jboss,session changed every request at ie,chrome ok"
To view the discussion, visit: https://community.jboss.org/message/714213#714213
--------------------------------------------------------------
nginx: 0.8.54
jboss:jboss-as-7.0.0.Final
Create a simple servlet just print session, use ie7 or ie9 visit this servlet page, when every refresh the print session result are different, but at google chrome are same.
This problem cause can not log into my web application on ie, but chrome ok.
Have tried:
domain.xml
<system-properties>
<!-- IPv4 is not required, but setting this helps avoid unintended use of IPv6 -->
<property name="java.net.preferIPv4Stack" value="true"/>
<property name="org.apache.tomcat.util.http.ServerCookie.FWD_SLASH_IS_SEPARATOR" value="false"/>
<property name="org.apache.catalina.STRICT_SERVLET_COMPLIANCE" value="false"/>
</system-properties>
but it not work.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/714213#714213]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months
[JBoss AS 7 Development] - Logging Id's
by Stefan Guilhen
Stefan Guilhen [https://community.jboss.org/people/sguilhen] modified the document:
"Logging Id's"
To view the document, visit: https://community.jboss.org/docs/DOC-16810
--------------------------------------------------------------
Logging id ranges for JBoss AS7 i18n message interfaces.
|| %1,3% *Status* ||
| C | = | Complete |
| I | = | In Progress |
| P | = | Merged, but not complete |
| W | = | Waiting Merge |
|| *Range* || *Subsystem
* || *Status
* ||
| *10100 - 10199* | *Transaction* | C |
| *10200 - 10399
* | *Clustering**
* | C |
| *10400 - 10499* | *Connector**
* | C |
| *10500 - 10599* | *CLI (not applicable)
* | N/A |
| *10600 - 10699* | *Controller Client* | C |
| *10700 - 10799* | *CMP* |
|
| *10800 - 10899* | *Host Controller (domain packages)* | C |
| *10900 - 10999* | *Host Controller (host packages)* | C |
| *11000 - 11099* | *EE* | C |
| *11100 - 11199* | *Embedded* | C |
| *11200 - 11299* | *JAXRS* | C |
| *11300 - 11399* | *JMX* | C |
| *11400 - 11499* | *JPA* | C |
| *11500 - 11599* | *Logging* | C |
| *11600 - 11699* | *Messaging* | C |
| *11700 - 11799* | *mod_cluster* | C |
| *11800 - 11899* | *Naming* | C |
| *11900 - 11999* | *OSGi* | C |
| *12000 - 12099* | *Process Controller* | C |
| *12100 - 12199* | *Protocol* | C |
| *12200 - 12299* | *Management Client Content* | C |
| *12300 - 12399* | *Platform MBeans* | C |
| *12400 - 12499* | *Threads* | C |
| *13100 - 13199* | *Security* | C |
| *13200 - 13299* | *AppClient* | C |
| *13300 - 13399* | *JDR* | C |
| *14000 - 14099* | *JAXR* | W |
| *14100 - 14599* | *Ejb3* | P |
| *14600 - 14899* | *Controller* | C |
| *14900 - 14999* | *Deployment Repository* | C |
| *15000 - 15099* | *Deployment Scanner* | C |
| *15100 - 15199* | *Deployment HTTP API* | C |
| *15200 - 15299* | *Deployment Management* | C |
| *15300 - 15399* | *Network* | C |
| *15400 - 15499* | *Mail* | C |
| *15500 - 15699* | *Web Services* | C |
| *15700 - 15999* | *Server* | C |
| *1**6000 - 16099* | *Weld* | C |
| *16100 - 16199* | *EE Deployment* | C |
| *16200 - 16299* | *Configadmin* | C |
| *16300 - 16499* | *Jacorb* | C |
| available block(s) |
|
|
| *17000 - 17099* | *POJO* | C |
| *17100 - 17199* | *Remoting* | W |
| *17200 - 17299* | *SAR* | W |
| *18000 - 18399* | *Web* | C |
| *18400 - 18499* | *Xts* | C |
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-16810]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 2 months
[JBoss AS 7 Development] - JBoss AS7: Using JPDA to debug the AS source code
by Anil Saldhana
Anil Saldhana [https://community.jboss.org/people/anil.saldhana] created the document:
"JBoss AS7: Using JPDA to debug the AS source code"
To view the document, visit: https://community.jboss.org/docs/DOC-17532
--------------------------------------------------------------
This article will talk about how to use JPDA to debug the AS source code in both the standalone as well as the managed domain mode. If you want to know the difference between standalone and managed domain, please look at the https://docs.jboss.org/author/display/AS71/Core+management+concepts Core Management Concepts.
h2. Standalone Mode
h2.
To start AS7 in the standalone mode with JPDA on, you will need to change standalone.conf (Unix or Linux) or standalone.conf.bat (Windows).
# Sample JPDA settings for remote socket debugging
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
# Sample JPDA settings for shared memory debugging
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
Since I use Eclipse, I uncomment the first setting. Please make suspend=y, if you want to debug, because AS7 is *fricking too fast to startup*. You need to tame it by asking it to wait for you to attach the debugger. :)
h2.
h2. Managed Domain Mode
To start AS7 in the managed domain mode with JPDA on, you will need to change domain.conf (Unix or Linux) or domain.conf.bat (Windows).
# Sample JPDA settings for remote socket debuging.
#PROCESS_CONTROLLER_JAVA_OPTS="$PROCESS_CONTROLLER_JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8788,server=y,suspend=n"
#HOST_CONTROLLER_JAVA_OPTS="$HOST_CONTROLLER_JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
# Sample JPDA settings for shared memory debugging
#PROCESS_CONTROLLER_JAVA_OPTS="$PROCESS_CONTROLLER_JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
#HOST_CONTROLLER_JAVA_OPTS="$HOST_CONTROLLER_JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
If you want to debug the +domain controller+, just uncomment the first setting for ProcessController.
If you want to debug the +host controller+, just uncomment the first setting for HostController.
Since the HostController starts one or more JBossAS7 servers, you may sometime be interested in debugging issues.
If so, then you will need to go to domain/configuration/host.xml and change the jvm settings for the server in question.
<servers>
<server name="server-one" group="main-server-group">
<!-- Remote JPDA debugging for a specific server
<jvm name="default">
<jvm-options>
<option value="-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"/>
</jvm-options>
</jvm>
-->
</server>
If you have any problems or questions, you can use the AS7 forums. :)
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-17532]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 2 months
[JBoss Web Services Development] - Re: Can I modify the HandlerChain at deploy time?
by Paul Robinson
Paul Robinson [https://community.jboss.org/people/paul.robinson] created the discussion
"Re: Can I modify the HandlerChain at deploy time?"
To view the discussion, visit: https://community.jboss.org/message/713787#713787
--------------------------------------------------------------
Alessio,
I've finally got all my EAP 6.0 issues off my plate (for now), so I can return to this.
I've implimented a DeploymentActivator and it is succesfully registering a DeploymentUnitProcessor when the XTS subsytem boots, I've even got it reading off the annotations, looking for the one I am interested in. I'm now ready to add a handler to the handler chain.
The problem I have is with getting the DeploymentUnitProcessor#deploy method be invoked after WSHandlerChainAnnotationProcessor#deploy. My understanding was that I should add an entry to Phase:
...
public static final int PARSE_JAXWS_HANDLER_CHAIN_ANNOTATION = 0x2055;
public static final int PARSE_TXFRAMEWORK_HANDLERS = 0x2056;
...
I've added it after PARSE_JAXWS_HANDLER_CHAIN_ANNOTATION and set the value as above. I was thinking the value represented the order in which they should be invoked. However, I've tried changing the values and the ordering does not change. My TXFramework DUP is always invoked before the WSHandlerChainAnnotationProcessor DUP. I've tried to find out where else in the code, the ordering is impossed and I'm having no luck. Can you point me at the code that sets the order?
Thanks,
Paul.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/713787#713787]
Start a new discussion in JBoss Web Services Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 2 months