Re: How to enter home by auto login

2013-11-28 Thread Maxim Solodovnik
I believe this is the problem:
externalUserId=externalUserType=http://localhost:5080/openmeetings/services/UserService/setUserObjectMainLandingZone?SID=e50cd93df12e620d30f6eb66e46110d9username=onokefirstname=ono1lastname=keijiprofilePictureUrl=email=o...@mail.jpexternalUserId=externalUserType=
These 2 parameters are REQUIRED

external user id is the ID unique in your external system for the user
you are setting
external user type is the unique alias of your external system.

These 2 parameters should identify user you are setting



On Thu, Nov 28, 2013 at 2:24 PM, 小野圭二 onoke...@gmail.com wrote:

 Ok, i found it was v2.2.0.

 DEBUG 11-28 15:54:04.818 o.a.o.Version:96 [Launcher:/openmeetings] -
 ##
 #   Openmeetings is up   #
 #2.2.0-SNAPSHOT 1546244 28-November-2013 #
 #and ready to use#
 ##


 And also figured out the errors, but i have no idea to resolve it.:
 I used setUserObjectMainLandingZone() for REST to auto login.



 ERROR 11-28 16:15:40.148 o.a.o.r.r.ScopeApplicationAdapter:1791
 [NioProcessor-10] - [setUsername]
 java.lang.NullPointerException: null
 at
 org.apache.openmeetings.remote.red5.ScopeApplicationAdapter.setUsernameAndSession(ScopeApplicationAdapter.java:1782)
 ~[openmeetings-2.2.0-SNAPSHOT.jar:na]
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 ~[na:1.7.0_25]
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 ~[na:1.7.0_25]
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.7.0_25]
 at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25]
  at
 org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:196)
 ~[red5.jar:na]
 at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:115)
 ~[red5.jar:na]
  at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:157)
 ~[red5.jar:na]
 at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:394)
 ~[red5.jar:na]
  at
 org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:130)
 ~[red5.jar:na]
 at
 org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:164)
 ~[red5.jar:na]
  at
 org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)
 ~[mina-core-2.0.4.jar:na]
 at
 org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
 ~[mina-core-2.0.4.jar:na]
  at
 org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
 ~[mina-core-2.0.4.jar:na]
 at
 org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
 ~[mina-core-2.0.4.jar:na]
  at
 org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427)
 ~[mina-core-2.0.4.jar:na]
 at
 org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:245)
 ~[mina-core-2.0.4.jar:na]
  at
 org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
 ~[mina-core-2.0.4.jar:na]
 at
 org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
 ~[mina-core-2.0.4.jar:na]
  at
 org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
 ~[mina-core-2.0.4.jar:na]
 at
 org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:124)
 ~[red5.jar:na]
  at
 org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
 ~[mina-core-2.0.4.jar:na]
 at
 org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
 ~[mina-core-2.0.4.jar:na]
  at
 org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
 ~[mina-core-2.0.4.jar:na]
 at
 org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
 ~[mina-core-2.0.4.jar:na]
  at
 org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
 ~[mina-core-2.0.4.jar:na]
 at
 org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
 ~[mina-core-2.0.4.jar:na]
  at
 org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:715)
 ~[mina-core-2.0.4.jar:na]
 at
 org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:668)
 ~[mina-core-2.0.4.jar:na]
  at
 org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:657)
 ~[mina-core-2.0.4.jar:na]
 at
 

Joomla Plugin

2013-11-28 Thread William Rennie

Hi there,

Is there a download link to the Joomla plugin on apache extras? I have 
searched but cannot find it.


Thanks,

Will.
--

Will Rennie
Software Engineer
SalesAgility - SugarCRM Consultants and Developers
E-Mail: will.ren...@salesagility.com
Web: http://www.salesagility.com
Offices:
London: 53 Chandos Place, Covent Garden, London WC2N 4HS || Phone: +44 
(0)203 5151 499
Manchester: 4th Floor, 59 Piccadilly, Manchester M1 2AQ || Phone: +44 
(0)161 9876 499

