• Error 9006

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #6272  by joergweis
 
Hi,

when server is restarted the first user clicking a document, get's stuck with "loading property groups..." After tcp timeout an exception occurs in the server log and error window is displayed, the error does not reappear:
Stack Trace:
Code: Select all
2010-08-23 16:31:34,920 ERROR [es.git.openkm.frontend.server.OKMPropertyGroupServlet] Connection timed out
java.net.ConnectException: Connection timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:529)
	at java.net.Socket.connect(Socket.java:478)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
	at sun.net.www.http.HttpClient.New(HttpClient.java:306)
	at sun.net.www.http.HttpClient.New(HttpClient.java:323)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
	at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
	at es.git.openkm.util.FormUtils.parsePropertyGroupsForms(FormUtils.java:116)
	at es.git.openkm.module.direct.DirectPropertyGroupModule.getGroups(DirectPropertyGroupModule.java:147)
	at es.git.openkm.api.OKMPropertyGroup.getGroups(OKMPropertyGroup.java:81)
	at es.git.openkm.frontend.server.OKMPropertyGroupServlet.getGroups(OKMPropertyGroupServlet.java:185)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
	at java.lang.Thread.run(Thread.java:619)
see also screenshot (german).

Sideline: I tried to search in the search fields of this board for 9006 or OKM-009006 (where a post exists) but I found nothing, are you sure search is working properly?
Attachments
openkm_error_retrieving_property_groups.png
openkm_error_retrieving_property_groups.png (12.75 KiB) Viewed 3838 times
 #6276  by surajaya
 
I have similar problem. Is there any possibility that this is JDK related problem ?
 #6277  by surajaya
 
joergweis wrote: at es.git.openkm.util.FormUtils.parsePropertyGroupsForms(FormUtils.java:116)
at es.git.openkm.module.direct.DirectPropertyGroupModule.getGroups(DirectPropertyGroupModule.java:147)
at es.git.openkm.api.OKMPropertyGroup.getGroups(OKMPropertyGroup.java:81)
at es.git.openkm.frontend.server.OKMPropertyGroupServlet.getGroups(OKMPropertyGroupServlet.java:185)
Have you looked at those part of the code ?. If you were using version 4.1, probably you should look at this (the bolded blue part)
try {
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setNamespaceAware(true);
dbf.setValidating(true);
ErrorHandler handler = new ErrorHandler();
DocumentBuilder db = dbf.newDocumentBuilder();
db.setErrorHandler(handler);
fis = new FileInputStream(pgFile);

if (fis != null) {
Document doc = db.parse(fis);
doc.getDocumentElement().normalize();
NodeList nlForm = doc.getElementsByTagName("property-group");

for (int i = 0; i < nlForm.getLength(); i++) {
Node nForm = nlForm.item(i);
 #6282  by jllort
 
have you downloading a file while you get that error ? double click or similar to downloading ?
 #6286  by joergweis
 
Hi, I was doing nothing except clicking on a document and waiting while the screen says "retrieving attributes..." from the error message in the server log it seems to be a tcp timeout.
 #6290  by jllort
 
But you're not doing a double click, only a click no ? There's a know bug on donwloading file ... that sometimes kill RPC calls ( not always ) it's something about synchronization downloading and actual page in browser ... but if you're not doing a donwloading the problem it's in other side

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.