Hi Klaus, did you have any success after Dims' suggestion to
build clean? I checked the API javadocs for the Sun resolver.
They do not actually specify that the directory separator must
be slash (ala UNIX). In fact, they do not mention the pathname
format at all. The only discussion is about the path separator,
which must be semi-colon (;) regardless of operating system.
(I tried to investigate the java code by unpacking the
resolver.jar However, they are *.class files. Does this mean
that i cannot see?)
It seems that you have already tried all pathname format
combinations. By looking at your error messages below, it
appears that the pathname is not being interpreted properly.
I notice that /t is interpreted to be tab.
You should try to build again with OS-specific pathnames
-Dinstall.war=\jakarta\tomcat-3.2.1\webapps
Then edit the generated CatalogManager.properties to have
the proper path before starting Apache Cocoon. Please try
each combination again and send the corresponding output.
By the way, you should probably use verbosity=1 or perhaps 2
(the maximum setting will probably give too much output).
Unfortunately, we do not have a Windows system available
for testing. Please advise us how you get on.
regards, David
---------------------------------------
> From: Davanum Srinivas [EMAIL PROTECTED]
> Date: Thu, 30 Aug 2001 08:30:10 -0700 (PDT)
>
> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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/catalog/ISOnum.pen)
>>>> resolvePublic(ISO 8879:1986//ENTITIES Numeric and Special
>>>> Graphic//EN//XML,file:/D:/jakarta/tomcat-3.2.1/webapps/cocoon/docs
>>>> /samples/catalog/ISOnum.pen)
>>>>
>>>> the entry in the properties are here:
>>>> catalogs=/jakarta/tomcat-3.2.1/webapps/cocoon/resources/entities/catalog
>>>>
>>>> Klaus
>>>>
>>>>> Dims said:
>>>>> 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" <[EMAIL PROTECTED]> 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
>>>>>>> To: <[EMAIL PROTECTED]>
>>>>>>> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]