Stirling: 4 Albert Place, Stirling FK8 2QL || Phone: +44 (0)1786 585 499
Registered in Scotland: Company No: 364788
This email, including any attachments, is confidential. If you are not 
the intended addressee, please notify the sender immediately by email 
and delete this email completely from your system, you must not 
disseminate, copy, distribute or disclose the contents of this email. 
Emails could be intercepted, corrupted, lost, delayed or contain 
malicious components. Therefore the sender does not accept any liability 
or responsibility for any loss or damage incurred whatsoever. Personal 
opinions and views expressed in this email may not necessarily reflect 
the official opinions and views of the Company.




.


Re: Joomla Plugin

2013-11-28 Thread Maxim Solodovnik
https://builds.apache.org/view/M-R/view/OpenMeetings/job/OpenMeetings%20Joomla%20Plugin/


On Thu, Nov 28, 2013 at 4:19 PM, William Rennie 
will.ren...@salesagility.com wrote:

  Hi there,

 Is there a download link to the Joomla plugin on apache extras? I have
 searched but cannot find it.

 Thanks,

 Will.
 --

   Will Rennie
   Software Engineer
   SalesAgility - SugarCRM Consultants and Developers  E-Mail:
 will.ren...@salesagility.com greg.so...@salesagility.com
   Web: http://www.salesagility.com
   Offices:
   London: 53 Chandos Place, Covent Garden, London WC2N 4HS || Phone: +44
 (0)203 5151 499  Manchester: 4th Floor, 59 Piccadilly, Manchester M1 2AQ
 || Phone: +44 (0)161 9876 499  Stirling: 4 Albert Place, Stirling FK8 2QL
 || Phone: +44 (0)1786 585 499  Registered in Scotland: Company No: 364788  
 This
 email, including any attachments, is confidential. If you are not the
 intended addressee, please notify the sender immediately by email and
 delete this email completely from your system, you must not disseminate,
 copy, distribute or disclose the contents of this email. Emails could be
 intercepted, corrupted, lost, delayed or contain malicious components.
 Therefore the sender does not accept any liability or responsibility for
 any loss or damage incurred whatsoever. Personal opinions and views
 expressed in this email may not necessarily reflect the official opinions
 and views of the Company.

.




-- 
WBR
Maxim aka solomax


OM 3.0 661 log empty

2013-11-28 Thread Varga Balázs
Hello, I try OM 3.0 latest dayli build (661)  3.0.0-SNAPSHOT 1546171 
28-November-2013 and detect logging faul:


Type cmd (as root): service red5 start/stop/status the logs is empty. 
The red5 a shell script in /etc/init.d and call the red5-highperf.sh 
as chuid nobody


Whenn start red5-highperf.sh directly as root, logging successfull.

I try chmod 777/666 in log dir, problem is live.

Tha prev builds is not this problem, loging process finaly, detect this 
only latest build


main red5 in init.d:

#!/bin/bash
# For RedHat and cousins:
# chkconfig: 2345 85 85
# description: Red5 flash streaming server
# processname: red5
# Created By: Sohail Riaz (sohai...@gmail.com)
# Modified by Alvaro Bustos

PROG=red5-highperf
#PROG=red5
RED5_HOME=/opt/red5
DAEMON=$RED5_HOME/$PROG.sh
PIDFILE=/var/run/$PROG.pid

# Source function library
# . /etc/rc.d/init.d/functions

[ -r /etc/sysconfig/red5 ]  . /etc/sysconfig/red5

RETVAL=0

case $1 in
start)
echo $DAEMON
#echo -n $Starting $PROG: /usr/lib/libreoffice/program/soffice 
-accept=socket,host=127.0.0.1,port=8100,tcpNoDelay=1;urp; -headless 
-nodefault -nofirststartwizard -nolockcheck -nologo -norestore  sleep 1

