ERJavaMail - work only in debug !

2012-09-27 Thread Pierre Gilquin
Hi all, I (try to) sent mail with ERJavaMail framework. This is done in my Application class at start time. The "funny" thing is that the mail is sent when I am in debug after executing the line : message.sendMail(); With normal execution, nothing happens and the mail is not sent ! Is t

Re: Callstacks in jenkins-built apps without line numbers

2012-09-27 Thread Maik Musall
Hmm, doesn't work yet. My wocompile now looks like this: Java 6. Any suggestions? Maik Am 26.09.2012 um 16:37 schrieb Maik Musall : > Hi Johann (and thanks, John), > > Am 26.09.2012 um 16:10 schrieb Johann Werner : > >> Hi Maik, >> >> congrats to mastering jenkins :) > > Thanks :) > >>

Re: Callstacks in jenkins-built apps without line numbers

2012-09-27 Thread Q
This is what I have in my build scripts and it works fine: ... On 27/09/2012, at 8:08 PM, Maik Musall wrote: > Hmm, doesn't work yet. My wocompile now looks like this: > > fork="true" encoding="utf-8" debug="on" debuglevel="lines,vars,source"> > > Java 6. > > Any suggestions? > > Maik >

Re: Callstacks in jenkins-built apps without line numbers

2012-09-27 Thread John Huss
You probably need to do a clean so everything gets re-compiled. On Thu, Sep 27, 2012 at 5:08 AM, Maik Musall wrote: > Hmm, doesn't work yet. My wocompile now looks like this: > > "1024m" fork="true" encoding="utf-8" debug="on" debuglevel= > "lines,vars,source"> > > Java 6. > > Any suggestions?

Re: ERJavaMail - work only in debug !

2012-09-27 Thread Jesse Tayler
maybe user-permissions issues? are you certain you can send as the user who's running WO and all? On Sep 27, 2012, at 6:05 AM, Pierre Gilquin wrote: > Hi all, > > > > I (try to) sent mail with ERJavaMail framework. > > This is done in my Application class at start time. > > > The "funny"

Re: Callstacks in jenkins-built apps without line numbers

2012-09-27 Thread Maik Musall
You were right, thanks. Wiping the jenkins workspace did the trick. Maik Am 27.09.2012 um 16:32 schrieb John Huss : > You probably need to do a clean so everything gets re-compiled. > > On Thu, Sep 27, 2012 at 5:08 AM, Maik Musall wrote: > Hmm, doesn't work yet. My wocompile now looks like t

Re: ERJavaMail - work only in debug !

2012-09-27 Thread Pierre Gilquin
on my dev machine, I run from Eclipse the same code 1)in debug mode the mail in sent. 2) if normal run, the mail is not sent I added log to be sure it is reaching line message.sendMail() in normal run ! ERXApplication.log.info("before sendMail "); message.sendMail(); ERXApplication.log.info("

Re: ERJavaMail - work only in debug !

2012-09-27 Thread Pierre Gilquin
The logs : 1) from run mode javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] DEBUG SMTP: useEhlo true, useAuth true DEBUG SMTP: trying to connect to host "smtpauth.bluewin.ch", port 587, isSSL false and nothing more !!! 2 ) in debug mode javax.ma

createObjectDelegate isn't called

2012-09-27 Thread Ângelo Andrade Cirino
Hi all, I have this rule: 100 : entity.name = 'Person' => createObjectDelegate = "com.visionar.visiontur.delegates.CreatePersonDelegate" [er.directtoweb.ERDDelayedObjectCreationAssignment] I can confirm that it is set when I inspect the D2W rules, but it is not called. What am I missing? Angelo

Re: createObjectDelegate isn't called

2012-09-27 Thread Ramsey Gurley
On Sep 27, 2012, at 9:12 AM, Ângelo Andrade Cirino wrote: > Hi all, > > I have this rule: > > 100 : entity.name = 'Person' => createObjectDelegate = > "com.visionar.visiontur.delegates.CreatePersonDelegate" > [er.directtoweb.ERDDelayedObjectCreationAssignment] > > I can confirm that it is se

Re: createObjectDelegate isn't called

2012-09-27 Thread Ângelo Andrade Cirino
Hi Ramsey, When I click the "Create" button below the ERDList component, the component takes me to a new page with the buttons Return, Search and New. When I click the New button the createObjectDelegate isn't called. Angelo 2012/9/27 Ramsey Gurley > > On Sep 27, 2012, at 9:12 AM, Ângelo Andra

Re: ERJavaMail - work only in debug !

2012-09-27 Thread Chuck Hill
These are both from running inside of Eclipse? The run mode one looks like it is blocking connecting to the mail server. Do you have different properties or application arguments in your Debug launch configuration? I'd print out all of the mail server related stuff to ensure it is the same.

Re: createObjectDelegate isn't called

2012-09-27 Thread Ramsey Gurley
Use the source Luke :-) I see yet another rule you need to enable it: useCreationDelegate. Looks like you need a rule to set that to true, or else you end up on an edit relationship page. Ramsey On Sep 27, 2012, at 12:06 PM, Ângelo Andrade Cirino wrote: > Hi Ramsey, > > When I click the "C

Re: createObjectDelegate isn't called

2012-09-27 Thread Ângelo Andrade Cirino
Hi Ramsey, Thank you very much for the help. Indeed I should have take a deeper look at the source. The heading for ERDList.java does not give this hint, it lacks this specific binding: /** * Used to edit a toMany relationship by allowing the user to pick the eos that belong in the relationship.

Re: ERJavaMail - work only in debug !

2012-09-27 Thread Pierre Gilquin
Yes, same app run/debug in Eclipse. I create from scratch a Wonder app and add my code in Application constructor for testing. Then I get the same result : debug : OK run : KO In my understanding, the properties are in the file Properties and the lunch configuration is the same so I cannot im