cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject Re: C2 problem with latest checkout
Date Wed, 31 Jan 2001 23:56:13 GMT
I am running Sun JDK 1.3.0_01, so I don't know if that makes a difference.
Other than
that, I have the same setup (down to the OS) but no issues like the ones
your experiencing.
The issues I am experiencing come from the use of the "context:" psuedo
protocol--which
in Tomcat 3.2.1 is an alias for a "file:" protocol--which Cocoon and Xalan
are having issues
resolving the URL for included XSL logicsheets.

Check your ClassPath again:
it looks like you have duplicates for Xerces and Xalan--

> DEBUG   410     [cocoon  ] (Thread-10): Classpath =
>
C:\dev\apache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\fop-0_16_0.jar;C:\dev\a
>
pache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\xerces_1_2_3.jar;C:\dev\apache\
>
tomcat3.2.1\webapps\cocoon\WEB-INF\lib\jstyle.jar;C:\dev\apache\tomcat3.2.1\
>
webapps\cocoon\WEB-INF\lib\xt.jar;C:\dev\apache\tomcat3.2.1\webapps\cocoon\W
>
EB-INF\lib\rhino.jar;C:\dev\apache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\bs
>
f.jar;C:\dev\apache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\avalonapi.jar;C:\
>
dev\apache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\jakarta-regexp-1.2.jar;C:\
>
dev\apache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\xalan_2_0_D07.jar;C:\dev\a
>
pache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\batik-all.jar;C:\dev\apache\tom
>
cat3.2.1\webapps\cocoon\WEB-INF\lib\javac.jar;C:\dev\apache\tomcat3.2.1\weba
>
pps\cocoon\WEB-INF\lib\cocoon-2.0a3.jar;C:\dev\apache\tomcat3.2.1\classes;C:
>
\dev\apache\tomcat3.2.1\lib\ant.jar;C:\dev\apache\tomcat3.2.1\lib\servlet.ja
>
r;C:\dev\apache\tomcat3.2.1\lib\webserver.jar;C:\dev\apache\tomcat3.2.1\lib\
>
jasper.jar;.;C:\java\jdk1.3\jre\lib\rt.jar;C:\java\jdk1.3\lib\classes.zip;C:
>
\dev\classes\;C:\dev\apache\tomcat3.2.1\lib\servlet.jar;C:\dev\apache\tomcat
>
3.2.1\lib\runner.jar;C:\java\jars\jdbc\postgres\jdbc7.0-1.2.jar;C:\java\jars
>
\xml\xerces\xerces-1_2_3\xerces.jar;C:\java\jars\xml\xalan\xalan_2_0_D07.jar
>
;C:\java\jars\bsh.jar;C:\java\jsse1.0.2\lib\jcert.jar;C:\java\jsse1.0.2\lib\
>
jsse.jar;C:\java\jsse1.0.2\lib\jnet.jar;C:\java\jython\jython.jar;C:\java\jd
> k1.3\lib\tools.jar

Remove the duplicates from your classpath--It's a stretch, but I've
experienced
stranger integration issues (in general not with Cocoon).


----- Original Message -----
From: Greg Weinger <gweinger@itmedicine.net>
To: <cocoon-dev@xml.apache.org>
Sent: Wednesday, January 31, 2001 5:26 PM
Subject: Re: C2 problem with latest checkout


