3.0.2 Private Cloud

Posted by bakar on 17-Aug-2014 15:33

It looks like that the search server doesn't work in this version. The following error message appears within the system console:

The element type "HR" must be terminated by the matching end-tag "</HR>".

All Replies

Posted by Chandrasekhar Gontla on 17-Aug-2014 23:19

Hi Bakar,

I didn't get the case with your provided information.

Could you tell me where exactly the error message appeared?

Thanks and Regards,

Chandra.G

Posted by Santosh Patel on 18-Aug-2014 01:30

Hi bakar,

Could you please share the entire stacktrace visible in the console? That will help us nail down the issue.

Regards,

Santosh

Posted by Santosh Patel on 18-Aug-2014 05:42

We were able to reproduce the error at our end and it doesn't seem to affect the search server functionality. Any particular reason you believe Search functionality is affected?

We are looking into the issue but we would like to confirm that the stacktraces are identical. Please share AllErrors.log file from your installation <tomcat_home>/rollbase/storage/2/AllErrors.log

Thanks,

Santosh

Posted by Santosh Patel on 18-Aug-2014 06:05

Hi bakar,

This is occurring due to RSS server information in components.xml. Note that RSS Server is not supported by Rollbase anymore. Please delete or comment out as shown below the information in components.xml and restart Rollbase.

<Component name="REST" type="REST">
<DisplayName>REST Server</DisplayName>
<InternalRoot>http://localhost:$HTTP_PORT$/rest/</InternalRoot>
<ExternalRoot>http://{!#HOST_NAME}/rest/</ExternalRoot>
</Component>

<!--<Component name="RSS" type="RSS">-->
<!--<DisplayName>RSS Server</DisplayName>-->
<!--<InternalRoot>http://localhost:$HTTP_PORT$/rss/</InternalRoot>-->
<!--<ExternalRoot>http://{!#HOST_NAME}/rss/</ExternalRoot>-->
<!--<Props>-->
	<!--<MinRequestIntervalMins>60</MinRequestIntervalMins>-->
<!--</Props>-->
<!--</Component>-->

<Component name="ROUTER" type="ROUTER">
<DisplayName>Router Server</DisplayName>
<InternalRoot>http://localhost:$HTTP_PORT$/router/</InternalRoot>
<ExternalRoot>http://{!#HOST_NAME}/router/</ExternalRoot>
<Props>
	<StatusCheckInterval>10</StatusCheckInterval>
	<CustWeight>3</CustWeight>
	<CleckLoginURL>true</CleckLoginURL>
</Props>
</Component>
Regards,
Santosh

Posted by bakar on 18-Aug-2014 11:27

Hi,

Thanks for the replies. I have deleted the RSS server, but i still see the exclamation mark within the system console on the search server. It has been stopped (not started), and the search function doesn't work. Please see below a dump of the log file:

[2014-08-18 18:16:09,968] 1: ===> Error in thread StatsCollector at 08/18/2014 06:16 PM: [a555.getUsageData][FileStorage@1]
[2014-08-18 18:16:09,968] java.lang.NumberFormatException: For input string: "<html><head><title>Apache Tomcat/7.0.53 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /search/servlet/Component</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/search/servlet/Component</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.53</h3></body></html>"
	at java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.lang.Long.parseLong(Unknown Source)
	at java.lang.Long.parseLong(Unknown Source)
	at p21.a82.totalLength(a82.java:191)
	at p15.a555.getUsageData(a555.java:173)
	at p24.a50.doJob(a50.java:29)
	at com.rb.util.system.a147.run(a147.java:37)
[2014-08-18 18:18:07,812] 
1_components
==========================================
[2014-08-18 18:18:07,812] 1: ===> Error in thread ajp-apr-8009-exec-7 at 08/18/2014 06:18 PM: Error on SEARCH
[2014-08-18 18:18:07,812] org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 988; The element type "HR" must be terminated by the matching end-tag "</HR>".
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at p22.a182.parse(a182.java:50)
	at p22.a182.parse(a182.java:58)
	at p23.a41.checkStatus(a41.java:282)
	at p23.a40.checkStatuses(a40.java:126)
	at com.rb.master.logics.controller.a37.dispatchComponents(a37.java:44)
	at org.apache.jsp.system.components_jsp._jspService(components_jsp.java:100)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at com.rb.util.web.NoCacheFilter.doFilter(NoCacheFilter.java:41)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
	at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:190)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


Posted by pvorobie on 18-Aug-2014 13:29

We certainly need more graceful fall back procedure when registered component does not exist or not responding. This will be addressed in the next release.

I cannot say why your Search server doe snot work properly. Please try starting Tomcat as stand-alone app (not Windows Service) and check standard output for any startup errors.

Posted by bakar on 18-Aug-2014 16:46

I have downloaded all files again and reinstall everything. The issue doesn't occur anymore...

This thread is closed