Login  Register

Orbeon can not read symlinks

Posted by Ralf Jung on Dec 19, 2010; 4:41pm
URL: https://discuss.orbeon.com/Orbeon-can-not-read-symlinks-tp3094599.html

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