Page 3 of 3
Re: Running 2 versions of OpenKM on one Jboss
PostPosted:Fri Jul 09, 2010 10:25 am
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 (46.68 KiB) Viewed 6140 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
Re: Running 2 versions of OpenKM on one Jboss
PostPosted:Fri Jul 09, 2010 3:56 pm
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
Re: Running 2 versions of OpenKM on one Jboss
PostPosted:Mon Jul 12, 2010 9:18 am
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 (27.13 KiB) Viewed 6134 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>
Re: Running 2 versions of OpenKM on one Jboss
PostPosted:Mon Jul 12, 2010 2:39 pm
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"/>
Re: Running 2 versions of OpenKM on one Jboss
PostPosted:Mon Jul 12, 2010 3:27 pm
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
Re: Running 2 versions of OpenKM on one Jboss
PostPosted:Tue Jul 13, 2010 11:11 am
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
Re: Running 2 versions of OpenKM on one Jboss
PostPosted:Tue Jul 13, 2010 3:09 pm
by jllort
Admin tab could not appear if you're using IE.
You could try accessing directly with url
Re: Running 2 versions of OpenKM on one Jboss
PostPosted:Tue Jul 13, 2010 3:28 pm
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
Re: Running 2 versions of OpenKM on one Jboss
PostPosted:Wed Jul 14, 2010 9:40 pm
by jllort
The class is es.git.openkm.frontend.client.panel.center.Administration.java