cd $RED5_HOME
start-stop-daemon --start --chuid nobody --pidfile $PIDFILE 
--chdir $RED5_HOME --background --make-pidfile --exec $DAEMON /dev/null 
2/dev/null 

RETVAL=$?
if [ $RETVAL -eq 0 ]; then
echo $!  $PIDFILE
#touch /var/lock/subsys/$PROG
fi
echo
;;
stop)
pkill soffice.bin
cd $RED5_HOME
sh red5-shutdown.sh
start-stop-daemon --stop --quiet --pidfile $PIDFILE --name java
rm -f $PIDFILE
echo
[ $RETVAL -eq 0 ]  rm -f /var/lock/subsys/$PROG
;;
restart)
$0 stop
$0 start
;;
status)
start-stop-daemon --status --pidfile $PIDFILE
RETVAL=$?
[ $RETVAL -eq 0 ]  echo $PROG is running
[ $RETVAL -eq 1 ]  echo $PROG is not running and the pid file 
exists

[ $RETVAL -eq 3 ]  echo $PROG is not running
[ $RETVAL -eq 4 ]  echo $PROG - unable to determine status
;;
checkports)
netstat -anp | grep soffice
netstat -anp | grep java
;;
*)
echo $Usage: $0 {start|stop|restart|force-reload|status|checkports}
RETVAL=1
esac

exit $RETVALA

Balazs


Re: is openmeetings 2.2 officially released?

