You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de> on 2001/08/13 17:48:31 UTC
Today's CVS broken?
Hi Team,
is it just me or is today's CVS broken?
(didn't work --> rm -rf work --> build.sh clean --> update to jdk 1.4
(was 1.3) --> update to catalina b7 (was b5) --> still doesn't work)
I haven't deployed a snapshot for some days so I can't really tell
when this happened first.
BTW: tools.jar is not found with jdk-1.3, jdk-1.3.1, jdk-1.4 it is
searched in $JAVA_HOME/jre/lib but resides in $JAVA_HOME/lib, this is
linux with Sun's JDKs
This is how I build it:
bash build.sh -Dinclude.webapp.libs=yes -Dinstall.war=/projects/haul/jakarta-tomcat-4.0-b7/webapps/ install
I have attached catalina's logs/localhost_log....txt
C2 doesn't write any log.
TIA,
Chris.
--
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
Re: Today's CVS broken?
Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 14.Aug.2001 -- 05:37 PM, Carsten Ziegeler wrote:
> Great!
>
> By the way: Is velocity still working without its own logkit version?
Err, no :-(
Did it work before? Haven't tried.
java.lang.NoSuchMethodError
at org.apache.velocity.runtime.log.AvalonLogSystem.init(AvalonLogSystem.java:129)
at org.apache.velocity.runtime.log.AvalonLogSystem.(AvalonLogSystem.java:101)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at org.apache.velocity.runtime.log.LogManager.createLogSystem(LogManager.java:98)
Looks like it needs its version of logkit :-((
If I have to choose, I'd say better a broken velocity than broken C2
if we can't have both.
Chris.
--
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Today's CVS broken?
Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 14.Aug.2001 -- 05:11 PM, Carsten Ziegeler wrote:
> Did you try to remove the "old" LogKit classes from the velocity jar?
Carsten,
Thanks! That's it. I didn't anticipate that I'd have to fiddle with
3rd party libs :-(
OK, everything is honky dory again. Suppose I'd better commit the
modified version of velocity-1.1.jar to CVS (consider it done)
Chris.
--
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Today's CVS broken?
Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 14.Aug.2001 -- 08:17 AM, Davanum Srinivas wrote:
> Christian,
>
> Do erverything fresh....Fresh CVS (C2.0?), Fresh Build of WAR, Fresh Tomcat Unzip and post the
> cocoon.log.
Tomcat didn't come as far as that. Carsten pointed out the solution
(remove logkit from velocity.jar, done, works fine, updated CVS)
Chris.
--
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
AW: Today's CVS broken?
Posted by Carsten Ziegeler <cz...@sundn.de>.
Did you try to remove the "old" LogKit classes from the velocity jar?
Carsten
> -----Ursprungliche Nachricht-----
> Von: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de]
> Gesendet: Dienstag, 14. August 2001 17:07
> An: cocoon-dev@xml.apache.org
> Cc: vgritsenko@hns.com
> Betreff: Re: Today's CVS broken?
>
>
> Vadim,
>
> On 13.Aug.2001 -- 03:40 PM, Vadim Gritsenko wrote:
> > > is it just me or is today's CVS broken?
>
> > Working config:
> > Win2000 + JDK1.3.1 + (Resin 2.0.1 | Tomcat b6 | Tomcat 3.2.3)
>
> Sorry, can't get it to run :-( I'm now back to jdk 1.3.1 and tomcat
> 3.2.3 to no avail. (tomcat b6 is marked bad so I didn't try it)
>
> I reckon it's got something to do with the log formater since tomcat's
> log says
>
> 3.2.3:
> [...]
> Exception in thread "main" java.lang.NoSuchMethodError
> at
> org.apache.log.output.io.StreamTarget.<init>(StreamTarget.java:34)
> at org.apache.log.output.io.FileTarget.<init>(FileTarget.java:40)
> at
> org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:380)
> at
> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:129)
> [...]
>
> 4.0b7:
> [...]
> ----- Root Cause -----
> java.lang.NoSuchMethodError
> at
> org.apache.log.output.io.StreamTarget.<init>(StreamTarget.java:34)
> at org.apache.log.output.io.FileTarget.<init>(FileTarget.java:40)
> at
> org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:380)
> at
> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:129)
> [...]
>
> I have tried to remove the latest updates from
> org.apache.cocoon.util.log.* and CocoonServlet but didn't succeed in
> getting a version that compiles OK
>
> Still wondering why it looks like I'm the only one with this problem :-|
>
> > Can you patch build.xml?
>
> Done.
>
> Chris.
>
> --
> C h r i s t i a n H a u l
> haul@informatik.tu-darmstadt.de
> fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Today's CVS broken?
Posted by Davanum Srinivas <di...@yahoo.com>.
Christian,
Do erverything fresh....Fresh CVS (C2.0?), Fresh Build of WAR, Fresh Tomcat Unzip and post the
cocoon.log.
Thanks,
dims
--- Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de> wrote:
> Vadim,
>
> On 13.Aug.2001 -- 03:40 PM, Vadim Gritsenko wrote:
> > > is it just me or is today's CVS broken?
>
> > Working config:
> > Win2000 + JDK1.3.1 + (Resin 2.0.1 | Tomcat b6 | Tomcat 3.2.3)
>
> Sorry, can't get it to run :-( I'm now back to jdk 1.3.1 and tomcat
> 3.2.3 to no avail. (tomcat b6 is marked bad so I didn't try it)
>
> I reckon it's got something to do with the log formater since tomcat's
> log says
>
> 3.2.3:
> [...]
> Exception in thread "main" java.lang.NoSuchMethodError
> at org.apache.log.output.io.StreamTarget.<init>(StreamTarget.java:34)
> at org.apache.log.output.io.FileTarget.<init>(FileTarget.java:40)
> at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:380)
> at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:129)
> [...]
>
> 4.0b7:
> [...]
> ----- Root Cause -----
> java.lang.NoSuchMethodError
> at org.apache.log.output.io.StreamTarget.<init>(StreamTarget.java:34)
> at org.apache.log.output.io.FileTarget.<init>(FileTarget.java:40)
> at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:380)
> at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:129)
> [...]
>
> I have tried to remove the latest updates from
> org.apache.cocoon.util.log.* and CocoonServlet but didn't succeed in
> getting a version that compiles OK
>
> Still wondering why it looks like I'm the only one with this problem :-|
>
> > Can you patch build.xml?
>
> Done.
>
> Chris.
>
> --
> C h r i s t i a n H a u l
> haul@informatik.tu-darmstadt.de
> fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
Re: Today's CVS broken?
Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
Vadim,
On 13.Aug.2001 -- 03:40 PM, Vadim Gritsenko wrote:
> > is it just me or is today's CVS broken?
> Working config:
> Win2000 + JDK1.3.1 + (Resin 2.0.1 | Tomcat b6 | Tomcat 3.2.3)
Sorry, can't get it to run :-( I'm now back to jdk 1.3.1 and tomcat
3.2.3 to no avail. (tomcat b6 is marked bad so I didn't try it)
I reckon it's got something to do with the log formater since tomcat's
log says
3.2.3:
[...]
Exception in thread "main" java.lang.NoSuchMethodError
at org.apache.log.output.io.StreamTarget.<init>(StreamTarget.java:34)
at org.apache.log.output.io.FileTarget.<init>(FileTarget.java:40)
at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:380)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:129)
[...]
4.0b7:
[...]
----- Root Cause -----
java.lang.NoSuchMethodError
at org.apache.log.output.io.StreamTarget.<init>(StreamTarget.java:34)
at org.apache.log.output.io.FileTarget.<init>(FileTarget.java:40)
at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:380)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:129)
[...]
I have tried to remove the latest updates from
org.apache.cocoon.util.log.* and CocoonServlet but didn't succeed in
getting a version that compiles OK
Still wondering why it looks like I'm the only one with this problem :-|
> Can you patch build.xml?
Done.
Chris.
--
C h r i s t i a n H a u l
haul@informatik.tu-darmstadt.de
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
RE: Today's CVS broken?
Posted by Vadim Gritsenko <vg...@hns.com>.
> -----Original Message-----
> From: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de]
> Sent: Monday, August 13, 2001 11:49 AM
> To: cocoon-dev@xml.apache.org
> Subject: Today's CVS broken?
>
>
> Hi Team,
>
> is it just me or is today's CVS broken?
>
> (didn't work --> rm -rf work --> build.sh clean --> update to jdk 1.4
JDK1.4 have crimson bundled into rt.jar.
> (was 1.3) --> update to catalina b7 (was b5) --> still doesn't work)
Working config:
Win2000 + JDK1.3.1 + (Resin 2.0.1 | Tomcat b6 | Tomcat 3.2.3)
>
> I haven't deployed a snapshot for some days so I can't really tell
> when this happened first.
>
> BTW: tools.jar is not found with jdk-1.3, jdk-1.3.1, jdk-1.4 it is
> searched in $JAVA_HOME/jre/lib but resides in $JAVA_HOME/lib, this is
> linux with Sun's JDKs
build tries to find tools.jar under ${java.home}, which is set by JRE to __JRE__ installation
directory. Obviously, tools.jar is missing there - it is in __JDK__ installation directory ($JAVA_HOME/lib)
Can you patch build.xml?
PS: It does work for me without tools.jar.
Vadim
>
> This is how I build it:
> bash build.sh -Dinclude.webapp.libs=yes -Dinstall.war=/projects/haul/jakarta-tomcat-4.0-b7/webapps/ install
>
> I have attached catalina's logs/localhost_log....txt
>
> C2 doesn't write any log.
>
> TIA,
>
> Chris.
>
> --
> C h r i s t i a n H a u l
> haul@informatik.tu-darmstadt.de
> fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org