[Beginner's Corner] - Access logging
by Willem Noorduin
Willem Noorduin [https://community.jboss.org/people/willemnoorduin] created the discussion
"Access logging"
To view the discussion, visit: https://community.jboss.org/message/752960#752960
--------------------------------------------------------------
I have configured the following in the standalone.xml:
| | <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false"> |
| | <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/> |
| | <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/> |
| | <virtual-server name="default-host" enable-welcome-root="true"> |
| | <alias name="localhost"/> |
| | <alias name="example.com"/> |
| | <access-log extended="true"/> |
| | </virtual-server> |
| | </subsystem> |
After a restart, I have gained a ${jboss.log.dir}/default_host/access_log.2012-08-10 file with the begin:
[root@nlptc27b16 default-host]# cat access_log.2012-08-10
#Fields: %h %l %u %t "%r" %s %b
#Version: 2.0
#Software: JBoss Web/7.0.16..Final-redhat-1
Only how hard I try, I don't get access lines in this file when I access an application. Any thoughts
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/752960#752960]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - Re: Pre-defined set of process variables
by Cristiano Nicolai
Cristiano Nicolai [https://community.jboss.org/people/cristiano.nicolai] created the discussion
"Re: Pre-defined set of process variables"
To view the discussion, visit: https://community.jboss.org/message/752943#752943
--------------------------------------------------------------
Thanks for the feedback Maciej and Tihomir,
Maciej, I agree that your idea can work but I would prefer to not have to create any kind of overhead for the runtime, not that it is a big issue, but I really see this as a design time problem and I also want to provide as much as built-in features as possible for the person who will design processes. I also want to avoid process to follow certain kind of structure, I really see it as a service that my API could provide, but to accomplish it I need these variables to be in every process. It is my vision, for this reason I brought it to table to discuss with the experts like you guys :)
I really like this process template idea Tihomir, I can see a lot of benefits, like guidance for new process modelers. Just thinking that it might be a different feature, the reason why is that even if you import a template, the modeler still free to do pretty much anything he wants on the model. I think these "pre-defined" variables would need to be locked somehow. I just imagining the case about the user variable for storing who started the process. This will probably be the only link I would have to trace all process started for a certain person, so this variable would need to exist in all process instances. Unless a process variable is not the right place for doing it, but in the other hand you also have the possibility to reuse within the process, like assigning tasks for the same user that started the process.
For sue, I can definetely help with it ;)
BTW, nice job on the jBPM Designer, great stuff B-)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/752943#752943]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - jbpm designer/Jboss Studio Editor conflict info
by darren hartford
darren hartford [https://community.jboss.org/people/dhartford] created the discussion
"jbpm designer/Jboss Studio Editor conflict info"
To view the discussion, visit: https://community.jboss.org/message/752900#752900
--------------------------------------------------------------
For anyone who is trying to use both the JBPM web designer (2.3) and the Eclipse editor (Jboss Developer Studio 5.0.1.GA w/ drools/jbpm 5.3.3.final extension) with Guvnor (which, the eclipse integration with Guvnor within Jboss Developer Studio is GREAT, thank you!):
Errors I've encountered from generating a BPMN workflow in Designer, stored in Guvnor, then pulled into Eclipse, and resolutions (as known). The errors were from Eclipse when trying to use the Eclipse BPMN2 tool on a BPMN file generated from Designer (where designer did not check/protect against certain issues yet), and failing 'RuleFlow XML' validations:
* "more than one incoming connection error" (i.e. merge with a gateway your sequence arrows, instead of directly to a task (BPMN says a task should only have one incoming arrow): https://issues.jboss.org/browse/JBPM-3372 https://issues.jboss.org/browse/JBPM-3372
* "Exception when type empty in Convering Gateway" (BPMN says use exclusiveGateway to merge): https://issues.jboss.org/browse/JBRULES-2879 https://issues.jboss.org/browse/JBRULES-2879
* "Invalid bounds for node" -
* likely a task or node in a swimlane that isn't "all" in the swimlane (make sure fully wrapped).
* a swimlane or other node that is 'outside the margins' (usually too-far to the left)
* "Unable to build expression for 'constraint' null"
* Run Validate button within Oryx/Guvnor, likely quite a few are not validating, correct those first.
* In Guvnor, if start point has 'could not find process image', just click the 'PNG' button to create the image. source: http://blog.athico.com/2012/04/jbpm-designer-version-21-released.html http://blog.athico.com/2012/04/jbpm-designer-version-21-released.html
* XOR gateways that are missing definition.
* To add constraints to XOR gateways in Eclipse, click on the XOR gateway, Properties tab, 'Constraints' field. Need more details/examples.
* To add constraints to XOR gateways in the JBPM web designer, click on the decision-based sequence flow (arrow/line), to add Condition Expression directly to each flow item. Need more details/examples.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/752900#752900]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[jBPM] - Error in named query: ProcessInstancesWaitingForEvent
by darren hartford
darren hartford [https://community.jboss.org/people/dhartford] created the discussion
"Error in named query: ProcessInstancesWaitingForEvent"
To view the discussion, visit: https://community.jboss.org/message/751898#751898
--------------------------------------------------------------
Hey all,
I'm new to BPMN, and although I've been playing with the Guvnor/Designer, I wanted to get more into the Eclipse side with testing/implementation work.
Unfortunately....I got stopped right away with the error "Error in named query: ProcessInstancesWaitingForEvent" with the stock example.
Jboss Developer Studio 5.0, JBPM 5.3.0 final
->New JBPM project, 'advanced process including human tasks and persistence'
Running either the junit test, or just the normal main method, without any changes on my own....I'm already stuck :-(
I saw old issues/posts from 2009 around 4.5 that was resolved with 4.6+, so not sure why I'm having issues with this setup (never installed the older JBPM). The old issues mentioned modifying orm.xml files..but I have none of this in the stock project (nor named queries or anything that can be modified, it looks like this is from the libraries).
Thanks, feeling unable to move forward if the stock examples aren't working...
-dhartford
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/751898#751898]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[JBoss Web Services] - Modifying SOAP Address to use SSL in WSDL behind F5
by Nathan Causey
Nathan Causey [https://community.jboss.org/people/ncausey77] created the discussion
"Modifying SOAP Address to use SSL in WSDL behind F5"
To view the discussion, visit: https://community.jboss.org/message/752825#752825
--------------------------------------------------------------
Hi All,
I have been banging my head by reading and trying to figure out how to modify the SOAP Address inside of a WSDL file. The problem I am having is I am deploying to a JBoss5 instance of my application that resides behind and proxy and F5 load balancer. The WSDL must be deployed with the proper SSL/https protocol in order for the outside world to be able to hit the WSDL.
I have managed to get the correct host in the WSDL by modifying the jboss-beans.xml file insdie of JBoss. This will allow the proper URI in the WSDL with the exception of the port.
<property name="webServiceHost">retailintranet.sal.supervalu.com</property>
<property name="modifySOAPAddress">true</property>
<property name="webServiceSecurePort">443</property>
I had read that you can put some configuration in the web.xml file of my deployed application to use the the CONFIDENTIAL transport type. The problem is the trafic that will be coming to the JBoss5 server will only be http traffic. The proxy strips off the https protocal and routes traffic to the JBoss5 server as http. The following will not work for this then.
<security-constraint>
<display-name>WSDL Constraint</display-name>
<web-resource-collection>
<web-resource-name/>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<description/>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
Is there any other way to modify the SOAP address in the WSDL easily. Is there a way after the file is deployed in JBoss to then modify it easily. I have read that you can point to a custom WSDL but I really don't want to go that route. I was hoping to use the JBoss deployers to handle this for me as all of the web service hosted on this JBoss5 box will need the same URI/port combination when they are deployed.
Any help will be appreciated.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/752825#752825]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months