Re: Moddel 1.9 plugin

2012-07-30 Thread seba.wag...@gmail.com
Hallo Jaime,

the SOAP/REST parameters did not change between 1.9 and 2.0.
Old integrations should still work.

Sebastian

2012/7/30 Jaime Balbino :
> Hi,
>
> I test this. But the new Moodle plugin is only 2.0 version. Don't run in 1.9.
>
> I think the SOAP paraments change in OM 2.0.
>
> 2012/7/30 Maxim Solodovnik :
>> According to error code (404) there is something wrong with your moodle
>> plugin parameters.
>> I have tested only latest 2.2 version of plugin and it seems to work as
>> expected.
>>
>> Maybe you can try the new version of plugin? I believe it should be
>> compatible with 1.9
>>
>>
>> On Mon, Jul 30, 2012 at 9:39 AM, Jaime Balbino  wrote:
>>>
>>> Hi,
>>>
>>> The Moodle 1.9 plugin don't run OM 2.0?
>>>
>>> I have this error while create room in Moodle:
>>>
>>> Error
>>>
>>> wsdl error: HTTP ERROR: Unsupported HTTP response status 404 Not Found
>>> (soapclient->response has contents of the response)
>>> My WARNING [512] Cannot set undefined directive Core.NormalizeNewlines
>>> to value on line 2077 in file /usr/share/moodle/lib/weblib.php
>>> My WARNING [512] Base directory /var/lib/moodle/cache/htmlpurifier
>>> does not exist, please create or change using %Cache.SerializerPath
>>> My WARNING [512] Base directory /var/lib/moodle/cache/htmlpurifier
>>> does not exist, please create or change using %Cache.SerializerPath
>>> My WARNING [512] Cannot retrieve value of undefined directive
>>> Core.NormalizeNewlines on line 266 in file
>>> /usr/share/moodle/lib/htmlpurifier/HTMLPurifier/Lexer.php
>>> My WARNING [512] Cannot retrieve value of undefined directive
>>> Core.RemoveProcessingInstructions on line 303 in file
>>> /usr/share/moodle/lib/htmlpurifier/HTMLPurifier/Lexer.php
>>> My WARNING [512] Cannot retrieve value of undefined directive
>>> Core.NormalizeNewlines on line 101 in file
>>> /usr/share/moodle/lib/htmlpurifier/HTMLPurifier/Generator.php
>>> Error
>>>
>>> wsdl error: HTTP ERROR: Unsupported HTTP response status 404 Not Found
>>> (soapclient->response has contents of the response)
>>> Could not login User to OpenMeetings, check your OpenMeetings Module
>>> Configuration
>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wag...@gmail.com


Re: "invalid officeHome" error.

2012-07-30 Thread Dušan Stloukal

Hi guys,

have you solved this problem? I encountred the same trouble on CentOS 6 
64-bit:


# ls -la /usr/lib64/libreoffice/program/soffice.bin
-rwxr-xr-x 1 root root 37488 Jun 23 01:18 
/usr/lib64/libreoffice/program/soffice.bin


# java -Doffice.home=/usr/lib64/libreoffice/program -jar 
/usr/local/lib/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar 
webmeeting.odt webmeeting.pdf
Exception in thread "main" java.lang.IllegalStateException: invalid 
officeHome: it doesn't contain soffice.bin: /usr/lib64/libreoffice/program
at 
org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:167)

at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111)

I found the solution, look at the office.home pathe, but I don't know, 
where is the mistake:


# java -Doffice.home=/usr/lib64/libreoffice/ -jar 
/usr/local/lib/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar 
webmeeting.odt webmeeting.pdf
Jul 30, 2012 9:44:37 AM 
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager 

INFO: ProcessManager implementation is LinuxProcessManager
Jul 30, 2012 9:44:37 AM 
org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 
'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir 
'/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
Jul 30, 2012 9:44:37 AM 
org.artofsolving.jodconverter.office.OfficeProcess start

INFO: started process; pid = 32367
Jul 30, 2012 9:44:38 AM 
org.artofsolving.jodconverter.office.ManagedOfficeProcess$6 attempt

WARNING: office process died with exit code 81; restarting it
Jul 30, 2012 9:44:38 AM 
org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 
'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir 
'/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
Jul 30, 2012 9:44:38 AM 
org.artofsolving.jodconverter.office.OfficeProcess start

INFO: started process; pid = 32382
Jul 30, 2012 9:44:38 AM 
org.artofsolving.jodconverter.office.OfficeConnection connect

INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
Jul 30, 2012 9:44:39 AM 
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop

INFO: stopping
Jul 30, 2012 9:44:39 AM 
org.artofsolving.jodconverter.office.OfficeConnection$1 disposing

INFO: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
Jul 30, 2012 9:44:39 AM 
org.artofsolving.jodconverter.office.ManagedOfficeProcess 
doEnsureProcessExited

INFO: process exited with code 0
Jul 30, 2012 9:44:39 AM 
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop

INFO: stopped

D.



On 07/07/2012 02:48 PM, George Kirkham wrote:


Dimosthenis,

I have not been able to successfully install Centos so I have no 
experience with OpenMeetings in Centos.  These days my preferred OS is 
32 bit Debian, but that is just a personal choice.


What do you get on your OpenMeetings server if you run the following 
two commands as root  ?


find / -name soffice.bin

ls -al /usr/lib64/openoffice.org3/program

Just wanted to check if you have Office installed OK and that the path 
you specified is actually correct


I recommend setting the path for swftools to the path returned by the 
command


find / -name pdf2swf

Recently when trying to build swftools 9.x we had to remove -o and -L 
from the Make and Make.in files in the build directories, in order to 
get the build of swftools to complete.  (this was in Debian though).


I ran the following steps and then got the below error message;

./configure >../swfconfigure.log 2>&1
make >../debswfmake.log 2>&1
make install >../debswfinst.log

The "make install" generated the following error message and then stopped.
rm -f /usr/local/share/swftools/swfs/default_viewer.swf -o -L 
/usr/local/share/swftools/swfs/default_viewer.swf

