Page 1 of 1

ERROR [OKMWorkspaceServlet]

PostPosted:Thu Oct 28, 2010 12:58 am
by tosh
Hi All,

hopefully someone will be able to help me :).

Hi have just rebooted Linux rel5 server and I can no longer start OpenKM, this is the message I get when login as as the okmAdmin.

The system has generated an error
--------------------------------------------------------------------------------------------------------
OKM-014019(getUserWorkspace): OKM-014019

The markup declarations contained or pointed to by the document type declaration must be well-formed.
--------------------------------------------------------------------------------------------------------

This is the exception error.
Code: Select all
08:50:14,988 ERROR [FormUtils] The markup declarations contained or pointed to by the document type declaration must be well-formed.
08:50:14,994 ERROR [OKMWorkspaceServlet] The markup declarations contained or pointed to by the document type declaration must be well-formed.
com.openkm.core.ParseException: The markup declarations contained or pointed to by the document type declaration must be well-formed.
        at com.openkm.util.FormUtils.parsePropertyGroupsForms(FormUtils.java:142)
        at com.openkm.module.direct.DirectPropertyGroupModule.getAllGroups(DirectPropertyGroupModule.java:228)
        at com.openkm.api.OKMPropertyGroup.getAllGroups(OKMPropertyGroup.java:92)
        at com.openkm.frontend.server.OKMWorkspaceServlet.getUserWorkspace(OKMWorkspaceServlet.java:108)
        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:562)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
        at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
        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:662)
Regards,

Tosh.

Re: ERROR [OKMWorkspaceServlet]

PostPosted:Thu Oct 28, 2010 2:58 pm
by jllort
do you've got internet connection in this computer ? if not take a look at note in http://wiki.openkm.com/index.php/Proper ... definition page

Re: ERROR [OKMWorkspaceServlet]

PostPosted:Fri Oct 29, 2010 12:12 am
by tosh
Thanks jllort,

Not sure how this help's, I don't have any files saved in the repository, but if I refresh the page after clearing the messages (OKM-0140019) from the webpage it loads the toolbars.

I have only created one additional user, so I am not sure what I have missed or changed that will cause this error.

Regards,

Tosh.

Re: ERROR [OKMWorkspaceServlet]

PostPosted:Sat Oct 30, 2010 7:48 am
by jllort
Have you registered some metadata ? Property group ?

Re: ERROR [OKMWorkspaceServlet]

PostPosted:Mon Nov 01, 2010 5:18 am
by tosh
Hi jllort,

I don't think so, how would I confirm the data for metadata / group properties.

Regards,

Tosh.

Re: ERROR [OKMWorkspaceServlet]

PostPosted:Mon Nov 01, 2010 11:32 am
by jllort
Error seems to have origin in metadata ( property groups )
Code: Select all
com.openkm.core.ParseException: The markup declarations contained or pointed to by the document type declaration must be well-formed.
at com.openkm.util.FormUtils.parsePropertyGroupsForms(FormUtils.java:142)
at com.openkm.module.direct.DirectPropertyGroupModule.getAllGroups(DirectPropertyGroupModule.java:228)
Go to administrator, and then click on the eight icon from the left, is there any metadata registered there ?
Do you've got internet connection from this server ?

Re: ERROR [OKMWorkspaceServlet]

PostPosted:Tue Nov 02, 2010 5:33 am
by tosh
Hi jllort,

When I select the icon I get the following message:

Application error
Class: com.openkm.core.ParseException
Message: The markup declarations contained or pointed to by the document type declaration must be well-formed.
Date: Tue Nov 02 13:31:15 WST 2010

I do have access to the internet from this server.

Regards,

Tosh.

Re: ERROR [OKMWorkspaceServlet]

PostPosted:Tue Nov 02, 2010 6:41 pm
by jllort
Which version are you using ?
Have you upgraded from other OpenKM previous version ?
Hve you changed PropetyGroups.cnd or PropertyGroups.xml which are the headers ? for example for version 5.1 are
Code: Select all
<okm = 'http://www.openkm.org/1.0'>
<okg = 'http://www.openkm.org/group/1.0'>
<okp = 'http://www.openkm.org/group/property/1.0'>