2013-11-28 Thread Maxim Solodovnik
Seems like the issue reproducible in high and very high quality only.
Seems like it fails in case FPS 10 or more :(


On Thu, Nov 28, 2013 at 4:32 PM, Maxim Solodovnik solomax...@gmail.comwrote:

 I was able to reproduce issue with recordings
 Will try to fix it


 On Thu, Nov 28, 2013 at 9:37 AM, 小野圭二 onoke...@gmail.com wrote:

 Ok, i will do it and input to you.

 2013/11/28 Maxim Solodovnik solomax...@gmail.com:
  Could you please try to make recording in lower quality and/or smaller
 area?
  Maybe your errors are caused by my latest changes in screen sharing
 applet?
 
  Thanks in advance
 
 
  On Wed, Nov 27, 2013 at 10:59 PM, Maxim Solodovnik 
 solomax...@gmail.com
  wrote:
 
  You have create DB table without UTF-8 support
 
 
  On Wed, Nov 27, 2013 at 9:00 PM, Michael Wuttke
  michael.wut...@beuth-hochschule.de wrote:
 
  Hello Maxim,
 
  I tested with the latest OM 2.2 version (build 22) the backup 
  restoring function to delete old and/or unimportant recordings with
 the
  following steps.
 
  0. stop service: /etc/init.d/red5 stop
  1. perform export: /usr/lib/red5/admin.sh -b -file /tmp/backup.zip
  2. unzip th backup file, remove the recordings, delete the nodes from
  flvrecordings.xml
  3. zip the files back to /tmp/import.zip
  4. drop openmeetings_db
  5. perform import: /usr/lib/red5/admin.sh -i -v -file /tmp/import.zip
  [6. start service: /etc/init.d/red5 start]
 
  The step 5 ends with the following error message:
  ---
  DEBUG 11-27 13:46:52.966 ImportInitvalues.java 26543 962
  org.apache.openmeetings.installation.ImportInitvalues [main] - Lang
  ADDED:
  org.apache.openmeetings.persistence.beans.lang.FieldLanguage@228830;
  seconds passed: 1
  DEBUG 11-27 13:46:52.966 ImportInitvalues.java 26543 897
  org.apache.openmeetings.installation.ImportInitvalues [main] -
  loadInitLanguages lang: {id=4, name=french, rtl=false, code=fr}
  DEBUG 11-27 13:46:52.967 ImportInitvalues.java 26544 903
  org.apache.openmeetings.installation.ImportInitvalues [main] -
  loadInitLanguages rtl from xml: false
  DEBUG 11-27 13:46:54.305 ImportInitvalues.java 27882 962
  org.apache.openmeetings.installation.ImportInitvalues [main] - Lang
  ADDED:
  org.apache.openmeetings.persistence.beans.lang.FieldLanguage@19feb0d;
  seconds passed: 1
  DEBUG 11-27 13:46:54.306 ImportInitvalues.java 27883 897
  org.apache.openmeetings.installation.ImportInitvalues [main] -
  loadInitLanguages lang: {id=5, name=italian, rtl=false, code=it}
  DEBUG 11-27 13:46:54.306 ImportInitvalues.java 27883 903
  org.apache.openmeetings.installation.ImportInitvalues [main] -
  loadInitLanguages rtl from xml: false
  [ERROR] [main] org.apache.openmeetings.cli.Admin - Install failed
  org.springframework.orm.jpa.JpaSystemException: The transaction has
 been
  rolled back.  See the nested exceptions for details on the errors that
  occurred.; nested exception is openjpa-2.2.1-r422266:1396819 fatal
  general error org.apache.openjpa.persistence.PersistenceException:
 The
  transaction has been rolled back.  See the nested exceptions for
 details
  on the errors that occurred.
  FailedObject:
 
 
 org.apache.openmeetings.persistence.beans.lang.Fieldlanguagesvalues@1c44743
  at
 
 
 org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:326)
  ~[spring-orm-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
  at
 
 
 org.springframework.orm.jpa.DefaultJpaDialect.translateExceptionIfPossible(DefaultJpaDialect.java:120)
  ~[spring-orm-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
  at
 
 
 org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:516)
  ~[spring-orm-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
  at
 
 
 org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
  ~[spring-tx-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
  at
 
 
 org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
  ~[spring-tx-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
  at
 
 
 org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
  ~[spring-tx-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
  at
 
 
 org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120)
  ~[spring-tx-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
  at
 
 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  ~[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
  at
 
 
 org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
  ~[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
  at
 
 
 org.apache.openmeetings.data.basic.FieldLanguageDao$$EnhancerByCGLIB$$e4715177.updateLanguage(generated)
  

Re: How to enter home by auto login

2013-11-28 Thread Maxim Solodovnik
Actually
Jim during auto-login
and Jim via login/password

are 2 different users :(
you can play with different drives

I believe one of the is available to the whole room



On Thu, Nov 28, 2013 at 4:45 PM, 小野圭二 onoke...@gmail.com wrote:

 Ok, no problem. To set external parameter with dummy, a normal user can
 enter to dashboard.
 But in the case of the procedure that entering to a room after auto login,
 there are some issues as following.

 Steps:
   1.Jim(normal user) enter to a dashboard after auto login  - works fine
   2.upload a file to his home drive - fine
   3.exit from the room-fine
   4.logout  - get error
   6.shutdown the browser and enter to it by normal authentication  -fine
   7.enter the last room  -fine
   8.there is not the upload file in his home drive- wow

 Is there any workaround?

 -Ono


 2013/11/28 Maxim Solodovnik solomax...@gmail.com

 Unfortunately it is impossible to perform auto-login for normal users.
 By implementing auto-login you take care of user authentication and all
 users are sort of external.
  In case you need to separate them you can assign different
 externalUserType for these 2 groups


 On Thu, Nov 28, 2013 at 4:16 PM, 小野圭二 onoke...@gmail.com wrote:

 Thank you form your reply, Maxim.
 In fact, i have two type user.

 1.One is the external user, and they enter into a room by
 using setUserObjectAndGenerateRoomHash().
 2.The other is the normal user in OM, and they enter into their
 dashboard by using setUserObjectMainLandingZone().

 I have image 1 need external parameter, but 2 dose not need them.
 In my test, setUserObjectAndGenerateRoomHash() need not external
 parameter, they worked with null.
 If setUserObjectMainLandingZone() need them, what shall i set in the
 case of normal user(mean not external user)?

 -Ono


 2013/11/28 Maxim Solodovnik solomax...@gmail.com

 I believe this is the problem: 
 externalUserId=externalUserType=http://localhost:5080/openmeetings/services/UserService/setUserObjectMainLandingZone?SID=e50cd93df12e620d30f6eb66e46110d9username=onokefirstname=ono1lastname=keijiprofilePictureUrl=email=o...@mail.jpexternalUserId=externalUserType=
 These 2 parameters are REQUIRED

 external user id is the ID unique in your external system for the
 user you are setting
 external user type is the unique alias of your external system.

 These 2 parameters should identify user you are setting



 On Thu, Nov 28, 2013 at 2:24 PM, 小野圭二 onoke...@gmail.com wrote:

 Ok, i found it was v2.2.0.

 DEBUG 11-28 15:54:04.818 o.a.o.Version:96 [Launcher:/openmeetings] -
 ##
 #   Openmeetings is up   #
 #2.2.0-SNAPSHOT 1546244 28-November-2013 #
 #and ready to use#
 ##


 And also figured out the errors, but i have no idea to resolve it.:
 I used setUserObjectMainLandingZone() for REST to auto login.



 ERROR 11-28 16:15:40.148 o.a.o.r.r.ScopeApplicationAdapter:1791
 [NioProcessor-10] - [setUsername]
 java.lang.NullPointerException: null
 at
 org.apache.openmeetings.remote.red5.ScopeApplicationAdapter.setUsernameAndSession(ScopeApplicationAdapter.java:1782)
 ~[openmeetings-2.2.0-SNAPSHOT.jar:na]
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 ~[na:1.7.0_25]
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 ~[na:1.7.0_25]
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.7.0_25]
 at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25]
  at
 org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:196)
 ~[red5.jar:na]
 at
 org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:115)
 ~[red5.jar:na]
  at
 org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:157)
 ~[red5.jar:na]
 at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:394)
 ~[red5.jar:na]
  at
 org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:130)
 ~[red5.jar:na]
 at
 org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:164)
 ~[red5.jar:na]
  at
 org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)
 ~[mina-core-2.0.4.jar:na]
 at
 org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
 ~[mina-core-2.0.4.jar:na]
  at
 org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
 ~[mina-core-2.0.4.jar:na]
 at
 org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
 ~[mina-core-2.0.4.jar:na]
  at
 org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427)
 ~[mina-core-2.0.4.jar:na]
 at
 