rm: invalid option -- 'o'
Try `rm --help' for more information.
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/adm/swftools/swftools-0.9.2/swfs'
make: *** [install] Error 2

Using the below search line, I located the files swfs/Make and 
swfs/Make.in
find . -type f -name "*.*" -print0 | xargs -0 -e grep -nH -e 
"default_viewer.swf"


In these files were the lines;
rm -f $(pkgdatadir)/swfs/default_viewer.swf -o -L 
$(pkgdatadir)/swfs/default_viewer.swf
$(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf 
$(pkgdatadir)/swfs/default_viewer.swf
rm -f $(pkgdatadir)/swfs/default_loader.swf -o -L 
$(pkgdatadir)/swfs/default_loader.swf
$(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf 
$(pkgdatadir)/swfs/default_loader.swf


Thanks,

George Kirkham

From: Dimosthenis Trichakis [mailto:dtri...@gmail.com]
Sent: Saturday, 7 July 2012 10:19 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: "invalid officeHome" error.

George thank you for the reply,

I have installed the openmeeting in debian without any problem but 
when I try to installed it i

Re: Calendar issues

2012-07-30 Thread seba.wag...@gmail.com
Hi George,

thanks for summing up,
I will check those issues in detail!

Sebastian

2012/7/25 George Kirkham :
> Hi,
>
>
>
> When testing the Calendar for Event creation I discovered some issues and so
> I have raised Jira records for these.
>
>
>
> If you have time to check, I would appreciate it if someones could confirm
> that they can duplicate these same issues.
>
>
>
> OPENMEETINGS-376 - “Notification type” text overflows the drop down data
> selection area and is partly covered
>
>
>
> OPENMEETINGS-377 - Double clicking in the calendar area creates two “Event
> details” dialog windows not just one window
>
>
>
> OPENMEETINGS-378 - Update Calendar email notification rules to send
> notification only when data relevant to the users
>
>
>
> OPENMEETINGS-379 - The Calendar ics format email notification is incorrectly
> formed
>
>
>
> OPENMEETINGS-380 - Calendar "Add attendee" option has a second option of
> itself to "Add external" but adding an external attendee does not close this
> dialog
>
>
>
> Thanks,
>
>
>
> George Kirkham
>
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wag...@gmail.com


RE: Calendar issues

2012-07-30 Thread George Kirkham
Thanks Sebastian.  Please let me know if you need further information.


Thanks,

George Kirkham




-Original Message-
From: seba.wag...@gmail.com [mailto:seba.wag...@gmail.com] 
Sent: Monday, 30 July 2012 6:44 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Calendar issues

Hi George,

thanks for summing up,
I will check those issues in detail!

Sebastian

2012/7/25 George Kirkham :
> Hi,
>
>
>
> When testing the Calendar for Event creation I discovered some issues 
> and so I have raised Jira records for these.
>
>
>
> If you have time to check, I would appreciate it if someones could 
> confirm that they can duplicate these same issues.
>
>
>
> OPENMEETINGS-376 - "Notification type" text overflows the drop down 
> data selection area and is partly covered
>
>
>
> OPENMEETINGS-377 - Double clicking in the calendar area creates two 
> "Event details" dialog windows not just one window
>
>
>
> OPENMEETINGS-378 - Update Calendar email notification rules to send 
> notification only when data relevant to the users
>
>
>
> OPENMEETINGS-379 - The Calendar ics format email notification is 
> incorrectly formed
>
>
>
> OPENMEETINGS-380 - Calendar "Add attendee" option has a second option 
> of itself to "Add external" but adding an external attendee does not 
> close this dialog
>
>
>
> Thanks,
>
>
>
> George Kirkham
>
>



--
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wag...@gmail.com


Re: "invalid officeHome" error.

2012-07-30 Thread seba.wag...@gmail.com
There is a config variable in Administration > Configuration
"office.home" in the OpenMeetings UI.
Set that path to your value and you should be fine.

Sebastian

2012/7/30 Dušan Stloukal :
> Hi guys,
>
> have you solved this problem? I encountred the same trouble on CentOS 6
> 64-bit:
>
> # ls -la /usr/lib64/libreoffice/program/soffice.bin
> -rwxr-xr-x 1 root root 37488 Jun 23 01:18
> /usr/lib64/libreoffice/program/soffice.bin
>
> # java -Doffice.home=/usr/lib64/libreoffice/program -jar
> /usr/local/lib/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar
> webmeeting.odt webmeeting.pdf
> Exception in thread "main" java.lang.IllegalStateException: invalid
> officeHome: it doesn't contain soffice.bin: /usr/lib64/libreoffice/program
> at
> org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:167)
> at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111)
>
> I found the solution, look at the office.home pathe, but I don't know, where
> is the mistake:
>
> # java -Doffice.home=/usr/lib64/libreoffice/ -jar
> /usr/local/lib/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar
> webmeeting.odt webmeeting.pdf
> Jul 30, 2012 9:44:37 AM
> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager 
> INFO: ProcessManager implementation is LinuxProcessManager
> Jul 30, 2012 9:44:37 AM org.artofsolving.jodconverter.office.OfficeProcess
> start
> INFO: starting process with acceptString
> 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir
> '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
> Jul 30, 2012 9:44:37 AM org.artofsolving.jodconverter.office.OfficeProcess
> start
> INFO: started process; pid = 32367
> Jul 30, 2012 9:44:38 AM
> org.artofsolving.jodconverter.office.ManagedOfficeProcess$6 attempt
> WARNING: office process died with exit code 81; restarting it
> Jul 30, 2012 9:44:38 AM org.artofsolving.jodconverter.office.OfficeProcess
> start
> INFO: starting process with acceptString
> 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir
> '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
> Jul 30, 2012 9:44:38 AM org.artofsolving.jodconverter.office.OfficeProcess
> start
> INFO: started process; pid = 32382
> Jul 30, 2012 9:44:38 AM
> org.artofsolving.jodconverter.office.OfficeConnection connect
> INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
> Jul 30, 2012 9:44:39 AM
> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
> INFO: stopping
> Jul 30, 2012 9:44:39 AM
> org.artofsolving.jodconverter.office.OfficeConnection$1 disposing
> INFO: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
> Jul 30, 2012 9:44:39 AM
> org.artofsolving.jodconverter.office.ManagedOfficeProcess
> doEnsureProcessExited
> INFO: process exited with code 0
> Jul 30, 2012 9:44:39 AM
> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
> INFO: stopped
>
> D.
>
>
>
> On 07/07/2012 02:48 PM, George Kirkham wrote:
>>
>>
>> Dimosthenis,
>>
>> I have not been able to successfully install Centos so I have no
>> experience with OpenMeetings in Centos.  These days my preferred OS is 32
>> bit Debian, but that is just a personal choice.
>>
>> What do you get on your OpenMeetings server if you run the following two
>> commands as root  ?
>>
>> find / -name soffice.bin
>>
>> ls -al /usr/lib64/openoffice.org3/program
>>
>> Just wanted to check if you have Office installed OK and that the path you
>> specified is actually correct
>>
>> I recommend setting the path for swftools to the path returned by the
>> command
>>
>> find / -name pdf2swf
>>
>> Recently when trying to build swftools 9.x we had to remove -o and -L from
>> the Make and Make.in files in the build directories, in order to get the
>> build of swftools to complete.  (this was in Debian though).
>>
>> I ran the following steps and then got the below error message;
>>
>> ./configure >../swfconfigure.log 2>&1
>> make >../debswfmake.log 2>&1
>> make install >../debswfinst.log
>>
>> The "make install" generated the following error message and then stopped.
>> rm -f /usr/local/share/swftools/swfs/default_viewer.swf -o -L
>> /usr/local/share/swftools/swfs/default_viewer.swf
>> rm: invalid option -- 'o'
>> Try `rm --help' for more information.
>> make[1]: *** [install] Error 1
>> make[1]: Leaving directory `/usr/adm/swftools/swftools-0.9.2/swfs'
>> make: *** [install] Error 2
>>
>> Using the below search line, I located the files swfs/Make and
>> swfs/Make.in
>> find . -type f -name "*.*" -print0 | xargs -0 -e grep -nH -e
>> "default_viewer.swf"
>>
>> In these files were the lines;
>> rm -f $(pkgdatadir)/swfs/default_viewer.swf -o -L
>> $(pkgdatadir)/swfs/default_viewer.swf
>> $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf
>> $(pkgdatadir)/swfs/default_viewer.swf
>> rm -f $(pkgdatadir)/swfs/default_loader.swf -o -L
>> $(pkgdatadir)/swfs/default_loader.swf
>> $(LN_S) $

Re: "invalid officeHome" error.

2012-07-30 Thread seba.wag...@gmail.com
Sorry,

name of the config key in Administration > Configuration is
"office.path" not "office.home".

Sebastian

2012/7/30 seba.wag...@gmail.com :
> There is a config variable in Administration > Configuration
> "office.home" in the OpenMeetings UI.
> Set that path to your value and you should be fine.
>
> Sebastian
>
> 2012/7/30 Dušan Stloukal :
>> Hi guys,
>>
>> have you solved this problem? I encountred the same trouble on CentOS 6
>> 64-bit:
>>
>> # ls -la /usr/lib64/libreoffice/program/soffice.bin
>> -rwxr-xr-x 1 root root 37488 Jun 23 01:18
>> /usr/lib64/libreoffice/program/soffice.bin
>>
>> # java -Doffice.home=/usr/lib64/libreoffice/program -jar
>> /usr/local/lib/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar
>> webmeeting.odt webmeeting.pdf
>> Exception in thread "main" java.lang.IllegalStateException: invalid
>> officeHome: it doesn't contain soffice.bin: /usr/lib64/libreoffice/program
>> at
>> org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:167)
>> at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111)
>>
>> I found the solution, look at the office.home pathe, but I don't know, where
>> is the mistake:
>>
>> # java -Doffice.home=/usr/lib64/libreoffice/ -jar
>> /usr/local/lib/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar
>> webmeeting.odt webmeeting.pdf
>> Jul 30, 2012 9:44:37 AM
>> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager 
>> INFO: ProcessManager implementation is LinuxProcessManager
>> Jul 30, 2012 9:44:37 AM org.artofsolving.jodconverter.office.OfficeProcess
>> start
>> INFO: starting process with acceptString
>> 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir
>> '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
>> Jul 30, 2012 9:44:37 AM org.artofsolving.jodconverter.office.OfficeProcess
>> start
>> INFO: started process; pid = 32367
>> Jul 30, 2012 9:44:38 AM
>> org.artofsolving.jodconverter.office.ManagedOfficeProcess$6 attempt
>> WARNING: office process died with exit code 81; restarting it
>> Jul 30, 2012 9:44:38 AM org.artofsolving.jodconverter.office.OfficeProcess
>> start
>> INFO: starting process with acceptString
>> 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir
>> '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
>> Jul 30, 2012 9:44:38 AM org.artofsolving.jodconverter.office.OfficeProcess
>> start
>> INFO: started process; pid = 32382
>> Jul 30, 2012 9:44:38 AM
>> org.artofsolving.jodconverter.office.OfficeConnection connect
>> INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
>> Jul 30, 2012 9:44:39 AM
>> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
>> INFO: stopping
>> Jul 30, 2012 9:44:39 AM
>> org.artofsolving.jodconverter.office.OfficeConnection$1 disposing
>> INFO: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
>> Jul 30, 2012 9:44:39 AM
>> org.artofsolving.jodconverter.office.ManagedOfficeProcess
>> doEnsureProcessExited
>> INFO: process exited with code 0
>> Jul 30, 2012 9:44:39 AM
>> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
>> INFO: stopped
>>
>> D.
>>
>>
>>
>> On 07/07/2012 02:48 PM, George Kirkham wrote:
>>>
>>>
>>> Dimosthenis,
>>>
>>> I have not been able to successfully install Centos so I have no
>>> experience with OpenMeetings in Centos.  These days my preferred OS is 32
>>> bit Debian, but that is just a personal choice.
>>>
>>> What do you get on your OpenMeetings server if you run the following two
>>> commands as root  ?
>>>
>>> find / -name soffice.bin
>>>
>>> ls -al /usr/lib64/openoffice.org3/program
>>>
>>> Just wanted to check if you have Office installed OK and that the path you
>>> specified is actually correct
>>>
>>> I recommend setting the path for swftools to the path returned by the
>>> command
>>>
>>> find / -name pdf2swf
>>>
>>> Recently when trying to build swftools 9.x we had to remove -o and -L from
>>> the Make and Make.in files in the build directories, in order to get the
>>> build of swftools to complete.  (this was in Debian though).
>>>
>>> I ran the following steps and then got the below error message;
>>>
>>> ./configure >../swfconfigure.log 2>&1
>>> make >../debswfmake.log 2>&1
>>> make install >../debswfinst.log
>>>
>>> The "make install" generated the following error message and then stopped.
>>> rm -f /usr/local/share/swftools/swfs/default_viewer.swf -o -L
>>> /usr/local/share/swftools/swfs/default_viewer.swf
>>> rm: invalid option -- 'o'
>>> Try `rm --help' for more information.
>>> make[1]: *** [install] Error 1
>>> make[1]: Leaving directory `/usr/adm/swftools/swftools-0.9.2/swfs'
>>> make: *** [install] Error 2
>>>
>>> Using the below search line, I located the files swfs/Make and
>>> swfs/Make.in
>>> find . -type f -name "*.*" -print0 | xargs -0 -e grep -nH -e
>>> "default_viewer.swf"
>>>
>>> In these files were the lines;
>>> rm -f $(pkgdatadir)/sw

File upload troubles

2012-07-30 Thread Dimitri Yioulos
Hello to all.

I'm not new to Openmeetings, having originally installed and tried it at least 
a 
couple of years ago.  Thanks to Sabastian Wgner for having created it, and to 
Apache for taking the project forward.

I've installed version 2.0.0 on a CentOS 6.2 server.  All of the prerequisites 
are installed, and Openmeetings works well.  With the exception of file 
uploading, that is.  After figuring out the paths of the various components 
required to make file uploading work, I'm finally at a point where I'm stuck.  
When I try to upload a file, I get the following (it's verbose; I apologize):

Name: out
Value: 
Name: exitValue
Value: 1
Name: command
Value: 
[java, -cp, /usr/local/jodconverter/lib/juh-3.2.1.jar, -cp, 
/usr/local/jodconverter/lib/jurt-3.2.1.jar, -cp, 
/usr/local/jodconverter/lib/ridl-3.2.1.jar, -cp, 
/usr/local/jodconverter/lib/unoil-3.2.1.jar, -cp, 
/usr/local/jodconverter/lib/commons-cli-1.1.jar, -cp, 
/usr/local/jodconverter/lib/commons-io-1.4.jar, -cp, 
/usr/local/jodconverter/lib/json-20090211.jar, -cp, 
/usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar, -jar, 
/usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar, 
/usr/local/openmeetings/webapps/openmeetings/uploadtemp/files/5b494e18e94e7b1784cbc2a9b42b161a.doc,
 
/usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf]
Name: error
Value: Jul 30, 2012 1:18:25 PM 
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager 
INFO: ProcessManager implementation is LinuxProcessManager
Jul 30, 2012 1:18:26 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with 
acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and 
profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
Jul 30, 2012 1:18:26 PM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 13986
Jul 30, 2012 1:18:26 PM org.artofsolving.jodconverter.office.OfficeConnection 
connect
INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
Jul 30, 2012 1:18:26 PM 
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
INFO: stopping
Jul 30, 2012 1:18:26 PM org.artofsolving.jodconverter.office.OfficeConnection$1 
disposing
INFO: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
Jul 30, 2012 1:18:27 PM 
org.artofsolving.jodconverter.office.ManagedOfficeProcess doEnsureProcessExited
INFO: process exited with code 0
Jul 30, 2012 1:18:27 PM 
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
INFO: stopped
Exception in thread "main" 
org.artofsolving.jodconverter.office.OfficeException: 
could not load document: 5b494e18e94e7b1784cbc2a9b42b161a.doc
at 
org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:92)
at 
org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:59)
at 
org.artofsolving.jodconverter.office.PooledOfficeManager$2.run(PooledOfficeManager.java:80)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an 
unsupported one.
at 
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:177)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143)
at 
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:335)
at 
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:304)
at 
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:91)
at 
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:639)
at 
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
at 
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
at $Proxy4.loadComponentFromURL(Unknown Source)
at 
org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:90)
... 8 more

Name: process
Value: doJodConvert
Name: exitValue
Value: 0
Name: command
Value: 
Name: completeName
Value: 
/usr/local/openmeetings/webapps/openmeetings/uploadtemp/files/5b494e18e94e7b1784cbc2a9b42b161a
Name: error
Value: 
Name: fileExplorerItemId
Value: 7
Name: process
Value: 
Name: exitValue
Value: 0
Name: process
Value: generateXMLDocument
Name: out
Value: 
Name: exitValue
Value: 1
Name: command
Value: [/usr/bin/convert, -t

Re: File upload troubles

2012-07-30 Thread Maxim Solodovnik
Hello Dimitri,

I saw this error on CentOS.
I guess you have no openoffice.org-headless installed on you system
Please let me know if its not an issue, I'll try to remember how i handle it

On Tue, Jul 31, 2012 at 12:53 AM, Dimitri Yioulos wrote:

> Hello to all.
>
> I'm not new to Openmeetings, having originally installed and tried it at
> least a
> couple of years ago.  Thanks to Sabastian Wgner for having created it, and
> to
> Apache for taking the project forward.
>
> I've installed version 2.0.0 on a CentOS 6.2 server.  All of the
> prerequisites
> are installed, and Openmeetings works well.  With the exception of file
> uploading, that is.  After figuring out the paths of the various components
> required to make file uploading work, I'm finally at a point where I'm
> stuck.
> When I try to upload a file, I get the following (it's verbose; I
> apologize):
>
> Name: out
> Value:
> Name: exitValue
> Value: 1
> Name: command
> Value:
> [java, -cp, /usr/local/jodconverter/lib/juh-3.2.1.jar, -cp,
> /usr/local/jodconverter/lib/jurt-3.2.1.jar, -cp,
> /usr/local/jodconverter/lib/ridl-3.2.1.jar, -cp,
> /usr/local/jodconverter/lib/unoil-3.2.1.jar, -cp,
> /usr/local/jodconverter/lib/commons-cli-1.1.jar, -cp,
> /usr/local/jodconverter/lib/commons-io-1.4.jar, -cp,
> /usr/local/jodconverter/lib/json-20090211.jar, -cp,
> /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar, -jar,
> /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar,
> /usr/local/openmeetings/webapps/openmeetings/uploadtemp/files/5b494e18e94e7b1784cbc2a9b42b161a.doc,
> /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf]
> Name: error
> Value: Jul 30, 2012 1:18:25 PM
> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager
> INFO: ProcessManager implementation is LinuxProcessManager
> Jul 30, 2012 1:18:26 PM org.artofsolving.jodconverter.office.OfficeProcess
> start
> INFO: starting process with
> acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and
> profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
> Jul 30, 2012 1:18:26 PM org.artofsolving.jodconverter.office.OfficeProcess
> start
> INFO: started process; pid = 13986
> Jul 30, 2012 1:18:26 PM
> org.artofsolving.jodconverter.office.OfficeConnection
> connect
> INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
> Jul 30, 2012 1:18:26 PM
> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
> INFO: stopping
> Jul 30, 2012 1:18:26 PM
> org.artofsolving.jodconverter.office.OfficeConnection$1
> disposing
> INFO: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
> Jul 30, 2012 1:18:27 PM
> org.artofsolving.jodconverter.office.ManagedOfficeProcess
> doEnsureProcessExited
> INFO: process exited with code 0
> Jul 30, 2012 1:18:27 PM
> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
> INFO: stopped
> Exception in thread "main"
> org.artofsolving.jodconverter.office.OfficeException:
> could not load document: 5b494e18e94e7b1784cbc2a9b42b161a.doc
> at
>
> org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:92)
> at
>
> org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:59)
> at
>
> org.artofsolving.jodconverter.office.PooledOfficeManager$2.run(PooledOfficeManager.java:80)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an
> unsupported one.
> at
>
> com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:177)
> at
> com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143)
> at
> com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:335)
> at
> com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:304)
> at
>
> com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:91)
> at
>
> com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:639)
> at
>
> com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
> at
>
> com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
> at $Proxy4.loadComponentFromURL(Unknown Source)
> at
>
> org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:90)
> ... 8 more
>

Re: File upload troubles

2012-07-30 Thread Alexei Fedotov
It says, URL seems to be unsupported.

The class which produces it is under com.sun, so the problem may be in the
old OpenOffice version
30.07.2012 21:54 пользователь "Dimitri Yioulos" 
написал:

> Hello to all.
>
> I'm not new to Openmeetings, having originally installed and tried it at
> least a
> couple of years ago.  Thanks to Sabastian Wgner for having created it, and
> to
> Apache for taking the project forward.
>
> I've installed version 2.0.0 on a CentOS 6.2 server.  All of the
> prerequisites
> are installed, and Openmeetings works well.  With the exception of file
> uploading, that is.  After figuring out the paths of the various components
> required to make file uploading work, I'm finally at a point where I'm
> stuck.
> When I try to upload a file, I get the following (it's verbose; I
> apologize):
>
> Name: out
> Value:
> Name: exitValue
> Value: 1
> Name: command
> Value:
> [java, -cp, /usr/local/jodconverter/lib/juh-3.2.1.jar, -cp,
> /usr/local/jodconverter/lib/jurt-3.2.1.jar, -cp,
> /usr/local/jodconverter/lib/ridl-3.2.1.jar, -cp,
> /usr/local/jodconverter/lib/unoil-3.2.1.jar, -cp,
> /usr/local/jodconverter/lib/commons-cli-1.1.jar, -cp,
> /usr/local/jodconverter/lib/commons-io-1.4.jar, -cp,
> /usr/local/jodconverter/lib/json-20090211.jar, -cp,
> /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar, -jar,
> /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar,
> /usr/local/openmeetings/webapps/openmeetings/uploadtemp/files/5b494e18e94e7b1784cbc2a9b42b161a.doc,
> /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf]
> Name: error
> Value: Jul 30, 2012 1:18:25 PM
> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager
> INFO: ProcessManager implementation is LinuxProcessManager
> Jul 30, 2012 1:18:26 PM org.artofsolving.jodconverter.office.OfficeProcess
> start
> INFO: starting process with
> acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and
> profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
> Jul 30, 2012 1:18:26 PM org.artofsolving.jodconverter.office.OfficeProcess
> start
> INFO: started process; pid = 13986
> Jul 30, 2012 1:18:26 PM
> org.artofsolving.jodconverter.office.OfficeConnection
> connect
> INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
> Jul 30, 2012 1:18:26 PM
> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
> INFO: stopping
> Jul 30, 2012 1:18:26 PM
> org.artofsolving.jodconverter.office.OfficeConnection$1
> disposing
> INFO: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
> Jul 30, 2012 1:18:27 PM
> org.artofsolving.jodconverter.office.ManagedOfficeProcess
> doEnsureProcessExited
> INFO: process exited with code 0
> Jul 30, 2012 1:18:27 PM
> org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
> INFO: stopped
> Exception in thread "main"
> org.artofsolving.jodconverter.office.OfficeException:
> could not load document: 5b494e18e94e7b1784cbc2a9b42b161a.doc
> at
>
> org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:92)
> at
>
> org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:59)
> at
>
> org.artofsolving.jodconverter.office.PooledOfficeManager$2.run(PooledOfficeManager.java:80)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an
> unsupported one.
> at
>
> com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:177)
> at
> com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143)
> at
> com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:335)
> at
> com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:304)
> at
>
> com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:91)
> at
>
> com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:639)
> at
>
> com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:151)
> at
>
> com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:133)
> at $Proxy4.loadComponentFromURL(Unknown Source)
> at
>
> org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(AbstractConversionTask.java:90)
> ... 8 more
>
> Name: process
> Value: doJodConvert
> Name: exitV

Re: File upload troubles

2012-07-30 Thread Dimitri Yioulos
Thanks to both Maxim and Alexsei for your responses.  CentOS 6.x (and, by 
extension, I'd guess, RHEL 6.x) no longer use openoffice but, rather, 
libreoffice.  libreoffice-headless is installed, and is running as a service:

tcp0  0 127.0.0.1:8100  0.0.0.0:*   
LISTEN  13514/soffice.bin

started with:

soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;" 
--nofirststartwizard

Dimitri

On Monday 30 July 2012 2:08:17 pm Alexei Fedotov wrote:
> It says, URL seems to be unsupported.
>
> The class which produces it is under com.sun, so the problem may be in the
> old OpenOffice version
> 30.07.2012 21:54 пользователь "Dimitri Yioulos" 
>
> написал:
> > Hello to all.
> >
> > I'm not new to Openmeetings, having originally installed and tried it at
> > least a
> > couple of years ago.  Thanks to Sabastian Wgner for having created it,
> > and to
> > Apache for taking the project forward.
> >
> > I've installed version 2.0.0 on a CentOS 6.2 server.  All of the
> > prerequisites
> > are installed, and Openmeetings works well.  With the exception of file
> > uploading, that is.  After figuring out the paths of the various
> > components required to make file uploading work, I'm finally at a point
> > where I'm stuck.
> > When I try to upload a file, I get the following (it's verbose; I
> > apologize):
> >
> > Name: out
> > Value:
> > Name: exitValue
> > Value: 1
> > Name: command
> > Value:
> > [java, -cp, /usr/local/jodconverter/lib/juh-3.2.1.jar, -cp,
> > /usr/local/jodconverter/lib/jurt-3.2.1.jar, -cp,
> > /usr/local/jodconverter/lib/ridl-3.2.1.jar, -cp,
> > /usr/local/jodconverter/lib/unoil-3.2.1.jar, -cp,
> > /usr/local/jodconverter/lib/commons-cli-1.1.jar, -cp,
> > /usr/local/jodconverter/lib/commons-io-1.4.jar, -cp,
> > /usr/local/jodconverter/lib/json-20090211.jar, -cp,
> > /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar, -jar,
> > /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar,
> > /usr/local/openmeetings/webapps/openmeetings/uploadtemp/files/5b494e18e94
> >e7b1784cbc2a9b42b161a.doc,
> > /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1
> >784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf] Name: error
> > Value: Jul 30, 2012 1:18:25 PM
> > org.artofsolving.jodconverter.office.ProcessPoolOfficeManager
> > INFO: ProcessManager implementation is LinuxProcessManager
> > Jul 30, 2012 1:18:26 PM
> > org.artofsolving.jodconverter.office.OfficeProcess start
> > INFO: starting process with
> > acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and
> > profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
> > Jul 30, 2012 1:18:26 PM
> > org.artofsolving.jodconverter.office.OfficeProcess start
> > INFO: started process; pid = 13986
> > Jul 30, 2012 1:18:26 PM
> > org.artofsolving.jodconverter.office.OfficeConnection
> > connect
> > INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
> > Jul 30, 2012 1:18:26 PM
> > org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
> > INFO: stopping
> > Jul 30, 2012 1:18:26 PM
> > org.artofsolving.jodconverter.office.OfficeConnection$1
> > disposing
> > INFO: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
> > Jul 30, 2012 1:18:27 PM
> > org.artofsolving.jodconverter.office.ManagedOfficeProcess
> > doEnsureProcessExited
> > INFO: process exited with code 0
> > Jul 30, 2012 1:18:27 PM
> > org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
> > INFO: stopped
> > Exception in thread "main"
> > org.artofsolving.jodconverter.office.OfficeException:
> > could not load document: 5b494e18e94e7b1784cbc2a9b42b161a.doc
> > at
> >
> > org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(Abstrac
> >tConversionTask.java:92) at
> >
> > org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConv
> >ersionTask.java:59) at
> >
> > org.artofsolving.jodconverter.office.PooledOfficeManager$2.run(PooledOffi
> >ceManager.java:80) at
> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > at
> > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > at
> >
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java
> >:1110) at
> >
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav
> >a:603) at java.lang.Thread.run(Thread.java:722)
> > Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an
> > unsupported one.
> > at
> >
> > com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedExcept
> >ion(Job.java:177) at
> > com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:143)
> > at
> > com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:335
> >) at
> > com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:304
> >) at
> >
> > com.sun.sta

Re: File upload troubles

2012-07-30 Thread Maxim Solodovnik
Please try to stop it and run jod converter via commandline (jod converter
will start libreoffice automatically)
also please check your java version?


java -cp /usr/local/jodconverter/lib/juh-3.2.1.jar
-cp /usr/local/jodconverter/lib/jurt-3.2.1.jar
-cp /usr/local/jodconverter/lib/ridl-3.2.1.jar
-cp /usr/local/jodconverter/lib/unoil-3.2.1.jar
-cp /usr/local/jodconverter/lib/commons-cli-1.1.jar -cp
/usr/local/jodconverter/lib/commons-io-1.4.jar
-cp /usr/local/jodconverter/lib/json-20090211.jar
-cp /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
-jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
/usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.doc
1a.pdf



On Tue, Jul 31, 2012 at 1:23 AM, Dimitri Yioulos wrote:

> Thanks to both Maxim and Alexsei for your responses.  CentOS 6.x (and, by
> extension, I'd guess, RHEL 6.x) no longer use openoffice but, rather,
> libreoffice.  libreoffice-headless is installed, and is running as a
> service:
>
> tcp0  0 127.0.0.1:8100  0.0.0.0:*
> LISTEN  13514/soffice.bin
>
> started with:
>
> soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;"
> --nofirststartwizard
>
> Dimitri
>
> On Monday 30 July 2012 2:08:17 pm Alexei Fedotov wrote:
> > It says, URL seems to be unsupported.
> >
> > The class which produces it is under com.sun, so the problem may be in
> the
> > old OpenOffice version
> > 30.07.2012 21:54 пользователь "Dimitri Yioulos" 
> >
> > написал:
> > > Hello to all.
> > >
> > > I'm not new to Openmeetings, having originally installed and tried it
> at
> > > least a
> > > couple of years ago.  Thanks to Sabastian Wgner for having created it,
> > > and to
> > > Apache for taking the project forward.
> > >
> > > I've installed version 2.0.0 on a CentOS 6.2 server.  All of the
> > > prerequisites
> > > are installed, and Openmeetings works well.  With the exception of file
> > > uploading, that is.  After figuring out the paths of the various
> > > components required to make file uploading work, I'm finally at a point
> > > where I'm stuck.
> > > When I try to upload a file, I get the following (it's verbose; I
> > > apologize):
> > >
> > > Name: out
> > > Value:
> > > Name: exitValue
> > > Value: 1
> > > Name: command
> > > Value:
> > > [java, -cp, /usr/local/jodconverter/lib/juh-3.2.1.jar, -cp,
> > > /usr/local/jodconverter/lib/jurt-3.2.1.jar, -cp,
> > > /usr/local/jodconverter/lib/ridl-3.2.1.jar, -cp,
> > > /usr/local/jodconverter/lib/unoil-3.2.1.jar, -cp,
> > > /usr/local/jodconverter/lib/commons-cli-1.1.jar, -cp,
> > > /usr/local/jodconverter/lib/commons-io-1.4.jar, -cp,
> > > /usr/local/jodconverter/lib/json-20090211.jar, -cp,
> > > /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar, -jar,
> > > /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar,
> > >
> /usr/local/openmeetings/webapps/openmeetings/uploadtemp/files/5b494e18e94
> > >e7b1784cbc2a9b42b161a.doc,
> > >
> /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1
> > >784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf] Name: error
> > > Value: Jul 30, 2012 1:18:25 PM
> > > org.artofsolving.jodconverter.office.ProcessPoolOfficeManager
> > > INFO: ProcessManager implementation is LinuxProcessManager
> > > Jul 30, 2012 1:18:26 PM
> > > org.artofsolving.jodconverter.office.OfficeProcess start
> > > INFO: starting process with
> > > acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and
> > > profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
> > > Jul 30, 2012 1:18:26 PM
> > > org.artofsolving.jodconverter.office.OfficeProcess start
> > > INFO: started process; pid = 13986
> > > Jul 30, 2012 1:18:26 PM
> > > org.artofsolving.jodconverter.office.OfficeConnection
> > > connect
> > > INFO: connected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
> > > Jul 30, 2012 1:18:26 PM
> > > org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
> > > INFO: stopping
> > > Jul 30, 2012 1:18:26 PM
> > > org.artofsolving.jodconverter.office.OfficeConnection$1
> > > disposing
> > > INFO: disconnected: 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1'
> > > Jul 30, 2012 1:18:27 PM
> > > org.artofsolving.jodconverter.office.ManagedOfficeProcess
> > > doEnsureProcessExited
> > > INFO: process exited with code 0
> > > Jul 30, 2012 1:18:27 PM
> > > org.artofsolving.jodconverter.office.ProcessPoolOfficeManager stop
> > > INFO: stopped
> > > Exception in thread "main"
> > > org.artofsolving.jodconverter.office.OfficeException:
> > > could not load document: 5b494e18e94e7b1784cbc2a9b42b161a.doc
> > > at
> > >
> > >
> org.artofsolving.jodconverter.AbstractConversionTask.loadDocument(Abstrac
> > >tConversionTask.java:92) at
> > >
> > >
> org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConv
> > >ersionTask.java:59) at
> > >
> > >
> org.artofsolving.jodconverter.office.PooledOfficeManager$2.run

Re: {Disarmed} Re: File upload troubles

2012-07-30 Thread Dimitri Yioulos
Let me take the easy part first:

[root@openmeetings ~]# java -version
java version "1.7.0_05-icedtea"
OpenJDK Runtime Environment (rhel-2.2.1.el6_3-i386)
OpenJDK Client VM (build 23.0-b21, mixed mode)

Now, the thing of it is, even though I installed the Sun/Oracle version, when I 
installed some other component (libreoffice, I think, but I forget exactly 
what), a dependency that was installed was OpenJDK.  Hmmm.

I tried to do the following conversion at the command line:

java -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar "FAX 
COVER SHEET.doc" faxcover.pdf

It failed.  I got:

Exception in thread "main" 
org.artofsolving.jodconverter.office.OfficeException: 
could not load document: FAX COVER SHEET.doc
~
Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an 
unsupported one.
~

I can convert MS Word docs, can't I?

Dimitri


On Monday 30 July 2012 2:27:56 pm Maxim Solodovnik wrote:
> Please try to stop it and run jod converter via commandline (jod converter
> will start libreoffice automatically)
> also please check your java version?
>
>
> java -cp /usr/local/jodconverter/lib/juh-3.2.1.jar
> -cp /usr/local/jodconverter/lib/jurt-3.2.1.jar
> -cp /usr/local/jodconverter/lib/ridl-3.2.1.jar
> -cp /usr/local/jodconverter/lib/unoil-3.2.1.jar
> -cp /usr/local/jodconverter/lib/commons-cli-1.1.jar -cp
> /usr/local/jodconverter/lib/commons-io-1.4.jar
> -cp /usr/local/jodconverter/lib/json-20090211.jar
> -cp /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b178
>4cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.doc 1a.pdf
>
> On Tue, Jul 31, 2012 at 1:23 AM, Dimitri Yioulos 
wrote:
> > Thanks to both Maxim and Alexsei for your responses.  CentOS 6.x (and, by
> > extension, I'd guess, RHEL 6.x) no longer use openoffice but, rather,
> > libreoffice.  libreoffice-headless is installed, and is running as a
> > service:
> >
> > tcp0  0 127.0.0.1:8100  0.0.0.0:*
> > LISTEN  13514/soffice.bin
> >
> > started with:
> >
> > soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;"
> > --nofirststartwizard
> >
> > Dimitri
> >
> > On Monday 30 July 2012 2:08:17 pm Alexei Fedotov wrote:
> > > It says, URL seems to be unsupported.
> > >
> > > The class which produces it is under com.sun, so the problem may be in
> >
> > the
> >
> > > old OpenOffice version
> > > 30.07.2012 21:54 пользователь "Dimitri Yioulos"
> > > 
> > >
> > > написал:
> > > > Hello to all.
> > > >
> > > > I'm not new to Openmeetings, having originally installed and tried it
> >
> > at
> >
> > > > least a
> > > > couple of years ago.  Thanks to Sabastian Wgner for having created
> > > > it, and to
> > > > Apache for taking the project forward.
> > > >
> > > > I've installed version 2.0.0 on a CentOS 6.2 server.  All of the
> > > > prerequisites
> > > > are installed, and Openmeetings works well.  With the exception of
> > > > file uploading, that is.  After figuring out the paths of the various
> > > > components required to make file uploading work, I'm finally at a
> > > > point where I'm stuck.
> > > > When I try to upload a file, I get the following (it's verbose; I
> > > > apologize):
> > > >
> > > > Name: out
> > > > Value:
> > > > Name: exitValue
> > > > Value: 1
> > > > Name: command
> > > > Value:
> > > > [java, -cp, /usr/local/jodconverter/lib/juh-3.2.1.jar, -cp,
> > > > /usr/local/jodconverter/lib/jurt-3.2.1.jar, -cp,
> > > > /usr/local/jodconverter/lib/ridl-3.2.1.jar, -cp,
> > > > /usr/local/jodconverter/lib/unoil-3.2.1.jar, -cp,
> > > > /usr/local/jodconverter/lib/commons-cli-1.1.jar, -cp,
> > > > /usr/local/jodconverter/lib/commons-io-1.4.jar, -cp,
> > > > /usr/local/jodconverter/lib/json-20090211.jar, -cp,
> > > > /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar, -jar,
> > > > /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar,
> >
> > /usr/local/openmeetings/webapps/openmeetings/uploadtemp/files/5b494e18e94
> >
> > > >e7b1784cbc2a9b42b161a.doc,
> >
> > /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1
> >
> > > >784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf] Name: error
> > > > Value: Jul 30, 2012 1:18:25 PM
> > > > org.artofsolving.jodconverter.office.ProcessPoolOfficeManager
> > > > INFO: ProcessManager implementation is LinuxProcessManager
> > > > Jul 30, 2012 1:18:26 PM
> > > > org.artofsolving.jodconverter.office.OfficeProcess start
> > > > INFO: starting process with
> > > > acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and
> > > > profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
> > > > Jul 30, 2012 1:18:26 PM
> > > > org.artofsolving.jodconverter.office.OfficeProcess start
> > > > INFO: started process; pid = 13986
> > > > Jul 30, 2012 1:18:26 PM
> > > > org.artofsolving.jodconverter.office.OfficeConnection
> > > > connect
> >

OM 2.0 and Windows

2012-07-30 Thread Seth Galitzer

Greetings,

First of all, kudos to OM devs for getting 2.0 out the door.  I'm really 
liking the improvements so far and look forward to how things progress. 
 I can't wait to replace my production Connect server with OM.


I've been testing 1.9 on Windows Server 2003, using the NT Wrapper to 
install red5 as a service.  2.0 doesn't seem to like this setup, or 
perhaps I need to adjust the wrapper config.  I can start the red5 
service manually, but I'd like to run it as a system service.  Any 
advice on how to do this with 2.0?


Thanks.
Seth

--
Seth Galitzer
Systems Coordinator
Computing and Information Sciences
Kansas State University
http://www.cis.ksu.edu/~sgsax
sg...@ksu.edu
785-532-7790


Re: {Disarmed} Re: File upload troubles

2012-07-30 Thread Maxim Solodovnik
Yes you could :)
According to this:
http://stackoverflow.com/questions/8420449/docsplit-jodconverter-openoffice-issue-on-debian

can you ensure you have writer/calc/impress installed (by opening your doc
for example)

were you install your libreoffice via yum groupinstall?

I would recommend you to have Oracle java as default one
There are some weird issued with  OpenJDK.

On Tue, Jul 31, 2012 at 1:40 AM, Dimitri Yioulos wrote:

> Let me take the easy part first:
>
> [root@openmeetings ~]# java -version
> java version "1.7.0_05-icedtea"
> OpenJDK Runtime Environment (rhel-2.2.1.el6_3-i386)
> OpenJDK Client VM (build 23.0-b21, mixed mode)
>
> Now, the thing of it is, even though I installed the Sun/Oracle version,
> when I
> installed some other component (libreoffice, I think, but I forget exactly
> what), a dependency that was installed was OpenJDK.  Hmmm.
>
> I tried to do the following conversion at the command line:
>
> java -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar "FAX
> COVER SHEET.doc" faxcover.pdf
>
> It failed.  I got:
>
> Exception in thread "main"
> org.artofsolving.jodconverter.office.OfficeException:
> could not load document: FAX COVER SHEET.doc
> ~
> Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an
> unsupported one.
> ~
>
> I can convert MS Word docs, can't I?
>
> Dimitri
>
>
> On Monday 30 July 2012 2:27:56 pm Maxim Solodovnik wrote:
> > Please try to stop it and run jod converter via commandline (jod
> converter
> > will start libreoffice automatically)
> > also please check your java version?
> >
> >
> > java -cp /usr/local/jodconverter/lib/juh-3.2.1.jar
> > -cp /usr/local/jodconverter/lib/jurt-3.2.1.jar
> > -cp /usr/local/jodconverter/lib/ridl-3.2.1.jar
> > -cp /usr/local/jodconverter/lib/unoil-3.2.1.jar
> > -cp /usr/local/jodconverter/lib/commons-cli-1.1.jar -cp
> > /usr/local/jodconverter/lib/commons-io-1.4.jar
> > -cp /usr/local/jodconverter/lib/json-20090211.jar
> > -cp /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> > -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> >
> /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b178
> >4cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.doc 1a.pdf
> >
> > On Tue, Jul 31, 2012 at 1:23 AM, Dimitri Yioulos
> wrote:
> > > Thanks to both Maxim and Alexsei for your responses.  CentOS 6.x (and,
> by
> > > extension, I'd guess, RHEL 6.x) no longer use openoffice but, rather,
> > > libreoffice.  libreoffice-headless is installed, and is running as a
> > > service:
> > >
> > > tcp0  0 127.0.0.1:8100  0.0.0.0:*
> > > LISTEN  13514/soffice.bin
> > >
> > > started with:
> > >
> > > soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;"
> > > --nofirststartwizard
> > >
> > > Dimitri
> > >
> > > On Monday 30 July 2012 2:08:17 pm Alexei Fedotov wrote:
> > > > It says, URL seems to be unsupported.
> > > >
> > > > The class which produces it is under com.sun, so the problem may be
> in
> > >
> > > the
> > >
> > > > old OpenOffice version
> > > > 30.07.2012 21:54 пользователь "Dimitri Yioulos"
> > > > 
> > > >
> > > > написал:
> > > > > Hello to all.
> > > > >
> > > > > I'm not new to Openmeetings, having originally installed and tried
> it
> > >
> > > at
> > >
> > > > > least a
> > > > > couple of years ago.  Thanks to Sabastian Wgner for having created
> > > > > it, and to
> > > > > Apache for taking the project forward.
> > > > >
> > > > > I've installed version 2.0.0 on a CentOS 6.2 server.  All of the
> > > > > prerequisites
> > > > > are installed, and Openmeetings works well.  With the exception of
> > > > > file uploading, that is.  After figuring out the paths of the
> various
> > > > > components required to make file uploading work, I'm finally at a
> > > > > point where I'm stuck.
> > > > > When I try to upload a file, I get the following (it's verbose; I
> > > > > apologize):
> > > > >
> > > > > Name: out
> > > > > Value:
> > > > > Name: exitValue
> > > > > Value: 1
> > > > > Name: command
> > > > > Value:
> > > > > [java, -cp, /usr/local/jodconverter/lib/juh-3.2.1.jar, -cp,
> > > > > /usr/local/jodconverter/lib/jurt-3.2.1.jar, -cp,
> > > > > /usr/local/jodconverter/lib/ridl-3.2.1.jar, -cp,
> > > > > /usr/local/jodconverter/lib/unoil-3.2.1.jar, -cp,
> > > > > /usr/local/jodconverter/lib/commons-cli-1.1.jar, -cp,
> > > > > /usr/local/jodconverter/lib/commons-io-1.4.jar, -cp,
> > > > > /usr/local/jodconverter/lib/json-20090211.jar, -cp,
> > > > > /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar, -jar,
> > > > > /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar,
> > >
> > >
> /usr/local/openmeetings/webapps/openmeetings/uploadtemp/files/5b494e18e94
> > >
> > > > >e7b1784cbc2a9b42b161a.doc,
> > >
> > >
> /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1
> > >
> > > > >784cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.pdf] Name: error
> > > > > Value: Jul 30, 2012 

Re: OM 2.0 and Windows

2012-07-30 Thread Maxim Solodovnik
Alexey told me there is an option in windows to create service out of any
.bat file. (Not sure use Windows only for development from time to time)
Did set up wrapper for 1.5+ long time ago, sorry :(

On Tue, Jul 31, 2012 at 1:45 AM, Seth Galitzer  wrote:

> Greetings,
>
> First of all, kudos to OM devs for getting 2.0 out the door.  I'm really
> liking the improvements so far and look forward to how things progress.  I
> can't wait to replace my production Connect server with OM.
>
> I've been testing 1.9 on Windows Server 2003, using the NT Wrapper to
> install red5 as a service.  2.0 doesn't seem to like this setup, or perhaps
> I need to adjust the wrapper config.  I can start the red5 service
> manually, but I'd like to run it as a system service.  Any advice on how to
> do this with 2.0?
>
> Thanks.
> Seth
>
> --
> Seth Galitzer
> Systems Coordinator
> Computing and Information Sciences
> Kansas State University
> http://www.cis.ksu.edu/~sgsax
> sg...@ksu.edu
> 785-532-7790
>



-- 
WBR
Maxim aka solomax


Re: File upload troubles

2012-07-30 Thread Dimitri Yioulos
Maxim,

I'm not quite sure how to proceed.  First, I just installed parts of 
libreoffice:

libreoffice-headless-3.4.5.2-16.el6.i686
libreoffice-opensymbol-fonts-3.4.5.2-16.el6.noarch
libreoffice-ure-3.4.5.2-16.el6.i686
libreoffice-core-3.4.5.2-16.el6.i686

Should I do a "yum groupinstall libreoffice"?

Next, I'm not sure how to open my doc.  This is a server install and, so, there 
is no Xwindow/desktop system installed.

Finally, how do I get the Oracle java to be the default?  I do have the 
following in /etc/profile so that the proper java be loaded at boot (I think):

export JAVA_HOME=/usr/java/jdk1.7.0_04/bin/java
export PATH=$PATH:/usr/java/jdk1.7.0_04/bin

Dimitri


On Monday 30 July 2012 2:47:04 pm Maxim Solodovnik wrote:
> Yes you could :)
> According to this:
> http://stackoverflow.com/questions/8420449/docsplit-jodconverter-openoffice
>-issue-on-debian
>
> can you ensure you have writer/calc/impress installed (by opening your doc
> for example)
>
> were you install your libreoffice via yum groupinstall?
>
> I would recommend you to have Oracle java as default one
> There are some weird issued with  OpenJDK.
>
> On Tue, Jul 31, 2012 at 1:40 AM, Dimitri Yioulos 
wrote:
> > Let me take the easy part first:
> >
> > [root@openmeetings ~]# java -version
> > java version "1.7.0_05-icedtea"
> > OpenJDK Runtime Environment (rhel-2.2.1.el6_3-i386)
> > OpenJDK Client VM (build 23.0-b21, mixed mode)
> >
> > Now, the thing of it is, even though I installed the Sun/Oracle version,
> > when I
> > installed some other component (libreoffice, I think, but I forget
> > exactly what), a dependency that was installed was OpenJDK.  Hmmm.
> >
> > I tried to do the following conversion at the command line:
> >
> > java -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> > "FAX COVER SHEET.doc" faxcover.pdf
> >
> > It failed.  I got:
> >
> > Exception in thread "main"
> > org.artofsolving.jodconverter.office.OfficeException:
> > could not load document: FAX COVER SHEET.doc
> > ~
> > Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an
> > unsupported one.
> > ~
> >
> > I can convert MS Word docs, can't I?
> >
> > Dimitri
> >
> > On Monday 30 July 2012 2:27:56 pm Maxim Solodovnik wrote:
> > > Please try to stop it and run jod converter via commandline (jod
> >
> > converter
> >
> > > will start libreoffice automatically)
> > > also please check your java version?
> > >
> > >
> > > java -cp /usr/local/jodconverter/lib/juh-3.2.1.jar
> > > -cp /usr/local/jodconverter/lib/jurt-3.2.1.jar
> > > -cp /usr/local/jodconverter/lib/ridl-3.2.1.jar
> > > -cp /usr/local/jodconverter/lib/unoil-3.2.1.jar
> > > -cp /usr/local/jodconverter/lib/commons-cli-1.1.jar -cp
> > > /usr/local/jodconverter/lib/commons-io-1.4.jar
> > > -cp /usr/local/jodconverter/lib/json-20090211.jar
> > > -cp /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> > > -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> >
> > /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1
> >78
> >
> > >4cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.doc 1a.pdf
> > >
> > > On Tue, Jul 31, 2012 at 1:23 AM, Dimitri Yioulos
> >
> > wrote:
> > > > Thanks to both Maxim and Alexsei for your responses.  CentOS 6.x
> > > > (and,
> >
> > by
> >
> > > > extension, I'd guess, RHEL 6.x) no longer use openoffice but, rather,
> > > > libreoffice.  libreoffice-headless is installed, and is running as a
> > > > service:
> > > >
> > > > tcp0  0 127.0.0.1:8100  0.0.0.0:*
> > > > LISTEN  13514/soffice.bin
> > > >
> > > > started with:
> > > >
> > > > soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;"
> > > > --nofirststartwizard
> > > >
> > > > Dimitri
> > > >
> > > > On Monday 30 July 2012 2:08:17 pm Alexei Fedotov wrote:
> > > > > It says, URL seems to be unsupported.
> > > > >
> > > > > The class which produces it is under com.sun, so the problem may be
> >
> > in
> >
> > > > the
> > > >
> > > > > old OpenOffice version
> > > > > 30.07.2012 21:54 пользователь "Dimitri Yioulos"
> > > > > 
> > > > >
> > > > > написал:
> > > > > > Hello to all.
> > > > > >
> > > > > > I'm not new to Openmeetings, having originally installed and
> > > > > > tried
> >
> > it
> >
> > > > at
> > > >
> > > > > > least a
> > > > > > couple of years ago.  Thanks to Sabastian Wgner for having
> > > > > > created it, and to
> > > > > > Apache for taking the project forward.
> > > > > >
> > > > > > I've installed version 2.0.0 on a CentOS 6.2 server.  All of the
> > > > > > prerequisites
> > > > > > are installed, and Openmeetings works well.  With the exception
> > > > > > of file uploading, that is.  After figuring out the paths of the
> >
> > various
> >
> > > > > > components required to make file uploading work, I'm finally at a
> > > > > > point where I'm stuck.
> > > > > > When I try to upload a file, I get the following (it's verbose; I
> > > > > > apologize):
> > > > > >
> > > > > > Name

Re: File upload troubles

2012-07-30 Thread Stephen Cottham
For java try

update-java-alternatives

Or

alternatives --config java

Should show you all java's installed and allow you to change the default.

Sent from my iPhone

On 30 Jul 2012, at 19:58, "Dimitri Yioulos"  wrote:

> Maxim,
> 
> I'm not quite sure how to proceed.  First, I just installed parts of 
> libreoffice:
> 
> libreoffice-headless-3.4.5.2-16.el6.i686
> libreoffice-opensymbol-fonts-3.4.5.2-16.el6.noarch
> libreoffice-ure-3.4.5.2-16.el6.i686
> libreoffice-core-3.4.5.2-16.el6.i686
> 
> Should I do a "yum groupinstall libreoffice"?
> 
> Next, I'm not sure how to open my doc.  This is a server install and, so, 
> there 
> is no Xwindow/desktop system installed.
> 
> Finally, how do I get the Oracle java to be the default?  I do have the 
> following in /etc/profile so that the proper java be loaded at boot (I think):
> 
> export JAVA_HOME=/usr/java/jdk1.7.0_04/bin/java
> export PATH=$PATH:/usr/java/jdk1.7.0_04/bin
> 
> Dimitri
> 
> 
> On Monday 30 July 2012 2:47:04 pm Maxim Solodovnik wrote:
>> Yes you could :)
>> According to this:
>> http://stackoverflow.com/questions/8420449/docsplit-jodconverter-openoffice
>> -issue-on-debian
>> 
>> can you ensure you have writer/calc/impress installed (by opening your doc
>> for example)
>> 
>> were you install your libreoffice via yum groupinstall?
>> 
>> I would recommend you to have Oracle java as default one
>> There are some weird issued with  OpenJDK.
>> 
>> On Tue, Jul 31, 2012 at 1:40 AM, Dimitri Yioulos 
> wrote:
>>> Let me take the easy part first:
>>> 
>>> [root@openmeetings ~]# java -version
>>> java version "1.7.0_05-icedtea"
>>> OpenJDK Runtime Environment (rhel-2.2.1.el6_3-i386)
>>> OpenJDK Client VM (build 23.0-b21, mixed mode)
>>> 
>>> Now, the thing of it is, even though I installed the Sun/Oracle version,
>>> when I
>>> installed some other component (libreoffice, I think, but I forget
>>> exactly what), a dependency that was installed was OpenJDK.  Hmmm.
>>> 
>>> I tried to do the following conversion at the command line:
>>> 
>>> java -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
>>> "FAX COVER SHEET.doc" faxcover.pdf
>>> 
>>> It failed.  I got:
>>> 
>>> Exception in thread "main"
>>> org.artofsolving.jodconverter.office.OfficeException:
>>> could not load document: FAX COVER SHEET.doc
>>> ~
>>> Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an
>>> unsupported one.
>>> ~
>>> 
>>> I can convert MS Word docs, can't I?
>>> 
>>> Dimitri
>>> 
>>> On Monday 30 July 2012 2:27:56 pm Maxim Solodovnik wrote:
 Please try to stop it and run jod converter via commandline (jod
>>> 
>>> converter
>>> 
 will start libreoffice automatically)
 also please check your java version?
 
 
 java -cp /usr/local/jodconverter/lib/juh-3.2.1.jar
 -cp /usr/local/jodconverter/lib/jurt-3.2.1.jar
 -cp /usr/local/jodconverter/lib/ridl-3.2.1.jar
 -cp /usr/local/jodconverter/lib/unoil-3.2.1.jar
 -cp /usr/local/jodconverter/lib/commons-cli-1.1.jar -cp
 /usr/local/jodconverter/lib/commons-io-1.4.jar
 -cp /usr/local/jodconverter/lib/json-20090211.jar
 -cp /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
 -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
>>> 
>>> /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1
>>> 78
>>> 
 4cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.doc 1a.pdf
 
 On Tue, Jul 31, 2012 at 1:23 AM, Dimitri Yioulos
>>> 
>>> wrote:
> Thanks to both Maxim and Alexsei for your responses.  CentOS 6.x
> (and,
>>> 
>>> by
>>> 
> extension, I'd guess, RHEL 6.x) no longer use openoffice but, rather,
> libreoffice.  libreoffice-headless is installed, and is running as a
> service:
> 
> tcp0  0 127.0.0.1:8100  0.0.0.0:*
> LISTEN  13514/soffice.bin
> 
> started with:
> 
> soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;"
> --nofirststartwizard
> 
> Dimitri
> 
> On Monday 30 July 2012 2:08:17 pm Alexei Fedotov wrote:
>> It says, URL seems to be unsupported.
>> 
>> The class which produces it is under com.sun, so the problem may be
>>> 
>>> in
>>> 
> the
> 
>> old OpenOffice version
>> 30.07.2012 21:54 пользователь "Dimitri Yioulos"
>> 
>> 
>> написал:
>>> Hello to all.
>>> 
>>> I'm not new to Openmeetings, having originally installed and
>>> tried
>>> 
>>> it
>>> 
> at
> 
>>> least a
>>> couple of years ago.  Thanks to Sabastian Wgner for having
>>> created it, and to
>>> Apache for taking the project forward.
>>> 
>>> I've installed version 2.0.0 on a CentOS 6.2 server.  All of the
>>> prerequisites
>>> are installed, and Openmeetings works well.  With the exception
>>> of file uploading, that is.  After figuring out the paths of the
>>> 
>>> various
>>> 
>>> components required to make file uplo

Re: File upload troubles

2012-07-30 Thread Maxim Solodovnik
to install office you need to do
*yum groupinstall* "*Office* Suite and Productivity"

yum install openoffice.org-headless

as root

to set up Sun java as default you should do
1) install Oracle java as default using alternatives (
http://www.if-not-true-then-false.com/2010/install-sun-oracle-java-jdk-jre-7-on-fedora-centos-red-hat-rhel/
)
OR
2) correctly set you environment:
export JAVA_HOME=/usr/java/jdk1.7.0_04
export PATH=/usr/java/jdk1.7.0_04/bin:$PATH

On Tue, Jul 31, 2012 at 1:57 AM, Dimitri Yioulos wrote:

> Maxim,
>
> I'm not quite sure how to proceed.  First, I just installed parts of
> libreoffice:
>
> libreoffice-headless-3.4.5.2-16.el6.i686
> libreoffice-opensymbol-fonts-3.4.5.2-16.el6.noarch
> libreoffice-ure-3.4.5.2-16.el6.i686
> libreoffice-core-3.4.5.2-16.el6.i686
>
> Should I do a "yum groupinstall libreoffice"?
>
> Next, I'm not sure how to open my doc.  This is a server install and, so,
> there
> is no Xwindow/desktop system installed.
>
> Finally, how do I get the Oracle java to be the default?  I do have the
> following in /etc/profile so that the proper java be loaded at boot (I
> think):
>
> export JAVA_HOME=/usr/java/jdk1.7.0_04/bin/java
> export PATH=$PATH:/usr/java/jdk1.7.0_04/bin
>
> Dimitri
>
>
> On Monday 30 July 2012 2:47:04 pm Maxim Solodovnik wrote:
> > Yes you could :)
> > According to this:
> >
> http://stackoverflow.com/questions/8420449/docsplit-jodconverter-openoffice
> >-issue-on-debian
> >
> > can you ensure you have writer/calc/impress installed (by opening your
> doc
> > for example)
> >
> > were you install your libreoffice via yum groupinstall?
> >
> > I would recommend you to have Oracle java as default one
> > There are some weird issued with  OpenJDK.
> >
> > On Tue, Jul 31, 2012 at 1:40 AM, Dimitri Yioulos
> wrote:
> > > Let me take the easy part first:
> > >
> > > [root@openmeetings ~]# java -version
> > > java version "1.7.0_05-icedtea"
> > > OpenJDK Runtime Environment (rhel-2.2.1.el6_3-i386)
> > > OpenJDK Client VM (build 23.0-b21, mixed mode)
> > >
> > > Now, the thing of it is, even though I installed the Sun/Oracle
> version,
> > > when I
> > > installed some other component (libreoffice, I think, but I forget
> > > exactly what), a dependency that was installed was OpenJDK.  Hmmm.
> > >
> > > I tried to do the following conversion at the command line:
> > >
> > > java -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> > > "FAX COVER SHEET.doc" faxcover.pdf
> > >
> > > It failed.  I got:
> > >
> > > Exception in thread "main"
> > > org.artofsolving.jodconverter.office.OfficeException:
> > > could not load document: FAX COVER SHEET.doc
> > > ~
> > > Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be
> an
> > > unsupported one.
> > > ~
> > >
> > > I can convert MS Word docs, can't I?
> > >
> > > Dimitri
> > >
> > > On Monday 30 July 2012 2:27:56 pm Maxim Solodovnik wrote:
> > > > Please try to stop it and run jod converter via commandline (jod
> > >
> > > converter
> > >
> > > > will start libreoffice automatically)
> > > > also please check your java version?
> > > >
> > > >
> > > > java -cp /usr/local/jodconverter/lib/juh-3.2.1.jar
> > > > -cp /usr/local/jodconverter/lib/jurt-3.2.1.jar
> > > > -cp /usr/local/jodconverter/lib/ridl-3.2.1.jar
> > > > -cp /usr/local/jodconverter/lib/unoil-3.2.1.jar
> > > > -cp /usr/local/jodconverter/lib/commons-cli-1.1.jar -cp
> > > > /usr/local/jodconverter/lib/commons-io-1.4.jar
> > > > -cp /usr/local/jodconverter/lib/json-20090211.jar
> > > > -cp /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> > > > -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> > >
> > >
> /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7b1
> > >78
> > >
> > > >4cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.doc 1a.pdf
> > > >
> > > > On Tue, Jul 31, 2012 at 1:23 AM, Dimitri Yioulos
> > >
> > > wrote:
> > > > > Thanks to both Maxim and Alexsei for your responses.  CentOS 6.x
> > > > > (and,
> > >
> > > by
> > >
> > > > > extension, I'd guess, RHEL 6.x) no longer use openoffice but,
> rather,
> > > > > libreoffice.  libreoffice-headless is installed, and is running as
> a
> > > > > service:
> > > > >
> > > > > tcp0  0 127.0.0.1:8100  0.0.0.0:*
> > > > > LISTEN  13514/soffice.bin
> > > > >
> > > > > started with:
> > > > >
> > > > > soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;"
> > > > > --nofirststartwizard
> > > > >
> > > > > Dimitri
> > > > >
> > > > > On Monday 30 July 2012 2:08:17 pm Alexei Fedotov wrote:
> > > > > > It says, URL seems to be unsupported.
> > > > > >
> > > > > > The class which produces it is under com.sun, so the problem may
> be
> > >
> > > in
> > >
> > > > > the
> > > > >
> > > > > > old OpenOffice version
> > > > > > 30.07.2012 21:54 пользователь "Dimitri Yioulos"
> > > > > > 
> > > > > >
> > > > > > написал:
> > > > > > > Hello to all.
> > > > > > >
> > > > > > > I'm not new to Openmee

Re: File upload troubles

2012-07-30 Thread Dimitri Yioulos
Thanks, Stephen.  Here's what I get:

[root@openmeetings ~]# alternatives --config java

There is 1 program that provides 'java'.

  SelectionCommand
---
*+ 1   /usr/lib/jvm/jre-1.7.0-openjdk/bin/java

Enter to keep the current selection[+], or type selection number:

Oh, oh.  I don't even see the Oracle version.  But, I installed the JRE, not 
the 
JDK.  Might that be the rub?

Dimitri


On Monday 30 July 2012 3:03:57 pm Stephen Cottham wrote:
> For java try
>
> update-java-alternatives
>
> Or
>
> alternatives --config java
>
> Should show you all java's installed and allow you to change the default.
>
> Sent from my iPhone
>
> On 30 Jul 2012, at 19:58, "Dimitri Yioulos"  wrote:
> > Maxim,
> >
> > I'm not quite sure how to proceed.  First, I just installed parts of
> > libreoffice:
> >
> > libreoffice-headless-3.4.5.2-16.el6.i686
> > libreoffice-opensymbol-fonts-3.4.5.2-16.el6.noarch
> > libreoffice-ure-3.4.5.2-16.el6.i686
> > libreoffice-core-3.4.5.2-16.el6.i686
> >
> > Should I do a "yum groupinstall libreoffice"?
> >
> > Next, I'm not sure how to open my doc.  This is a server install and, so,
> > there is no Xwindow/desktop system installed.
> >
> > Finally, how do I get the Oracle java to be the default?  I do have the
> > following in /etc/profile so that the proper java be loaded at boot (I
> > think):
> >
> > export JAVA_HOME=/usr/java/jdk1.7.0_04/bin/java
> > export PATH=$PATH:/usr/java/jdk1.7.0_04/bin
> >
> > Dimitri
> >
> > On Monday 30 July 2012 2:47:04 pm Maxim Solodovnik wrote:
> >> Yes you could :)
> >> According to this:
> >> http://stackoverflow.com/questions/8420449/docsplit-jodconverter-openoff
> >>ice -issue-on-debian
> >>
> >> can you ensure you have writer/calc/impress installed (by opening your
> >> doc for example)
> >>
> >> were you install your libreoffice via yum groupinstall?
> >>
> >> I would recommend you to have Oracle java as default one
> >> There are some weird issued with  OpenJDK.
> >>
> >> On Tue, Jul 31, 2012 at 1:40 AM, Dimitri Yioulos
> >
> > wrote:
> >>> Let me take the easy part first:
> >>>
> >>> [root@openmeetings ~]# java -version
> >>> java version "1.7.0_05-icedtea"
> >>> OpenJDK Runtime Environment (rhel-2.2.1.el6_3-i386)
> >>> OpenJDK Client VM (build 23.0-b21, mixed mode)
> >>>
> >>> Now, the thing of it is, even though I installed the Sun/Oracle
> >>> version, when I
> >>> installed some other component (libreoffice, I think, but I forget
> >>> exactly what), a dependency that was installed was OpenJDK.  Hmmm.
> >>>
> >>> I tried to do the following conversion at the command line:
> >>>
> >>> java -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> >>> "FAX COVER SHEET.doc" faxcover.pdf
> >>>
> >>> It failed.  I got:
> >>>
> >>> Exception in thread "main"
> >>> org.artofsolving.jodconverter.office.OfficeException:
> >>> could not load document: FAX COVER SHEET.doc
> >>> ~
> >>> Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be
> >>> an unsupported one.
> >>> ~
> >>>
> >>> I can convert MS Word docs, can't I?
> >>>
> >>> Dimitri
> >>>
> >>> On Monday 30 July 2012 2:27:56 pm Maxim Solodovnik wrote:
>  Please try to stop it and run jod converter via commandline (jod
> >>>
> >>> converter
> >>>
>  will start libreoffice automatically)
>  also please check your java version?
> 
> 
>  java -cp /usr/local/jodconverter/lib/juh-3.2.1.jar
>  -cp /usr/local/jodconverter/lib/jurt-3.2.1.jar
>  -cp /usr/local/jodconverter/lib/ridl-3.2.1.jar
>  -cp /usr/local/jodconverter/lib/unoil-3.2.1.jar
>  -cp /usr/local/jodconverter/lib/commons-cli-1.1.jar -cp
>  /usr/local/jodconverter/lib/commons-io-1.4.jar
>  -cp /usr/local/jodconverter/lib/json-20090211.jar
>  -cp /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
>  -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> >>>
> >>> /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7
> >>>b1 78
> >>>
>  4cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.doc 1a.pdf
> 
>  On Tue, Jul 31, 2012 at 1:23 AM, Dimitri Yioulos
> >>>
> >>> wrote:
> > Thanks to both Maxim and Alexsei for your responses.  CentOS 6.x
> > (and,
> >>>
> >>> by
> >>>
> > extension, I'd guess, RHEL 6.x) no longer use openoffice but, rather,
> > libreoffice.  libreoffice-headless is installed, and is running as a
> > service:
> >
> > tcp0  0 127.0.0.1:8100  0.0.0.0:*
> > LISTEN  13514/soffice.bin
> >
> > started with:
> >
> > soffice --headless --accept="socket,host=127.0.0.1,port=8100;urp;"
> > --nofirststartwizard
> >
> > Dimitri
> >
> > On Monday 30 July 2012 2:08:17 pm Alexei Fedotov wrote:
> >> It says, URL seems to be unsupported.
> >>
> >> The class which produces it is under com.sun, so the problem may be
> >>>
> >>> in
> >>>
> > the
> >
> >>>

Re: File upload troubles

2012-07-30 Thread Maxim Solodovnik
please follow the link I have sent you
you need to install alternative _before_ you can configure it

On Tue, Jul 31, 2012 at 2:13 AM, Dimitri Yioulos wrote:

> Thanks, Stephen.  Here's what I get:
>
> [root@openmeetings ~]# alternatives --config java
>
> There is 1 program that provides 'java'.
>
>   SelectionCommand
> ---
> *+ 1   /usr/lib/jvm/jre-1.7.0-openjdk/bin/java
>
> Enter to keep the current selection[+], or type selection number:
>
> Oh, oh.  I don't even see the Oracle version.  But, I installed the JRE,
> not the
> JDK.  Might that be the rub?
>
> Dimitri
>
>
> On Monday 30 July 2012 3:03:57 pm Stephen Cottham wrote:
> > For java try
> >
> > update-java-alternatives
> >
> > Or
> >
> > alternatives --config java
> >
> > Should show you all java's installed and allow you to change the default.
> >
> > Sent from my iPhone
> >
> > On 30 Jul 2012, at 19:58, "Dimitri Yioulos" 
> wrote:
> > > Maxim,
> > >
> > > I'm not quite sure how to proceed.  First, I just installed parts of
> > > libreoffice:
> > >
> > > libreoffice-headless-3.4.5.2-16.el6.i686
> > > libreoffice-opensymbol-fonts-3.4.5.2-16.el6.noarch
> > > libreoffice-ure-3.4.5.2-16.el6.i686
> > > libreoffice-core-3.4.5.2-16.el6.i686
> > >
> > > Should I do a "yum groupinstall libreoffice"?
> > >
> > > Next, I'm not sure how to open my doc.  This is a server install and,
> so,
> > > there is no Xwindow/desktop system installed.
> > >
> > > Finally, how do I get the Oracle java to be the default?  I do have the
> > > following in /etc/profile so that the proper java be loaded at boot (I
> > > think):
> > >
> > > export JAVA_HOME=/usr/java/jdk1.7.0_04/bin/java
> > > export PATH=$PATH:/usr/java/jdk1.7.0_04/bin
> > >
> > > Dimitri
> > >
> > > On Monday 30 July 2012 2:47:04 pm Maxim Solodovnik wrote:
> > >> Yes you could :)
> > >> According to this:
> > >>
> http://stackoverflow.com/questions/8420449/docsplit-jodconverter-openoff
> > >>ice -issue-on-debian
> > >>
> > >> can you ensure you have writer/calc/impress installed (by opening your
> > >> doc for example)
> > >>
> > >> were you install your libreoffice via yum groupinstall?
> > >>
> > >> I would recommend you to have Oracle java as default one
> > >> There are some weird issued with  OpenJDK.
> > >>
> > >> On Tue, Jul 31, 2012 at 1:40 AM, Dimitri Yioulos
> > >
> > > wrote:
> > >>> Let me take the easy part first:
> > >>>
> > >>> [root@openmeetings ~]# java -version
> > >>> java version "1.7.0_05-icedtea"
> > >>> OpenJDK Runtime Environment (rhel-2.2.1.el6_3-i386)
> > >>> OpenJDK Client VM (build 23.0-b21, mixed mode)
> > >>>
> > >>> Now, the thing of it is, even though I installed the Sun/Oracle
> > >>> version, when I
> > >>> installed some other component (libreoffice, I think, but I forget
> > >>> exactly what), a dependency that was installed was OpenJDK.  Hmmm.
> > >>>
> > >>> I tried to do the following conversion at the command line:
> > >>>
> > >>> java -jar
> /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> > >>> "FAX COVER SHEET.doc" faxcover.pdf
> > >>>
> > >>> It failed.  I got:
> > >>>
> > >>> Exception in thread "main"
> > >>> org.artofsolving.jodconverter.office.OfficeException:
> > >>> could not load document: FAX COVER SHEET.doc
> > >>> ~
> > >>> Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to
> be
> > >>> an unsupported one.
> > >>> ~
> > >>>
> > >>> I can convert MS Word docs, can't I?
> > >>>
> > >>> Dimitri
> > >>>
> > >>> On Monday 30 July 2012 2:27:56 pm Maxim Solodovnik wrote:
> >  Please try to stop it and run jod converter via commandline (jod
> > >>>
> > >>> converter
> > >>>
> >  will start libreoffice automatically)
> >  also please check your java version?
> > 
> > 
> >  java -cp /usr/local/jodconverter/lib/juh-3.2.1.jar
> >  -cp /usr/local/jodconverter/lib/jurt-3.2.1.jar
> >  -cp /usr/local/jodconverter/lib/ridl-3.2.1.jar
> >  -cp /usr/local/jodconverter/lib/unoil-3.2.1.jar
> >  -cp /usr/local/jodconverter/lib/commons-cli-1.1.jar -cp
> >  /usr/local/jodconverter/lib/commons-io-1.4.jar
> >  -cp /usr/local/jodconverter/lib/json-20090211.jar
> >  -cp /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> >  -jar /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> > >>>
> > >>>
> /usr/local/openmeetings/webapps/openmeetings/upload/files/5b494e18e94e7
> > >>>b1 78
> > >>>
> >  4cbc2a9b42b161a/5b494e18e94e7b1784cbc2a9b42b161a.doc 1a.pdf
> > 
> >  On Tue, Jul 31, 2012 at 1:23 AM, Dimitri Yioulos
> > >>>
> > >>> wrote:
> > > Thanks to both Maxim and Alexsei for your responses.  CentOS 6.x
> > > (and,
> > >>>
> > >>> by
> > >>>
> > > extension, I'd guess, RHEL 6.x) no longer use openoffice but,
> rather,
> > > libreoffice.  libreoffice-headless is installed, and is running as
> a
> > > service:
> > >
> > > tcp0  0 127.0.0.1:8100  0.0.0.0:*
> > >>

Re: File upload troubles

2012-07-30 Thread Dimitri Yioulos
Maxim,

Followed the instructions in the link you provided, and now:

[root@openmeetings ~]# java -version
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)

As you can see, I just upgraded the Java installation to the very latest from 
Oracle.  However, I still get:

Exception in thread "main" 
org.artofsolving.jodconverter.office.OfficeException: 
could not load document: FAX COVER SHEET.doc
~
Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an 
unsupported one.
~

I think I'm infuriatingly close to getting this to work.  Your (and others) 
continuing assistance much appreciated.

Dimitri


On Monday 30 July 2012 3:17:49 pm Maxim Solodovnik wrote:
> please follow the link I have sent you
> you need to install alternative _before_ you can configure it
>
> On Tue, Jul 31, 2012 at 2:13 AM, Dimitri Yioulos 
wrote:
> > Thanks, Stephen.  Here's what I get:
> >
> > [root@openmeetings ~]# alternatives --config java
> >
> > There is 1 program that provides 'java'.
> >
> >   SelectionCommand
> > ---
> > *+ 1   /usr/lib/jvm/jre-1.7.0-openjdk/bin/java
> >
> > Enter to keep the current selection[+], or type selection number:
> >
> > Oh, oh.  I don't even see the Oracle version.  But, I installed the JRE,
> > not the
> > JDK.  Might that be the rub?
> >
> > Dimitri
> >
> > On Monday 30 July 2012 3:03:57 pm Stephen Cottham wrote:
> > > For java try
> > >
> > > update-java-alternatives
> > >
> > > Or
> > >
> > > alternatives --config java
> > >
> > > Should show you all java's installed and allow you to change the
> > > default.
> > >
> > > Sent from my iPhone
> > >
> > > On 30 Jul 2012, at 19:58, "Dimitri Yioulos" 
> >
> > wrote:
> > > > Maxim,
> > > >
> > > > I'm not quite sure how to proceed.  First, I just installed parts of
> > > > libreoffice:
> > > >
> > > > libreoffice-headless-3.4.5.2-16.el6.i686
> > > > libreoffice-opensymbol-fonts-3.4.5.2-16.el6.noarch
> > > > libreoffice-ure-3.4.5.2-16.el6.i686
> > > > libreoffice-core-3.4.5.2-16.el6.i686
> > > >
> > > > Should I do a "yum groupinstall libreoffice"?
> > > >
> > > > Next, I'm not sure how to open my doc.  This is a server install and,
> >
> > so,
> >
> > > > there is no Xwindow/desktop system installed.
> > > >
> > > > Finally, how do I get the Oracle java to be the default?  I do have
> > > > the following in /etc/profile so that the proper java be loaded at
> > > > boot (I think):
> > > >
> > > > export JAVA_HOME=/usr/java/jdk1.7.0_04/bin/java
> > > > export PATH=$PATH:/usr/java/jdk1.7.0_04/bin
> > > >
> > > > Dimitri
> > > >
> > > > On Monday 30 July 2012 2:47:04 pm Maxim Solodovnik wrote:
> > > >> Yes you could :)
> > > >> According to this:
> >
> > http://stackoverflow.com/questions/8420449/docsplit-jodconverter-openoff
> >
> > > >>ice -issue-on-debian
> > > >>
> > > >> can you ensure you have writer/calc/impress installed (by opening
> > > >> your doc for example)
> > > >>
> > > >> were you install your libreoffice via yum groupinstall?
> > > >>
> > > >> I would recommend you to have Oracle java as default one
> > > >> There are some weird issued with  OpenJDK.
> > > >>
> > > >> On Tue, Jul 31, 2012 at 1:40 AM, Dimitri Yioulos
> > > >
> > > > wrote:
> > > >>> Let me take the easy part first:
> > > >>>
> > > >>> [root@openmeetings ~]# java -version
> > > >>> java version "1.7.0_05-icedtea"
> > > >>> OpenJDK Runtime Environment (rhel-2.2.1.el6_3-i386)
> > > >>> OpenJDK Client VM (build 23.0-b21, mixed mode)
> > > >>>
> > > >>> Now, the thing of it is, even though I installed the Sun/Oracle
> > > >>> version, when I
> > > >>> installed some other component (libreoffice, I think, but I forget
> > > >>> exactly what), a dependency that was installed was OpenJDK.  Hmmm.
> > > >>>
> > > >>> I tried to do the following conversion at the command line:
> > > >>>
> > > >>> java -jar
> >
> > /usr/local/jodconverter/lib/jodconverter-core-3.0-beta-4.jar
> >
> > > >>> "FAX COVER SHEET.doc" faxcover.pdf
> > > >>>
> > > >>> It failed.  I got:
> > > >>>
> > > >>> Exception in thread "main"
> > > >>> org.artofsolving.jodconverter.office.OfficeException:
> > > >>> could not load document: FAX COVER SHEET.doc
> > > >>> ~
> > > >>> Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to
> >
> > be
> >
> > > >>> an unsupported one.
> > > >>> ~
> > > >>>
> > > >>> I can convert MS Word docs, can't I?
> > > >>>
> > > >>> Dimitri
> > > >>>
> > > >>> On Monday 30 July 2012 2:27:56 pm Maxim Solodovnik wrote:
> > >  Please try to stop it and run jod converter via commandline (jod
> > > >>>
> > > >>> converter
> > > >>>
> > >  will start libreoffice automatically)
> > >  also please check your java version?
> > > 
> > > 
> > >  java -cp /usr/local/jodconverter/lib/juh-3.2.1.jar
> > >  -cp /usr/local/jodconverter/lib/jurt-3.2.1.jar
> > >  -cp /usr/local/jodconverter/lib/rid

Re: OM 2.0 and Windows

2012-07-30 Thread Seth Galitzer
I tried using instsrv and servany (per 
http://support.microsoft.com/kb/137890), but it didn't work.  I end up 
seeing "Error Missing" in the browser window.  It also doesn't kill the 
java process correctly when stopping the service.  I'm not usually a 
windows guy, but I've been testing OM on the same hardware as Connect to 
make an honest comparison.  If I can make this work, it would be great.


Thanks.
Seth

On 07/30/2012 01:49 PM, Maxim Solodovnik wrote:

Alexey told me there is an option in windows to create service out of
any .bat file. (Not sure use Windows only for development from time to time)
Did set up wrapper for 1.5+ long time ago, sorry :(

On Tue, Jul 31, 2012 at 1:45 AM, Seth Galitzer mailto:sg...@ksu.edu>> wrote:

Greetings,

First of all, kudos to OM devs for getting 2.0 out the door.  I'm
really liking the improvements so far and look forward to how things
progress.  I can't wait to replace my production Connect server with OM.

I've been testing 1.9 on Windows Server 2003, using the NT Wrapper
to install red5 as a service.  2.0 doesn't seem to like this setup,
or perhaps I need to adjust the wrapper config.  I can start the
red5 service manually, but I'd like to run it as a system service.
  Any advice on how to do this with 2.0?

Thanks.
Seth

--
Seth Galitzer
Systems Coordinator
Computing and Information Sciences
Kansas State University
http://www.cis.ksu.edu/~sgsax
sg...@ksu.edu 
785-532-7790




--
WBR
Maxim aka solomax


--
Seth Galitzer
Systems Coordinator
Computing and Information Sciences
Kansas State University
http://www.cis.ksu.edu/~sgsax
sg...@ksu.edu
785-532-7790


Re: OM 2.0 and Windows

2012-07-30 Thread Seth Galitzer

I should mention that this is what I used to get 1.9 to run as a service:

http://code.google.com/p/openmeetings/wiki/Red5WindowsService

What version of Red5 is shipped with OM 2.0?

Seth

On 07/30/2012 02:45 PM, Seth Galitzer wrote:

I tried using instsrv and servany (per
http://support.microsoft.com/kb/137890), but it didn't work. I end up
seeing "Error Missing" in the browser window. It also doesn't kill the
java process correctly when stopping the service. I'm not usually a
windows guy, but I've been testing OM on the same hardware as Connect to
make an honest comparison. If I can make this work, it would be great.

Thanks.
Seth

On 07/30/2012 01:49 PM, Maxim Solodovnik wrote:

Alexey told me there is an option in windows to create service out of
any .bat file. (Not sure use Windows only for development from time to
time)
Did set up wrapper for 1.5+ long time ago, sorry :(

On Tue, Jul 31, 2012 at 1:45 AM, Seth Galitzer mailto:sg...@ksu.edu>> wrote:

Greetings,

First of all, kudos to OM devs for getting 2.0 out the door. I'm
really liking the improvements so far and look forward to how things
progress. I can't wait to replace my production Connect server with OM.

I've been testing 1.9 on Windows Server 2003, using the NT Wrapper
to install red5 as a service. 2.0 doesn't seem to like this setup,
or perhaps I need to adjust the wrapper config. I can start the
red5 service manually, but I'd like to run it as a system service.
Any advice on how to do this with 2.0?

Thanks.
Seth

--
Seth Galitzer
Systems Coordinator
Computing and Information Sciences
Kansas State University
http://www.cis.ksu.edu/~sgsax
sg...@ksu.edu 
785-532-7790




--
WBR
Maxim aka solomax




--
Seth Galitzer
Systems Coordinator
Computing and Information Sciences
Kansas State University
http://www.cis.ksu.edu/~sgsax
sg...@ksu.edu
785-532-7790


Re: OM 2.0 and Windows

2012-07-30 Thread Maxim Solodovnik
MS Article you have mention states:
The Windows NT Resource Kit provides two utilities that allow you to create
a Windows NT user-defined service for Windows NT applications and some
16-bit applications *(but not for batch files). *

So I'm afraid it is not suitable.
My only try on windows was based on this http://code.google.com/p/**
openmeetings/wiki/**Red5WindowsService
instruction
also (but it was about a year ago)

We are using
Red5 1.0 RC3 rev 4388

On Tue, Jul 31, 2012 at 2:55 AM, Seth Galitzer  wrote:

> I should mention that this is what I used to get 1.9 to run as a service:
>
> http://code.google.com/p/**openmeetings/wiki/**Red5WindowsService
>
> What version of Red5 is shipped with OM 2.0?
>
> Seth
>
>
> On 07/30/2012 02:45 PM, Seth Galitzer wrote:
>
>> I tried using instsrv and servany (per
>> http://support.microsoft.com/**kb/137890),
>> but it didn't work. I end up
>> seeing "Error Missing" in the browser window. It also doesn't kill the
>> java process correctly when stopping the service. I'm not usually a
>> windows guy, but I've been testing OM on the same hardware as Connect to
>> make an honest comparison. If I can make this work, it would be great.
>>
>> Thanks.
>> Seth
>>
>> On 07/30/2012 01:49 PM, Maxim Solodovnik wrote:
>>
>>> Alexey told me there is an option in windows to create service out of
>>> any .bat file. (Not sure use Windows only for development from time to
>>> time)
>>> Did set up wrapper for 1.5+ long time ago, sorry :(
>>>
>>> On Tue, Jul 31, 2012 at 1:45 AM, Seth Galitzer >> > wrote:
>>>
>>> Greetings,
>>>
>>> First of all, kudos to OM devs for getting 2.0 out the door. I'm
>>> really liking the improvements so far and look forward to how things
>>> progress. I can't wait to replace my production Connect server with OM.
>>>
>>> I've been testing 1.9 on Windows Server 2003, using the NT Wrapper
>>> to install red5 as a service. 2.0 doesn't seem to like this setup,
>>> or perhaps I need to adjust the wrapper config. I can start the
>>> red5 service manually, but I'd like to run it as a system service.
>>> Any advice on how to do this with 2.0?
>>>
>>> Thanks.
>>> Seth
>>>
>>> --
>>> Seth Galitzer
>>> Systems Coordinator
>>> Computing and Information Sciences
>>> Kansas State University
>>> http://www.cis.ksu.edu/~sgsax
>>> sg...@ksu.edu 
>>> 785-532-7790
>>>
>>>
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
> --
> Seth Galitzer
> Systems Coordinator
> Computing and Information Sciences
> Kansas State University
> http://www.cis.ksu.edu/~sgsax
> sg...@ksu.edu
> 785-532-7790
>



-- 
WBR
Maxim aka solomax


Size of RTMP packets

2012-07-30 Thread Denis Kandrov

Hello everybody!

During testing a quality of the network the question appeared: "What is 
an average size of the RTMP packet?"
I searched a little on the internet and not found an answer, after this 
I decided to make a simple measurement.

For measuring I run two video windows in OpenMeetings.
I use tcpdump for catchig packets on 1935 port and it`s size.
After a simple processing I got that in my particular case, the most 
frequent packet size is 66 bytes.
For clarity, I made ​​charts of the distribution of packet sizes in two 
versions, with and without logarithmic scale.

