You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by David Crossley <cr...@indexgeo.com.au> on 2001/08/24 08:09:42 UTC

[patch] entity catalogs - xdocs and samples

Attached is a collection of bits to support the new facility for
entity catalogs. There is a README inside the tar file that
describes where each piece needs to go. There is a doco
page xdocs/catalog.xml, a new sample, a default catalog,
some default entities, an example CatalogManager.properties,
and diffs for docs/samples/samples.xml, xdocs/*-book.xml,
and webapp/sitemap.xmap
regards, David Crossley

Re: [C2] Source path relative to servlet context

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
Yes, I will post them with the JSPReader.
Do you think, that path resolution part must be done inside of
JSPEngineXXXs? Just now I do it in my JSPReader generate() method.

Btw, is that correct that
resolver.resolve(source).getSystemId();
returns a system dependent path (with '\' separators for Windows), but
contextDir path uses '/'s?

> Konstantin,
>
> Will you have some time to post patches to the JSPEngineXXXX files?
>
> Thanks,
> dims
>
> --- "Piroumian, Konstantin" <KP...@flagship.ru> wrote:
> > Thank you very much!
> >
> > This was the way that I would use if nobody would show me a better way
or
> > more unified. ;)
> > Maybe this must be added to the Source interface? Somthing like:
> > Source.getContextId() ?
> >
> > > Konstantin,
> > >
> > > Check ProgramGeneratorImpl.java, lines 150-164.
> > > Hope this helps.
> > >
> > > Vadim
> > >
> > > > -----Original Message-----
> > > > From: Piroumian, Konstantin [mailto:KPiroumian@flagship.ru]
> > > > Sent: Thursday, August 30, 2001 10:11 AM
> > > > To: cocoon-dev@xml.apache.org
> > > > Subject: [C2] Source path relative to servlet context
> > > >
> > > >
> > > > Hi, all!
> > > >
> > > > Can anybody help me with path resolution? I need a path relative to
the
> > > > servlet context, which I will pass to JspEngine/JspServlet for
> > processing.
> > > > In my sitemap I have:
> > > >
> > > > <map:match pattern="test/welcome.htm">
> > > >      <map:read src="path-to-jsp/welcome.jsp" type="jsp"
> > > > mime-type="text/html"/>
> > > > </map:match>
> > > >
> > > > When I use an absolute path path-to-jsp = "/jsp/welcome.jsp" then
this
> > > > resolves to "file:/jsp/welcome.jsp" and I strip the "file:" and pass
> > > > "/jsp/welcome.jsp" to JSPEngine and this works.
> > > >
> > > > When I use path-to-jsp = "context://jsp/welcome.jsp" the path
resolves
> > to an
> > > > absolute path, say:
"file:/C:/tomcat/webapps/cocoon2/jsp/welcome.jsp"
> > and
> > > > JspServlet calls getRealPath() with this and gets the path prefixed
with
> > > > servlet context path twice. And of course it gives File Not Found
error.
> > > >
> > > > The same thing happens with relative path path-to-jsp-dir =
> > > > "jsp/welcome.jsp". I get an exception because of a wrong file path
and
> > File
> > > > Not Found error is returned.
> > > >
> > > > So, to conclude all this: I need a path relative to the servlet
contex.
> > > > /jsp/welcome.jsp ==> /jsp/welcome.jsp
> > > > jsp/welcome.jsp ==> <request-path>/jsp/welcome.jsp
> > > > context://jsp/welcome.jsp ==> /jsp/welcome.jsp
> > > > etc.
> > > >
> > > > Are there any hints where do I start? Somewhere in URLFactoryImpl?
> > > >
> > > > Any help is very appreciated.
> > > >
> > > > Regards,
> > > >     Konstantin Piroumian
> > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > 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
> > >
> >
> > ---------------------------------------------------------------------
> > 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!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
> http://im.yahoo.com
>
> ---------------------------------------------------------------------
> 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: [C2] Source path relative to servlet context

Posted by Davanum Srinivas <di...@yahoo.com>.
Konstantin,

Will you have some time to post patches to the JSPEngineXXXX files?

Thanks,
dims

--- "Piroumian, Konstantin" <KP...@flagship.ru> wrote:
> Thank you very much!
> 
> This was the way that I would use if nobody would show me a better way or
> more unified. ;)
> Maybe this must be added to the Source interface? Somthing like:
> Source.getContextId() ?
> 
> > Konstantin,
> >
> > Check ProgramGeneratorImpl.java, lines 150-164.
> > Hope this helps.
> >
> > Vadim
> >
> > > -----Original Message-----
> > > From: Piroumian, Konstantin [mailto:KPiroumian@flagship.ru]
> > > Sent: Thursday, August 30, 2001 10:11 AM
> > > To: cocoon-dev@xml.apache.org
> > > Subject: [C2] Source path relative to servlet context
> > >
> > >
> > > Hi, all!
> > >
> > > Can anybody help me with path resolution? I need a path relative to the
> > > servlet context, which I will pass to JspEngine/JspServlet for
> processing.
> > > In my sitemap I have:
> > >
> > > <map:match pattern="test/welcome.htm">
> > >      <map:read src="path-to-jsp/welcome.jsp" type="jsp"
> > > mime-type="text/html"/>
> > > </map:match>
> > >
> > > When I use an absolute path path-to-jsp = "/jsp/welcome.jsp" then this
> > > resolves to "file:/jsp/welcome.jsp" and I strip the "file:" and pass
> > > "/jsp/welcome.jsp" to JSPEngine and this works.
> > >
> > > When I use path-to-jsp = "context://jsp/welcome.jsp" the path resolves
> to an
> > > absolute path, say: "file:/C:/tomcat/webapps/cocoon2/jsp/welcome.jsp"
> and
> > > JspServlet calls getRealPath() with this and gets the path prefixed with
> > > servlet context path twice. And of course it gives File Not Found error.
> > >
> > > The same thing happens with relative path path-to-jsp-dir =
> > > "jsp/welcome.jsp". I get an exception because of a wrong file path and
> File
> > > Not Found error is returned.
> > >
> > > So, to conclude all this: I need a path relative to the servlet contex.
> > > /jsp/welcome.jsp ==> /jsp/welcome.jsp
> > > jsp/welcome.jsp ==> <request-path>/jsp/welcome.jsp
> > > context://jsp/welcome.jsp ==> /jsp/welcome.jsp
> > > etc.
> > >
> > > Are there any hints where do I start? Somewhere in URLFactoryImpl?
> > >
> > > Any help is very appreciated.
> > >
> > > Regards,
> > >     Konstantin Piroumian
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
> 
> ---------------------------------------------------------------------
> 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!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2] Source path relative to servlet context

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
Thank you very much!

This was the way that I would use if nobody would show me a better way or
more unified. ;)
Maybe this must be added to the Source interface? Somthing like:
Source.getContextId() ?

> Konstantin,
>
> Check ProgramGeneratorImpl.java, lines 150-164.
> Hope this helps.
>
> Vadim
>
> > -----Original Message-----
> > From: Piroumian, Konstantin [mailto:KPiroumian@flagship.ru]
> > Sent: Thursday, August 30, 2001 10:11 AM
> > To: cocoon-dev@xml.apache.org
> > Subject: [C2] Source path relative to servlet context
> >
> >
> > Hi, all!
> >
> > Can anybody help me with path resolution? I need a path relative to the
> > servlet context, which I will pass to JspEngine/JspServlet for
processing.
> > In my sitemap I have:
> >
> > <map:match pattern="test/welcome.htm">
> >      <map:read src="path-to-jsp/welcome.jsp" type="jsp"
> > mime-type="text/html"/>
> > </map:match>
> >
> > When I use an absolute path path-to-jsp = "/jsp/welcome.jsp" then this
> > resolves to "file:/jsp/welcome.jsp" and I strip the "file:" and pass
> > "/jsp/welcome.jsp" to JSPEngine and this works.
> >
> > When I use path-to-jsp = "context://jsp/welcome.jsp" the path resolves
to an
> > absolute path, say: "file:/C:/tomcat/webapps/cocoon2/jsp/welcome.jsp"
and
> > JspServlet calls getRealPath() with this and gets the path prefixed with
> > servlet context path twice. And of course it gives File Not Found error.
> >
> > The same thing happens with relative path path-to-jsp-dir =
> > "jsp/welcome.jsp". I get an exception because of a wrong file path and
File
> > Not Found error is returned.
> >
> > So, to conclude all this: I need a path relative to the servlet contex.
> > /jsp/welcome.jsp ==> /jsp/welcome.jsp
> > jsp/welcome.jsp ==> <request-path>/jsp/welcome.jsp
> > context://jsp/welcome.jsp ==> /jsp/welcome.jsp
> > etc.
> >
> > Are there any hints where do I start? Somewhere in URLFactoryImpl?
> >
> > Any help is very appreciated.
> >
> > Regards,
> >     Konstantin Piroumian
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [C2] Source path relative to servlet context

Posted by Vadim Gritsenko <vg...@hns.com>.
Konstantin,

Check ProgramGeneratorImpl.java, lines 150-164.
Hope this helps.

Vadim

> -----Original Message-----
> From: Piroumian, Konstantin [mailto:KPiroumian@flagship.ru]
> Sent: Thursday, August 30, 2001 10:11 AM
> To: cocoon-dev@xml.apache.org
> Subject: [C2] Source path relative to servlet context
> 
> 
> Hi, all!
> 
> Can anybody help me with path resolution? I need a path relative to the
> servlet context, which I will pass to JspEngine/JspServlet for processing.
> In my sitemap I have:
> 
> <map:match pattern="test/welcome.htm">
>      <map:read src="path-to-jsp/welcome.jsp" type="jsp"
> mime-type="text/html"/>
> </map:match>
> 
> When I use an absolute path path-to-jsp = "/jsp/welcome.jsp" then this
> resolves to "file:/jsp/welcome.jsp" and I strip the "file:" and pass
> "/jsp/welcome.jsp" to JSPEngine and this works.
> 
> When I use path-to-jsp = "context://jsp/welcome.jsp" the path resolves to an
> absolute path, say: "file:/C:/tomcat/webapps/cocoon2/jsp/welcome.jsp" and
> JspServlet calls getRealPath() with this and gets the path prefixed with
> servlet context path twice. And of course it gives File Not Found error.
> 
> The same thing happens with relative path path-to-jsp-dir =
> "jsp/welcome.jsp". I get an exception because of a wrong file path and File
> Not Found error is returned.
> 
> So, to conclude all this: I need a path relative to the servlet contex.
> /jsp/welcome.jsp ==> /jsp/welcome.jsp
> jsp/welcome.jsp ==> <request-path>/jsp/welcome.jsp
> context://jsp/welcome.jsp ==> /jsp/welcome.jsp
> etc.
> 
> Are there any hints where do I start? Somewhere in URLFactoryImpl?
> 
> Any help is very appreciated.
> 
> Regards,
>     Konstantin Piroumian
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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: [C2] Source path relative to servlet context

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
> On Thu, 30 Aug 2001, Piroumian, Konstantin wrote:
>
> Konstantin, I really don't know why you need that. It has worked for
> months now and why should we change URLFactoryImpl and what do we gain?

I didn't ask you to change anything, I only needed an advice about that. I
need a relative to context path, because I have to pass that path to a JSP
servlet (any, not only Apache Jasper), otherwise it won't work.

> I think either JspServlet is wrong or your implementation of the
> jsp-reader, don't you think? I would like you to try to use the
> HttpContext in your jsp-reader to determine the context relative portion
> of the src value.

I am using that method  now (thanks to Vadim Gritsenko who gave me the
hint). The JspServlet is not wrong - it works as expected by the
specification (Servlet ans JSP). The implementation of JSPReader is in work,
so it is possible to be wrong ;)

Btw, I tried to make my JSPReader Contextualiazable, but it seems that
contextualize method was never called. What's can wrong: a reader cannot be
contextualizable or I do something wrong?

Thanks for any help.

>
> Giacomo
>
> > Hi, all!
> >
> > Can anybody help me with path resolution? I need a path relative to the
> > servlet context, which I will pass to JspEngine/JspServlet for
processing.
> > In my sitemap I have:
> >
> > <map:match pattern="test/welcome.htm">
> >      <map:read src="path-to-jsp/welcome.jsp" type="jsp"
> > mime-type="text/html"/>
> > </map:match>
> >
> > When I use an absolute path path-to-jsp = "/jsp/welcome.jsp" then this
> > resolves to "file:/jsp/welcome.jsp" and I strip the "file:" and pass
> > "/jsp/welcome.jsp" to JSPEngine and this works.
> >
> > When I use path-to-jsp = "context://jsp/welcome.jsp" the path resolves
to an
> > absolute path, say: "file:/C:/tomcat/webapps/cocoon2/jsp/welcome.jsp"
and
> > JspServlet calls getRealPath() with this and gets the path prefixed with
> > servlet context path twice. And of course it gives File Not Found error.
> >
> > The same thing happens with relative path path-to-jsp-dir =
> > "jsp/welcome.jsp". I get an exception because of a wrong file path and
File
> > Not Found error is returned.
> >
> > So, to conclude all this: I need a path relative to the servlet contex.
> > /jsp/welcome.jsp ==> /jsp/welcome.jsp
> > jsp/welcome.jsp ==> <request-path>/jsp/welcome.jsp
> > context://jsp/welcome.jsp ==> /jsp/welcome.jsp
> > etc.
> >
> > Are there any hints where do I start? Somewhere in URLFactoryImpl?
> >
> > Any help is very appreciated.
> >
> > Regards,
> >     Konstantin Piroumian


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2] Source path relative to servlet context

Posted by giacomo <gi...@apache.org>.
On Thu, 30 Aug 2001, Piroumian, Konstantin wrote:

Konstantin, I really don't know why you need that. It has worked for
months now and why should we change URLFactoryImpl and what do we gain?
I think either JspServlet is wrong or your implementation of the
jsp-reader, don't you think? I would like you to try to use the
HttpContext in your jsp-reader to determine the context relative portion
of the src value.

Giacomo

> Hi, all!
>
> Can anybody help me with path resolution? I need a path relative to the
> servlet context, which I will pass to JspEngine/JspServlet for processing.
> In my sitemap I have:
>
> <map:match pattern="test/welcome.htm">
>      <map:read src="path-to-jsp/welcome.jsp" type="jsp"
> mime-type="text/html"/>
> </map:match>
>
> When I use an absolute path path-to-jsp = "/jsp/welcome.jsp" then this
> resolves to "file:/jsp/welcome.jsp" and I strip the "file:" and pass
> "/jsp/welcome.jsp" to JSPEngine and this works.
>
> When I use path-to-jsp = "context://jsp/welcome.jsp" the path resolves to an
> absolute path, say: "file:/C:/tomcat/webapps/cocoon2/jsp/welcome.jsp" and
> JspServlet calls getRealPath() with this and gets the path prefixed with
> servlet context path twice. And of course it gives File Not Found error.
>
> The same thing happens with relative path path-to-jsp-dir =
> "jsp/welcome.jsp". I get an exception because of a wrong file path and File
> Not Found error is returned.
>
> So, to conclude all this: I need a path relative to the servlet contex.
> /jsp/welcome.jsp ==> /jsp/welcome.jsp
> jsp/welcome.jsp ==> <request-path>/jsp/welcome.jsp
> context://jsp/welcome.jsp ==> /jsp/welcome.jsp
> etc.
>
> Are there any hints where do I start? Somewhere in URLFactoryImpl?
>
> Any help is very appreciated.
>
> Regards,
>     Konstantin Piroumian
>
>
>
>
> ---------------------------------------------------------------------
> 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


[C2] Source path relative to servlet context

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
Hi, all!

Can anybody help me with path resolution? I need a path relative to the
servlet context, which I will pass to JspEngine/JspServlet for processing.
In my sitemap I have:

<map:match pattern="test/welcome.htm">
     <map:read src="path-to-jsp/welcome.jsp" type="jsp"
mime-type="text/html"/>
</map:match>

When I use an absolute path path-to-jsp = "/jsp/welcome.jsp" then this
resolves to "file:/jsp/welcome.jsp" and I strip the "file:" and pass
"/jsp/welcome.jsp" to JSPEngine and this works.

When I use path-to-jsp = "context://jsp/welcome.jsp" the path resolves to an
absolute path, say: "file:/C:/tomcat/webapps/cocoon2/jsp/welcome.jsp" and
JspServlet calls getRealPath() with this and gets the path prefixed with
servlet context path twice. And of course it gives File Not Found error.

The same thing happens with relative path path-to-jsp-dir =
"jsp/welcome.jsp". I get an exception because of a wrong file path and File
Not Found error is returned.

So, to conclude all this: I need a path relative to the servlet contex.
/jsp/welcome.jsp ==> /jsp/welcome.jsp
jsp/welcome.jsp ==> <request-path>/jsp/welcome.jsp
context://jsp/welcome.jsp ==> /jsp/welcome.jsp
etc.

Are there any hints where do I start? Somewhere in URLFactoryImpl?

Any help is very appreciated.

Regards,
    Konstantin Piroumian




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Again about the Source resolving

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
Hi all!

Is this the supposed behavior of SourceResolver: when I specify a path like:
'/path/file.xml' then it is resolved to an absolute path from the root of
the file system? What is the reason of this? I suppose, that all paths must
be treated relativly to the servlet context path if the opposite is not
specified explicitly: 'file://C:/logs/cocoon.log'.

I remember that there were a lot of discussions about it, but maybe I missed
something.

For the reason that I am asking about it see my previous posting about the
relative source path.

Thanks for any comments/help on this.

Btw, dims, if I remove all the code for source resolving - simply pass the
original source value to the JspEngine, then everything works as expected in
either case: '/jsp/welcome.jsp' or 'jsp/welcome.jsp'.

Regards,
    Konstantin Piroumian.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [patch] entity catalogs - xdocs and samples

Posted by Klaus Bertram <be...@n-bis.de>.
excuse but the same in green

jmv.stdout:
------------------------------------------------------
Loading catalog: D:jakarta	omcat-3.2.1webappscocoon
esourcesentitiescatalog
Catalog does not exist: file:/D:jakarta	omcat-3.2.1webappscocoon
esourcesentitiescatalog
resolveSystem(file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs/samples/cata
log/ISOnum.pen)
resolvePublic(ISO 8879:1986//ENTITIES Numeric and Special
Graphic//EN//XML,file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs/samples/c
atalog/ISOnum.pen)
resolveSystem(file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs/samples/cata
log/ISOnum.pen)
resolvePublic(ISO 8879:1986//ENTITIES Numeric and Special
Graphic//EN//XML,file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs/samples/c
atalog/ISOnum.pen)
---------------------------------------------------

CatalogManager.properties:
--------------------------------------------------
catalogs=/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog;/pa
th/to/other/local/catalog
--------------------------------------------------

I had removed in the web.xml the comments for "cache-directory" and
"work-directory"
The system dosn't compile the sitemap.xmap if they where in.

(by installing an cvs update I use always new directories, I had searched an
error for about 2h and not use new ones)

Klaus

> -----Original Message-----
> From: Davanum Srinivas [mailto:dims@yahoo.com]
> Sent: Thursday, August 30, 2001 5:30 PM
> To: cocoon-dev@xml.apache.org
> Subject: RE: [patch] entity catalogs - xdocs and samples
>
>
> Klaus,
>
> Can you try the following instructions to build+install the WAR file?
>
> Step #1: Do a cvs checkout to get the latest code from xml-cocoon2 HEAD
> Step #2: Stop tomcat
> Step #3: Run "build clean" from xml-cocoon2 directory
> Step #4: Run "build -Dremove.webapp=yes -Dinclude.webapp.libs=yes
> -Dinstall.war=/jakarta/tomcat-3.2.1/webapps install" from
> xml-cocoon2 directory
> Step #5: Start tomcat and try the sample again.
>
> Thanks,
> dims
>
> --- Klaus Bertram <be...@n-bis.de> wrote:
> > Hi dims,
> >
> > the generated output is (see sended mail) for
> > catalogs=/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
> > in the
> >
> D:\jakarta\tomcat-3.2.1\webapps\cocoon\WEB-INF\classes\CatalogMana
> ger.proper
> > ties file
> >
> > i try all the folowed combinations (at all tomcat was restarted)
> >
> catalogs=d:/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
> >
> catalogs=//jakarta//tomcat-3.2.1//webapps//cocoon//resources//enti
> ties//cata
> > log
> > catalogs=\jakarta\tomcat-3.2.1\webapps\cocoon\resources\entities\catalog
> >
> catalogs=d:\jakarta\tomcat-3.2.1\webapps\cocoon\resources\entities\catalog
> > at all these dosn't work
> >
> > Klaus
> >
> >
> > > Klaus,
> > >
> > > Please check the catalogs entry in CatalogManager.properties
> which is at
> > > D:\jakarta\tomcat-3.2.1\webapps\cocoon\WEB-INF\classes directory.
> > > If it it bad, then please edit
> > > it to point to
> > > /jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
> > > and restart tomcat.
> > >
> > > Thanks,
> > > dims
> > >
> > > --- Klaus Bertram <be...@n-bis.de> wrote:
> > > > Hi!
> > > >
> > > > I test the patch
> > > > the install append to the CatalogManager.properties file works fine
> > > > but on an 2000 Professional and tomcat3.2.1 it seems not
> work correctly
> > > > the std out say:
> > > >
> > > > Loading catalog: D:jakarta	omcat-3.2.1webappscocoon
> > > > esourcesentitiescatalog
> > > > Catalog does not exist: file:/D:jakarta	omcat-3.2.1webappscocoon
> > > > esourcesentitiescatalog
> > > >
> > > resolveSystem(file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs/sa
> > > mples/cata
> > > > log/ISOnum.pen)
> > > > resolvePublic(ISO 8879:1986//ENTITIES Numeric and Special
> > > >
> > > Graphic//EN//XML,file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs
> > > /samples/c
> > > > atalog/ISOnum.pen)
> > > >
> > > > the entry in the properties are here:
> > > >
> catalogs=/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
> > > >
> > > > Klaus
> > > >
> > > >
> > > > > Fixed just now. Please get the latest from C2.1. Also make sure
> > > > > that you specify
> > > > > "-Dinstall.war=/jakarta/tomcat-3.3/webapps" when invoking the
> > > > > build process. This will adjust the
> > > > > path in CatalogManager.properties file which is placed in
> > > > > WEB-INF\classes directory.
> > > > >
> > > > > Thanks,
> > > > > dims
> > > > >
> > > > > PS: Please note that the path should be in UNIX format for the
> > > > > resolver to pick it up properly.
> > > > >
> > > > > --- "Piroumian, Konstantin" <KP...@flagship.ru> wrote:
> > > > > > Hi!
> > > > > >
> > > > > > Btw, when I start Cocoon (the welcome page) I get about 5
> > > > > messages in consol
> > > > > > window: "Cannot find CatalogManager.properties". What's wrong?
> > > > > Do you need
> > > > > > to setup something or it'll be fixed?
> > > > > >
> > > > > > Regards,
> > > > > >     Konstantin Piroumian
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "David Crossley" <cr...@indexgeo.com.au>
> > > > > > To: <co...@xml.apache.org>
> > > > > > Sent: Thursday, August 30, 2001 3:41 PM
> > > > > > Subject: Re: [patch] entity catalogs - xdocs and samples
> > > > > >
> > > > > >
> > > > > > > Yes Dims, all is well with the check-in thanks.
> > > > > > > Sorry to be late with the reply - i was away on
> > > > > > > holidays. Yes, it is a good idea to put the
> > > > > > > properties file in WEB-INF/classes/
> > > > > > > Can you take care of that? I will amend the xdocs.
> > > > > > > cheers David.
> > > > > > >
> > > > > > > --------------------------------
> > > > > > > On Tue, 28 Aug 2001, Dims wrote:
> > > > > > > > David,
> > > > > > > >
> > > > > > > > Checked in. Please cross-check.
> > > > > > > >
> > > > > > > > FYI, i've added an ANT filter to use install.war
> > > > > > > > command-line parameter to adjust the path in
> > > > > > > > CatalogManager.properties. Should we place this file in
> > > > > > > > WEB-INF/classes, so that this gets picked up automatically?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > dims
> > > > > > > >
> > > > > > > > --- David Crossley <cr...@indexgeo.com.au> wrote:
> > > > > > > > > Attached is a collection of bits to support the new
> > > facility for
> > > > > > > > > entity catalogs. There is a README inside the tar
> file that
> > > > > > > > > describes where each piece needs to go. There is a doco
> > > > > > > > > page xdocs/catalog.xml, a new sample, a default catalog,
> > > > > > > > > some default entities, an example
> CatalogManager.properties,
> > > > > > > > > and diffs for docs/samples/samples.xml, xdocs/*-book.xml,
> > > > > > > > > and webapp/sitemap.xmap
> > > > > > > > > regards, David Crossley
> > > > > > >
> > > > > > >
> > > ---------------------------------------------------------------------
> > > > > > > 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
> > > > > >
> > > > >
> > > > >
> > > > > =====
> > > > > Davanum Srinivas, JNI-FAQ Manager
> > > > > http://www.jGuru.com/faq/JNI
> > > > >
> > > > > __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Get email alerts & NEW webcam video instant messaging with Yahoo!
> > > > > Messenger
> > > > > http://im.yahoo.com
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > 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
> > >
> > >
> > > =====
> > > Davanum Srinivas, JNI-FAQ Manager
> > > http://www.jGuru.com/faq/JNI
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get email alerts & NEW webcam video instant messaging with Yahoo!
> > > Messenger
> > > http://im.yahoo.com
> > >
> > > ---------------------------------------------------------------------
> > > 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
>
>
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
> Messenger
> http://im.yahoo.com
>
> ---------------------------------------------------------------------
> 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: [patch] entity catalogs - xdocs and samples

Posted by Davanum Srinivas <di...@yahoo.com>.
Klaus,

Can you try the following instructions to build+install the WAR file? 

Step #1: Do a cvs checkout to get the latest code from xml-cocoon2 HEAD
Step #2: Stop tomcat
Step #3: Run "build clean" from xml-cocoon2 directory
Step #4: Run "build -Dremove.webapp=yes -Dinclude.webapp.libs=yes
-Dinstall.war=/jakarta/tomcat-3.2.1/webapps install" from xml-cocoon2 directory
Step #5: Start tomcat and try the sample again.

Thanks,
dims

--- Klaus Bertram <be...@n-bis.de> wrote:
> Hi dims,
> 
> the generated output is (see sended mail) for
> catalogs=/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
> in the
> D:\jakarta\tomcat-3.2.1\webapps\cocoon\WEB-INF\classes\CatalogManager.proper
> ties file
> 
> i try all the folowed combinations (at all tomcat was restarted)
> catalogs=d:/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
> catalogs=//jakarta//tomcat-3.2.1//webapps//cocoon//resources//entities//cata
> log
> catalogs=\jakarta\tomcat-3.2.1\webapps\cocoon\resources\entities\catalog
> catalogs=d:\jakarta\tomcat-3.2.1\webapps\cocoon\resources\entities\catalog
> at all these dosn't work
> 
> Klaus
> 
> 
> > Klaus,
> >
> > Please check the catalogs entry in CatalogManager.properties which is at
> > D:\jakarta\tomcat-3.2.1\webapps\cocoon\WEB-INF\classes directory.
> > If it it bad, then please edit
> > it to point to
> > /jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
> > and restart tomcat.
> >
> > Thanks,
> > dims
> >
> > --- Klaus Bertram <be...@n-bis.de> wrote:
> > > Hi!
> > >
> > > I test the patch
> > > the install append to the CatalogManager.properties file works fine
> > > but on an 2000 Professional and tomcat3.2.1 it seems not work correctly
> > > the std out say:
> > >
> > > Loading catalog: D:jakarta	omcat-3.2.1webappscocoon
> > > esourcesentitiescatalog
> > > Catalog does not exist: file:/D:jakarta	omcat-3.2.1webappscocoon
> > > esourcesentitiescatalog
> > >
> > resolveSystem(file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs/sa
> > mples/cata
> > > log/ISOnum.pen)
> > > resolvePublic(ISO 8879:1986//ENTITIES Numeric and Special
> > >
> > Graphic//EN//XML,file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs
> > /samples/c
> > > atalog/ISOnum.pen)
> > >
> > > the entry in the properties are here:
> > > catalogs=/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
> > >
> > > Klaus
> > >
> > >
> > > > Fixed just now. Please get the latest from C2.1. Also make sure
> > > > that you specify
> > > > "-Dinstall.war=/jakarta/tomcat-3.3/webapps" when invoking the
> > > > build process. This will adjust the
> > > > path in CatalogManager.properties file which is placed in
> > > > WEB-INF\classes directory.
> > > >
> > > > Thanks,
> > > > dims
> > > >
> > > > PS: Please note that the path should be in UNIX format for the
> > > > resolver to pick it up properly.
> > > >
> > > > --- "Piroumian, Konstantin" <KP...@flagship.ru> wrote:
> > > > > Hi!
> > > > >
> > > > > Btw, when I start Cocoon (the welcome page) I get about 5
> > > > messages in consol
> > > > > window: "Cannot find CatalogManager.properties". What's wrong?
> > > > Do you need
> > > > > to setup something or it'll be fixed?
> > > > >
> > > > > Regards,
> > > > >     Konstantin Piroumian
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "David Crossley" <cr...@indexgeo.com.au>
> > > > > To: <co...@xml.apache.org>
> > > > > Sent: Thursday, August 30, 2001 3:41 PM
> > > > > Subject: Re: [patch] entity catalogs - xdocs and samples
> > > > >
> > > > >
> > > > > > Yes Dims, all is well with the check-in thanks.
> > > > > > Sorry to be late with the reply - i was away on
> > > > > > holidays. Yes, it is a good idea to put the
> > > > > > properties file in WEB-INF/classes/
> > > > > > Can you take care of that? I will amend the xdocs.
> > > > > > cheers David.
> > > > > >
> > > > > > --------------------------------
> > > > > > On Tue, 28 Aug 2001, Dims wrote:
> > > > > > > David,
> > > > > > >
> > > > > > > Checked in. Please cross-check.
> > > > > > >
> > > > > > > FYI, i've added an ANT filter to use install.war
> > > > > > > command-line parameter to adjust the path in
> > > > > > > CatalogManager.properties. Should we place this file in
> > > > > > > WEB-INF/classes, so that this gets picked up automatically?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > dims
> > > > > > >
> > > > > > > --- David Crossley <cr...@indexgeo.com.au> wrote:
> > > > > > > > Attached is a collection of bits to support the new
> > facility for
> > > > > > > > entity catalogs. There is a README inside the tar file that
> > > > > > > > describes where each piece needs to go. There is a doco
> > > > > > > > page xdocs/catalog.xml, a new sample, a default catalog,
> > > > > > > > some default entities, an example CatalogManager.properties,
> > > > > > > > and diffs for docs/samples/samples.xml, xdocs/*-book.xml,
> > > > > > > > and webapp/sitemap.xmap
> > > > > > > > regards, David Crossley
> > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > 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
> > > > >
> > > >
> > > >
> > > > =====
> > > > Davanum Srinivas, JNI-FAQ Manager
> > > > http://www.jGuru.com/faq/JNI
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Get email alerts & NEW webcam video instant messaging with Yahoo!
> > > > Messenger
> > > > http://im.yahoo.com
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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
> >
> >
> > =====
> > Davanum Srinivas, JNI-FAQ Manager
> > http://www.jGuru.com/faq/JNI
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get email alerts & NEW webcam video instant messaging with Yahoo!
> > Messenger
> > http://im.yahoo.com
> >
> > ---------------------------------------------------------------------
> > 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


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [patch] entity catalogs - xdocs and samples

Posted by Klaus Bertram <be...@n-bis.de>.
Hi dims,

the generated output is (see sended mail) for
catalogs=/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
in the
D:\jakarta\tomcat-3.2.1\webapps\cocoon\WEB-INF\classes\CatalogManager.proper
ties file

i try all the folowed combinations (at all tomcat was restarted)
catalogs=d:/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
catalogs=//jakarta//tomcat-3.2.1//webapps//cocoon//resources//entities//cata
log
catalogs=\jakarta\tomcat-3.2.1\webapps\cocoon\resources\entities\catalog
catalogs=d:\jakarta\tomcat-3.2.1\webapps\cocoon\resources\entities\catalog
at all these dosn't work

Klaus


> Klaus,
>
> Please check the catalogs entry in CatalogManager.properties which is at
> D:\jakarta\tomcat-3.2.1\webapps\cocoon\WEB-INF\classes directory.
> If it it bad, then please edit
> it to point to
> /jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
> and restart tomcat.
>
> Thanks,
> dims
>
> --- Klaus Bertram <be...@n-bis.de> wrote:
> > Hi!
> >
> > I test the patch
> > the install append to the CatalogManager.properties file works fine
> > but on an 2000 Professional and tomcat3.2.1 it seems not work correctly
> > the std out say:
> >
> > Loading catalog: D:jakarta	omcat-3.2.1webappscocoon
> > esourcesentitiescatalog
> > Catalog does not exist: file:/D:jakarta	omcat-3.2.1webappscocoon
> > esourcesentitiescatalog
> >
> resolveSystem(file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs/sa
> mples/cata
> > log/ISOnum.pen)
> > resolvePublic(ISO 8879:1986//ENTITIES Numeric and Special
> >
> Graphic//EN//XML,file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs
> /samples/c
> > atalog/ISOnum.pen)
> >
> > the entry in the properties are here:
> > catalogs=/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
> >
> > Klaus
> >
> >
> > > Fixed just now. Please get the latest from C2.1. Also make sure
> > > that you specify
> > > "-Dinstall.war=/jakarta/tomcat-3.3/webapps" when invoking the
> > > build process. This will adjust the
> > > path in CatalogManager.properties file which is placed in
> > > WEB-INF\classes directory.
> > >
> > > Thanks,
> > > dims
> > >
> > > PS: Please note that the path should be in UNIX format for the
> > > resolver to pick it up properly.
> > >
> > > --- "Piroumian, Konstantin" <KP...@flagship.ru> wrote:
> > > > Hi!
> > > >
> > > > Btw, when I start Cocoon (the welcome page) I get about 5
> > > messages in consol
> > > > window: "Cannot find CatalogManager.properties". What's wrong?
> > > Do you need
> > > > to setup something or it'll be fixed?
> > > >
> > > > Regards,
> > > >     Konstantin Piroumian
> > > >
> > > > ----- Original Message -----
> > > > From: "David Crossley" <cr...@indexgeo.com.au>
> > > > To: <co...@xml.apache.org>
> > > > Sent: Thursday, August 30, 2001 3:41 PM
> > > > Subject: Re: [patch] entity catalogs - xdocs and samples
> > > >
> > > >
> > > > > Yes Dims, all is well with the check-in thanks.
> > > > > Sorry to be late with the reply - i was away on
> > > > > holidays. Yes, it is a good idea to put the
> > > > > properties file in WEB-INF/classes/
> > > > > Can you take care of that? I will amend the xdocs.
> > > > > cheers David.
> > > > >
> > > > > --------------------------------
> > > > > On Tue, 28 Aug 2001, Dims wrote:
> > > > > > David,
> > > > > >
> > > > > > Checked in. Please cross-check.
> > > > > >
> > > > > > FYI, i've added an ANT filter to use install.war
> > > > > > command-line parameter to adjust the path in
> > > > > > CatalogManager.properties. Should we place this file in
> > > > > > WEB-INF/classes, so that this gets picked up automatically?
> > > > > >
> > > > > > Thanks,
> > > > > > dims
> > > > > >
> > > > > > --- David Crossley <cr...@indexgeo.com.au> wrote:
> > > > > > > Attached is a collection of bits to support the new
> facility for
> > > > > > > entity catalogs. There is a README inside the tar file that
> > > > > > > describes where each piece needs to go. There is a doco
> > > > > > > page xdocs/catalog.xml, a new sample, a default catalog,
> > > > > > > some default entities, an example CatalogManager.properties,
> > > > > > > and diffs for docs/samples/samples.xml, xdocs/*-book.xml,
> > > > > > > and webapp/sitemap.xmap
> > > > > > > regards, David Crossley
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > 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
> > > >
> > >
> > >
> > > =====
> > > Davanum Srinivas, JNI-FAQ Manager
> > > http://www.jGuru.com/faq/JNI
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get email alerts & NEW webcam video instant messaging with Yahoo!
> > > Messenger
> > > http://im.yahoo.com
> > >
> > > ---------------------------------------------------------------------
> > > 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
>
>
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
> Messenger
> http://im.yahoo.com
>
> ---------------------------------------------------------------------
> 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: [patch] entity catalogs - xdocs and samples

Posted by Davanum Srinivas <di...@yahoo.com>.
Klaus,

Please check the catalogs entry in CatalogManager.properties which is at
D:\jakarta\tomcat-3.2.1\webapps\cocoon\WEB-INF\classes directory. If it it bad, then please edit
it to point to /jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog and restart tomcat.

Thanks,
dims

--- Klaus Bertram <be...@n-bis.de> wrote:
> Hi!
> 
> I test the patch
> the install append to the CatalogManager.properties file works fine
> but on an 2000 Professional and tomcat3.2.1 it seems not work correctly
> the std out say:
> 
> Loading catalog: D:jakarta	omcat-3.2.1webappscocoon
> esourcesentitiescatalog
> Catalog does not exist: file:/D:jakarta	omcat-3.2.1webappscocoon
> esourcesentitiescatalog
> resolveSystem(file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs/samples/cata
> log/ISOnum.pen)
> resolvePublic(ISO 8879:1986//ENTITIES Numeric and Special
> Graphic//EN//XML,file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs/samples/c
> atalog/ISOnum.pen)
> 
> the entry in the properties are here:
> catalogs=/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
> 
> Klaus
> 
> 
> > Fixed just now. Please get the latest from C2.1. Also make sure
> > that you specify
> > "-Dinstall.war=/jakarta/tomcat-3.3/webapps" when invoking the
> > build process. This will adjust the
> > path in CatalogManager.properties file which is placed in
> > WEB-INF\classes directory.
> >
> > Thanks,
> > dims
> >
> > PS: Please note that the path should be in UNIX format for the
> > resolver to pick it up properly.
> >
> > --- "Piroumian, Konstantin" <KP...@flagship.ru> wrote:
> > > Hi!
> > >
> > > Btw, when I start Cocoon (the welcome page) I get about 5
> > messages in consol
> > > window: "Cannot find CatalogManager.properties". What's wrong?
> > Do you need
> > > to setup something or it'll be fixed?
> > >
> > > Regards,
> > >     Konstantin Piroumian
> > >
> > > ----- Original Message -----
> > > From: "David Crossley" <cr...@indexgeo.com.au>
> > > To: <co...@xml.apache.org>
> > > Sent: Thursday, August 30, 2001 3:41 PM
> > > Subject: Re: [patch] entity catalogs - xdocs and samples
> > >
> > >
> > > > Yes Dims, all is well with the check-in thanks.
> > > > Sorry to be late with the reply - i was away on
> > > > holidays. Yes, it is a good idea to put the
> > > > properties file in WEB-INF/classes/
> > > > Can you take care of that? I will amend the xdocs.
> > > > cheers David.
> > > >
> > > > --------------------------------
> > > > On Tue, 28 Aug 2001, Dims wrote:
> > > > > David,
> > > > >
> > > > > Checked in. Please cross-check.
> > > > >
> > > > > FYI, i've added an ANT filter to use install.war
> > > > > command-line parameter to adjust the path in
> > > > > CatalogManager.properties. Should we place this file in
> > > > > WEB-INF/classes, so that this gets picked up automatically?
> > > > >
> > > > > Thanks,
> > > > > dims
> > > > >
> > > > > --- David Crossley <cr...@indexgeo.com.au> wrote:
> > > > > > Attached is a collection of bits to support the new facility for
> > > > > > entity catalogs. There is a README inside the tar file that
> > > > > > describes where each piece needs to go. There is a doco
> > > > > > page xdocs/catalog.xml, a new sample, a default catalog,
> > > > > > some default entities, an example CatalogManager.properties,
> > > > > > and diffs for docs/samples/samples.xml, xdocs/*-book.xml,
> > > > > > and webapp/sitemap.xmap
> > > > > > regards, David Crossley
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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
> > >
> >
> >
> > =====
> > Davanum Srinivas, JNI-FAQ Manager
> > http://www.jGuru.com/faq/JNI
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get email alerts & NEW webcam video instant messaging with Yahoo!
> > Messenger
> > http://im.yahoo.com
> >
> > ---------------------------------------------------------------------
> > 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


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [patch] entity catalogs - xdocs and samples

Posted by Klaus Bertram <be...@n-bis.de>.
Hi!

I test the patch
the install append to the CatalogManager.properties file works fine
but on an 2000 Professional and tomcat3.2.1 it seems not work correctly
the std out say:

Loading catalog: D:jakarta	omcat-3.2.1webappscocoon
esourcesentitiescatalog
Catalog does not exist: file:/D:jakarta	omcat-3.2.1webappscocoon
esourcesentitiescatalog
resolveSystem(file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs/samples/cata
log/ISOnum.pen)
resolvePublic(ISO 8879:1986//ENTITIES Numeric and Special
Graphic//EN//XML,file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs/samples/c
atalog/ISOnum.pen)

the entry in the properties are here:
catalogs=/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog

Klaus


> Fixed just now. Please get the latest from C2.1. Also make sure
> that you specify
> "-Dinstall.war=/jakarta/tomcat-3.3/webapps" when invoking the
> build process. This will adjust the
> path in CatalogManager.properties file which is placed in
> WEB-INF\classes directory.
>
> Thanks,
> dims
>
> PS: Please note that the path should be in UNIX format for the
> resolver to pick it up properly.
>
> --- "Piroumian, Konstantin" <KP...@flagship.ru> wrote:
> > Hi!
> >
> > Btw, when I start Cocoon (the welcome page) I get about 5
> messages in consol
> > window: "Cannot find CatalogManager.properties". What's wrong?
> Do you need
> > to setup something or it'll be fixed?
> >
> > Regards,
> >     Konstantin Piroumian
> >
> > ----- Original Message -----
> > From: "David Crossley" <cr...@indexgeo.com.au>
> > To: <co...@xml.apache.org>
> > Sent: Thursday, August 30, 2001 3:41 PM
> > Subject: Re: [patch] entity catalogs - xdocs and samples
> >
> >
> > > Yes Dims, all is well with the check-in thanks.
> > > Sorry to be late with the reply - i was away on
> > > holidays. Yes, it is a good idea to put the
> > > properties file in WEB-INF/classes/
> > > Can you take care of that? I will amend the xdocs.
> > > cheers David.
> > >
> > > --------------------------------
> > > On Tue, 28 Aug 2001, Dims wrote:
> > > > David,
> > > >
> > > > Checked in. Please cross-check.
> > > >
> > > > FYI, i've added an ANT filter to use install.war
> > > > command-line parameter to adjust the path in
> > > > CatalogManager.properties. Should we place this file in
> > > > WEB-INF/classes, so that this gets picked up automatically?
> > > >
> > > > Thanks,
> > > > dims
> > > >
> > > > --- David Crossley <cr...@indexgeo.com.au> wrote:
> > > > > Attached is a collection of bits to support the new facility for
> > > > > entity catalogs. There is a README inside the tar file that
> > > > > describes where each piece needs to go. There is a doco
> > > > > page xdocs/catalog.xml, a new sample, a default catalog,
> > > > > some default entities, an example CatalogManager.properties,
> > > > > and diffs for docs/samples/samples.xml, xdocs/*-book.xml,
> > > > > and webapp/sitemap.xmap
> > > > > regards, David Crossley
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
>
>
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
> Messenger
> http://im.yahoo.com
>
> ---------------------------------------------------------------------
> 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: [patch] entity catalogs - xdocs and samples

Posted by Davanum Srinivas <di...@yahoo.com>.
Fixed just now. Please get the latest from C2.1. Also make sure that you specify 
"-Dinstall.war=/jakarta/tomcat-3.3/webapps" when invoking the build process. This will adjust the
path in CatalogManager.properties file which is placed in WEB-INF\classes directory.

Thanks,
dims

PS: Please note that the path should be in UNIX format for the resolver to pick it up properly.

--- "Piroumian, Konstantin" <KP...@flagship.ru> wrote:
> Hi!
> 
> Btw, when I start Cocoon (the welcome page) I get about 5 messages in consol
> window: "Cannot find CatalogManager.properties". What's wrong? Do you need
> to setup something or it'll be fixed?
> 
> Regards,
>     Konstantin Piroumian
> 
> ----- Original Message -----
> From: "David Crossley" <cr...@indexgeo.com.au>
> To: <co...@xml.apache.org>
> Sent: Thursday, August 30, 2001 3:41 PM
> Subject: Re: [patch] entity catalogs - xdocs and samples
> 
> 
> > Yes Dims, all is well with the check-in thanks.
> > Sorry to be late with the reply - i was away on
> > holidays. Yes, it is a good idea to put the
> > properties file in WEB-INF/classes/
> > Can you take care of that? I will amend the xdocs.
> > cheers David.
> >
> > --------------------------------
> > On Tue, 28 Aug 2001, Dims wrote:
> > > David,
> > >
> > > Checked in. Please cross-check.
> > >
> > > FYI, i've added an ANT filter to use install.war
> > > command-line parameter to adjust the path in
> > > CatalogManager.properties. Should we place this file in
> > > WEB-INF/classes, so that this gets picked up automatically?
> > >
> > > Thanks,
> > > dims
> > >
> > > --- David Crossley <cr...@indexgeo.com.au> wrote:
> > > > Attached is a collection of bits to support the new facility for
> > > > entity catalogs. There is a README inside the tar file that
> > > > describes where each piece needs to go. There is a doco
> > > > page xdocs/catalog.xml, a new sample, a default catalog,
> > > > some default entities, an example CatalogManager.properties,
> > > > and diffs for docs/samples/samples.xml, xdocs/*-book.xml,
> > > > and webapp/sitemap.xmap
> > > > regards, David Crossley
> >
> > ---------------------------------------------------------------------
> > 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
> 


=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [patch] entity catalogs - xdocs and samples

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
Hi!

Btw, when I start Cocoon (the welcome page) I get about 5 messages in consol
window: "Cannot find CatalogManager.properties". What's wrong? Do you need
to setup something or it'll be fixed?

Regards,
    Konstantin Piroumian

----- Original Message -----
From: "David Crossley" <cr...@indexgeo.com.au>
To: <co...@xml.apache.org>
Sent: Thursday, August 30, 2001 3:41 PM
Subject: Re: [patch] entity catalogs - xdocs and samples


> Yes Dims, all is well with the check-in thanks.
> Sorry to be late with the reply - i was away on
> holidays. Yes, it is a good idea to put the
> properties file in WEB-INF/classes/
> Can you take care of that? I will amend the xdocs.
> cheers David.
>
> --------------------------------
> On Tue, 28 Aug 2001, Dims wrote:
> > David,
> >
> > Checked in. Please cross-check.
> >
> > FYI, i've added an ANT filter to use install.war
> > command-line parameter to adjust the path in
> > CatalogManager.properties. Should we place this file in
> > WEB-INF/classes, so that this gets picked up automatically?
> >
> > Thanks,
> > dims
> >
> > --- David Crossley <cr...@indexgeo.com.au> wrote:
> > > Attached is a collection of bits to support the new facility for
> > > entity catalogs. There is a README inside the tar file that
> > > describes where each piece needs to go. There is a doco
> > > page xdocs/catalog.xml, a new sample, a default catalog,
> > > some default entities, an example CatalogManager.properties,
> > > and diffs for docs/samples/samples.xml, xdocs/*-book.xml,
> > > and webapp/sitemap.xmap
> > > regards, David Crossley
>
> ---------------------------------------------------------------------
> 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: [patch] entity catalogs - xdocs and samples

Posted by David Crossley <cr...@indexgeo.com.au>.
Yes Dims, all is well with the check-in thanks.
Sorry to be late with the reply - i was away on
holidays. Yes, it is a good idea to put the
properties file in WEB-INF/classes/
Can you take care of that? I will amend the xdocs.
cheers David.

--------------------------------
On Tue, 28 Aug 2001, Dims wrote:
> David,
> 
> Checked in. Please cross-check. 
> 
> FYI, i've added an ANT filter to use install.war
> command-line parameter to adjust the path in
> CatalogManager.properties. Should we place this file in
> WEB-INF/classes, so that this gets picked up automatically?
> 
> Thanks,
> dims
> 
> --- David Crossley <cr...@indexgeo.com.au> wrote:
> > Attached is a collection of bits to support the new facility for
> > entity catalogs. There is a README inside the tar file that
> > describes where each piece needs to go. There is a doco
> > page xdocs/catalog.xml, a new sample, a default catalog,
> > some default entities, an example CatalogManager.properties,
> > and diffs for docs/samples/samples.xml, xdocs/*-book.xml,
> > and webapp/sitemap.xmap
> > regards, David Crossley

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [patch] entity catalogs - xdocs and samples

Posted by Davanum Srinivas <di...@yahoo.com>.
David,

Checked in. Please cross-check. 

FYI, i've added an ANT filter to use install.war command-line parameter to adjust the path in
CatalogManager.properties. Should we place this file in WEB-INF/classes, so that this gets picked
up automatically?

Thanks,
dims

--- David Crossley <cr...@indexgeo.com.au> wrote:
> Attached is a collection of bits to support the new facility for
> entity catalogs. There is a README inside the tar file that
> describes where each piece needs to go. There is a doco
> page xdocs/catalog.xml, a new sample, a default catalog,
> some default entities, an example CatalogManager.properties,
> and diffs for docs/samples/samples.xml, xdocs/*-book.xml,
> and webapp/sitemap.xmap
> regards, David Crossley
> 

> ATTACHMENT part 2 application/x-gzip charset=iso-8859-1; name=catalog-bits.tar.gz
> ---------------------------------------------------------------------
> 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