> > I did some bug fixing in there tonight, so at least it works
> > with Servlet 2.2 and the Classic Sun Compiler.
> >
> > Try it again.
>
> Still no success.
>
> > > The other thing has me wondering whether Xalan has something changed
in
> Xalan 2.0D07.
> > > But as I said, everything works in Tomcat 3.2.1 so I think it may be
> Classloader
> > > related.
>
> I'm using Tomcat 3.2.1, sun jdk 1.3.0 (build 1.3.0-C) on Win2K, and I
still
> get the TRaX errors.  Using an older Xalan has the same result, with less
> debug output.
>
> Has anyone seen a similar problem?
>
> Here's the latest output:
>
> TOMCAT OUTPUT:
>
>
jar:file:C:/dev/apache/tomcat3.2.1/webapps/cocoon/WEB-INF/lib/cocoon-2.0a3.j
> ar!/
> org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl;
Line
> 25;
> Column 104
> Parser error: TRaX Transform Throwable
>
jar:file:C:/dev/apache/tomcat3.2.1/webapps/cocoon/WEB-INF/lib/cocoon-2.0a3.j
> ar!/
> org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl;
Line
> 105;
>  Column 70
> VariableReference given for variable out of context or without definition!
> Name
>  = factory-loader
>
jar:file:C:/dev/apache/tomcat3.2.1/webapps/cocoon/WEB-INF/lib/cocoon-2.0a3.j
> ar!/
> org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl;
Line
> 105;
>  Column 70
> Parser error: TRaX Transform Throwable
>
> COCOON LOG:
>
> DEBUG   20      [cocoon  ] (Thread-10): Using attribute:
> org.apache.tomcat.jsp_classpath
> DEBUG   20      [cocoon  ] (Thread-10): Trying to load class:
> org.postgresql.Driver
> DEBUG   50      [cocoon  ] (Thread-10): Using configuration file:
> /cocoon.xconf
> INFO    100     [cocoon  ] (Thread-10): Reloading from:
> file:C:\dev\apache\tomcat3.2.1\webapps\cocoon\cocoon.xconf
> DEBUG   310     [cocoon  ] (Thread-10): New Cocoon object.
> DEBUG   310     [cocoon  ] (Thread-10): Using parser:
> org.apache.cocoon.components.parser.XercesParser
> DEBUG   410     [cocoon  ] (Thread-10): Classpath =
>
C:\dev\apache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\fop-0_16_0.jar;C:\dev\a
>
pache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\xerces_1_2_3.jar;C:\dev\apache\
>
tomcat3.2.1\webapps\cocoon\WEB-INF\lib\jstyle.jar;C:\dev\apache\tomcat3.2.1\
>
webapps\cocoon\WEB-INF\lib\xt.jar;C:\dev\apache\tomcat3.2.1\webapps\cocoon\W
>
EB-INF\lib\rhino.jar;C:\dev\apache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\bs
>
f.jar;C:\dev\apache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\avalonapi.jar;C:\
>
dev\apache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\jakarta-regexp-1.2.jar;C:\
>
dev\apache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\xalan_2_0_D07.jar;C:\dev\a
>
pache\tomcat3.2.1\webapps\cocoon\WEB-INF\lib\batik-all.jar;C:\dev\apache\tom
>
cat3.2.1\webapps\cocoon\WEB-INF\lib\javac.jar;C:\dev\apache\tomcat3.2.1\weba
>
pps\cocoon\WEB-INF\lib\cocoon-2.0a3.jar;C:\dev\apache\tomcat3.2.1\classes;C:
>
\dev\apache\tomcat3.2.1\lib\ant.jar;C:\dev\apache\tomcat3.2.1\lib\servlet.ja
>
r;C:\dev\apache\tomcat3.2.1\lib\webserver.jar;C:\dev\apache\tomcat3.2.1\lib\
>
jasper.jar;.;C:\java\jdk1.3\jre\lib\rt.jar;C:\java\jdk1.3\lib\classes.zip;C:
>
\dev\classes\;C:\dev\apache\tomcat3.2.1\lib\servlet.jar;C:\dev\apache\tomcat
>
3.2.1\lib\runner.jar;C:\java\jars\jdbc\postgres\jdbc7.0-1.2.jar;C:\java\jars
>
\xml\xerces\xerces-1_2_3\xerces.jar;C:\java\jars\xml\xalan\xalan_2_0_D07.jar
>
;C:\java\jars\bsh.jar;C:\java\jsse1.0.2\lib\jcert.jar;C:\java\jsse1.0.2\lib\
>
jsse.jar;C:\java\jsse1.0.2\lib\jnet.jar;C:\java\jython\jython.jar;C:\java\jd
> k1.3\lib\tools.jar
> DEBUG   410     [cocoon  ] (Thread-10): Work directory =
> C:\dev\apache\tomcat3.2.1\work\localhost_8080%2Fcocoon
> DEBUG   410     [cocoon  ] (Thread-10): Creating new component pool for
> org.apache.cocoon.components.parser.XercesParser.
> DEBUG   470     [cocoon  ] (Thread-10): ComponentFactory creating new
> instance of org.apache.cocoon.components.parser.XercesParser.
> DEBUG   480     [cocoon  ] (Thread-10): ComponentFactory creating new
> instance of org.apache.cocoon.components.parser.XercesParser.
> DEBUG   480     [cocoon  ] (Thread-10): ComponentFactory creating new
> instance of org.apache.cocoon.components.parser.XercesParser.
> DEBUG   490     [cocoon  ] (Thread-10): ComponentFactory creating new
> instance of org.apache.cocoon.components.parser.XercesParser.
> DEBUG   490     [cocoon  ] (Thread-10): ComponentFactory creating new
> instance of org.apache.cocoon.components.parser.XercesParser.
> DEBUG   490     [cocoon  ] (Thread-10): ComponentFactory creating new
> instance of org.apache.cocoon.components.parser.XercesParser.
> DEBUG   490     [cocoon  ] (Thread-10): ComponentFactory creating new
> instance of org.apache.cocoon.components.parser.XercesParser.
> DEBUG   490     [cocoon  ] (Thread-10): ComponentFactory creating new
> instance of org.apache.cocoon.components.parser.XercesParser.
> DEBUG   490     [cocoon  ] (Thread-10): ComponentPool retrieved
> org.apache.cocoon.components.parser.XercesParser
> (org.apache.cocoon.components.parser.XercesParser@7ee8b8)
> DEBUG   580     [cocoon  ] (Thread-10): Root configuration: cocoon
> DEBUG   580     [cocoon  ] (Thread-10): Configuration version: 2.0
> DEBUG   580     [cocoon  ] (Thread-10): Setting up components...
> DEBUG   600     [cocoon  ] (Thread-10): Adding component
> (org.apache.cocoon.components.parser.Parser =
> org.apache.cocoon.components.parser.XercesParser)
> DEBUG   600     [cocoon  ] (Thread-10): Adding component
> (org.apache.cocoon.components.language.generator.ProgramGenerator =
> org.apache.cocoon.components.language.generator.ProgramGeneratorImpl)
> DEBUG   681     [cocoon  ] (Thread-10): Adding component
> (org.apache.cocoon.components.datasource.DataSourceComponentSelector =
> org.apache.cocoon.CocoonComponentSelector)
> DEBUG   721     [cocoon  ] (Thread-10): Adding component
> (org.apache.avalon.util.pool.PoolController =
> org.apache.cocoon.util.ComponentPoolController)
> DEBUG   721     [cocoon  ] (Thread-10): Adding component
>
(org.apache.cocoon.components.language.programming.ProgrammingLanguageSelect
> or = org.apache.cocoon.CocoonComponentSelector)
> DEBUG   721     [cocoon  ] (Thread-10): Adding component
> (org.apache.cocoon.components.language.markup.MarkupLanguageSelector =
> org.apache.cocoon.CocoonComponentSelector)
> DEBUG   721     [cocoon  ] (Thread-10): Adding component
> (org.apache.cocoon.components.store.Store =
> org.apache.cocoon.components.store.MemoryStore)
> DEBUG   771     [cocoon  ] (Thread-10): Adding component
> (org.apache.cocoon.components.classloader.ClassLoaderManager =
> org.apache.cocoon.components.classloader.ClassLoaderManagerImpl)
> DEBUG   831     [cocoon  ] (Thread-10): Setting up the sitemap.
> DEBUG   881     [cocoon  ] (Thread-10): Sitemap location = sitemap.xmap
> DEBUG   981     [cocoon  ] (Thread-10): Beginning sitemap regeneration
> DEBUG   1001    [cocoon  ] (Thread-24): CocoonComponentSelector setting up
> with root element: markup-languages
> DEBUG   1251    [cocoon  ] (Thread-24): CocoonComponentSelector setting up
> with root element: programming-languages
> DEBUG   2303    [cocoon  ] (Thread-24): Setting the parameters
> DEBUG   2423    [cocoon  ] (Thread-24): Looking up
org.apache.cocoon.Cocoon
> DEBUG   2433    [cocoon  ] (Thread-24): Looking up
org.apache.cocoon.Cocoon
> WARN    3334    [cocoon  ] (Thread-24): Language Exception
> org.apache.cocoon.components.language.LanguageException: Error compiling
> _sitemap_xmap:
> Line 0, column 0:
>
C:\dev\apache\tomcat3.2.1\work\localhost_8080%2Fcocoon\_C_\_dev\_apache\_tom
> cat3_2_1\_webapps\_cocoon\_sitemap_xmap.java:59: '}' expected.
>   private Parameters emptyParam = new Parameters();
>                                                    ^
>
>
>  at
>
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
> JavaLanguage.java:192)
>
>  at
>
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
> e.load(CompiledProgrammingLanguage.java:140)
>
>  at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:187)
>
>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:168)
>
>  at java.lang.Thread.run(Thread.java:484)
>
> ERROR   4025    [cocoon  ] (Thread-24): Error compiling sitemap
> org.apache.cocoon.components.language.LanguageException: Error compiling
> _sitemap_xmap:
> Line 0, column 0:
>
C:\dev\apache\tomcat3.2.1\work\localhost_8080%2Fcocoon\_C_\_dev\_apache\_tom
> cat3_2_1\_webapps\_cocoon\_sitemap_xmap.java:59: '}' expected.
>   private Parameters emptyParam = new Parameters();
>                                                    ^
>
>
>  at
>
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(
> JavaLanguage.java:192)
>
>  at
>
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag
> e.load(CompiledProgrammingLanguage.java:140)
>
>  at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
> ogramGeneratorImpl.java:250)
>
>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:168)
>
>  at java.lang.Thread.run(Thread.java:484)
>
> DEBUG   4035    [cocoon  ] (Thread-10): Sitemap regeneration complete
> ERROR   4035    [cocoon  ] (Thread-10): Problem with servlet
> org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
not
> available.
>
>  at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:98)
>
>  at org.apache.cocoon.Cocoon.process(Cocoon.java:247)
>
>  at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:353)
>
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>
>  at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
>
>  at org.apache.tomcat.core.Handler.service(Handler.java:286)
>
>  at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>
>  at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
>
>  at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>
>  at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:210)
>
>  at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>
>  at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>
>  at java.lang.Thread.run(Thread.java:484)
>
> INFO    4085    [cocoon  ] (Thread-10): '' Processed by Apache Cocoon
2.0a3
> in 3.194 seconds.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message