Charts in the attachment.

Maybe it will be interesting for somebody :)

--
With best regards
Denis Kandrov

<><>

Import/Export routine has been changed

2012-07-30 Thread Maxim Solodovnik
Dear All,

I just changed Import/Export routine of OM (rev 1367412)
Can you please try it to check if it works as expected or not?

If it is not working I would really appreciate if you can send me backup
which failed (without recordings/files)
I promise not to look into it and delete right after testing :))

Thanks in advance

-- 
WBR
Maxim aka solomax


Re: Error when executing admin script

2012-07-30 Thread Maxim Solodovnik
I have added examples to Admin usage section.

On Sun, Jul 29, 2012 at 2:50 PM, Tharindu Mathew wrote:

> Hi Maxim,
>
> I guess I was using the 1st option as a completely new user. How about
> including some usage exampled in the install section's description[1] and
> marking file argument description[2] as mutually exclusive?
>
> Also, an update to the installation part of the docs would improve
> usability of setting up om.  I'm not sure whether this is already planned.
> What do you think?
>
> [1] -
>
>  -i,--installFill DB table, and make OM usable
>
> [2] -
>
>  -filefile used for backup/restore/install
>
>
> On Sun, Jul 29, 2012 at 10:42 AM, Maxim Solodovnik 
> wrote:
>
>> Hello Tharindu,
>>
>> I'm not sure file option can be marked as optional :(
>> In fact it is mandatory if you omit user/password/.../tz options
>>
>> You actually has 2 option inside -i (--install)
>> 1) install on a clean system in this case user/password/.../tz are
>> mandatory and file is optional
>> 2) install as part of upgrade in this case file is mandatory
>> and user/password/.../tz are optional
>>
>> According to above I believe it is not good idea mark file as optional
>> What do you think?
>>
>>
>> On Sun, Jul 29, 2012 at 4:41 AM, Tharindu Mathew wrote:
>>
>>> Created a patch at [1] that would mention that the file parameter is
>>> optional when using install option.
>>>
>>> Now, the output would be:
>>>
>>>  -i,--installFill DB table, and make OM usable
>>>-tz  Default server time zone, and time
>>> zone for the selected user
>>>  (mutually exclusive with 'file')
>>>-email   Email of the default user (mutually
>>> exclusive with 'file')
>>>-group   The name of the default user group
>>> (mutually exclusive with
>>>  'file')
>>>-userLogin name of the default user,
>>> minimum 4 characters (mutually
>>>  exclusive with 'file')
>>>-file(optional) file used for
>>> backup/restore/install
>>>   --db-pass (optional) Password of the user
>>> with write access to the DB
>>>  specified
>>>   --smtp-server (optional) SMTP server for outgoing
>>> e-mails [default:
>>>  localhost]
>>>   --force(optional) Install without checking
>>> the existence of old data
>>>  in the database.
>>>
>>> 
>>>
>>>  [1] - https://issues.apache.org/jira/browse/OPENMEETINGS-384
>>>
>>>
>>> On Sun, Jul 29, 2012 at 2:50 AM, Tharindu Mathew wrote:
>>>
 Thanks Maxim. Your suggestion worked.

 Thanks for the pointers Stephen. I'm on a mac, but these guides have
 some useful info.


 On Sun, Jul 29, 2012 at 12:16 AM, Stephen Cottham <
 stephen.cott...@robertbird.com.au> wrote:

