You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by la...@masq.ca on 2002/04/09 19:25:00 UTC

Problems building from CVS source

Hi,

I'm trying to get Cactus to compile from source -- there's no nightly build
tar. When I do though, I get this error:

     [java] init:
     [java] 
     [java] compile.sample:
     [java]     [javac] Compiling 2 source files to /usr/local/soft/cactus/src/default/i686_pc_linux_gnu/jakarta-cactus/sample-servlet/target/sample/target/classes/sample
     [java]     [javac] /usr/local/soft/cactus/src/default/i686_pc_linux_gnu/jakarta-cactus/sample-servlet/target/sample/src/sample/org/apache/cactus/sample/SampleFilter.java:77: org.apache.cactus.sample.SampleFilter should be declared abstract; it does not define getFilterConfig() in org.apache.cactus.sample.SampleFilter
     [java]     [javac] public class SampleFilter implements Filter
     [java]     [javac]        ^
     [java]     [javac] Note: /usr/local/soft/cactus/src/default/i686_pc_linux_gnu/jakarta-cactus/sample-servlet/target/sample/src/sample/org/apache/cactus/sample/TestSampleServletConfig.java uses or overrides a deprecated API.
     [java]     [javac] Note: Recompile with -deprecation for details.
     [java]     [javac] 1 error
     [java] 
     [java] BUILD FAILED
     [java] /usr/local/soft/cactus/src/default/i686_pc_linux_gnu/jakarta-cactus/sample-servlet/target/sample/build/build.xml:195: Compile failed; see the compiler error output for details.
     [java] 
     [java] Total time: 6 seconds

BUILD FAILED
/usr/local/soft/cactus/src/default/i686_pc_linux_gnu/jakarta-cactus/sample-servlet/build.xml:361: Java returned: 1

Is the code supposed to build? Is there another location where I should be
getting it? Is there a recent binary available? My goal is to run cactus
with a Weblogic 6.1 setup, and it doesn't look like 1.2 supports it.

Thanks,

L

-- 
Laurent Duperval <ma...@masq.ca>

MURPHY'S_LAWS_OF_COMBAT:
  6. Try to look unimportant, they may be low on ammo.



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


RE: Problems building from CVS source

Posted by Vincent Massol <vm...@octo.com>.

> -----Original Message-----
> From: laurent.duperval@masq.ca [mailto:laurent.duperval@masq.ca]
> Sent: 16 April 2002 12:43
> To: cactus-user@jakarta.apache.org
> Subject: Re: Problems building from CVS source
> 
> On 16 Apr, Vincent Massol wrote:
> > Laurent,
> >
> > In a few days, you've posted several questions to the list. This is
fine
> > and appreciated. However, could you also post when your problem is
> > solved so that others (including :-)) stop looking for a solution
when
> > you have already found it.
> >
> 
> Sure. I hadn't realised that my last sentence was construed as a
problem.
> 
> > For the problem below for example, I don't know if you've solved it
or
> > not. In case you haven't the solution is simple: the testURL you
> > specified in runservertests is invalid (try it in a browser, you'll
> > see).
> >
> 
> Well, I've managed to write a couple of tests and that works. I'm not
sure
> that the sample worked, though. I think I gave up on it and decided
that
> it
> was more important to get my tests working first. I'd like to try it
with
> the build tree now but because of the checkstyle thing I posted about
> earlier, I can't compile yet.

I'll post a manually built version of 1.3dev tonight on the Cactus web
site.
Thanks

-Vincent

> 
> L
> 
> > Thanks
> > -Vincent
> >
> >> -----Original Message-----
> >> From: laurent.duperval@masq.ca [mailto:laurent.duperval@masq.ca]
> >> Sent: 09 April 2002 19:02
> >> To: cactus-user@jakarta.apache.org
> >> Subject: Re: Problems building from CVS source
> >>
> >> On  9 Apr, Vincent Massol wrote:
> >> > hum. Strange. I'll have a look at it tomorrow. Which servlet jar
are
> > you
> >> > using (Servlet API 2.2 or 2.3) ?
> >> >
> >>
> >> 2.3, looks like.
> >>
> >> > No, CVS is the correct location. On Jakarta, there is a nightly
> > build
> >> > every day. You can get the results of this builds on
> >> > http://jakarta.apache.org/builds/gump/latest/, and you can get
the
> >> > Cactus generated jars on http://gump.covalent.net/jars
> >> >
> >>
> >> But some of them seem broken (cactus framework-13 and 12) and it
looks
> >> like
> >> the code that's giving me problems.
> >>
> >> Anyway, I'm attaching some patches (diff -u) that allowed me to
pass
> > the
> >> compile portion. I'm now getting the WLS hang everyone's been
talking
> >> about
> >> so I'm attacking this next.
> >>
> >> L
> >>
> >> --
> >> Laurent Duperval <ma...@masq.ca>
> >>
> >> HUBBARD'S LAW
> >>     Don't take life too seriously; you won't get out of it alive.
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>
> 
> --
> Laurent Duperval <ma...@masq.ca>
> 
> On the other hand, you have different fingers.
>         -Stephen Wright
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>
> 




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


