• Running 2 versions of OpenKM on one Jboss

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #5730  by weezer316
 
Hi,

Nope. still cant get it to work. I can log on but I am getting the erros below on login:
login_errors.JPG
login_errors.JPG (46.68 KiB) Viewed 6132 times
I have went throught the same steps to get several version running alongside each other, renaming the install string, amending jBoss-web.xml and web.xml, as well as changing login-config.xml to point to the correct datasource in openkm-ds.xml.

Also amended the repository.xml to point to the right folder. But it is still looking for servlets called OpenKMTDPTEST001 when i try and upload a document. The name I called my installation was just TDPTEST001, minus the OpenKM at the start.

Any idea? Its clealy just a small config probelm as it is there?

Wheeler
 #5732  by jllort
 
must be changed probably main.gwt.xml ( there're RPC servlet definition ). It's a RPC error, I can not see the exact error ... but communication error could be that problem
 #5750  by weezer316
 
Hi,

Sorry what bit should I edit and with what in Main.gwt.xml? it is immediatly obvious where to edit.

As for the error, here is what i get if i try and upload. To access this installation i put loalhost:8080/TDPTEST001 so im not sure why it is looking for an OpenKM at the start
upload_error.JPG
upload_error.JPG (27.13 KiB) Viewed 6126 times
Here is my Main.gwt.xml file. Im not sure where I should edit.
Code: Select all
<module>

	<!-- Inherit the core Web Toolkit stuff.                  -->
	<inherits name='com.google.gwt.user.User'/>
	<inherits name="com.google.gwt.http.HTTP"/> 
	<inherits name='com.google.gwt.widgetideas.WidgetIdeas'/>
	<inherits name='com.google.gwt.libideas.LibIdeas'/>
  	<inherits name='com.google.gwt.widgetideas.ScrollTable'/>
    <inherits name="com.allen_sauer.gwt.log.gwt-log" />

	<!-- Specify the app entry point class.                   -->
	<entry-point class='es.git.openkm.frontend.client.Main'/>
	
	<!-- Compile for firefox only: quicker for developement 
	<set-property name="user.agent" value="gecko"/> -->
	
	<!-- Compile debug levels -->
	<extend-property name="log_level" values="DEBUG" />
    <set-property name="log_level" value="DEBUG" />
	<set-property name="log_FirebugLogger" value="DISABLED" />
	
	<!-- Supress compilation warnings -->
	<set-property name="gwt.suppressNonStaticFinalFieldWarnings" value="true"/>
	
    <servlet path="/OpenKM/OKMFolderServlet" class="es.git.openkm.frontend.server.OKMFolderServlet"/>
    <servlet path="/OpenKM/OKMDocumentServlet" class="es.git.openkm.frontend.server.OKMDocumentServlet"/>
    <servlet path="/OpenKM/OKMDownloadServlet" class="es.git.openkm.frontend.server.OKMDownloadServlet"/>
	<servlet path="/OpenKM/OKMUploadServlet" class="es.git.openkm.frontend.server.OKMUploadServlet"/>
	<servlet path="/OpenKM/OKMAuthServlet" class="es.git.openkm.frontend.server.OKMAuthServlet"/>
	<servlet path="/OpenKM/OKMSearchServlet" class="es.git.openkm.frontend.server.OKMSearchServlet"/>
	<servlet path="/OpenKM/OKMFileUploadServlet" class="es.git.openkm.frontend.server.OKMFileUploadServlet"/>
	<servlet path="/OpenKM/OKMPropertyGroupServlet" class="es.git.openkm.frontend.server.OKMPropertyGroupServlet"/>	
	<servlet path="/OpenKM/OKMNotifyServlet" class="es.git.openkm.frontend.server.OKMNotifyServlet"/>	
	<servlet path="/OpenKM/OKMBookmarkServlet" class="es.git.openkm.frontend.server.OKMBookmarkServlet"/>	
	<servlet path="/OpenKM/OKMRepositoryServlet" class="es.git.openkm.frontend.server.OKMRepositoryServlet"/>
	<servlet path="/OpenKM/OKMDashboardServlet" class="es.git.openkm.frontend.server.OKMDashboardServlet"/>
	<servlet path="/OpenKM/OKMRepositoryServlet" class="es.git.openkm.frontend.server.OKMWorkspaceServlet"/>
	<servlet path="/OpenKM/OKMWorkflowServlet" class="es.git.openkm.frontend.server.OKMWorkflowServlet"/>
	<servlet path="/OpenKM/OKMMailServlet" class="es.git.openkm.frontend.server.OKMMailServlet"/>
	<servlet path="/OpenKM/OKMGeneralServlet" class="es.git.openkm.frontend.server.OKMGeneralServlet"/>
	
</module>

 #5755  by jllort
 
You must edit servlet path /OpenKM/ to new name
Code: Select all
<servlet path="/OpenKM/OKMGeneralServlet" class="es.git.openkm.frontend.server.OKMGeneralServlet"/>
 #5759  by weezer316
 
Hi,

Afraid im still getting the same. Lots of errors on logging in and when i try and upload I get the same error form 2 posts ago. I had replaced OpenKM with TDPTEST001 whcih is my install string. Still the same. I even replaced all OpenKM with TDPTEST001 and still the same.

Why is it looking for OpenKMTDPTEST001/servlet and not just TDPTEST001/servlet? Is there something else I need to edit? Tried several ifferent approacehs and still cant get it.

Again any help much appreicated!

regards

Wheeler
 #5766  by weezer316
 
Hi,

Right i seem to have fixed it, forgot to amend config.java correctly :-). However the admin tab is now unavailable. its still putting a OpenKM in frot of the string. What file has the path that this looks for? I have looked in dozens but I just cant find it!

Wheeler
 #5771  by weezer316
 
Hi,

No I can see the tab, I just get a error when I access it, saying it cannot find OpenKMTDPTEST001/admin etc. I just need to find what file controls the string which tells it to append openKM to the install string. Whihc file does this?? I have searched high and low.

I can access the admin tab directly

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.