• Installation on other version of JBoss AS

  • 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.
 #4515  by Samb1985
 
I would like to know if its possible to use OpenKM with another version of JBoss AS 5.1 ? If is possible how can I install the web application to my server where running JBoss AS 5.1 to avoid to install another istances of JBoss AS 4.2 that create conflict.
 #4523  by jllort
 
Probably you'll get some problem with webservices and could be some problem on classes isolation.

Let's try it, I've got deployed OpenKM 5.0 ( still not released and in beta stage in jboss 5 ) we could try with 4.0:
Related files to be copied:
Code: Select all
%JBOSS_HOME%/PropertyGroup*.*
%JBOSS_HOME%/OpenKM.cfg
%JBOSS_HOME%/repository.xml
%JBOSS_HOME%/indexing_configuration.xml
%JBOSS_HOME%/server/default/deploy/OpenKM.war
%JBOSS_HOME%/server/default/deploy/openkm-dx.xml
special case copy from %JBOSS_HOME%/server/default/conf/login-config.xml only the <application-policy name = "OpenKM"> ---- </application-policy>

If you've got problems with class loader ( colisions in jboss 5.1, probably you'll got it ), you need to add a file called jboss-classloading.xml into OpenKM.war/WEB-INF ( you can use winrar to put there ).
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<classloading xmlns="urn:jboss:classloading:1.0" 
        name="OpenKM.war" 
        domain="DefaultDomain" 
        export-all="NON_EMPTY" 
        import-all="true">
</classloading>
 #4528  by Samb1985
 
I'll try it on JBoss AS 5.1

Now I will see OpenKM.war (in JBoss AS Administration Console) in Web Application section:

Name:OpenKM.war
Version:--
Description:a standalone web application (WAR)
Traits
Path: [Jboss root]/server/default/deploy/OpenKM.war
Exploded?: no
Context Root: OpenKM
Virtual Hosts: localhost

Status: Available/UP

But if I go to: http://localhost:8080/OpenKM/ will display:
HTTP Status 404 - /OpenKM/
type Status report
message /OpenKM/
description The requested resource (/OpenKM/) is not available.

How can I resolve it ?
 #4529  by jllort
 
We need to see server.log errors !!!

Suggestion : Don't try it in your actual jboss 5.1 installation, try with some new jboss 5.1, and after here runs well copy to your production environment.
 #4530  by Samb1985
 
jllort wrote:We need to see server.log errors !!!

Suggestion : Don't try it in your actual jboss 5.1 installation, try with some new jboss 5.1, and after here runs well copy to your production environment.
I just try it in a new jboss 5.1
Now it work well following your indication.
The problem was in recreating .war.

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.