Re: How to enter home by auto login

2013-11-28 Thread Maxim Solodovnik
User account should be created as soon as hash will be used


On Thu, Nov 28, 2013 at 5:01 PM, 小野圭二 onoke...@gmail.com wrote:

 Ok, thanks. I will make these to be a cautionary statement.

 BTW, setUserObjectAndGenerateRoomHash() admits admission without a account
 in om_user table. Dose it expected behavior?

 -Ono


 2013/11/28 Maxim Solodovnik solomax...@gmail.com

 Actually
 Jim during auto-login
 and Jim via login/password

 are 2 different users :(
 you can play with different drives

 I believe one of the is available to the whole room



 On Thu, Nov 28, 2013 at 4:45 PM, 小野圭二 onoke...@gmail.com wrote:

 Ok, no problem. To set external parameter with dummy, a normal user can
 enter to dashboard.
 But in the case of the procedure that entering to a room after auto
 login, there are some issues as following.

 Steps:
   1.Jim(normal user) enter to a dashboard after auto login  - works
 fine
   2.upload a file to his home drive - fine
   3.exit from the room-fine
   4.logout  - get error
   6.shutdown the browser and enter to it by normal authentication  -fine
   7.enter the last room  -fine
   8.there is not the upload file in his home drive- wow

 Is there any workaround?

 -Ono


 2013/11/28 Maxim Solodovnik solomax...@gmail.com

 Unfortunately it is impossible to perform auto-login for normal users.
 By implementing auto-login you take care of user authentication and all
 users are sort of external.
  In case you need to separate them you can assign different
 externalUserType for these 2 groups


 On Thu, Nov 28, 2013 at 4:16 PM, 小野圭二 onoke...@gmail.com wrote:

 Thank you form your reply, Maxim.
 In fact, i have two type user.

 1.One is the external user, and they enter into a room by
 using setUserObjectAndGenerateRoomHash().
 2.The other is the normal user in OM, and they enter into their
 dashboard by using setUserObjectMainLandingZone().

 I have image 1 need external parameter, but 2 dose not need them.
 In my test, setUserObjectAndGenerateRoomHash() need not external
 parameter, they worked with null.
 If setUserObjectMainLandingZone() need them, what shall i set in the
 case of normal user(mean not external user)?

 -Ono


 2013/11/28 Maxim Solodovnik solomax...@gmail.com

 I believe this is the problem: 
 externalUserId=externalUserType=http://localhost:5080/openmeetings/services/UserService/setUserObjectMainLandingZone?SID=e50cd93df12e620d30f6eb66e46110d9username=onokefirstname=ono1lastname=keijiprofilePictureUrl=email=o...@mail.jpexternalUserId=externalUserType=
 These 2 parameters are REQUIRED

 external user id is the ID unique in your external system for the
 user you are setting
 external user type is the unique alias of your external system.

 These 2 parameters should identify user you are setting



 On Thu, Nov 28, 2013 at 2:24 PM, 小野圭二 onoke...@gmail.com wrote:

 Ok, i found it was v2.2.0.

 DEBUG 11-28 15:54:04.818 o.a.o.Version:96 [Launcher:/openmeetings] -
 ##
 #   Openmeetings is up   #
 #2.2.0-SNAPSHOT 1546244 28-November-2013 #
 #and ready to use#
 ##


 And also figured out the errors, but i have no idea to resolve it.:
 I used setUserObjectMainLandingZone() for REST to auto login.



 ERROR 11-28 16:15:40.148 o.a.o.r.r.ScopeApplicationAdapter:1791
 [NioProcessor-10] - [setUsername]
 java.lang.NullPointerException: null
 at
 org.apache.openmeetings.remote.red5.ScopeApplicationAdapter.setUsernameAndSession(ScopeApplicationAdapter.java:1782)
 ~[openmeetings-2.2.0-SNAPSHOT.jar:na]
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 ~[na:1.7.0_25]
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 ~[na:1.7.0_25]
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.7.0_25]
 at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25]
  at
 org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:196)
 ~[red5.jar:na]
 at
 org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:115)
 ~[red5.jar:na]
  at
 org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:157)
 ~[red5.jar:na]
 at
 org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:394)
 ~[red5.jar:na]
  at
 org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:130)
 ~[red5.jar:na]
 at
 org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:164)
 ~[red5.jar:na]
  at
 org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)
 ~[mina-core-2.0.4.jar:na]
 at
 org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
 ~[mina-core-2.0.4.jar:na]
  at
 

