[Yanel-usage] linking to webpages within a realm (hardcoded...)

Michael Wechner michael.wechner at wyona.com
Wed Jun 22 22:20:47 CEST 2011


Hi Bettina

On 6/22/11 10:11 PM, Bettina Messmer wrote:
> hi,
>
> I don't manage to have a link to an other page with the realm (hardcoded...). It also doesn't work with the simplest kind of html file.

I am not sure I understand what exactly you are trying to achieve.
Can you give a more detailed example for example by specifying what URLs 
you are using
and what page/URL points to which other page/URL?
> I always get the attached error. Has someone an idea where my mistake is?

re your error below, when exactly do you receive this error? For example 
when you request the page containing the link?

Thanks

Michael
> thanks a lot and greets,
>
> Bettina
>
> *****************************
> Error message:
> *****************************
>
> 23506243 2011-06-22 21:51:39,732 [http-8080-Processor14] ERROR org.wyona.yanel.impl.resources.BasicGenericExceptionHandlerResource.getContentXML():60  - java.lang.Exception: Transformation error:
> SystemId-Unknown:Line=-1;Column=-1: exception:org.xml.sax.SAXParseException: Premature end of file.
> root-cause:null
> line: (No systemId; cannot read file)
>
> error: org.xml.sax.SAXParseException: Premature end of file.
> SystemId-Unknown:Line=0;Column=0: exception:org.xml.sax.SAXParseException: Premature end of file.
> root-cause:null
> line: (No systemId; cannot read file)
>
> fatalError: org.xml.sax.SAXParseException: Premature end of file.
> SystemId-Unknown:locator-unavailable: exception:java.lang.RuntimeException: org.xml.sax.SAXParseException: Premature end of file.
> root-cause:null
> error: java.lang.RuntimeException: org.xml.sax.SAXParseException: Premature end of file.
>
> java.lang.Exception: Transformation error:
> SystemId-Unknown:Line=-1;Column=-1: exception:org.xml.sax.SAXParseException: Premature end of file.
> root-cause:null
> line: (No systemId; cannot read file)
>
> error: org.xml.sax.SAXParseException: Premature end of file.
> SystemId-Unknown:Line=0;Column=0: exception:org.xml.sax.SAXParseException: Premature end of file.
> root-cause:null
> line: (No systemId; cannot read file)
>
> fatalError: org.xml.sax.SAXParseException: Premature end of file.
> SystemId-Unknown:locator-unavailable: exception:java.lang.RuntimeException: org.xml.sax.SAXParseException: Premature end of file.
> root-cause:null
> error: java.lang.RuntimeException: org.xml.sax.SAXParseException: Premature end of file.
>
> 	at org.wyona.yanel.impl.resources.BasicXMLResource.getXMLView(BasicXMLResource.java:258)
> 	at org.wyona.yanel.impl.resources.XMLResource.getView(XMLResource.java:89)
> 	at org.wyona.yanel.impl.resources.XMLResource.getView(XMLResource.java:79)
> 	at org.wyona.yanel.servlet.YanelServlet.getContent(YanelServlet.java:543)
> 	at org.wyona.yanel.servlet.YanelServlet.doGet(YanelServlet.java:381)
> 	at org.wyona.yanel.servlet.YanelServlet.service(YanelServlet.java:285)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.wyona.yanel.servlet.communication.YanelFilter.doFilter(YanelFilter.java:37)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> 	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> 	at java.lang.Thread.run(Thread.java:662)
>



More information about the Yanel-usage mailing list