AnsweredAssumed Answered

Inline editing possible?

Question asked by copymaster on Jan 14, 2007
Hi
It's me again  :oops:

After days of trying to get this software going on Kubuntu edgy i was able to get it running with less errors in the Logs….

i used the distribution JAVA SUN 5 (its a 1.5.0 update 8)
Set JAVA_HOME and JRE_HOME manually.

Then installed Apache2 with apr.

then edited the config files.
first my configfiles:

alfresco.sh:
#!/bin/sh
# Start or stop Alfresco server
# Set the following to where Tomcat is installed
ALF_HOME=/opt/alfresco
cd "$ALF_HOME"
APPSERVER="$ALF_HOME"/tomcat
#export JAVA_HOME="$ALF_HOME"/java
# Set any default JVM values
export JRE_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.08
export JAVA_OPTS='-Xms128m -Xmx512m -server'
# Following only needed for Sun JVMs before to 1.5 update 8
#export JAVA_OPTS=$JAVA_OPTS '-XX:CompileCommand=exclude,org/apache/lucene/index/IndexReader\$1,doBody -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo\$Merger,mergeIndexes -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo\$Merger,mergeDeletions'
#
if [ "$1" = "start" ]; then
  "$APPSERVER"/bin/startup.sh
  if [ -r "$ALF_HOME"/start_oo.sh ]; then
    sh "$ALF_HOME"/start_oo.sh
  fi
elif [ "$1" = "stop" ]; then
  "$APPSERVER"/bin/shutdown.sh
  if [ -r "$ALF_HOME"/start_oo.sh ]; then
    killall soffice.bin
  fi
fi

start_oo.sh: I USED THE DEBIANPACKAGES FROM OPENOFFICE.ORG
#!/bin/sh
# —————————————————————————
# Start script for the OpenOffice transform service
# —————————————————————————

echo "Starting OpenOffice service…"

# Comment or uncomment the appropriate location using #
/opt/openoffice.org2.1/program/soffice -headless -nologo -accept="socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" &

# If NeoOffice on Mac OS X
#/Applications/NeoOfficeJ.app/Contents/program/soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless &


I installed alfresco as root and started alf_start.sh as root.

Using CATALINA_BASE:   /opt/alfresco/tomcat
Using CATALINA_HOME:   /opt/alfresco/tomcat
Using CATALINA_TMPDIR: /opt/alfresco/tomcat/temp
Using JRE_HOME:       /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre
Using JAVA_OPTS:       -Xms128m -Xmx512m -server -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/alfresco/tomcat/conf/logging.properties
Starting OpenOffice service…


LOOKS GREAT so far……




output catalina.out:
14.01.2007 07:41:38 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/../lib/i386
14.01.2007 07:41:38 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
14.01.2007 07:41:38 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1694 ms
14.01.2007 07:41:39 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
14.01.2007 07:41:39 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.12
14.01.2007 07:41:39 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
14.01.2007 07:41:41 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
07:42:20,149 ERROR [openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly
07:42:23,772 INFO  [admin.patch.PatchExecuter] Sucht nach anwendbaren Patches
07:42:23,846 INFO  [admin.patch.PatchExecuter] Es sind keine Patches erforderlich
07:42:24,245 INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_08-b03; maximum heap size 506,313MB
07:42:24,246 INFO  [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 1.4.0 (build-105) schema 21 - Installed version 1.4.0 (build-105) schema 21
14.01.2007 07:42:26 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
14.01.2007 07:42:27 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
14.01.2007 07:42:27 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/21  config=null
14.01.2007 07:42:27 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
14.01.2007 07:42:27 org.apache.catalina.startup.Catalina start
INFO: Server startup in 48282 ms


WHAT DOES THIS ERROR MEAN????

and last catalina-<DATE>.log

14.01.2007 07:41:38 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Portable Runtime which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386/server:/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/../lib/i386
14.01.2007 07:41:38 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
14.01.2007 07:41:38 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1694 ms
14.01.2007 07:41:39 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
14.01.2007 07:41:39 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.12
14.01.2007 07:41:39 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
14.01.2007 07:41:41 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
14.01.2007 07:42:26 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
14.01.2007 07:42:27 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
14.01.2007 07:42:27 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/21  config=null
14.01.2007 07:42:27 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
14.01.2007 07:42:27 org.apache.catalina.startup.Catalina start
INFO: Server startup in 48282 ms
                                                   

NOW THE QUESTIONS:


I am able to browse the smb://localhost/Alfresco folder (CIFS)
I am able use the webclient.

But i cannot inline edit the openoffice documents? I allowed the document to be edited. when i click on the doc, openoffice starts and shows me the right content! (jippieh).

When i Check it out of the repository and open the copy directly out of the browser, i can open the doc, but when i click on SAVE, the changes are not saved? the versionnumber counts up.

Then i tried to mount the CIFS folder as root directly on my desktop and i was able to browse it. i have unfortunately NOT the permission to create a new document in that folder???

The working copy of the outchecked document can be edited! and is even right saved.


is there a possibility to edit documents directly in openoffice or is the only way to download the doc, make changes and upload it again with afterwards checking it in?

It is sooo complicated! I thought i can use the CIFS folder within another application and hoped that every change is automatically versioned and recognised by alfresco.

Am I missing something? Please provide help!

Or is the only way to get this stuff going on Windoze? Or is it not possible?

Thanx in advance, i hope you can understand what i mean.

Outcomes