Re: Nginx reverse proxy

2013-11-28 Thread Varga Balázs

I try nginx frontend proxy from OM:

Set NGINX as frontend and OM server backend as IP based upstream.
Upstream proxy tunneling OM 5080 and 8088 to frontend 80 port, 1935 is 
live - this a firewall friendly.

My OM server(s) is set FQDN host name, not IP base.

Try this model a common frontend SSL tunneling, OM-s have in separated 
LAN and communocate directly only proxy, not a public.


This combination working, available problem presentation pagination not 
working.
The pagination events successfull load, check in logs, problem the 
name/IP based wrapping on proxy.


This method working finaly whenn OM is IP based, non hostname.

After find this pagination problem, I not try other settings.

Balazs


2013-11-28 13:16 keltezéssel, Stefan írta:

Hello. What ports other than 5080 and 1935 need I setup in nginx, in
order to provide full reverse proxy for an OM installation?
Should I consider tunneling instead (to be able to tunnel all possible
ports through another server) ?

Regards, Bogdan.





Re: Nginx reverse proxy

2013-11-28 Thread Sergey

Hello!
Can you show your config of nginx, where you proxy 80 port to 5080 and 
8088. How do you split them? I can only suggest name field in the 
HTTP1.1 header, but i am interested in the configuration. Thanks in 
advanced!