Re: Problems building from CVS source

Posted by la...@masq.ca.
On 16 Apr, Vincent Massol wrote:
> Laurent,
> 
> In a few days, you've posted several questions to the list. This is fine
> and appreciated. However, could you also post when your problem is
> solved so that others (including :-)) stop looking for a solution when
> you have already found it.
> 

Sure. I hadn't realised that my last sentence was construed as a problem.

> For the problem below for example, I don't know if you've solved it or
> not. In case you haven't the solution is simple: the testURL you
> specified in runservertests is invalid (try it in a browser, you'll
> see). 
> 

Well, I've managed to write a couple of tests and that works. I'm not sure
that the sample worked, though. I think I gave up on it and decided that it
was more important to get my tests working first. I'd like to try it with
the build tree now but because of the checkstyle thing I posted about
earlier, I can't compile yet.

L

> Thanks
> -Vincent
> 
>> -----Original Message-----
>> From: laurent.duperval@masq.ca [mailto:laurent.duperval@masq.ca]
>> Sent: 09 April 2002 19:02
>> To: cactus-user@jakarta.apache.org
>> Subject: Re: Problems building from CVS source
>> 
>> On  9 Apr, Vincent Massol wrote:
>> > hum. Strange. I'll have a look at it tomorrow. Which servlet jar are
> you
>> > using (Servlet API 2.2 or 2.3) ?
>> >
>> 
>> 2.3, looks like.
>> 
>> > No, CVS is the correct location. On Jakarta, there is a nightly
> build
>> > every day. You can get the results of this builds on
>> > http://jakarta.apache.org/builds/gump/latest/, and you can get the
>> > Cactus generated jars on http://gump.covalent.net/jars
>> >
>> 
>> But some of them seem broken (cactus framework-13 and 12) and it looks
>> like
>> the code that's giving me problems.
>> 
>> Anyway, I'm attaching some patches (diff -u) that allowed me to pass
> the
>> compile portion. I'm now getting the WLS hang everyone's been talking
>> about
>> so I'm attacking this next.
>> 
>> L
>> 
>> --
>> Laurent Duperval <ma...@masq.ca>
>> 
>> HUBBARD'S LAW
>>     Don't take life too seriously; you won't get out of it alive.
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

-- 
Laurent Duperval <ma...@masq.ca>

On the other hand, you have different fingers.
        -Stephen Wright



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


RE: Problems building from CVS source

Posted by Vincent Massol <vm...@octo.com>.
Laurent,

In a few days, you've posted several questions to the list. This is fine
and appreciated. However, could you also post when your problem is
solved so that others (including :-)) stop looking for a solution when
you have already found it.

For the problem below for example, I don't know if you've solved it or
not. In case you haven't the solution is simple: the testURL you
specified in runservertests is invalid (try it in a browser, you'll
see). 

Thanks
-Vincent

> -----Original Message-----
> From: laurent.duperval@masq.ca [mailto:laurent.duperval@masq.ca]
> Sent: 09 April 2002 19:02
> To: cactus-user@jakarta.apache.org
> Subject: Re: Problems building from CVS source
> 
> On  9 Apr, Vincent Massol wrote:
> > hum. Strange. I'll have a look at it tomorrow. Which servlet jar are
you
> > using (Servlet API 2.2 or 2.3) ?
> >
> 
> 2.3, looks like.
> 
> > No, CVS is the correct location. On Jakarta, there is a nightly
build
> > every day. You can get the results of this builds on
> > http://jakarta.apache.org/builds/gump/latest/, and you can get the
> > Cactus generated jars on http://gump.covalent.net/jars
> >
> 
> But some of them seem broken (cactus framework-13 and 12) and it looks
> like
> the code that's giving me problems.
> 
> Anyway, I'm attaching some patches (diff -u) that allowed me to pass
the
> compile portion. I'm now getting the WLS hang everyone's been talking
> about
> so I'm attacking this next.
> 
> L
> 
> --
> Laurent Duperval <ma...@masq.ca>
> 
> HUBBARD'S LAW
>     Don't take life too seriously; you won't get out of it alive.




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


Re: Problems building from CVS source

