Matt Innes wrote:
True, true - spent most of yesterday cursing Windows while trying to
configure this. Is there a clean way to get the DirectoryGenerator to
accept fully resolved network paths? Out of the box, it seems to
resolve them to a path relative to the cocoon installation (i.e.
x:\tomcat\webapps\cocoon\servername\sharename\path). I could get it to
work by changing the code, but I'm wondering if there's a better way ...
Sounds like a reasonable case for a patch to the DirectoryGenerator.
Anyone fancy creating one?
Regards, Upayavira
Apologies Stephanie for hijacking the thread onto a different, but
related topic ...
Matt Innes, UTB Consulting
[EMAIL PROTECTED]
07795 300 735
________________________________________
From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]
Sent: 19 November 2004 12:25
To: [EMAIL PROTECTED]
Subject: RE: DirectoryGenerator & shared Drives under Windows
fully resolved network paths are indeed better but still you have to use
a user that has access to that network path with the user its login/pwd
from NT
Gunter
"Matt Innes" <[EMAIL PROTECTED]>
Generally speaking it is better to use fully resolved network URLs
(\\servername\share\path\file, less prone to these kind of errors).
However, the DirectoryGenerator does not appear to support them without
a minor modification.
Matt Innes, UTB Consulting
[EMAIL PROTECTED]
07795 300 735
________________________________________
From: Gunter D'Hondt [mailto:[EMAIL PROTECTED]
Sent: 19 November 2004 11:28
To: [EMAIL PROTECTED]
Subject: Re: DirectoryGenerator & shared Drives under Windows
are you running Tomcat as a service?
then make sure NOT to log on the service as "Local system account" but
with a user that has the Z:-drive
Gunter
"Stephanie Zohner" <[EMAIL PROTECTED]>
19-11-2004 12:22
Hi all,
I have the following problem. The Directory Generator throws an
exception
when trying to generate the directories of a shared (mapped) drive
somewhere
in the local network.
The following Error is thrown:
Original Exception: java.lang.RuntimeException:
org.apache.cocoon.ResourceNotFoundException: Z:/U10 is not a directory.
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:34
07)
at
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(Transfor
merHandlerImpl.java:433)
at
org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:9
1)
at
org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransfo
rmer.java:579)
at
org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]