[Anthill] unable to email in OS
Eric Minick
eric at urbancode.com
Thu Jul 15 15:10:59 CDT 2004
John,
Glad to know that worked. Keep in mind that you can also go into the
service management area in Windows and choose another user to run the
process as.
-- Eric
Okite, John wrote:
> 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
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
More information about the Anthill
mailing list