Posted by la...@masq.ca.
On  9 Apr, Vincent Massol wrote:
> hum. Strange. I'll have a look at it tomorrow. Which servlet jar are you
> using (Servlet API 2.2 or 2.3) ?
> 

2.3, looks like.

> No, CVS is the correct location. On Jakarta, there is a nightly build
> every day. You can get the results of this builds on
> http://jakarta.apache.org/builds/gump/latest/, and you can get the
> Cactus generated jars on http://gump.covalent.net/jars
> 

But some of them seem broken (cactus framework-13 and 12) and it looks like
the code that's giving me problems.

Anyway, I'm attaching some patches (diff -u) that allowed me to pass the
compile portion. I'm now getting the WLS hang everyone's been talking about
so I'm attacking this next.

L

-- 
Laurent Duperval <ma...@masq.ca>

HUBBARD'S LAW
    Don't take life too seriously; you won't get out of it alive.


RE: Problems building from CVS source

Posted by Vincent Massol <vm...@octo.com>.

> -----Original Message-----
> From: laurent.duperval@masq.ca [mailto:laurent.duperval@masq.ca]
> Sent: 09 April 2002 18:25
> To: Cactus Mailing List
> Subject: Problems building from CVS source
> 
> Hi,
> 
> I'm trying to get Cactus to compile from source -- there's no nightly
> build
> tar. 

Sigh ... yes, it's currently broken and I'm away for 1 more day. I will
fix this tomorrow.

> When I do though, I get this error:
> 
>      [java] init:
>      [java]
>      [java] compile.sample:
>      [java]     [javac] Compiling 2 source files to
> /usr/local/soft/cactus/src/default/i686_pc_linux_gnu/jakarta-
> cactus/sample-servlet/target/sample/target/classes/sample
>      [java]     [javac]
> /usr/local/soft/cactus/src/default/i686_pc_linux_gnu/jakarta-
> cactus/sample-
>
servlet/target/sample/src/sample/org/apache/cactus/sample/SampleFilter.j
av
> a:77: org.apache.cactus.sample.SampleFilter should be declared
abstract;
> it does not define getFilterConfig() in
> org.apache.cactus.sample.SampleFilter
>      [java]     [javac] public class SampleFilter implements Filter
>      [java]     [javac]        ^
>      [java]     [javac] Note:
> /usr/local/soft/cactus/src/default/i686_pc_linux_gnu/jakarta-
> cactus/sample-
>
servlet/target/sample/src/sample/org/apache/cactus/sample/TestSampleServ
le
> tConfig.java uses or overrides a deprecated API.
>      [java]     [javac] Note: Recompile with -deprecation for details.
>      [java]     [javac] 1 error
>      [java]
>      [java] BUILD FAILED
>      [java]
/usr/local/soft/cactus/src/default/i686_pc_linux_gnu/jakarta-
> cactus/sample-servlet/target/sample/build/build.xml:195: Compile
failed;
> see the compiler error output for details.
>      [java]
>      [java] Total time: 6 seconds
> 
> BUILD FAILED
> /usr/local/soft/cactus/src/default/i686_pc_linux_gnu/jakarta-
> cactus/sample-servlet/build.xml:361: Java returned: 1
> 

hum. Strange. I'll have a look at it tomorrow. Which servlet jar are you
using (Servlet API 2.2 or 2.3) ?

> Is the code supposed to build? 

Yes !!

> Is there another location where I should be
> getting it? 

No, CVS is the correct location. On Jakarta, there is a nightly build
every day. You can get the results of this builds on
http://jakarta.apache.org/builds/gump/latest/, and you can get the
Cactus generated jars on http://gump.covalent.net/jars

> Is there a recent binary available? My goal is to run cactus
> with a Weblogic 6.1 setup, and it doesn't look like 1.2 supports it.

It does but anyway there has been a lot of nice things added to Cactus
1.3 and I would recommend this version. See above for where you can get
the latest cactus jars.

Thanks
-Vincent

> 
> Thanks,
> 
> L
> 
> --
> Laurent Duperval <ma...@masq.ca>
> 
> MURPHY'S_LAWS_OF_COMBAT:
>   6. Try to look unimportant, they may be low on ammo.
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>
> 




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


Re: Problems building from CVS source

Posted by la...@masq.ca.
On  9 Apr, To: Cactus Mailing List wrote:
> Hi,
> 
> I'm trying to get Cactus to compile from source -- there's no nightly build
> tar. When I do though, I get this error:
> 

Ooops! Hit the Send button instead of the Cancel button. Sorry 'bout this...

L

-- 
Laurent Duperval <ma...@masq.ca>

MURPHY'S LAW OF THERMODYNAMICS
    Things get worse under pressure.



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