Re: Orbeon can not read symlinks
Posted by
Binesh Gummadi on
Dec 20, 2010; 3:28am
URL: https://discuss.orbeon.com/Orbeon-can-not-read-symlinks-tp3094599p3095072.html
If you are using tomcat it does't allow symlinks by default. You have to enable it in META-INF/context.xml
Something like that. (allowlinking="true"). Hope this helps.
<Context path="/orbeon" allowLinking="true">
On Sun, Dec 19, 2010 at 11:41 AM, Ralf Jung
<[hidden email]> wrote:
Hi list,
to be able to easily test my app with both the stable Orbeon and the nightly
build, I symlinked the subdirectories of WEB-INF/resources as well as the
page-flow.xml file from the one Orbeon instance to the other. However, the
Orbeon "Virtual file system" does not seem to be able to cope with symlinks. I
get this error:
Type class org.orbeon.oxf.resources.ResourceNotFoundException
Message Cannot load "/page-flow.xml" with webapp loader
Stack Trace
org.orbeon.oxf.resources.ResourceNotFoundException: Cannot load "/page-
flow.xml" with webapp loader
at
org.orbeon.oxf.resources.WebAppResourceManagerImpl.getContentAsStream(WebAppResourceManagerImpl.java:74)
at
org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(ResourceManagerBase.java:96)
at
org.orbeon.oxf.resources.PriorityResourceManagerImpl$5.run(PriorityResourceManagerImpl.java:120)
at
org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityResourceManagerImpl.java:230)
at
org.orbeon.oxf.resources.PriorityResourceManagerImpl.getContentAsSAX(PriorityResourceManagerImpl.java:118)
at
org.orbeon.oxf.processor.generator.URLGenerator$OXFResourceHandler.readXML(URLGenerator.java:724)
at
org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.java:460)
at
org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:263)
at
org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:406)
at
org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:257)
at
org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$600(MSVValidationProcessor.java:51)
at
org.orbeon.oxf.processor.validation.MSVValidationProcessor$3.readImpl(MSVValidationProcessor.java:223)
at
org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.read(ProcessorOutputImpl.java:263)
at
org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImpl.java:406)
...
Actually copying the file replaces this by other error messages, and the whole
app will only work after all files have been copied instead of symlinked.
So, is this a bug, a misconfiguration, or am I doing something else wrong?
Kind regards,
Ralf Jung
--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws