Login  Register

Re: Re: Orbeon can not read symlinks

Posted by Ralf Jung on Dec 20, 2010; 12:56pm
URL: https://discuss.orbeon.com/Orbeon-can-not-read-symlinks-tp3094599p3095454.html

Hi again,

I re-did the whole configuration from scratch, and now it's working. I don't
know what I did wrong before.
Thanks again for your help!

Kind regards,
Ralf Jung

Am Montag 20 Dezember 2010, um 04:28:10 schrieb Binesh Gummadi:

> 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">
>
> ------------------------------
>  Binesh Gummadi
> Senior Software Engineer
> rivetlogic <http://www.rivetlogic.com/> Voice
> +1.703.879.5740Skypebinesh.gummadi_rivetlogic
> GTalk [hidden email] <bgummadi%40rivetlogic.com> Calendarbinesh
> gummadi's
> calendar<http://www.google.com/calendar/hosted/rivetlogic.com/embed?src=bg
> ummadi%40rivetlogic.com&ctz=America/New_York>
>
> 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(Web
> > AppResourceManagerImpl.java:74)
> >
> >        at
> >
> > org.orbeon.oxf.resources.ResourceManagerBase.getContentAsSAX(ResourceMana
> > gerBase.java:96)
> >
> >        at
> >
> > org.orbeon.oxf.resources.PriorityResourceManagerImpl$5.run(PriorityResour
> > ceManagerImpl.java:120)
> >
> >        at
> >
> > org.orbeon.oxf.resources.PriorityResourceManagerImpl.delegate(PriorityRes
> > ourceManagerImpl.java:230)
> >
> >        at
> >
> > org.orbeon.oxf.resources.PriorityResourceManagerImpl.getContentAsSAX(Prio
> > rityResourceManagerImpl.java:118)
> >
> >        at
> >
> > org.orbeon.oxf.processor.generator.URLGenerator$OXFResourceHandler.readXM
> > L(URLGenerator.java:724)
> >
> >        at
> >
> > org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.j
> > ava:460)
> >
> >        at
> >
> > org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.re
> > ad(ProcessorOutputImpl.java:263)
> >
> >        at
> >
> > org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImp
> > l.java:406)
> >
> >        at
> >
> > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:
> > 257)
> >
> >        at
> >
> > org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$600(MSV
> > ValidationProcessor.java:51)
> >
> >        at
> >
> > org.orbeon.oxf.processor.validation.MSVValidationProcessor$3.readImpl(MSV
> > ValidationProcessor.java:223)
> >
> >        at
> >
> > org.orbeon.oxf.processor.impl.ProcessorOutputImpl$TopLevelOutputFilter.re
> > ad(ProcessorOutputImpl.java:263)
> >
> >        at
> >
> > org.orbeon.oxf.processor.impl.ProcessorOutputImpl.read(ProcessorOutputImp
> > l.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