Just a refinement to make debugging easier, but when I didn't set up the proxy 
settings for the JBoss server on my sandbox I got a rather ugly and 
uninformative error, this is  because our environment returns an html element 
with an error message telling you to configure your proxy settings when it 
cannot find an external URL.  

Not sure there is a good, clean way to deal with it since I am being redirected 
internally to an error page when it cannot find the URL internally, no HTTP 
error is returned.


16:09:22,538 INFO  [Http11BaseProtocol] Starting Coyote HTTP/1.1 on 
http-0.0.0.0-8080
16:09:22,679 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
16:09:22,710 INFO  [JkMain] Jk running ID=0 time=0/78  config=null
16:09:22,726 INFO  [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: 
CVSTag=Branch_4_0 date=200610162339)] Started in 51s:712ms
16:09:29,975 ERROR [STDERR] [Fatal Error] :24:3: The element type "META" must 
be terminated by the matching end-tag "".
16:09:29,975 ERROR [NewsPortlet] Fatal Error reading/parsing XML Source.
org.xml.sax.SAXParseException: The element type "META" must be terminated by 
the matching end-tag "".
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
        at 
org.jboss.samples.portlet.news.NewsPortlet.doView(NewsPortlet.java:158)
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
        at 
org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:501)
        at 
org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:423)
        at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:81)
        at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
        at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
        at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
        at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
        at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
        at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java)
        at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
        at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
        at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
        at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        at 
org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:51)
        at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
        at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020254#4020254

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020254
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to