Opened 9 years ago

Closed 9 years ago

#609 closed bug (fixed)

LogicalDOC update-wd.sh service script doesn't work

Reported by: jkenyon Owned by:
Priority: minor Milestone:
Component: Core Version: 7.4
Keywords: Cc:

Description

Trying to setup the LogicalDOC update service under init.d on Centos 6.

Had to update the update-wd.sh script to recognise the variables


diff update-wd.sh update-wd.sh.orig
16,17c16,17
< export JAVA_OPTS="-Xmx64m -Djava.net.preferIPv4Stack=true"
< export CLASSPATH="/opt/LogicalDOC/update-wd/lib"
---

export JAVA_OPTS=-Xmx64m -Djava.net.preferIPv4Stack=true
export CLASSPATH=/opt/LogicalDOC/update-wd/lib/*

19c19
< java -cp $CLASSPATH $JAVA_OPTS com.logicaldoc.installer.update.UpdateWatchDog? $* &
---

java -cp %CLASSPATH% %JAVA_OPTS% com.logicaldoc.installer.update.UpdateWatchDog? $* &


However when trying to start the service getting the following error:
Error: Could not find or load main class com.logicaldoc.installer.update.UpdateWatchDog?

Change History (3)

comment:1 Changed 9 years ago by car031

We uploaded a correct script, please replace %INSTALL_PATH with /opt/LogicalDOC

comment:2 Changed 9 years ago by car031

if you enter in the system from localhost and you add an image in the form and save. Is the image displayed correctly ?

comment:3 Changed 9 years ago by car031

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.