Sergey.


28.11.2013 21:47, Varga Balázs пишет:

I try nginx frontend proxy from OM:

Set NGINX as frontend and OM server backend as IP based upstream.
Upstream proxy tunneling OM 5080 and 8088 to frontend 80 port, 1935 is 
live - this a firewall friendly.

My OM server(s) is set FQDN host name, not IP base.

Try this model a common frontend SSL tunneling, OM-s have in separated 
LAN and communocate directly only proxy, not a public.


This combination working, available problem presentation pagination 
not working.
The pagination events successfull load, check in logs, problem the 
name/IP based wrapping on proxy.


This method working finaly whenn OM is IP based, non hostname.

After find this pagination problem, I not try other settings.

Balazs


2013-11-28 13:16 keltezéssel, Stefan írta:

Hello. What ports other than 5080 and 1935 need I setup in nginx, in
order to provide full reverse proxy for an OM installation?
Should I consider tunneling instead (to be able to tunnel all possible
ports through another server) ?

Regards, Bogdan.







Re: Nginx reverse proxy

2013-11-28 Thread Cimpeanu Stefan
An easyer solution (to my origibal purpose - isolate OM from direct access - ) 
which seem to be working is tunneling with iptables ip forwarding and dnat on a 
basic vps.

So far self tests showed no issues.

Regards, Bogdan


Varga Balázs join...@gmail.com wrote:
Try this, not full config file:

/etc/nginx/nginx.conf
# default username mapped a security vault
user www-service www-service;
# worker process as CPU
worker_processes  4;
worker_rlimit_nofile 1024;
events {
worker_connections  1024;
}


http {
 include   mime.types;
 default_type  application/octet-stream;

 log_format main  '$remote_addr - $remote_user [$time_local] 
$request $status $body_bytes_sent $http_referer $http_user_agent 
$http_range $sent_http_content_range $http_x_forwarded_for';

 indexindex.html index.htm index.php;

 access_log/var/log/nginx/access.log  main;
 error_log/var/log/error.log;
 ## General Options
 ignore_invalid_headers on;
 keepalive_requests 2000;
 recursive_error_pages on;
 server_name_in_redirect off;
 server_tokens off;

 ## Timeouts
 client_body_timeout 5m;#A file feltoltesekhez eleg 
hosszunak kel lennie
 client_header_timeout 30;
 keepalive_timeout 60 30;
 send_timeout 60;
 expires 24h;

 ## TCP options
 tcp_nodelay on;
 tcp_nopush on;

 ## Compression
 gzip on;
 gzip_buffers 16 8k;
 gzip_comp_level 6;
 gzip_http_version 1.1;
 gzip_min_length 1400;
 gzip_vary on;
 gzip_types  text/plain text/css image/png image/gif 
image/jpeg application/pdf application/x-javascript text/xml 
application/xml application/xml+rss text/javascript ;
 gzip_disable MSIE [1-6]\.(?!.*SV1);


 output_buffers1 32k;
 postpone_output1640;
 client_max_body_size256M;

 sendfile  on;

 #limit_conn_zone $binary_remote_addr zone=conn_limit_per_ip:10m;
 #limit_req_zone $binary_remote_addr zone=req_limit_per_ip:10m 
rate=5r/s;


 #OM Backend servers, NGINX is parse many server over RDNS, custom 
RR database, simple timeout/connected peer count...etc
 #Visit this NGINX Wiki

 upstreamopenmeetings_http_server_1{
 serverserverx.omserver.tld:5080;
 }
 upstream openmeetings_event_server_1{
 serverserverx.omserver.tld:8088;
 }
}

Include this conf in your (virtual)host SERVER section:

