Hi,
I first installed Ubuntu server 15.04 and the created a new user named openkm without sudo permission.
Then I installed OpenKM 5.1.8 in /home/openkm with own and group as openkm. It worked fine.
Now I created a new user named as "test".
I stoped OpenKM using sudo /etc/init.t/jboss stop
Then I moved jboss-4.2.3.GA to /home/test and also chown and chgrp to test. I also edited jboss.sh which is in /etc/init.d/
Then I restarted the machine. I am able to get the Login page. After entering the basic username and password okmAdmin ..... admin I got the below error.
Below is the $ cat /etc/init.d/jboss
Thanks in Advance.
I first installed Ubuntu server 15.04 and the created a new user named openkm without sudo permission.
Then I installed OpenKM 5.1.8 in /home/openkm with own and group as openkm. It worked fine.
Now I created a new user named as "test".
I stoped OpenKM using sudo /etc/init.t/jboss stop
Then I moved jboss-4.2.3.GA to /home/test and also chown and chgrp to test. I also edited jboss.sh which is in /etc/init.d/
Then I restarted the machine. I am able to get the Login page. After entering the basic username and password okmAdmin ..... admin I got the below error.
Code: Select all
So could you please help me to solve the issue. "com.openkm.core.RepositoryException: Configuration file could not be read.: /home/openkm/jboss-4.2.3.GA/repository.xml"Below is the $ cat /etc/init.d/jboss
Code: Select all
#! /bin/sh
# /etc/init.d/jbossokm: Start and stop JBoss Application Service
ECHO=/bin/echo
TEST=/usr/bin/test
JBOSS_START_SCRIPT=/home/test/jboss-4.2.3.GA/bin/run.sh
JBOSS_STOP_SCRIPT=/home/test/jboss-4.2.3.GA/bin/shutdown.sh
$TEST -x $JBOSS_START_SCRIPT || exit 0
$TEST -x $JBOSS_STOP_SCRIPT || exit 0
start() (
$ECHO -n "Starting JBoss"
su -c "$JBOSS_START_SCRIPT -b 0.0.0.0 > /dev/null 2> /dev/null &"
$ECHO "."
)
stop () (
$ECHO -n "Stopping JBoss"
su -c "$JBOSS_STOP_SCRIPT -S > /dev/null &"
$ECHO "."
)
case "$1" in
start )
start
;;
stop )
stop
;;
restart )
stop
sleep 30
start
;;
* )
$ECHO "Usage: jbossokm {start|stop|restart}"
exit 1
esac
exit 0Thanks in Advance.
