ERROR 04-23 22:53:08.350 Import.java 319016 125 org.openmeetings.servlet.outputhandler.Import [http-0.0.0.0-5080-2] - ERROR
org.dom4j.DocumentException: Error on line 2287 of document : The element type "language" must be terminated by the matching end-tag "</language>". Nested exception: The element type "language" must be terminated by the matching end-tag "</language>".
<string id="759" name="test setup">
<value>請不要再顯示這個測試</value>
</string>
</string>
<string id="766" name="test setup">
<value>停止</value>
</string>
ERROR 04-23 23:00:44.499 Import.java 775165 125 org.openmeetings.servlet.outputhandler.Import [http-0.0.0.0-5080-2] - ERROR
org.dom4j.DocumentException: Error on line 2311 of document : The element type "br" must be terminated by the matching end-tag "
". Nested exception: The element type "br" must be terminated by the matching end-tag "
".
<string id="768" name="start view">
<value>第一步
請點選開始</value>
</string>
<string id="769" name="start view">
<value>開始上課</value>
</string>
<string id="770" name="start view">
<value>Start Event</value>
</string>
<string id="771" name="start view">
<value>第二步
選擇課程</value>
</string>
<string id="772" name="start view">
<value>第三步
檢查您的設備</value>
</string>
<string id="773" name="start view">
<value>第四步
開始上課</value>
</string>
檔案名稱 | chinese traditional.xml |
描述 | 修正的chinese traditional.xml |
檔案大小 | 90 Kbytes |
下載次數 | 22 次 |
下載 |
andowson wrote:thanks888您好:
經過測試之後發現您所翻譯的檔案內容有些問題,這些問題可以藉由觀察/var/red5/log/openmeetings.log裡面搜尋ERROR或Exception字串來發現
1.在第2287行出現一個字串編號不連續的斷層,突然從759跳到766,並且還多了一個</string>標籤
ERROR 04-23 22:53:08.350 Import.java 319016 125 org.openmeetings.servlet.outputhandler.Import [http-0.0.0.0-5080-2] - ERROR
org.dom4j.DocumentException: Error on line 2287 of document : The element type "language" must be terminated by the matching end-tag "</language>". Nested exception: The element type "language" must be terminated by the matching end-tag "</language>".
<string id="759" name="test setup">
<value>請不要再顯示這個測試</value>
</string>
</string>
<string id="766" name="test setup">
<value>停止</value>
</string>
解法就是修正那個多出來的</string>標籤並補回漏掉的字串
2.出現沒有結尾標籤的br
ERROR 04-23 23:00:44.499 Import.java 775165 125 org.openmeetings.servlet.outputhandler.Import [http-0.0.0.0-5080-2] - ERROR
org.dom4j.DocumentException: Error on line 2311 of document : The element type "br" must be terminated by the matching end-tag "
". Nested exception: The element type "br" must be terminated by the matching end-tag "
".
<string id="768" name="start view">
<value>第一步
請點選開始</value>
</string>
<string id="769" name="start view">
<value>開始上課</value>
</string>
<string id="770" name="start view">
<value>Start Event</value>
</string>
<string id="771" name="start view">
<value>第二步
選擇課程</value>
</string>
<string id="772" name="start view">
<value>第三步
檢查您的設備</value>
</string>
<string id="773" name="start view">
<value>第四步
開始上課</value>
</string>
解法就是將<br>改為<br/>即可
附檔是我修正後的檔案,請您再測試看看。另外內容似乎還沒翻譯完整,也麻煩您於翻譯完成之後再上傳一次,謝謝。
檔案名稱 | 888.zip |
描述 | 沒有檔案註解存在 |
檔案大小 | 136 Kbytes |
下載次數 | 11 次 |
下載 |
檔案名稱 | image001.png |
描述 | 發生錯誤訊息 |
檔案大小 | 281 Kbytes |
下載次數 | 4 次 |
下載 |
convert -version
檔案名稱 | khjkjh.jpg |
描述 | 沒有檔案註解存在 |
檔案大小 | 69 Kbytes |
下載次數 | 3 次 |
下載 |
Name: exitValue
Value: 1
Name: command
Value: [java, -cp, "/usr/local/red5/webapps/openmeetings/jod/commons-cli-1.2.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/commons-io-1.4.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/jodconverter-2.2.2.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/jodconverter-cli-2.2.2.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/juh-3.0.1.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/jurt-3.0.1.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/ridl-3.0.1.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/slf4j-api-1.5.6.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/slf4j-jdk14-1.5.6.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/unoil-3.0.1.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/xstream-1.3.1.jar", -jar, /usr/local/red5/webapps/openmeetings/jod/jodconverter-cli-2.2.2.jar, /usr/local/red5/webapps/openmeetings/uploadtemp/13/Scaki_1.ppt, /usr/local/red5/webapps/openmeetings/upload/13/Scaki_1/Scaki_1.pdf]
Name: error
Value: ERROR: connection failed. Please make sure OpenOffice.org is running and listening on port 8100.
Name: process
Value: doJodConvert
Name: exitValue
Value: 0
Name: process
Value: generateXMLDocument
Name: exitValue
Value: 1
Name: command
Value: [convert, -thumbnail, 80, /usr/local/red5/webapps/openmeetings/upload/13/Scaki_1/Scaki_1.pdf, /usr/local/red5/webapps/openmeetings/upload/13/Scaki_1/_thumb_page-%04d.jpg]
Name: error
Value: convert: Unrecognized option (-thumbnail).
Name: process
Value: generateBatchThumb
Name: exitValue
Value: 0
Name: process
Value: processPDF
Name: exitValue
Value: -1
Name: command
Value: [pdf2swf, -s, insertstop, /usr/local/red5/webapps/openmeetings/upload/13/Scaki_1/Scaki_1.pdf, /usr/local/red5/webapps/openmeetings/upload/13/Scaki_1/Scaki_1.swf]
Name: error
Value: Cannot run program "pdf2swf": java.io.IOException: error=2, No such file or directory
Name: process
Value: generateSwf
rpm -qa|grep openoffice
netstat -an|grep 8100
andowson wrote:thanks888您好:
初步在您的網站測試投影片上傳後發現,無法成功轉換成pdf和jpg,出現下列錯誤訊息:
Name: exitValue
Value: 1
Name: command
Value: [java, -cp, "/usr/local/red5/webapps/openmeetings/jod/commons-cli-1.2.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/commons-io-1.4.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/jodconverter-2.2.2.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/jodconverter-cli-2.2.2.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/juh-3.0.1.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/jurt-3.0.1.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/ridl-3.0.1.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/slf4j-api-1.5.6.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/slf4j-jdk14-1.5.6.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/unoil-3.0.1.jar" -cp "/usr/local/red5/webapps/openmeetings/jod/xstream-1.3.1.jar", -jar, /usr/local/red5/webapps/openmeetings/jod/jodconverter-cli-2.2.2.jar, /usr/local/red5/webapps/openmeetings/uploadtemp/13/Scaki_1.ppt, /usr/local/red5/webapps/openmeetings/upload/13/Scaki_1/Scaki_1.pdf]
Name: error
Value: ERROR: connection failed. Please make sure OpenOffice.org is running and listening on port 8100.
Name: process
Value: doJodConvert
Name: exitValue
Value: 0
Name: process
Value: generateXMLDocument
Name: exitValue
Value: 1
Name: command
Value: [convert, -thumbnail, 80, /usr/local/red5/webapps/openmeetings/upload/13/Scaki_1/Scaki_1.pdf, /usr/local/red5/webapps/openmeetings/upload/13/Scaki_1/_thumb_page-%04d.jpg]
Name: error
Value: convert: Unrecognized option (-thumbnail).
Name: process
Value: generateBatchThumb
Name: exitValue
Value: 0
Name: process
Value: processPDF
Name: exitValue
Value: -1
Name: command
Value: [pdf2swf, -s, insertstop, /usr/local/red5/webapps/openmeetings/upload/13/Scaki_1/Scaki_1.pdf, /usr/local/red5/webapps/openmeetings/upload/13/Scaki_1/Scaki_1.swf]
Name: error
Value: Cannot run program "pdf2swf": java.io.IOException: error=2, No such file or directory
Name: process
Value: generateSwf
先檢查是否有安裝OpenOffice.org並且OpenOffice.org是否有設定為在每次主機重開時自動啟動。
rpm -qa|grep openoffice
netstat -an|grep 8100
由於無法得知當初您的系統是怎麼安裝的,系統相關的環境(包含作業系統、資料庫、JDK、OpenOffice.org, OpenMeetings,...等版本資訊)。我的建議是如果您持續遇到很多問題,不如您找當初幫您安裝的人,照本站所提供的shell script再重裝一次看看,也許這樣子就可以減少很多問題。
[andowson@www ~]$ cd /var/red5
[andowson@www red5]$ ll
總計 2500
-rw-r--r-- 1 root root 16033 5月 21 00:01 boot.jar
drwxr-xr-x 3 root root 4096 5月 21 00:01 conf
drwxr-xr-x 2 root root 4096 5月 21 00:01 lib
-rw-r--r-- 1 root root 1472 5月 21 00:01 license.txt
drwxr-xr-x 2 root root 4096 6月 3 03:49 log
-rw------- 1 root root 485251 6月 3 03:50 nohup.out
-rw-r--r-- 1 root root 1107 5月 21 00:01 red5.bat
-rw-r--r-- 1 root root 167 5月 21 00:01 red5-debug.bat
-rwxr-xr-x 1 root root 220 5月 21 00:01 red5-debug.sh
-rw-r--r-- 1 root root 1193 5月 21 00:01 red5-highperf.bat
-rwxr-xr-x 1 root root 437 5月 21 00:01 red5-highperf.sh
-rw-r--r-- 1 root root 996012 5月 21 00:01 red5.jar
-rwxr-xr-x 1 root root 1297 5月 21 00:01 red5.sh
-rw-r--r-- 1 root root 303 5月 21 00:01 red5-shutdown.bat
-rwxr-xr-x 1 root root 344 5月 21 00:01 red5-shutdown.sh
-rw-r--r-- 1 root root 984064 5月 21 00:01 src.zip
drwxr-xr-x 4 root root 4096 5月 21 00:01 webapps
drwxr-xr-x 4 root root 4096 5月 21 22:50 work
[andowson@www red5]$ cd webapps/
[andowson@www webapps]$ ll
總計 12
drwxr-xr-x 16 root root 4096 5月 21 00:03 openmeetings
-rw-r--r-- 1 root root 1884 5月 21 00:01 red5-default.xml
drwxr-xr-x 3 root root 4096 5月 21 00:01 root
[andowson@www webapps]$ cd openmeetings/
[andowson@www openmeetings]$ ll
總計 3740
drwxr-xr-x 6 root root 4096 5月 21 00:01 axis2-web
-rw-r--r-- 1 root root 177080 5月 21 00:01 broadcast.lzx.lzr=swf8.swf
drwxr-xr-x 2 root root 4096 5月 21 22:49 conf
-rw-r--r-- 1 root root 8745 5月 21 00:01 config.xml
drwxr-xr-x 2 root root 4096 5月 21 00:01 default
drwxr-xr-x 2 root root 4096 5月 21 00:01 desktop
-rw-r--r-- 1 root root 44284 5月 21 00:01 embed-compressed.js
-rw-r--r-- 1 root root 2462 5月 21 00:01 favicon.ico
-rw-r--r-- 1 root root 3485 5月 21 00:01 index.jsp
drwxr-xr-x 3 root root 4096 5月 21 00:01 jod
drwxr-xr-x 2 root root 4096 5月 21 00:01 languages
-rw-r--r-- 1 root root 1068 5月 21 00:01 license.txt
-rw-r--r-- 1 root root 2098406 5月 21 00:03 maindebug.swf8.swf
-rw-r--r-- 1 root root 1057073 5月 21 00:03 main.swf8.swf
-rw-r--r-- 1 root root 11336 5月 21 00:01 openmeetings_licence.txt
drwxr-xr-x 3 root root 4096 5月 21 00:01 public
-rw-r--r-- 1 root root 847 5月 21 00:01 rawSOAP.xml
-rw-r--r-- 1 root root 340 5月 21 00:01 Red5.bat
drwxr-xr-x 2 root root 4096 5月 21 00:04 red5-screenshare
drwxr-xr-x 2 root root 4096 5月 21 00:04 screen
drwxr-xr-x 2 root root 4096 5月 21 00:01 sip-applet
drwxr-xr-x 3 root root 4096 5月 21 00:01 streams
-rw-r--r-- 1 root root 322539 5月 21 00:01 subscribe.lzx.lzr=swf8.swf
drwxr-xr-x 5 root root 4096 5月 22 09:55 upload
drwxr-xr-x 4 root root 4096 5月 22 09:55 uploadtemp
drwxr-xr-x 8 root root 4096 5月 21 00:01 WEB-INF
<servlet>
<servlet-name>Install</servlet-name>
<servlet-class>org.openmeetings.servlet.outputhandler.Install</servlet-class>
</servlet>
...
<servlet-mapping>
<servlet-name>Install</servlet-name>
<url-pattern>/Install</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Install</servlet-name>
<url-pattern>/install</url-pattern>
</servlet-mapping>