[Installation, Configuration & Deployment] - Re: SMTPAppender
by rodedh
Woops :-)...
I configured an SMTPAppender I enabled SMTPDebug and from the logs I always see that an attempt to create connection via localhost, 25 isSSL false occurs. No need to mention that I am using a SMTPHost attribute which is not localhost...
I dont find where this behavior can be changed.
Here is my appender:
| <appender name="EMAIL" class="org.apache.log4j.net.SMTPAppender">
| <param name="SMTPHost" value="smtp.gmail.com" />
| <param name="From" value="fromUser(a)gmail.com" />
| <param name="To" value="toUser(a)gmail.com" />
| <param name="SMTPDebug" value="true" />
| <param name="SMTPUsername" value="username" />
| <param name="SMTPPassword" value="password" />
| <param name="Subject" value="webapp error" />
| <layout class="org.apache.log4j.PatternLayout">
| <param name="ConversionPattern" value="[%d]%n%n%-5p%n%n%c%n%n%m%n%n" />
| </layout>
| <filter class="org.apache.log4j.varia.LevelRangeFilter">
| <param name="LevelMin" value="ERROR"/>
| <param name="LevelMax" value="FATAL"/>
| </filter>
| </appender>
|
Thanks,
Rod
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255512#4255512
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255512
16 years, 9 months
[jBPM Users] - Re: workflow design about wait states
by mmusaji
"kukeltje" wrote : So you want a front-end thread to be blocking for (mostly) parallel executed jobs in the backend? Ar you sure? How long will these jobs be running? Is the process fully ended after these jobs like in your definition that was posted?
|
| So basically http://www.eaipatterns.com/BroadcastAggregate.html is what you want?
|
The jobs will be running for different periods of time but anywhere between 2 and 8 seconds. But there could be problems with comms etc and it could take longer or we could retry etc so the job would take longer in them circumstances. And yes... unfortunately we are sure! lol.
But yes that pattern looks spot on. Is there an "Aggregator" of sorts in JBPM? Or would that be the Join node in a way.
"kukeltje" wrote :
| And I assume there are multiple return variables since having multiple parallel jobs working on the same variable is kind of dangerous.
|
Yes multiple return variables (each fork changing its "own" object) which is then read back at the front-end once its been updated.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255509#4255509
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255509
16 years, 9 months