[Anthill] unable to email in OS
Okite, John
John.Okite at greenheck.com
Thu Jul 15 15:03:02 CDT 2004
Eric,
Thanks for the quick response. I verified that javac is on the system path.
However, I was running tomcat as a windows service (under local system).
Running it from the commandline resolves the problem. Thanks for the tip.
John
-----Original Message-----
From: Eric Minick [mailto:eric at urbancode.com]
Sent: Thursday, July 15, 2004 2:44 PM
To: Anthill user list
Subject: Re: [Anthill] unable to email in OS
John,
At first glance, it looks like the system can't find javac. Am I right
in assuming that the <classpath> isn't in the actual log, you were just
saving us the pain? What's happening at this stage is the email template
is being compiled in a manner similar to how JSPs are compiled at
runtime. I would make sure that the user that is running Anthill has
javac on the path.
Regards,
Eric
Okite, John wrote:
> I get the following output when a build is executed:
>
> ERROR com.urbancode.anthill.BuildManager - couldn't send result email
> java.io.IOException: CreateProcess: javac -classpath <classpath>
> c:\anthill\pagelets\resultEmail_pgl.java error=2
> at java.lang.Win32Process.create(Native Method)
> at java.lang.Win32Process.<init>(Win32Process.java:66)
> at java.lang.Runtime.execInternal(Native Method)
> at java.lang.Runtime.exec(Runtime.java:566)
> at java.lang.Runtime.exec(Runtime.java:428)
> at java.lang.Runtime.exec(Runtime.java:364)
> at java.lang.Runtime.exec(Runtime.java:326)
> at
> com.urbancode.pagelet.PageletCompiler.compile(PageletCompiler.java:82)
> at com.urbancode.pagelet.Pagelet.compile(Pagelet.java:214)
> at com.urbancode.pagelet.Pagelet.service(Pagelet.java:154)
> at
>
com.urbancode.pagelet.module.email.EmailMessage.send(EmailMessage.java:150)
>
> at
> com.urbancode.anthill.PageletResultEmail.send(PageletResultEmail.java:40)
> at
> com.urbancode.anthill.PageletResultEmail.send(PageletResultEmail.java:24)
> at
> com.urbancode.anthill.BuildManager.build(BuildManager.java:260)
> at
>
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)
>
> at
> com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
> at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
>
> any ideas?
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
_______________________________________________
Anthill mailing list
Anthill at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20040715/e88c1b33/attachment-0003.htm
More information about the Anthill
mailing list