> Hey Tharindu,
>
> ** **
>
> Try these two guides:
>
> ** **
>
> Debian Based install
>
>
> https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.x+On+Debian64+-+Headless.pdf?version=12&modificationDate=1342957867000
> 
>
> ** **
>
> Unbuntu Based install
>
>
> https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.x+On+Ubuntu64+-+Headless.pdf?version=9&modificationDate=1342975689000
> 
>
> ** **
>
> ** **
>
> N.B – one of the repos for the Debian install has changed (for lame)**
> **
>
> ** **
>
> Please change  
>
> ** **
>
> *deb http://www.debian-multimedia.org squeeze main*
>
> * *
>
> for**
>
> * *
>
> *deb http://deb-multimedia.org squeeze main*
>
> ** **
>
> I’ll update the guides to reflect that later.
>
> ** **
>
> Best Regards
>
> ** **
>
> *From:* Maxim Solodovnik [mailto:solomax...@gmail.com]
> *Sent:* 28 July 2012 19:38
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: Error when executing admin script
>
> ** **
>
> you need to remove "-file om" from command line
>
> -file is works only if you install and have backup from previous
> version
>
> On Sun, Jul 29, 2012 at 12:22 AM, Tharindu Mathew 
> wrote:
>
> Hi,
>
> ** **
>
> I downloaded the OM 2.0.0 incubating pack and I'm trying to install
> it. From the instructions on your site, the admin script seems to be the
> fastest way to setup OM.
>
> ** **
>
> But it gives me the following error at [1]. I'm unable to understand
> how to proceed.
>
> **