You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Adam Jack <aj...@openbiz.biz> on 2002/08/09 20:24:44 UTC

JSPC 'Java returned: 9'

Anybody seen this w/ JspC? The thing seems to have worked, and create the
java files for each JSP, but this is always the reults (when ant run
with -debug) and no other error message.

regards

Adam
-------------------------------------------------------------------
BUILD FAILED
E:\data\OpenBiz\wwwroot\build.xml:252: Java returned: 9
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:110)
        at
org.apache.tools.ant.taskdefs.optional.jsp.compilers.JasperC.execut
JasperC.java:126)
        at
org.apache.tools.ant.taskdefs.optional.jsp.JspC.doCompilation(JspC.
va:458)
        at
org.apache.tools.ant.taskdefs.optional.jsp.JspC.execute(JspC.java:4
)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:606)
        at org.apache.tools.ant.Main.start(Main.java:195)
        at org.apache.tools.ant.Main.main(Main.java:234)

Total time: 1 minute 37 seconds

--
Open Business Interchange: <http://www.openbiz.biz>
The Revolutionary B2Bi Web Service ...


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: JSPC 'Java returned: 9'

Posted by Adam Jack <aj...@openbiz.biz>.
OK, I got them, I guess I was expecting ant errors, but I see jasper is
crashing.

Anybody know if the latest jasper/ant combinations are trustworthy? I got
burned on a bad combo before, and don't know whether to dare "upgrade".

regards

Adam

     [jspc] Compiling 357 source
filesF:\java\interim\${openbiz.part}\com\openbiz\jsp\${openbiz\part}
     [java] java.util.EmptyStackException
     [java] 	at java.util.Stack.peek(Stack.java:82)
     [java] 	at
org.apache.jasper.compiler.ParserController.resolveFileName(ParserController
.java:420)
     [java] 	at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:187)
     [java] 	at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
     [java] 	at org.apache.jasper.JspC.parseFile(JspC.java:407)
     [java] 	at org.apache.jasper.JspC.parseFiles(JspC.java:727)
     [java] 	at org.apache.jasper.JspC.main(JspC.java:742)
     [java] java.util.EmptyStackException
     [java] 	at java.util.Stack.peek(Stack.java:82)
     [java] 	at
org.apache.jasper.compiler.ParserController.resolveFileName(ParserController
.java:420)
     [java] 	at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:187)
     [java] 	at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
     [java] 	at org.apache.jasper.JspC.parseFile(JspC.java:407)
     [java] 	at org.apache.jasper.JspC.parseFiles(JspC.java:727)
     [java] 	at org.apache.jasper.JspC.main(JspC.java:742)
     [java] java.util.EmptyStackException
     [java] 	at java.util.Stack.peek(Stack.java:82)
     [java] 	at
-----Original Message-----
From: Steve Loughran [mailto:steve_l@iseran.com]
Sent: Friday, August 09, 2002 3:06 PM
To: Ant Users List; ajack@openbiz.biz
Subject: Re: JSPC 'Java returned: 9'


you should have seen them, because jasper just chucks them to stdout and ant
pulls them back and prints them.

so maybe something wierd is happening, like the command line isnt to
jasper's liking (but the -die -9 bit is being handled, we can see that )

----- Original Message -----
From: "Adam Jack" <aj...@openbiz.biz>
To: "'Ant Users List'" <an...@jakarta.apache.org>
Sent: Friday, August 09, 2002 12:11 PM
Subject: RE: JSPC 'Java returned: 9'


> Steve Loughran [mailto:steve_l@iseran.com] wrote:
> > "-9" error means that jasper returned an error.
> Is there a way for me to see any error messages, 'cos I see none.
> regards
> Adam
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: JSPC 'Java returned: 9'

Posted by Steve Loughran <st...@iseran.com>.
you should have seen them, because jasper just chucks them to stdout and ant
pulls them back and prints them.

so maybe something wierd is happening, like the command line isnt to
jasper's liking (but the -die -9 bit is being handled, we can see that )

----- Original Message -----
From: "Adam Jack" <aj...@openbiz.biz>
To: "'Ant Users List'" <an...@jakarta.apache.org>
Sent: Friday, August 09, 2002 12:11 PM
Subject: RE: JSPC 'Java returned: 9'


> Steve Loughran [mailto:steve_l@iseran.com] wrote:
> > "-9" error means that jasper returned an error.
> Is there a way for me to see any error messages, 'cos I see none.
> regards
> Adam
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: JSPC 'Java returned: 9'

Posted by Adam Jack <aj...@openbiz.biz>.
Steve Loughran [mailto:steve_l@iseran.com] wrote:
> "-9" error means that jasper returned an error.
Is there a way for me to see any error messages, 'cos I see none.
regards
Adam

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Compiling jsp with ant script

Posted by amol desai <am...@yahoo.com>.
Hi,

How do I compile jsp  using ant script  ? 

I am using SUN ONE application server 7.0.

Your help will be appreciated

Thanks,
-Amol

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: JSPC 'Java returned: 9'

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Adam Jack" <aj...@openbiz.biz>
To: "'Ant Users List'" <an...@jakarta.apache.org>
Sent: Friday, August 09, 2002 11:24 AM
Subject: JSPC 'Java returned: 9'


> Anybody seen this w/ JspC? The thing seems to have worked, and create the
> java files for each JSP, but this is always the reults (when ant run
> with -debug) and no other error message.

a "-9" error means that jasper returned an error.

>
> regards
>
> Adam
> -------------------------------------------------------------------
> BUILD FAILED
> E:\data\OpenBiz\wwwroot\build.xml:252: Java returned: 9
>         at org.apache.tools.ant.taskdefs.Java.execute(Java.java:110)
>         at
> org.apache.tools.ant.taskdefs.optional.jsp.compilers.JasperC.execut
> JasperC.java:126)
>         at
> org.apache.tools.ant.taskdefs.optional.jsp.JspC.doCompilation(JspC.
> va:458)
>         at
> org.apache.tools.ant.taskdefs.optional.jsp.JspC.execute(JspC.java:4
> )
>         at org.apache.tools.ant.Task.perform(Task.java:317)
>         at org.apache.tools.ant.Target.execute(Target.java:309)
>         at org.apache.tools.ant.Target.performTasks(Target.java:334)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>         at org.apache.tools.ant.Main.runBuild(Main.java:606)
>         at org.apache.tools.ant.Main.start(Main.java:195)
>         at org.apache.tools.ant.Main.main(Main.java:234)
>
> Total time: 1 minute 37 seconds
>
> --
> Open Business Interchange: <http://www.openbiz.biz>
> The Revolutionary B2Bi Web Service ...
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>