/etc/nginx/virtualhosts/openmeetings_proxyed
location ~ ^/openmeetings {
 access_log /var/log/nginx/openmeetings.log main;
 error_log /var/log/nginx/openmeetings-error.log debug;
 expires off;
 #location ~* ^.+.(jpg|jpeg|png|gif|ico|flv|mp4)$ {
 #expires 1d;
 #log_not_found   off;
 #   access_log  off;
 ##add_header Cache-Control public;
 #}

 #Read and rewrite all url query
 rewrite ^/(.*) http://openmeetings_http_server_1/$1;
 #Set proxy name/IP based upstream
 proxy_pass http://openmeetings_http_server_1;

 #Caller header settings is a critical point, require all IP and 
header data
 proxy_redirect off;
 proxy_set_header X-Forwarded-Host $host;
 proxy_set_header X-Forwarded-Server $host;
 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

client_max_body_size   10m;
client_body_buffer_size128k;

proxy_connect_timeout  90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size  4k;
proxy_buffers  4 32k;
proxy_busy_buffers_size64k;
proxy_temp_file_write_size 64k;
 }

location ~ ^(/open/|/close/|/idle/|/send/)$ {
 access_log /var/log/nginx/openmeetings.log main;
 error_log /var/log/nginx/openmeetings-error.log debug;
 #expires off;
 proxy_pass http://openmeetings_event_server_1;
 proxy_redirect off;
 proxy_set_header X-Forwarded-Host $host;
 proxy_set_header X-Forwarded-Server $host;
 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

 client_max_body_size   10m;
 client_body_buffer_size128k;

 proxy_connect_timeout  90;
 proxy_send_timeout 90;
 proxy_read_timeout 90;
 proxy_buffer_size  4k;
 proxy_buffers  4 32k;
 proxy_busy_buffers_size64k;
 proxy_temp_file_write_size 64k;
 #include/etc/nginx/fastcgi_params;
   }


I try this config vith OM 2.1.1 and 3.0 oldest (~6 month later).
I aply this http 80/443 SSL tunneling:

/etc/nginx/virtualhost.conf:

tunneling 80:
server{
 server_name. ;
 listen 80;
 ..
 ..

Re: CAS authentication

2013-11-28 Thread seba.wag...@gmail.com
LDAP or soap are the gateways to realise SSO.
You might need to write your own wrapper for this service.

Sebastian
On 29 Nov 2013 13:13, 小野圭二 onoke...@gmail.com wrote:

 Had Anyone implemented CAS to OM?
 CAS mean Central Authentication Service.
 ref. http://www.jasig.org/cas

 -Ono



Re: CAS authentication

2013-11-28 Thread 小野圭二
Ok thanks.

-Ono

2013/11/29 seba.wag...@gmail.com seba.wag...@gmail.com:
 LDAP or soap are the gateways to realise SSO.
 You might need to write your own wrapper for this service.

 Sebastian

 On 29 Nov 2013 13:13, 小野圭二 onoke...@gmail.com wrote:

 Had Anyone implemented CAS to OM?
 CAS mean Central Authentication Service.
 ref. http://www.jasig.org/cas

 -Ono


Re: CAS authentication

2013-11-28 Thread 小野圭二
Thanks for your comment, Maxim.

2013/11/29 Maxim Solodovnik solomax...@gmail.com:
 CAS can be added, but I see no way how to add it as an option
 I'm afraid it will require code modification :(


 On Fri, Nov 29, 2013 at 7:18 AM, 小野圭二 onoke...@gmail.com wrote:

 Ok thanks.

 -Ono

 2013/11/29 seba.wag...@gmail.com seba.wag...@gmail.com:
  LDAP or soap are the gateways to realise SSO.
  You might need to write your own wrapper for this service.
 
  Sebastian
 
  On 29 Nov 2013 13:13, 小野圭二 onoke...@gmail.com wrote:
 
  Had Anyone implemented CAS to OM?
  CAS mean Central Authentication Service.
  ref. http://www.jasig.org/cas
 
  -Ono




 --
 WBR
 Maxim aka solomax