You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by George Kirkham <gk...@co2crc.com.au> on 2012/05/17 00:11:49 UTC
Problem: Import process never completes
Hi,
I attempted to import a full back up of our production environment into my test build of revision 1338946 using the UI, however the import never completes, it just stays on the screen showing that it is “converting document”. The log shows that Users and Rooms are imported successfully, but the process errors along the way. The error “Could not Find RoomClient on List publicSID” seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - sourceDirRec PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758 org.openmeetings.app.remote.red5.ScopeApplicationAdapter [http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID: c9f57fe7c52c63aec0aa7902a67bd29a
at org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [javaee-api-5.1.2.om.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) [red5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34 org.openmeetings.app.quartz.scheduler.MeetingReminderJob [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert – Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL" folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM -out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der -outform DER
wget http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
wget http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <St...@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the certificates module and import it that way, after importing via IE it can now use firefox too.
I’m just knocking up the steps I took to get it to work and will mail it back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root folder via the browser and it will now connect, so anyone using a self-signed cert will need to add this to all machines they plan on running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I’ve created the self-signed certificate, this is working fine in apache and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine, I’ll keep on trying to see what’s going wrong, not much from the logs etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root certificate):
http://www.tc.umn.edu/~brams006/selfsign.html
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret -destkeystore keystore -destalias red5 -srckeystore certificate.pfx -srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings via SSL, for example the people asking for the RTMPSClient feature in the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake - rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={}, liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
A status option for the /etc/init.d/red5.sh script
Posted by George Kirkham <gk...@co2crc.com.au>.
Hi,
Should anyone find this useful or see an issue with this code, please let me know.
When running a service, I like to be able to check the status of that service, and so I have added the following to the /etc/init.d/red5.sh script.
;;
restart)
$0 stop
$0 start
;;
status)
# status $PROG -p $PIDFILE
netstat -anp | grep soffice | grep 8100 &> /dev/nul && echo $"OpenOffice server is running" || echo $"OpenOffice server is not running"
#ps aux | grep -f $PIDFILE &> /dev/nul && echo $"$PROG is running" || echo $"$PROG is not running"
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|status|checkports}"
RETVAL=1
1) While I prefer using start-stop-daemon to check the status, the code “ps aux …” works just as well if you uncomment it.
#ps aux | grep -f $PIDFILE &> /dev/nul && echo $"$PROG is running" || echo $"$PROG
2) I also like to check what ports are being used when I am altering ports so I also added a “checkports” option.
Thanks,
George Kirkham
RE: Problem: Import process never completes
Posted by George Kirkham <gk...@co2crc.com.au>.
OK, thanks.
George Kirkham
IT Manager
Cooperative Research Centre For Greenhouse Gas Technologies (CO2CRC)
NFF House, 14 - 16 Brisbane Avenue, Barton, ACT, 2600, Australia
T: (02) 6120 1600
F: (02) 6273 7181
E: gkirkham@co2crc.com.au,
W: www.co2crc.com.au
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Friday, 18 May 2012 8:28 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
The issue seems to be fixed
please try revision 1340061
On Fri, May 18, 2012 at 3:42 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks for that report
I'll double check and try to fix ASAP
On Fri, May 18, 2012 at 3:40 PM, George Kirkham <gk...@co2crc.com.au> wrote:
Maxim,
I tried the “./admin.sh -i -file /usr/adm/compile/backup_18_05_2012_15_33_13.zip” command, but the following error happened and stopped the import process. It think there is a bug in the path code as indicated by the “openmeetingsupload” directory hightlighted in green below. This may be why the UI import fails to load the files?
import complete, starting members import
INFO 05-18 16:41:40.916 BackupImportController.java 35310 450 org.openmeetings.servlet.outputhandler.BackupImportController [main] - Members import complete, starting copy of files and folders
DEBUG 05-18 16:41:40.916 BackupImportController.java 35310 2443 org.openmeetings.servlet.outputhandler.BackupImportController [main] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_16_41_09/roomFiles
[ERROR] [main] org.openmeetings.cli.Admin - Restore failed /usr/lib/red5/webapps/openmeetingsupload/profiles/profile_44/_big_GeorgePhotoForSkype.jpg (No such file or directory)
The file “backup_18_05_2012_15_33_13.zip\roomFiles\profiles\profile_2\ _big_GeorgePhotoForSkype.jpg” exists in the backup file.
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Friday, 18 May 2012 11:52 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
Hello George,
The import is not checking anything, it just imports.
The only option right now to avoid user/group duplication is to use command line admin:
1) go to the folder OM is installed
2) stop OM
3) run "./admin.sh -b -file backup.zip" (admin.bat -b -file backup.zip) -- this will create backup file in the current folder
4) run "./admin.sh -i -file backup.zip"
you can check all options by running admin with -h option or without options.
On Fri, May 18, 2012 at 8:09 AM, George Kirkham <gk...@co2crc.com.au> wrote:
Sebastian,
The “System Import” does not error now, it completes correctly and the upload dialog closes as expected. However no files are imported from the backup.
As the Export feature has the ability to export with files, I had expected the import to also import the exported files?
Another issue for me to understand is that how the Export/Import feature should be used.
I have an issue of ending up with two admin accounts. My process is as follows: First back up with files the existing database. Then when I create a new server or when I upgrade OpenMeetings, in mysql I drop the database and recreate it, then I run the http://mydomain.com:5080/openmeetings/install process where I select not to create rooms, but this install process creates a new admin user account. Then when I import the OpenMeetings backup file, there are now two admin accounts. It does not matter if the admin account has the same userid and password or not. In the end I delete one. I would recommend that if the first account (i.e. the Administrator account) has the same userid and password as the first account in OpenMeetings, that the import process assumes these are the same and updates any blank fields from in the OpenMeetings account with non-blank fields from the import file. That is when you first run the install, you can leave all fields blank except for the mandatory fields like username, password and email, and then after the install has completed, as the first task, import your “exported” backup.
There is also the issue that the install process creates a “group”, and that if you create a group by the same name as that exists in the backup, you end up with two groups. It would be best if it import checks if the first group that it is importing with the existing group in OpenMeeings and then it does not add this group but skips it and then imports the proceeding groups. In this way rooms and group ids will all be correct ?
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 6:36 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
I've committed a fix that initialized the isAVClient variable as proposed during initialization of the RoomClient.
@George: Can you rerun your test with revision later then 1339514?
Thanks,
Sebastian
2012/5/17 seba.wagner@gmail.com <se...@gmail.com>
Hi Maxim,
change Boolean to boolean => That is not so easy.
The default value would be "false".
Every user has two RoomCLient objects (one time true and one time isAVClient = false) as we have two NetConnections open per user as soon as he enters the conference room (one NetConnection per SWF).
isAVClient is only true as soon as the user has choosen device settings and started to stream audio/video.
A user that has not yet choosen device settings has isAVClient=false and would be listed in the list of current users duplicated and will receive sync events.
If a user disconnects before he was able to choose device settings everybody else in the conference room will have duplicated messages in the activityList about "user leaving".
A user that has not yet choosen device settings will get every sync event duplicated (as he has two RoomClient object that both have isAVClient = false), for example about whiteboard sync events (while he does not need any of those)
What we could try is to pass a parameter directly in the connect method/constructor of the RTMP-Connection, so that the isAVClient is correctly initialized with either true or false.
Sebastian
2012/5/17 Maxim Solodovnik <so...@gmail.com>
I guess this is caused by RoomClient.getIsAVClient() == null
and ScopeApplicationAdapter expects "false"
Not sure how to resolve this
I guess we should change these Booolean to be boolean (just true or false)
On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <se...@gmail.com> wrote:
Quote from your log: *File explorer item import complete, clearing temp files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in the client UI could not be closed because the publicSID could not be found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into my test build of revision 1338946 using the UI, however the import never completes, it just stays on the screen showing that it is “converting document”. The log shows that Users and Rooms are imported successfully, but the process errors along the way. The error “Could not Find RoomClient on List publicSID” seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - sourceDirRec PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758 org.openmeetings.app.remote.red5.ScopeApplicationAdapter [http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID: c9f57fe7c52c63aec0aa7902a67bd29a
at org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [javaee-api-5.1.2.om.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) [red5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34 org.openmeetings.app.quartz.scheduler.MeetingReminderJob [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert – Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL" folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM -out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der -outform DER
wget http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
wget http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <St...@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the certificates module and import it that way, after importing via IE it can now use firefox too.
I’m just knocking up the steps I took to get it to work and will mail it back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root folder via the browser and it will now connect, so anyone using a self-signed cert will need to add this to all machines they plan on running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I’ve created the self-signed certificate, this is working fine in apache and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine, I’ll keep on trying to see what’s going wrong, not much from the logs etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root certificate):
http://www.tc.umn.edu/~brams006/selfsign.html <http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html <http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret -destkeystore keystore -destalias red5 -srckeystore certificate.pfx -srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings via SSL, for example the people asking for the RTMPSClient feature in the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake - rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={}, liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
Re: Problem: Import process never completes
Posted by Stephen Cottham <St...@robertbird.com.au>.
I'll update the docs for this and the new keystrore.screen no probs guys.
Cheers
Sent from my iPhone
On 18 May 2012, at 14:59, "Maxim Solodovnik" <so...@gmail.com> wrote:
> The problem is:
> mysql jdbc driver is LGPL licensed and it is not compatible with Apache license, so we cannot package it :(
>
> so you can download jar file and put it into /red5/webapps/openmeetings/WEB-INF/lib
> or run "ant -Ddb=mysql" so ivy will do it for you
>
> On Fri, May 18, 2012 at 8:54 PM, George Kirkham <gk...@co2crc.com.au> wrote:
> Stephen, Maxim,
>
>
>
> Thanks for the quick responses and your help.
>
> I don’t understand why the “ant -Ddb=mysql” is now necessary? I have never needed this before, has something changed or have I missed something?
>
>
>
> The good news is that the Import did work, including all the files that people had uploaded.
>
>
>
> DEBUG 05-18 23:37:53.029 BackupImportController.java 84056 2525 org.openmeetings.servlet.outputhandler.BackupImportController [main] - sourceDirRec PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_23_37_04/recordingFiles
>
> INFO 05-18 23:38:09.059 BackupImportController.java 100086 457 org.openmeetings.servlet.outputhandler.BackupImportController [main] - File explorer item import complete, clearing temp files
>
> ... Done
>
>
>
>
>
> Thanks,
>
>
>
> George Kirkham
>
>
>
>
>
> From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> Sent: Friday, 18 May 2012 9:51 PM
> To: openmeetings-user@incubator.apache.org
> Subject: RE: Problem: Import process never completes
>
>
>
> George,
>
>
>
> This was the issue maxim just mentioned.
>
>
>
> Rebuild OM using this:
>
> ant -Ddb=mysql
>
>
>
> Cheers
>
>
>
>
>
>
>
> From: George Kirkham [mailto:gkirkham@co2crc.com.au]
> Sent: Friday, 18 May 2012 12:48 PM
> To: openmeetings-user@incubator.apache.org
> Subject: RE: Problem: Import process never completes
>
>
>
> Maxim,
>
>
>
> Now I get another error message.
>
>
>
> [ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open JPA EntityManager for transaction; nested exception is <openjpa-2.2.0-r422266:1244990 fatal general error> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
>
>
>
>
>
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v1.8.5) 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' with instanceId 'NON_CLUSTERED'
>
> Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
>
> NOT STARTED.
>
> Currently in standby mode.
>
> Number of jobs executed: 0
>
> Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
>
> Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
>
>
>
> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' initialized from an externally provided properties instance.
>
> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 1.8.5
>
> [INFO] [main] org.quartz.core.QuartzScheduler - JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@6e2c5444
>
> [INFO] [main] org.springframework.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
>
> [INFO] [main] org.springframework.scheduling.quartz.SchedulerFactoryBean - Starting Quartz Scheduler now
>
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED started.
>
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutting down.
>
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
>
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutdown complete.
>
> [ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open JPA EntityManager for transaction; nested exception is <openjpa-2.2.0-r422266:1244990 fatal general error> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
>
> root@chat:/usr/lib/red5#
>
>
>
> When I attempt to install OpenMeetings manually via http://mydomain.com/openmeetings/install the following error is generated.
>
>
>
> Caused by: org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
>
>
>
>
>
> Thanks,
>
>
>
> George Kirkham
>
>
>
> IT Manager
>
> Cooperative Research Centre For Greenhouse Gas Technologies (CO2CRC)
>
> NFF House, 14 - 16 Brisbane Avenue, Barton, ACT, 2600, Australia
>
> T: (02) 6120 1600
>
> F: (02) 6273 7181
>
> E: gkirkham@co2crc.com.au,
>
> W: www.co2crc.com.au
>
>
>
>
>
> From: Maxim Solodovnik [mailto:solomax666@gmail.com]
> Sent: Friday, 18 May 2012 8:28 PM
> To: openmeetings-user@incubator.apache.org
> Subject: Re: Problem: Import process never completes
>
>
>
> The issue seems to be fixed
> please try revision 1340061
>
> On Fri, May 18, 2012 at 3:42 PM, Maxim Solodovnik <so...@gmail.com> wrote:
>
> Thanks for that report
>
> I'll double check and try to fix ASAP
>
>
>
> On Fri, May 18, 2012 at 3:40 PM, George Kirkham <gk...@co2crc.com.au> wrote:
>
> Maxim,
>
>
>
> I tried the “./admin.sh -i -file /usr/adm/compile/backup_18_05_2012_15_33_13.zip” command, but the following error happened and stopped the import process. It think there is a bug in the path code as indicated by the “openmeetingsupload” directory hightlighted in green below. This may be why the UI import fails to load the files?
>
>
>
> import complete, starting members import
>
> INFO 05-18 16:41:40.916 BackupImportController.java 35310 450 org.openmeetings.servlet.outputhandler.BackupImportController [main] - Members import complete, starting copy of files and folders
>
> DEBUG 05-18 16:41:40.916 BackupImportController.java 35310 2443 org.openmeetings.servlet.outputhandler.BackupImportController [main] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_16_41_09/roomFiles
>
> [ERROR] [main] org.openmeetings.cli.Admin - Restore failed /usr/lib/red5/webapps/openmeetingsupload/profiles/profile_44/_big_GeorgePhotoForSkype.jpg (No such file or directory)
>
>
>
> The file “backup_18_05_2012_15_33_13.zip\roomFiles\profiles\profile_2\ _big_GeorgePhotoForSkype.jpg” exists in the backup file.
>
> Thanks,
>
>
>
> George Kirkham
>
>
>
>
>
>
>
> From: Maxim Solodovnik [mailto:solomax666@gmail.com]
> Sent: Friday, 18 May 2012 11:52 AM
> To: openmeetings-user@incubator.apache.org
>
>
> Subject: Re: Problem: Import process never completes
>
>
>
> Hello George,
>
>
>
> The import is not checking anything, it just imports.
>
> The only option right now to avoid user/group duplication is to use command line admin:
>
>
>
> 1) go to the folder OM is installed
>
> 2) stop OM
>
> 3) run "./admin.sh -b -file backup.zip" (admin.bat -b -file backup.zip) -- this will create backup file in the current folder
>
> 4) run "./admin.sh -i -file backup.zip"
>
>
>
> you can check all options by running admin with -h option or without options.
>
>
>
> On Fri, May 18, 2012 at 8:09 AM, George Kirkham <gk...@co2crc.com.au> wrote:
>
> Sebastian,
>
>
>
> The “System Import” does not error now, it completes correctly and the upload dialog closes as expected. However no files are imported from the backup.
>
>
>
> As the Export feature has the ability to export with files, I had expected the import to also import the exported files?
>
>
>
> Another issue for me to understand is that how the Export/Import feature should be used.
>
>
>
> I have an issue of ending up with two admin accounts. My process is as follows: First back up with files the existing database. Then when I create a new server or when I upgrade OpenMeetings, in mysql I drop the database and recreate it, then I run the http://mydomain.com:5080/openmeetings/install process where I select not to create rooms, but this install process creates a new admin user account. Then when I import the OpenMeetings backup file, there are now two admin accounts. It does not matter if the admin account has the same userid and password or not. In the end I delete one. I would recommend that if the first account (i.e. the Administrator account) has the same userid and password as the first account in OpenMeetings, that the import process assumes these are the same and updates any blank fields from in the OpenMeetings account with non-blank fields from the import file. That is when you first run the install, you can leave all fields blank except for the mandatory fields like username, password and email, and then after the install has completed, as the first task, import your “exported” backup.
>
>
>
>
>
> There is also the issue that the install process creates a “group”, and that if you create a group by the same name as that exists in the backup, you end up with two groups. It would be best if it import checks if the first group that it is importing with the existing group in OpenMeeings and then it does not add this group but skips it and then imports the proceeding groups. In this way rooms and group ids will all be correct ?
>
>
>
>
>
>
>
> Thanks,
>
>
>
> George Kirkham
>
>
>
>
>
> From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
> Sent: Thursday, 17 May 2012 6:36 PM
> To: openmeetings-user@incubator.apache.org
> Subject: Re: Problem: Import process never completes
>
>
>
> I've committed a fix that initialized the isAVClient variable as proposed during initialization of the RoomClient.
>
> @George: Can you rerun your test with revision later then 1339514?
>
> Thanks,
> Sebastian
>
> 2012/5/17 seba.wagner@gmail.com <se...@gmail.com>
>
> Hi Maxim,
>
> change Boolean to boolean => That is not so easy.
>
> The default value would be "false".
> Every user has two RoomCLient objects (one time true and one time isAVClient = false) as we have two NetConnections open per user as soon as he enters the conference room (one NetConnection per SWF).
> isAVClient is only true as soon as the user has choosen device settings and started to stream audio/video.
>
> A user that has not yet choosen device settings has isAVClient=false and would be listed in the list of current users duplicated and will receive sync events.
> If a user disconnects before he was able to choose device settings everybody else in the conference room will have duplicated messages in the activityList about "user leaving".
> A user that has not yet choosen device settings will get every sync event duplicated (as he has two RoomClient object that both have isAVClient = false), for example about whiteboard sync events (while he does not need any of those)
>
> What we could try is to pass a parameter directly in the connect method/constructor of the RTMP-Connection, so that the isAVClient is correctly initialized with either true or false.
>
> Sebastian
>
>
>
> 2012/5/17 Maxim Solodovnik <so...@gmail.com>
>
> I guess this is caused by RoomClient.getIsAVClient() == null
>
> and ScopeApplicationAdapter expects "false"
>
> Not sure how to resolve this
>
>
>
> I guess we should change these Booolean to be boolean (just true or false)
>
>
>
> On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <se...@gmail.com> wrote:
>
> Quote from your log: *File explorer item import complete, clearing temp files*
> That means
>
> That means the import is actually complete and should be okay.
> Your exception just means that the method to close the upload window in the client UI could not be closed because the publicSID could not be found in the server session to send the "import-complete" event.
>
> Sebastian
>
>
>
> 2012/5/17 George Kirkham <gk...@co2crc.com.au>
>
> Hi,
>
>
>
> I attempted to import a full back up of our production environment into my test build of revision 1338946 using the UI, however the import never completes, it just stays on the screen showing that it is “converting document”. The log shows that Users and Rooms are imported successfully, but the process errors along the way. The error “Could not Find RoomClient on List publicSID” seems to crash the import process.
>
>
>
> I the max_upload_size variable is working well now, thanks for that fix.
>
>
>
> <image001.jpg>
>
>
>
> /usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
>
>
>
> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png HTTP/1.1" 200 524
>
> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png HTTP/1.1" 200 843
>
> 192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 2494623
>
> 192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016 HTTP/1.1" 200 525
>
> 192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
>
> 192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 9144320
>
> 192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 2608481
>
> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
>
> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
>
> 192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a HTTP/1.1" 200 -
>
>
>
> <NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this point onward>
>
>
>
>
>
>
>
> /usr/lib/red5/log/openmeetings.log
>
>
>
> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
>
> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - sourceDirRec PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
>
> INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp files
>
> ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758 org.openmeetings.app.remote.red5.ScopeApplicationAdapter [http-0.0.0.0-5080-6] - [sendMessageWithClient]
>
> java.lang.Exception: Could not Find RoomClient on List publicSID: c9f57fe7c52c63aec0aa7902a67bd29a
>
> at org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
>
> at org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26]
>
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26]
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26]
>
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
>
> at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>
> at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>
> at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>
> at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>
> at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>
> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>
> at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [javaee-api-5.1.2.om.jar:na]
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [javaee-api-5.1.2.om.jar:na]
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
>
> at org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
>
> at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) [red5.jar:na]
>
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina-6.0.32.jar:6.0.32]
>
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote-6.0.32.jar:6.0.32]
>
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
>
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote-6.0.32.jar:6.0.32]
>
> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
>
> DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34 org.openmeetings.app.quartz.scheduler.MeetingReminderJob [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - MeetingReminderJob.execute
>
> DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - startStamp 2012-05-16 20:30:47.237
>
>
>
>
>
>
>
>
>
>
>
> Thanks,
>
>
>
> George Kirkham
>
>
>
>
>
> From: Maxim Solodovnik [mailto:solomax666@gmail.com]
> Sent: Wednesday, 16 May 2012 11:03 PM
> To: openmeetings-user@incubator.apache.org
> Subject: Re: RTMPS question
>
>
>
> Sebastian
>
>
>
> RTMPSClient rev. 4315 seems to be non functional
>
> Should I proceed with update to the later revision of Red5?
>
>
>
> please NOTE Red5 structure is changed so our build process need to be modified accordingly.
>
> (They seems to change some libs + separate server and client)
>
>
>
>
>
> On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com> wrote:
>
> Thanks a lot Stephen,
>
>
>
> I've wasted 2 hours fighting with this bug :(
>
> My configuration works as expected in FF.
>
> This is second time I fight with this Chome issue :(
>
>
>
>
>
> On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
>
> Interesting:
>
>
>
> http://code.google.com/p/chromium/issues/detail?id=80749
>
>
>
>
>
>
>
> From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> Sent: Wednesday, 16 May 2012 12:02 PM
>
>
> To: openmeetings-user@incubator.apache.org
> Subject: RE: RTMPS question
>
>
>
> Hey Maxim,
>
>
>
> Self-Signed and trusted Certs work in IE and FF, neither of them work on Chrome for RTMPS.
>
>
>
> Cheers
>
>
>
>
>
>
>
> From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> Sent: Wednesday, 16 May 2012 11:50 AM
> To: openmeetings-user@incubator.apache.org
> Subject: RE: RTMPS question
>
>
>
> Sure will check that out now.
>
>
>
> In the meantime these are the steps that worked for me:
>
>
>
> Created SelfCert – Numerous ways to do this but this worked for me:
>
>
>
> Download IIS 6.0 Resource Kit Tools
>
> Install the resource kit
>
> Created a new dummy website in IIS with ID 13456
>
> From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL" folder and select "SelfSSL".
>
> Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
>
> Then go back to IIS and export the newly created SSL certificate as a PFX file.
>
>
>
> Convert PFX into component Cert and Key:
>
>
>
> Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue the following:
>
>
>
> openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out om.yourdomain.com.keytmp.pem
>
> openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out om.yourdomain.com.cert.pem
>
> openssl rsa -in om.yourdomain.com.keytmp.pem -out om.robertbird.com.key.pem
>
>
>
> Convert PEM files to DER and import into Keystore:
>
>
>
> openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM -out key.der -outform DER
>
> openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der -outform DER
>
> wget http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
>
> wget http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
>
> java ImportKey key.der cert.der
>
>
>
> now move it to the conf folder
>
>
>
> mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
>
>
>
> Then import the certificate thru IE and put it into the trusted Root folder, restart and it should be good.
>
>
>
> Cheers
>
>
>
>
>
> From: Maxim Solodovnik [mailto:solomax666@gmail.com]
> Sent: Wednesday, 16 May 2012 11:44 AM
> To: openmeetings-user@incubator.apache.org
> Subject: RE: RTMPS question
>
>
>
> Can you check if it works in Chrome?
> It seems I was fighting Chrome only.
> Will check FF later today
>
> On May 16, 2012 5:39 PM, "Stephen Cottham" <St...@robertbird.com.au> wrote:
>
> I installed it via IE but you can open MMC and then load the certificates module and import it that way, after importing via IE it can now use firefox too.
>
>
>
> I’m just knocking up the steps I took to get it to work and will mail it back, give us like 10 mins.
>
>
>
> From: Maxim Solodovnik [mailto:solomax666@gmail.com]
> Sent: Wednesday, 16 May 2012 11:34 AM
> To: openmeetings-user@incubator.apache.org
> Subject: Re: RTMPS question
>
>
>
> what browser are you using?
>
> On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
>
> Hey Maxim,
>
>
>
> I got that to work now, I added the Certificate into my trusted Root folder via the browser and it will now connect, so anyone using a self-signed cert will need to add this to all machines they plan on running it with otherwise RMTPS will fail.
>
>
>
> Cheers
>
>
>
>
>
>
>
>
>
>
>
> From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> Sent: Wednesday, 16 May 2012 11:26 AM
> To: openmeetings-user@incubator.apache.org
> Subject: RE: RTMPS question
>
>
>
> Hey Maxim,
>
>
>
> I’ve created the self-signed certificate, this is working fine in apache and the install process (HTTPS) but fails on RTMPS only.
>
>
>
> All I get from my logs is the following:
>
>
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Connection reset by peer
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Broken pipe
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught null
>
>
>
> And
>
>
>
> [WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out 639 ), with id 3 due to long handshake
>
>
>
> Just to check I put the authorised cert back in and it connects fine, I’ll keep on trying to see what’s going wrong, not much from the logs etc.. unfortunately.
>
>
>
>
>
> Cheers
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> From: Maxim Solodovnik [mailto:solomax666@gmail.com]
> Sent: Wednesday, 16 May 2012 9:38 AM
> To: openmeetings-user@incubator.apache.org
> Subject: Re: RTMPS question
>
>
>
> Thanks Stephen,
>
>
>
> I did use these steps to create certificates (the option with root certificate):
>
> http://www.tc.umn.edu/~brams006/selfsign.html
>
> http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html
>
>
>
>
>
> and these 2 commands to convert server certificate to the keystore:
>
>
>
> openssl pkcs12 -export -out certificate.pfx -inkey server.key -in server.crt -certfile ca.crt
>
>
>
> keytool -importkeystore -deststorepass secret -destkeypass secret -destkeystore keystore -destalias red5 -srckeystore certificate.pfx -srcstoretype PKCS12 -srcstorepass password -srcalias 1
>
>
>
> not sure if it helps, since it not completely working.
>
>
>
> p.s. the certificate generated works well for Apache web server.
>
>
>
>
>
> On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
>
> Hi Maxim,
>
>
>
> I have SSL running fine with a legit certificate, at some point today I can create a self-signed and test this for you.
>
>
>
> Best Regards
>
>
>
>
>
>
>
> From: Maxim Solodovnik [mailto:solomax666@gmail.com]
> Sent: Wednesday, 16 May 2012 9:24 AM
> To: openmeetings-user@incubator.apache.org
> Subject: Fwd: RTMPS question
>
>
>
> Dear All,
>
>
>
> Is there anybody was able to set up RTMPS with self-signed certificate?
>
> Or maybe have clue for the issue described below?
>
> Thanks in advance :)
>
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
http://www.codetwo.com
> ---------- Forwarded message ----------
> From: seba.wagner@gmail.com <se...@gmail.com>
> Date: Wed, May 16, 2012 at 3:09 PM
> Subject: Re: RTMPS question
> To: Maxim Solodovnik <so...@gmail.com>
> Cc: openmeetings-dev@incubator.apache.org
>
>
> I have no SSL test environment currently. I did not run into this issue.
>
> I did only find the corresponding code that throws your issue in the red5 sources:
> http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
>
> However there is no advice in the source how to resolve it.
>
> Maybe some other users have an idea that successfully run OpenMeetings via SSL, for example the people asking for the RTMPSClient feature in the Screensharing.
>
> Sebastian
>
>
>
> 2012/5/16 Maxim Solodovnik <so...@gmail.com>
>
> Hello Sebastian,
>
>
>
> I'm currently trying to setup and test RTMPS for Screen sharing.
>
>
>
> I perform all steps from instruction
>
> But still unable to get RTMPS working
>
> Here is extended log:
>
>
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](ssl...) processing the FINISHED state
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) processing the FINISHED state
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) Processing the received message
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 1
>
> [DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
>
> [DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake - rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={}, liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
>
> [DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too small, buffering. remaining: 183
>
> [WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake
>
>
>
>
>
> As you can see SSL is secured (no issues)
>
> but then I got:
>
> "Handshake init too small, buffering. remaining: 183"
>
> and
>
> "Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake"
>
>
>
>
>
>
>
> I'm using self-signed certificate with fake CA (added both to the server and client)
>
>
>
> client debug is:
>
> "devRtmpConnection/registerMethods()
>
> error NetConnection.Connect.Failed rtmps://192.168.72.105:5443/openmeetings/hibernate null false "
>
>
>
>
>
> Can you help me with it?
>
>
>
> --
> 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.wagner@gmail.com
>
>
>
>
>
>
> --
> WBR
> Maxim aka solomax
>
> Stephen Cottham
> Group IT Manager (Associate)
>
> Robert Bird Group
> Level 5, 333 Ann St
> Brisbane, Queensland, 4000, Australia
>
> Phone: +6173 319 2777 (AUS)
>
> Phone: +44207 592 8000 (UK)
>
> Fax: +6173 319 2799
>
>
>
> Mobile: +61400 756 963 (AUS)
>
> Mobile: +447900 918 616 (UK)
>
> Web: www.robertbird.com
>
> <image002.png>
>
> This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
>
> <image003.png>
>
>
> Disclaimer added by CodeTwo Exchange Rules
> www.codetwo.com
>
>
>
>
>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
>
>
>
> --
> 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.wagner@gmail.com
>
>
>
>
>
>
> --
> 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.wagner@gmail.com
>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com
>
>
>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
>
>
>
> --
> WBR
> Maxim aka solomax
>
>
>
>
> --
> WBR
> Maxim aka solomax
Re: Problem: Import process never completes
Posted by Maxim Solodovnik <so...@gmail.com>.
The problem is:
mysql jdbc driver is LGPL licensed and it is not compatible with Apache
license, so we cannot package it :(
so you can download jar file and put it into
/red5/webapps/openmeetings/WEB-INF/lib
or run "ant -Ddb=mysql" so ivy will do it for you
On Fri, May 18, 2012 at 8:54 PM, George Kirkham <gk...@co2crc.com.au>wrote:
> Stephen, Maxim, ****
>
> ** **
>
> Thanks for the quick responses and your help. ****
>
> I don’t understand why the “ant -Ddb=mysql” is now necessary? I have
> never needed this before, has something changed or have I missed something?
> ****
>
> ** **
>
> The good news is that the Import did work, including all the files that
> people had uploaded.****
>
> ** **
>
> DEBUG 05-18 23:37:53.029 BackupImportController.java 84056 2525
> org.openmeetings.servlet.outputhandler.BackupImportController [main] -
> sourceDirRec PATH
> /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_23_37_04/recordingFiles
> ****
>
> INFO 05-18 23:38:09.059 BackupImportController.java 100086 457
> org.openmeetings.servlet.outputhandler.BackupImportController [main] - File
> explorer item import complete, clearing temp files****
>
> ... Done****
>
> ** **
>
> ** **
>
> Thanks,****
>
> ** **
>
> George Kirkham****
>
> ** **
>
> ** **
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Friday, 18 May 2012 9:51 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: Problem: Import process never completes****
>
> ** **
>
> George,****
>
> ** **
>
> This was the issue maxim just mentioned.****
>
> ** **
>
> Rebuild OM using this:****
>
> ant -Ddb=mysql****
>
> ** **
>
> Cheers****
>
> ** **
>
> ** **
>
> ** **
>
> *From:* George Kirkham [mailto:gkirkham@co2crc.com.au<gk...@co2crc.com.au>]
>
> *Sent:* Friday, 18 May 2012 12:48 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: Problem: Import process never completes****
>
> ** **
>
> Maxim,****
>
> ** **
>
> Now I get another error message.****
>
> ** **
>
> [ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open
> JPA EntityManager for transaction; nested exception is
> <openjpa-2.2.0-r422266:1244990 fatal general error>
> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC
> driver class 'com.mysql.jdbc.Driver'****
>
> ** **
>
> ** **
>
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data:
> Quartz Scheduler (v1.8.5)
> 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' with
> instanceId 'NON_CLUSTERED'****
>
> Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.***
> *
>
> NOT STARTED.****
>
> Currently in standby mode.****
>
> Number of jobs executed: 0****
>
> Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
> ****
>
> Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support
> persistence. and is not clustered.****
>
> ** **
>
> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler
> 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' initialized
> from an externally provided properties instance.****
>
> [INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler
> version: 1.8.5****
>
> [INFO] [main] org.quartz.core.QuartzScheduler - JobFactory set to:
> org.springframework.scheduling.quartz.AdaptableJobFactory@6e2c5444****
>
> [INFO] [main]
> org.springframework.context.support.DefaultLifecycleProcessor - Starting
> beans in phase 2147483647****
>
> [INFO] [main] org.springframework.scheduling.quartz.SchedulerFactoryBean -
> Starting Quartz Scheduler now****
>
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
> started.****
>
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
> shutting down.****
>
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
> paused.****
>
> [INFO] [main] org.quartz.core.QuartzScheduler - Scheduler
> org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED
> shutdown complete.****
>
> [ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open
> JPA EntityManager for transaction; nested exception is
> <openjpa-2.2.0-r422266:1244990 fatal general error>
> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC
> driver class 'com.mysql.jdbc.Driver'****
>
> root@chat:/usr/lib/red5#****
>
> ** **
>
> When I attempt to install OpenMeetings manually via
> http://mydomain.com/openmeetings/install the following error is generated.
> ****
>
> ** **
>
> Caused by: org.apache.openjpa.persistence.PersistenceException: Cannot
> load JDBC driver class 'com.mysql.jdbc.Driver'****
>
> ** **
>
> ** **
>
> Thanks,****
>
> ** **
>
> George Kirkham****
>
> ** **
>
> IT Manager****
>
> Cooperative Research Centre For Greenhouse Gas Technologies (CO2CRC) ****
>
> NFF House, 14 - 16 Brisbane Avenue, Barton, ACT, 2600, Australia****
>
> T: (02) 6120 1600****
>
> F: (02) 6273 7181****
>
> E: gkirkham@co2crc.com.au, ****
>
> W: www.co2crc.com.au****
>
> ** **
>
> ** **
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com<so...@gmail.com>]
>
> *Sent:* Friday, 18 May 2012 8:28 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: Problem: Import process never completes****
>
> ** **
>
> The issue seems to be fixed
> please try revision 1340061****
>
> On Fri, May 18, 2012 at 3:42 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:****
>
> Thanks for that report****
>
> I'll double check and try to fix ASAP****
>
> ** **
>
> On Fri, May 18, 2012 at 3:40 PM, George Kirkham <gk...@co2crc.com.au>
> wrote:****
>
> Maxim,****
>
> ****
>
> I tried the “./admin.sh -i -file
> /usr/adm/compile/backup_18_05_2012_15_33_13.zip” command, but the following
> error happened and stopped the import process. It think there is a bug in
> the path code as indicated by the “openmeetingsupload” directory
> hightlighted in green below. This may be why the UI import fails to load
> the files?****
>
> ****
>
> import complete, starting members import****
>
> INFO 05-18 16:41:40.916 BackupImportController.java 35310 450
> org.openmeetings.servlet.outputhandler.BackupImportController [main] -
> Members import complete, starting copy of files and folders****
>
> DEBUG 05-18 16:41:40.916 BackupImportController.java 35310 2443
> org.openmeetings.servlet.outputhandler.BackupImportController [main] -
> roomFilesFolder PATH
> /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_16_41_09/roomFiles
> ****
>
> [ERROR] [main] org.openmeetings.cli.Admin - Restore failed
> /usr/lib/red5/webapps/openmeetingsupload/profiles/profile_44/_big_GeorgePhotoForSkype.jpg
> (No such file or directory)****
>
> ****
>
> The file “backup_18_05_2012_15_33_13.zip\roomFiles\profiles\profile_2\ _big_GeorgePhotoForSkype.jpg”
> exists in the backup file.****
>
> Thanks,****
>
> ****
>
> George Kirkham****
>
> ****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Friday, 18 May 2012 11:52 AM
> *To:* openmeetings-user@incubator.apache.org****
>
>
> *Subject:* Re: Problem: Import process never completes****
>
> ****
>
> Hello George,****
>
> ****
>
> The import is not checking anything, it just imports.****
>
> The only option right now to avoid user/group duplication is to use
> command line admin:****
>
> ****
>
> 1) go to the folder OM is installed****
>
> 2) stop OM****
>
> 3) run "./admin.sh -b -file backup.zip" (admin.bat -b -file backup.zip)
> -- this will create backup file in the current folder****
>
> 4) run "./admin.sh -i -file backup.zip"****
>
> ****
>
> you can check all options by running admin with -h option or without
> options.****
>
> ****
>
> On Fri, May 18, 2012 at 8:09 AM, George Kirkham <gk...@co2crc.com.au>
> wrote:****
>
> Sebastian,****
>
> ****
>
> The “System Import” does not error now, it completes correctly and the
> upload dialog closes as expected. However no files are imported from the
> backup.****
>
> ****
>
> As the Export feature has the ability to export with files, I had expected
> the import to also import the exported files?****
>
> ****
>
> Another issue for me to understand is that how the Export/Import feature
> should be used.****
>
> ****
>
> I have an issue of ending up with two admin accounts. My process is as
> follows: First back up with files the existing database. Then when I create
> a new server or when I upgrade OpenMeetings, in mysql I drop the database
> and recreate it, then I run the
> http://mydomain.com:5080/openmeetings/install process where I select not
> to create rooms, but this install process creates a new admin user
> account. Then when I import the OpenMeetings backup file, there are now
> two admin accounts. It does not matter if the admin account has the same
> userid and password or not. In the end I delete one. I would recommend
> that if the first account (i.e. the Administrator account) has the same
> userid and password as the first account in OpenMeetings, that the import
> process assumes these are the same and updates any blank fields from in the
> OpenMeetings account with non-blank fields from the import file. That is
> when you first run the install, you can leave all fields blank except for
> the mandatory fields like username, password and email, and then after the
> install has completed, as the first task, import your “exported” backup.**
> **
>
> ****
>
> ****
>
> There is also the issue that the install process creates a “group”, and
> that if you create a group by the same name as that exists in the backup,
> you end up with two groups. It would be best if it import checks if the
> first group that it is importing with the existing group in OpenMeeings and
> then it does not add this group but skips it and then imports the
> proceeding groups. In this way rooms and group ids will all be correct ?*
> ***
>
> ****
>
> ****
>
> ****
>
> Thanks,****
>
> ****
>
> George Kirkham****
>
> ****
>
> ****
>
> *From:* seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
> *Sent:* Thursday, 17 May 2012 6:36 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: Problem: Import process never completes****
>
> ****
>
> I've committed a fix that initialized the isAVClient variable as proposed
> during initialization of the RoomClient.
>
> @George: Can you rerun your test with revision later then 1339514?
>
> Thanks,
> Sebastian****
>
> 2012/5/17 seba.wagner@gmail.com <se...@gmail.com>****
>
> Hi Maxim,
>
> change Boolean to boolean => That is not so easy.
>
> The default value would be "false".
> Every user has two RoomCLient objects (one time true and one time
> isAVClient = false) as we have two NetConnections open per user as soon as
> he enters the conference room (one NetConnection per SWF).
> isAVClient is only true as soon as the user has choosen device settings
> and started to stream audio/video.
>
> A user that has not yet choosen device settings has isAVClient=false and
> would be listed in the list of current users duplicated and will receive
> sync events.
> If a user disconnects before he was able to choose device settings
> everybody else in the conference room will have duplicated messages in the
> activityList about "user leaving".
> A user that has not yet choosen device settings will get every sync event
> duplicated (as he has two RoomClient object that both have isAVClient =
> false), for example about whiteboard sync events (while he does not need
> any of those)
>
> What we could try is to pass a parameter directly in the connect
> method/constructor of the RTMP-Connection, so that the isAVClient is
> correctly initialized with either true or false.
>
> Sebastian****
>
> ****
>
> 2012/5/17 Maxim Solodovnik <so...@gmail.com>****
>
> I guess this is caused by RoomClient.getIsAVClient() == null ****
>
> and ScopeApplicationAdapter expects "false"****
>
> Not sure how to resolve this****
>
> ****
>
> I guess we should change these Booolean to be boolean (just true or false)
> ****
>
> ****
>
> On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <
> seba.wagner@gmail.com> wrote:****
>
> Quote from your log: *File explorer item import complete, clearing temp
> files*
> That means
>
> That means the import is actually complete and should be okay.
> Your exception just means that the method to close the upload window in
> the client UI could not be closed because the publicSID could not be found
> in the server session to send the "import-complete" event.
>
> Sebastian****
>
> ****
>
> 2012/5/17 George Kirkham <gk...@co2crc.com.au>****
>
> Hi,****
>
> ****
>
> I attempted to import a full back up of our production environment into my
> test build of revision 1338946 using the UI, however the import never
> completes, it just stays on the screen showing that it is “converting
> document”. The log shows that Users and Rooms are imported successfully,
> but the process errors along the way. The error “Could not Find
> RoomClient on List publicSID” seems to crash the import process.****
>
> ****
>
> I the max_upload_size variable is working well now, thanks for that fix.**
> **
>
> ****
>
> ****
>
> ****
>
> /usr/lib/red5/log/0.0.0.0_access.2012-05-16.log****
>
> ****
>
> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
> /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
> HTTP/1.1" 200 524****
>
> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
> /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
> HTTP/1.1" 200 843****
>
> 192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 2494623****
>
> 192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
> /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016
> HTTP/1.1" 200 525****
>
> 192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
> /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
> ****
>
> 192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
> HTTP/1.1" 200 9144320****
>
> 192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
> HTTP/1.1" 200 2608481****
>
> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
> /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 1682****
>
> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/
> DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 1682****
>
> 192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/
> backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a
> HTTP/1.1" 200 -****
>
> ****
>
> <NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
> point onward>****
>
> ****
>
> ****
>
> ****
>
> /usr/lib/red5/log/openmeetings.log****
>
> ****
>
> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - roomFilesFolder PATH
> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
> ****
>
> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - sourceDirRec PATH
> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
> ****
>
> INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp
> files****
>
> ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
> org.openmeetings.app.remote.red5.ScopeApplicationAdapter
> [http-0.0.0.0-5080-6] - [sendMessageWithClient] ****
>
> java.lang.Exception: Could not Find RoomClient on List publicSID:
> c9f57fe7c52c63aec0aa7902a67bd29a****
>
> at
> org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707)
> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at
> org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481)
> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_26]****
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> ~[na:1.6.0_26]****
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> ~[na:1.6.0_26]****
>
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]*
> ***
>
> at
> org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
> [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> [javaee-api-5.1.2.om.jar:na]****
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> [javaee-api-5.1.2.om.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53)
> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
> [red5.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]****
>
> DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
> MeetingReminderJob.execute****
>
> DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
> startStamp 2012-05-16 20:30:47.237****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> Thanks,****
>
> ****
>
> George Kirkham****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:03 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ****
>
> Sebastian****
>
> ****
>
> RTMPSClient rev. 4315 seems to be non functional****
>
> Should I proceed with update to the later revision of Red5?****
>
> ****
>
> please NOTE Red5 structure is changed so our build process need to be
> modified accordingly.****
>
> (They seems to change some libs + separate server and client)****
>
> ****
>
> ****
>
> On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:****
>
> Thanks a lot Stephen,****
>
> ****
>
> I've wasted 2 hours fighting with this bug :(****
>
> My configuration works as expected in FF.****
>
> This is second time I fight with this Chome issue :(****
>
> ****
>
> ****
>
> On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Interesting:****
>
> ****
>
> http://code.google.com/p/chromium/issues/detail?id=80749****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 12:02 PM****
>
>
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Hey Maxim,****
>
> ****
>
> Self-Signed and trusted Certs work in IE and FF, neither of them work on
> Chrome for RTMPS.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 11:50 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Sure will check that out now.****
>
> ****
>
> In the meantime these are the steps that worked for me:****
>
> ****
>
> *Created SelfCert – Numerous ways to do this but this worked for me:*****
>
> ****
>
> Download IIS 6.0 Resource Kit Tools****
>
> Install the resource kit ****
>
> Created a new dummy website in IIS with ID 13456****
>
> From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
> folder and select "SelfSSL".****
>
> Issued command *selfssl.exe /N:cn=om.yourdomain.com /S: 13456*****
>
> Then go back to IIS and export the newly created SSL certificate as a PFX
> file.****
>
> ****
>
> *Convert PFX into component Cert and Key:*****
>
> ****
>
> Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue
> the following:****
>
> ****
>
> *openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
> om.yourdomain.com.keytmp.pem*****
>
> *openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
> om.yourdomain.com.cert.pem*****
>
> *openssl rsa -in om.yourdomain.com.keytmp.pem -out
> om.robertbird.com.key.pem*****
>
> ****
>
> *Convert PEM files to DER and import into Keystore:*****
>
> ****
>
> *openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
> -out key.der -outform DER*****
>
> *openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
> -outform DER*****
>
> *wget
> http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
> *****
>
> *wget
> http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
> *****
>
> *java ImportKey key.der cert.der*****
>
> ****
>
> now move it to the conf folder****
>
> ****
>
> *mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore*****
>
> * *****
>
> Then import the certificate thru IE and put it into the trusted Root
> folder, restart and it should be good.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:44 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Can you check if it works in Chrome?
> It seems I was fighting Chrome only.
> Will check FF later today****
>
> On May 16, 2012 5:39 PM, "Stephen Cottham" <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> I installed it via IE but you can open MMC and then load the certificates
> module and import it that way, after importing via IE it can now use
> firefox too.****
>
> ****
>
> I’m just knocking up the steps I took to get it to work and will mail it
> back, give us like 10 mins.****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:34 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ****
>
> what browser are you using?****
>
> On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hey Maxim,****
>
> ****
>
> I got that to work now, I added the Certificate into my trusted Root
> folder via the browser and it will now connect, so anyone using a
> self-signed cert will need to add this to all machines they plan on running
> it with otherwise RMTPS will fail.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 11:26 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Hey Maxim,****
>
> ****
>
> I’ve created the self-signed certificate, this is working fine in apache
> and the install process (HTTPS) but fails on RTMPS only.****
>
> ****
>
> All I get from my logs is the following:****
>
> ****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught Connection reset by peer****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught Broken pipe****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught null****
>
> ****
>
> And ****
>
> ****
>
> [WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection -
> Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out
> 639 ), with id 3 due to long handshake****
>
> ****
>
> Just to check I put the authorised cert back in and it connects fine, I’ll
> keep on trying to see what’s going wrong, not much from the logs etc..
> unfortunately.****
>
> ****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 9:38 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ****
>
> Thanks Stephen,****
>
> ****
>
> I did use these steps to create certificates (the option with root
> certificate):****
>
> http://www.tc.umn.edu/~brams006/selfsign.html****
>
> http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html****
>
> ****
>
> ****
>
> and these 2 commands to convert server certificate to the keystore:****
>
> ****
>
> openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
> server.crt -certfile ca.crt****
>
> ****
>
> keytool -importkeystore -deststorepass secret -destkeypass secret
> -destkeystore keystore -destalias red5 -srckeystore certificate.pfx
> -srcstoretype PKCS12 -srcstorepass password -srcalias 1****
>
> ****
>
> not sure if it helps, since it not completely working.****
>
> ****
>
> p.s. the certificate generated works well for Apache web server.****
>
> ****
>
> ****
>
> On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hi Maxim,****
>
> ****
>
> I have SSL running fine with a legit certificate, at some point today I
> can create a self-signed and test this for you.****
>
> ****
>
> Best Regards****
>
> ****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 9:24 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Fwd: RTMPS question****
>
> ****
>
> Dear All,****
>
> ****
>
> Is there anybody was able to set up RTMPS with self-signed certificate?***
> *
>
> Or maybe have clue for the issue described below?
>
> Thanks in advance :)****
>
> ---------- Forwarded message ----------
> From: *seba.wagner@gmail.com* <se...@gmail.com>
> Date: Wed, May 16, 2012 at 3:09 PM
> Subject: Re: RTMPS question
> To: Maxim Solodovnik <so...@gmail.com>
> Cc: openmeetings-dev@incubator.apache.org
>
>
> I have no SSL test environment currently. I did not run into this issue.
>
> I did only find the corresponding code that throws your issue in the red5
> sources:
>
> http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
>
> However there is no advice in the source how to resolve it.
>
> Maybe some other users have an idea that successfully run OpenMeetings via
> SSL, for example the people asking for the RTMPSClient feature in the
> Screensharing.
>
> Sebastian****
>
> ****
>
> 2012/5/16 Maxim Solodovnik <so...@gmail.com>****
>
> Hello Sebastian,****
>
> ****
>
> I'm currently trying to setup and test RTMPS for Screen sharing.****
>
> ****
>
> I perform all steps from instruction****
>
> But still unable to get RTMPS working****
>
> Here is extended log:****
>
> ****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](ssl...) processing the FINISHED state****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1*](SSL) is now secured*****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](SSL) processing the FINISHED state****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1]*(SSL) is now secured*****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Processing the SSL Data****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03
> 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](SSL) Processing the received message****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Processing the SSL Data****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter
> - Processing a MESSAGE_RECEIVED for session 1****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
> rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false,
> lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={},
> readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={},
> liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0]
> buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F
> 31 20 48 54 54...]****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - *Handshake init too
> small, buffering. remaining: 183*****
>
> [WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection -
> *Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
> out 3083 ), with id 1 due to long handshake*****
>
> ****
>
> ****
>
> As you can see SSL is secured (no issues)****
>
> but then I got:****
>
> "Handshake init too small, buffering. remaining: 183"****
>
> and****
>
> "Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
> out 3083 ), with id 1 due to long handshake"****
>
> ****
>
> ****
>
> ****
>
> I'm using self-signed certificate with fake CA (added both to the server
> and client)****
>
> ****
>
> client debug is:****
>
> "devRtmpConnection/registerMethods() ****
>
> error NetConnection.Connect.Failed rtmps://
> 192.168.72.105:5443/openmeetings/hibernate null false "****
>
> ****
>
> ****
>
> Can you help me with it?****
>
> ****
>
> --
> 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.wagner@gmail.com****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
> *Stephen Cottham
> *Group IT Manager (Associate)
>
> Robert Bird Group
> Level 5, 333 Ann St
> Brisbane, Queensland, 4000, Australia****
>
> *Phone: +6173 319 2777 (AUS)*****
>
> *Phone: +44207 592 8000 (UK)*****
>
> *Fax: +6173 319 2799*****
>
> ****
>
> *Mobile: +61400 756 963 (AUS)*****
>
> *Mobile: +447900 918 616 (UK)*****
>
> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>
> <http://www.robertbird.com.au/>
>
> This email and any attachments are confidential and may contain legally
> privileged information or copyright material. Unless expressly stated,
> confidentiality and/or legal privilege is not intended to be waived by the
> sending of this email. The contents of this email, including any
> attachments, are intended solely for the use of the individual or entity to
> whom they are addressed. If you are not an intended recipient, please
> contact us immediately by return email and then delete both messages. You
> may not otherwise read, forward, copy, use or disclose this email or any
> attachments. Any views expressed in this email are those of the individual
> sender except where the sender expressly, and with authority, states
> otherwise. It is your responsibility to check any attachments for viruses
> or defects before opening or sending them on. None of the sender or its
> related entities accepts any liability for any consequential damage
> resulting from this email containing computer viruses. ****
>
> ****
>
>
> Disclaimer added by *CodeTwo Exchange Rules*
> www.codetwo.com****
>
> ****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ****
>
> --
> 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.wagner@gmail.com****
>
>
>
> ****
>
> ****
>
> --
> 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.wagner@gmail.com****
>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ** **
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ** **
>
> --
> WBR
> Maxim aka solomax****
>
--
WBR
Maxim aka solomax
RE: Problem: Import process never completes
Posted by George Kirkham <gk...@co2crc.com.au>.
Hi,
Yes I had missed Maxim’s email where he said “Or while building from the sources run "ant -Ddb=mysql"”
Now it all makes sense.
Stephen, will you update your “Debian build” instructions for people, please ?
Thanks,
George Kirkham
From: George Kirkham [mailto:gkirkham@co2crc.com.au]
Sent: Friday, 18 May 2012 11:55 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: Problem: Import process never completes
Stephen, Maxim,
Thanks for the quick responses and your help.
I don’t understand why the “ant -Ddb=mysql” is now necessary? I have never needed this before, has something changed or have I missed something?
The good news is that the Import did work, including all the files that people had uploaded.
DEBUG 05-18 23:37:53.029 BackupImportController.java 84056 2525 org.openmeetings.servlet.outputhandler.BackupImportController [main] - sourceDirRec PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_23_37_04/recordingFiles
INFO 05-18 23:38:09.059 BackupImportController.java 100086 457 org.openmeetings.servlet.outputhandler.BackupImportController [main] - File explorer item import complete, clearing temp files
... Done
Thanks,
George Kirkham
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Friday, 18 May 2012 9:51 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: Problem: Import process never completes
George,
This was the issue maxim just mentioned.
Rebuild OM using this:
ant -Ddb=mysql
Cheers
From: George Kirkham [mailto:gkirkham@co2crc.com.au]
Sent: Friday, 18 May 2012 12:48 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: Problem: Import process never completes
Maxim,
Now I get another error message.
[ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open JPA EntityManager for transaction; nested exception is <openjpa-2.2.0-r422266:1244990 fatal general error> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v1.8.5) 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' initialized from an externally provided properties instance.
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 1.8.5
[INFO] [main] org.quartz.core.QuartzScheduler - JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@6e2c5444
[INFO] [main] org.springframework.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
[INFO] [main] org.springframework.scheduling.quartz.SchedulerFactoryBean - Starting Quartz Scheduler now
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED started.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutting down.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutdown complete.
[ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open JPA EntityManager for transaction; nested exception is <openjpa-2.2.0-r422266:1244990 fatal general error> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
root@chat:/usr/lib/red5#
When I attempt to install OpenMeetings manually via http://mydomain.com/openmeetings/install the following error is generated.
Caused by: org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
Thanks,
George Kirkham
IT Manager
Cooperative Research Centre For Greenhouse Gas Technologies (CO2CRC)
NFF House, 14 - 16 Brisbane Avenue, Barton, ACT, 2600, Australia
T: (02) 6120 1600
F: (02) 6273 7181
E: gkirkham@co2crc.com.au,
W: www.co2crc.com.au
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Friday, 18 May 2012 8:28 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
The issue seems to be fixed
please try revision 1340061
On Fri, May 18, 2012 at 3:42 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks for that report
I'll double check and try to fix ASAP
On Fri, May 18, 2012 at 3:40 PM, George Kirkham <gk...@co2crc.com.au> wrote:
Maxim,
I tried the “./admin.sh -i -file /usr/adm/compile/backup_18_05_2012_15_33_13.zip” command, but the following error happened and stopped the import process. It think there is a bug in the path code as indicated by the “openmeetingsupload” directory hightlighted in green below. This may be why the UI import fails to load the files?
import complete, starting members import
INFO 05-18 16:41:40.916 BackupImportController.java 35310 450 org.openmeetings.servlet.outputhandler.BackupImportController [main] - Members import complete, starting copy of files and folders
DEBUG 05-18 16:41:40.916 BackupImportController.java 35310 2443 org.openmeetings.servlet.outputhandler.BackupImportController [main] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_16_41_09/roomFiles
[ERROR] [main] org.openmeetings.cli.Admin - Restore failed /usr/lib/red5/webapps/openmeetingsupload/profiles/profile_44/_big_GeorgePhotoForSkype.jpg (No such file or directory)
The file “backup_18_05_2012_15_33_13.zip\roomFiles\profiles\profile_2\ _big_GeorgePhotoForSkype.jpg” exists in the backup file.
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Friday, 18 May 2012 11:52 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
Hello George,
The import is not checking anything, it just imports.
The only option right now to avoid user/group duplication is to use command line admin:
1) go to the folder OM is installed
2) stop OM
3) run "./admin.sh -b -file backup.zip" (admin.bat -b -file backup.zip) -- this will create backup file in the current folder
4) run "./admin.sh -i -file backup.zip"
you can check all options by running admin with -h option or without options.
On Fri, May 18, 2012 at 8:09 AM, George Kirkham <gk...@co2crc.com.au> wrote:
Sebastian,
The “System Import” does not error now, it completes correctly and the upload dialog closes as expected. However no files are imported from the backup.
As the Export feature has the ability to export with files, I had expected the import to also import the exported files?
Another issue for me to understand is that how the Export/Import feature should be used.
I have an issue of ending up with two admin accounts. My process is as follows: First back up with files the existing database. Then when I create a new server or when I upgrade OpenMeetings, in mysql I drop the database and recreate it, then I run the http://mydomain.com:5080/openmeetings/install process where I select not to create rooms, but this install process creates a new admin user account. Then when I import the OpenMeetings backup file, there are now two admin accounts. It does not matter if the admin account has the same userid and password or not. In the end I delete one. I would recommend that if the first account (i.e. the Administrator account) has the same userid and password as the first account in OpenMeetings, that the import process assumes these are the same and updates any blank fields from in the OpenMeetings account with non-blank fields from the import file. That is when you first run the install, you can leave all fields blank except for the mandatory fields like username, password and email, and then after the install has completed, as the first task, import your “exported” backup.
There is also the issue that the install process creates a “group”, and that if you create a group by the same name as that exists in the backup, you end up with two groups. It would be best if it import checks if the first group that it is importing with the existing group in OpenMeeings and then it does not add this group but skips it and then imports the proceeding groups. In this way rooms and group ids will all be correct ?
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 6:36 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
I've committed a fix that initialized the isAVClient variable as proposed during initialization of the RoomClient.
@George: Can you rerun your test with revision later then 1339514?
Thanks,
Sebastian
2012/5/17 seba.wagner@gmail.com <se...@gmail.com>
Hi Maxim,
change Boolean to boolean => That is not so easy.
The default value would be "false".
Every user has two RoomCLient objects (one time true and one time isAVClient = false) as we have two NetConnections open per user as soon as he enters the conference room (one NetConnection per SWF).
isAVClient is only true as soon as the user has choosen device settings and started to stream audio/video.
A user that has not yet choosen device settings has isAVClient=false and would be listed in the list of current users duplicated and will receive sync events.
If a user disconnects before he was able to choose device settings everybody else in the conference room will have duplicated messages in the activityList about "user leaving".
A user that has not yet choosen device settings will get every sync event duplicated (as he has two RoomClient object that both have isAVClient = false), for example about whiteboard sync events (while he does not need any of those)
What we could try is to pass a parameter directly in the connect method/constructor of the RTMP-Connection, so that the isAVClient is correctly initialized with either true or false.
Sebastian
2012/5/17 Maxim Solodovnik <so...@gmail.com>
I guess this is caused by RoomClient.getIsAVClient() == null
and ScopeApplicationAdapter expects "false"
Not sure how to resolve this
I guess we should change these Booolean to be boolean (just true or false)
On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <se...@gmail.com> wrote:
Quote from your log: *File explorer item import complete, clearing temp files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in the client UI could not be closed because the publicSID could not be found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into my test build of revision 1338946 using the UI, however the import never completes, it just stays on the screen showing that it is “converting document”. The log shows that Users and Rooms are imported successfully, but the process errors along the way. The error “Could not Find RoomClient on List publicSID” seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - sourceDirRec PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758 org.openmeetings.app.remote.red5.ScopeApplicationAdapter [http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID: c9f57fe7c52c63aec0aa7902a67bd29a
at org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [javaee-api-5.1.2.om.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) [red5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34 org.openmeetings.app.quartz.scheduler.MeetingReminderJob [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert – Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL" folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM -out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der -outform DER
wget http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
wget http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <St...@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the certificates module and import it that way, after importing via IE it can now use firefox too.
I’m just knocking up the steps I took to get it to work and will mail it back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root folder via the browser and it will now connect, so anyone using a self-signed cert will need to add this to all machines they plan on running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I’ve created the self-signed certificate, this is working fine in apache and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine, I’ll keep on trying to see what’s going wrong, not much from the logs etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root certificate):
http://www.tc.umn.edu/~brams006/selfsign.html <http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html <http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret -destkeystore keystore -destalias red5 -srckeystore certificate.pfx -srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings via SSL, for example the people asking for the RTMPSClient feature in the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake - rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={}, liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
RE: Problem: Import process never completes
Posted by George Kirkham <gk...@co2crc.com.au>.
Stephen, Maxim,
Thanks for the quick responses and your help.
I don’t understand why the “ant -Ddb=mysql” is now necessary? I have never needed this before, has something changed or have I missed something?
The good news is that the Import did work, including all the files that people had uploaded.
DEBUG 05-18 23:37:53.029 BackupImportController.java 84056 2525 org.openmeetings.servlet.outputhandler.BackupImportController [main] - sourceDirRec PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_23_37_04/recordingFiles
INFO 05-18 23:38:09.059 BackupImportController.java 100086 457 org.openmeetings.servlet.outputhandler.BackupImportController [main] - File explorer item import complete, clearing temp files
... Done
Thanks,
George Kirkham
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Friday, 18 May 2012 9:51 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: Problem: Import process never completes
George,
This was the issue maxim just mentioned.
Rebuild OM using this:
ant -Ddb=mysql
Cheers
From: George Kirkham [mailto:gkirkham@co2crc.com.au]
Sent: Friday, 18 May 2012 12:48 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: Problem: Import process never completes
Maxim,
Now I get another error message.
[ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open JPA EntityManager for transaction; nested exception is <openjpa-2.2.0-r422266:1244990 fatal general error> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v1.8.5) 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' initialized from an externally provided properties instance.
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 1.8.5
[INFO] [main] org.quartz.core.QuartzScheduler - JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@6e2c5444
[INFO] [main] org.springframework.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
[INFO] [main] org.springframework.scheduling.quartz.SchedulerFactoryBean - Starting Quartz Scheduler now
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED started.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutting down.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutdown complete.
[ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open JPA EntityManager for transaction; nested exception is <openjpa-2.2.0-r422266:1244990 fatal general error> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
root@chat:/usr/lib/red5#
When I attempt to install OpenMeetings manually via http://mydomain.com/openmeetings/install the following error is generated.
Caused by: org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
Thanks,
George Kirkham
IT Manager
Cooperative Research Centre For Greenhouse Gas Technologies (CO2CRC)
NFF House, 14 - 16 Brisbane Avenue, Barton, ACT, 2600, Australia
T: (02) 6120 1600
F: (02) 6273 7181
E: gkirkham@co2crc.com.au,
W: www.co2crc.com.au
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Friday, 18 May 2012 8:28 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
The issue seems to be fixed
please try revision 1340061
On Fri, May 18, 2012 at 3:42 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks for that report
I'll double check and try to fix ASAP
On Fri, May 18, 2012 at 3:40 PM, George Kirkham <gk...@co2crc.com.au> wrote:
Maxim,
I tried the “./admin.sh -i -file /usr/adm/compile/backup_18_05_2012_15_33_13.zip” command, but the following error happened and stopped the import process. It think there is a bug in the path code as indicated by the “openmeetingsupload” directory hightlighted in green below. This may be why the UI import fails to load the files?
import complete, starting members import
INFO 05-18 16:41:40.916 BackupImportController.java 35310 450 org.openmeetings.servlet.outputhandler.BackupImportController [main] - Members import complete, starting copy of files and folders
DEBUG 05-18 16:41:40.916 BackupImportController.java 35310 2443 org.openmeetings.servlet.outputhandler.BackupImportController [main] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_16_41_09/roomFiles
[ERROR] [main] org.openmeetings.cli.Admin - Restore failed /usr/lib/red5/webapps/openmeetingsupload/profiles/profile_44/_big_GeorgePhotoForSkype.jpg (No such file or directory)
The file “backup_18_05_2012_15_33_13.zip\roomFiles\profiles\profile_2\ _big_GeorgePhotoForSkype.jpg” exists in the backup file.
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Friday, 18 May 2012 11:52 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
Hello George,
The import is not checking anything, it just imports.
The only option right now to avoid user/group duplication is to use command line admin:
1) go to the folder OM is installed
2) stop OM
3) run "./admin.sh -b -file backup.zip" (admin.bat -b -file backup.zip) -- this will create backup file in the current folder
4) run "./admin.sh -i -file backup.zip"
you can check all options by running admin with -h option or without options.
On Fri, May 18, 2012 at 8:09 AM, George Kirkham <gk...@co2crc.com.au> wrote:
Sebastian,
The “System Import” does not error now, it completes correctly and the upload dialog closes as expected. However no files are imported from the backup.
As the Export feature has the ability to export with files, I had expected the import to also import the exported files?
Another issue for me to understand is that how the Export/Import feature should be used.
I have an issue of ending up with two admin accounts. My process is as follows: First back up with files the existing database. Then when I create a new server or when I upgrade OpenMeetings, in mysql I drop the database and recreate it, then I run the http://mydomain.com:5080/openmeetings/install process where I select not to create rooms, but this install process creates a new admin user account. Then when I import the OpenMeetings backup file, there are now two admin accounts. It does not matter if the admin account has the same userid and password or not. In the end I delete one. I would recommend that if the first account (i.e. the Administrator account) has the same userid and password as the first account in OpenMeetings, that the import process assumes these are the same and updates any blank fields from in the OpenMeetings account with non-blank fields from the import file. That is when you first run the install, you can leave all fields blank except for the mandatory fields like username, password and email, and then after the install has completed, as the first task, import your “exported” backup.
There is also the issue that the install process creates a “group”, and that if you create a group by the same name as that exists in the backup, you end up with two groups. It would be best if it import checks if the first group that it is importing with the existing group in OpenMeeings and then it does not add this group but skips it and then imports the proceeding groups. In this way rooms and group ids will all be correct ?
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 6:36 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
I've committed a fix that initialized the isAVClient variable as proposed during initialization of the RoomClient.
@George: Can you rerun your test with revision later then 1339514?
Thanks,
Sebastian
2012/5/17 seba.wagner@gmail.com <se...@gmail.com>
Hi Maxim,
change Boolean to boolean => That is not so easy.
The default value would be "false".
Every user has two RoomCLient objects (one time true and one time isAVClient = false) as we have two NetConnections open per user as soon as he enters the conference room (one NetConnection per SWF).
isAVClient is only true as soon as the user has choosen device settings and started to stream audio/video.
A user that has not yet choosen device settings has isAVClient=false and would be listed in the list of current users duplicated and will receive sync events.
If a user disconnects before he was able to choose device settings everybody else in the conference room will have duplicated messages in the activityList about "user leaving".
A user that has not yet choosen device settings will get every sync event duplicated (as he has two RoomClient object that both have isAVClient = false), for example about whiteboard sync events (while he does not need any of those)
What we could try is to pass a parameter directly in the connect method/constructor of the RTMP-Connection, so that the isAVClient is correctly initialized with either true or false.
Sebastian
2012/5/17 Maxim Solodovnik <so...@gmail.com>
I guess this is caused by RoomClient.getIsAVClient() == null
and ScopeApplicationAdapter expects "false"
Not sure how to resolve this
I guess we should change these Booolean to be boolean (just true or false)
On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <se...@gmail.com> wrote:
Quote from your log: *File explorer item import complete, clearing temp files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in the client UI could not be closed because the publicSID could not be found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into my test build of revision 1338946 using the UI, however the import never completes, it just stays on the screen showing that it is “converting document”. The log shows that Users and Rooms are imported successfully, but the process errors along the way. The error “Could not Find RoomClient on List publicSID” seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - sourceDirRec PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758 org.openmeetings.app.remote.red5.ScopeApplicationAdapter [http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID: c9f57fe7c52c63aec0aa7902a67bd29a
at org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [javaee-api-5.1.2.om.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) [red5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34 org.openmeetings.app.quartz.scheduler.MeetingReminderJob [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert – Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL" folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM -out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der -outform DER
wget http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
wget http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <St...@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the certificates module and import it that way, after importing via IE it can now use firefox too.
I’m just knocking up the steps I took to get it to work and will mail it back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root folder via the browser and it will now connect, so anyone using a self-signed cert will need to add this to all machines they plan on running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I’ve created the self-signed certificate, this is working fine in apache and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine, I’ll keep on trying to see what’s going wrong, not much from the logs etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root certificate):
http://www.tc.umn.edu/~brams006/selfsign.html <http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html <http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret -destkeystore keystore -destalias red5 -srckeystore certificate.pfx -srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings via SSL, for example the people asking for the RTMPSClient feature in the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake - rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={}, liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
RE: Problem: Import process never completes
Posted by Stephen Cottham <St...@robertbird.com.au>.
George,
This was the issue maxim just mentioned.
Rebuild OM using this:
ant -Ddb=mysql
Cheers
From: George Kirkham [mailto:gkirkham@co2crc.com.au]
Sent: Friday, 18 May 2012 12:48 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: Problem: Import process never completes
Maxim,
Now I get another error message.
[ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open JPA EntityManager for transaction; nested exception is <openjpa-2.2.0-r422266:1244990 fatal general error> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v1.8.5) 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' initialized from an externally provided properties instance.
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 1.8.5
[INFO] [main] org.quartz.core.QuartzScheduler - JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@6e2c5444
[INFO] [main] org.springframework.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
[INFO] [main] org.springframework.scheduling.quartz.SchedulerFactoryBean - Starting Quartz Scheduler now
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED started.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutting down.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutdown complete.
[ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open JPA EntityManager for transaction; nested exception is <openjpa-2.2.0-r422266:1244990 fatal general error> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
root@chat:/usr/lib/red5#
When I attempt to install OpenMeetings manually via http://mydomain.com/openmeetings/install the following error is generated.
Caused by: org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
Thanks,
George Kirkham
IT Manager
Cooperative Research Centre For Greenhouse Gas Technologies (CO2CRC)
NFF House, 14 - 16 Brisbane Avenue, Barton, ACT, 2600, Australia
T: (02) 6120 1600
F: (02) 6273 7181
E: gkirkham@co2crc.com.au,
W: www.co2crc.com.au
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Friday, 18 May 2012 8:28 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
The issue seems to be fixed
please try revision 1340061
On Fri, May 18, 2012 at 3:42 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks for that report
I'll double check and try to fix ASAP
On Fri, May 18, 2012 at 3:40 PM, George Kirkham <gk...@co2crc.com.au> wrote:
Maxim,
I tried the “./admin.sh -i -file /usr/adm/compile/backup_18_05_2012_15_33_13.zip” command, but the following error happened and stopped the import process. It think there is a bug in the path code as indicated by the “openmeetingsupload” directory hightlighted in green below. This may be why the UI import fails to load the files?
import complete, starting members import
INFO 05-18 16:41:40.916 BackupImportController.java 35310 450 org.openmeetings.servlet.outputhandler.BackupImportController [main] - Members import complete, starting copy of files and folders
DEBUG 05-18 16:41:40.916 BackupImportController.java 35310 2443 org.openmeetings.servlet.outputhandler.BackupImportController [main] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_16_41_09/roomFiles
[ERROR] [main] org.openmeetings.cli.Admin - Restore failed /usr/lib/red5/webapps/openmeetingsupload/profiles/profile_44/_big_GeorgePhotoForSkype.jpg (No such file or directory)
The file “backup_18_05_2012_15_33_13.zip\roomFiles\profiles\profile_2\ _big_GeorgePhotoForSkype.jpg” exists in the backup file.
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Friday, 18 May 2012 11:52 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
Hello George,
The import is not checking anything, it just imports.
The only option right now to avoid user/group duplication is to use command line admin:
1) go to the folder OM is installed
2) stop OM
3) run "./admin.sh -b -file backup.zip" (admin.bat -b -file backup.zip) -- this will create backup file in the current folder
4) run "./admin.sh -i -file backup.zip"
you can check all options by running admin with -h option or without options.
On Fri, May 18, 2012 at 8:09 AM, George Kirkham <gk...@co2crc.com.au> wrote:
Sebastian,
The “System Import” does not error now, it completes correctly and the upload dialog closes as expected. However no files are imported from the backup.
As the Export feature has the ability to export with files, I had expected the import to also import the exported files?
Another issue for me to understand is that how the Export/Import feature should be used.
I have an issue of ending up with two admin accounts. My process is as follows: First back up with files the existing database. Then when I create a new server or when I upgrade OpenMeetings, in mysql I drop the database and recreate it, then I run the http://mydomain.com:5080/openmeetings/install process where I select not to create rooms, but this install process creates a new admin user account. Then when I import the OpenMeetings backup file, there are now two admin accounts. It does not matter if the admin account has the same userid and password or not. In the end I delete one. I would recommend that if the first account (i.e. the Administrator account) has the same userid and password as the first account in OpenMeetings, that the import process assumes these are the same and updates any blank fields from in the OpenMeetings account with non-blank fields from the import file. That is when you first run the install, you can leave all fields blank except for the mandatory fields like username, password and email, and then after the install has completed, as the first task, import your “exported” backup.
There is also the issue that the install process creates a “group”, and that if you create a group by the same name as that exists in the backup, you end up with two groups. It would be best if it import checks if the first group that it is importing with the existing group in OpenMeeings and then it does not add this group but skips it and then imports the proceeding groups. In this way rooms and group ids will all be correct ?
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 6:36 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
I've committed a fix that initialized the isAVClient variable as proposed during initialization of the RoomClient.
@George: Can you rerun your test with revision later then 1339514?
Thanks,
Sebastian
2012/5/17 seba.wagner@gmail.com <se...@gmail.com>
Hi Maxim,
change Boolean to boolean => That is not so easy.
The default value would be "false".
Every user has two RoomCLient objects (one time true and one time isAVClient = false) as we have two NetConnections open per user as soon as he enters the conference room (one NetConnection per SWF).
isAVClient is only true as soon as the user has choosen device settings and started to stream audio/video.
A user that has not yet choosen device settings has isAVClient=false and would be listed in the list of current users duplicated and will receive sync events.
If a user disconnects before he was able to choose device settings everybody else in the conference room will have duplicated messages in the activityList about "user leaving".
A user that has not yet choosen device settings will get every sync event duplicated (as he has two RoomClient object that both have isAVClient = false), for example about whiteboard sync events (while he does not need any of those)
What we could try is to pass a parameter directly in the connect method/constructor of the RTMP-Connection, so that the isAVClient is correctly initialized with either true or false.
Sebastian
2012/5/17 Maxim Solodovnik <so...@gmail.com>
I guess this is caused by RoomClient.getIsAVClient() == null
and ScopeApplicationAdapter expects "false"
Not sure how to resolve this
I guess we should change these Booolean to be boolean (just true or false)
On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <se...@gmail.com> wrote:
Quote from your log: *File explorer item import complete, clearing temp files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in the client UI could not be closed because the publicSID could not be found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into my test build of revision 1338946 using the UI, however the import never completes, it just stays on the screen showing that it is “converting document”. The log shows that Users and Rooms are imported successfully, but the process errors along the way. The error “Could not Find RoomClient on List publicSID” seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - sourceDirRec PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758 org.openmeetings.app.remote.red5.ScopeApplicationAdapter [http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID: c9f57fe7c52c63aec0aa7902a67bd29a
at org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [javaee-api-5.1.2.om.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) [red5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34 org.openmeetings.app.quartz.scheduler.MeetingReminderJob [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert – Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
>From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL" folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM -out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der -outform DER
wget http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
wget http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <St...@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the certificates module and import it that way, after importing via IE it can now use firefox too.
I’m just knocking up the steps I took to get it to work and will mail it back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root folder via the browser and it will now connect, so anyone using a self-signed cert will need to add this to all machines they plan on running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I’ve created the self-signed certificate, this is working fine in apache and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine, I’ll keep on trying to see what’s going wrong, not much from the logs etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root certificate):
http://www.tc.umn.edu/~brams006/selfsign.html <http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html <http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret -destkeystore keystore -destalias red5 -srckeystore certificate.pfx -srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
http://www.codetwo.com
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings via SSL, for example the people asking for the RTMPSClient feature in the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake - rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={}, liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
RE: Problem: Import process never completes
Posted by George Kirkham <gk...@co2crc.com.au>.
Maxim,
Now I get another error message.
[ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open JPA EntityManager for transaction; nested exception is <openjpa-2.2.0-r422266:1244990 fatal general error> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v1.8.5) 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' initialized from an externally provided properties instance.
[INFO] [main] org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 1.8.5
[INFO] [main] org.quartz.core.QuartzScheduler - JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@6e2c5444
[INFO] [main] org.springframework.context.support.DefaultLifecycleProcessor - Starting beans in phase 2147483647
[INFO] [main] org.springframework.scheduling.quartz.SchedulerFactoryBean - Starting Quartz Scheduler now
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED started.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutting down.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
[INFO] [main] org.quartz.core.QuartzScheduler - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutdown complete.
[ERROR] [main] org.openmeetings.cli.Admin - Install failed Could not open JPA EntityManager for transaction; nested exception is <openjpa-2.2.0-r422266:1244990 fatal general error> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
root@chat:/usr/lib/red5#
When I attempt to install OpenMeetings manually via http://mydomain.com/openmeetings/install the following error is generated.
Caused by: org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
Thanks,
George Kirkham
IT Manager
Cooperative Research Centre For Greenhouse Gas Technologies (CO2CRC)
NFF House, 14 - 16 Brisbane Avenue, Barton, ACT, 2600, Australia
T: (02) 6120 1600
F: (02) 6273 7181
E: gkirkham@co2crc.com.au,
W: www.co2crc.com.au
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Friday, 18 May 2012 8:28 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
The issue seems to be fixed
please try revision 1340061
On Fri, May 18, 2012 at 3:42 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks for that report
I'll double check and try to fix ASAP
On Fri, May 18, 2012 at 3:40 PM, George Kirkham <gk...@co2crc.com.au> wrote:
Maxim,
I tried the “./admin.sh -i -file /usr/adm/compile/backup_18_05_2012_15_33_13.zip” command, but the following error happened and stopped the import process. It think there is a bug in the path code as indicated by the “openmeetingsupload” directory hightlighted in green below. This may be why the UI import fails to load the files?
import complete, starting members import
INFO 05-18 16:41:40.916 BackupImportController.java 35310 450 org.openmeetings.servlet.outputhandler.BackupImportController [main] - Members import complete, starting copy of files and folders
DEBUG 05-18 16:41:40.916 BackupImportController.java 35310 2443 org.openmeetings.servlet.outputhandler.BackupImportController [main] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_16_41_09/roomFiles
[ERROR] [main] org.openmeetings.cli.Admin - Restore failed /usr/lib/red5/webapps/openmeetingsupload/profiles/profile_44/_big_GeorgePhotoForSkype.jpg (No such file or directory)
The file “backup_18_05_2012_15_33_13.zip\roomFiles\profiles\profile_2\ _big_GeorgePhotoForSkype.jpg” exists in the backup file.
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Friday, 18 May 2012 11:52 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
Hello George,
The import is not checking anything, it just imports.
The only option right now to avoid user/group duplication is to use command line admin:
1) go to the folder OM is installed
2) stop OM
3) run "./admin.sh -b -file backup.zip" (admin.bat -b -file backup.zip) -- this will create backup file in the current folder
4) run "./admin.sh -i -file backup.zip"
you can check all options by running admin with -h option or without options.
On Fri, May 18, 2012 at 8:09 AM, George Kirkham <gk...@co2crc.com.au> wrote:
Sebastian,
The “System Import” does not error now, it completes correctly and the upload dialog closes as expected. However no files are imported from the backup.
As the Export feature has the ability to export with files, I had expected the import to also import the exported files?
Another issue for me to understand is that how the Export/Import feature should be used.
I have an issue of ending up with two admin accounts. My process is as follows: First back up with files the existing database. Then when I create a new server or when I upgrade OpenMeetings, in mysql I drop the database and recreate it, then I run the http://mydomain.com:5080/openmeetings/install process where I select not to create rooms, but this install process creates a new admin user account. Then when I import the OpenMeetings backup file, there are now two admin accounts. It does not matter if the admin account has the same userid and password or not. In the end I delete one. I would recommend that if the first account (i.e. the Administrator account) has the same userid and password as the first account in OpenMeetings, that the import process assumes these are the same and updates any blank fields from in the OpenMeetings account with non-blank fields from the import file. That is when you first run the install, you can leave all fields blank except for the mandatory fields like username, password and email, and then after the install has completed, as the first task, import your “exported” backup.
There is also the issue that the install process creates a “group”, and that if you create a group by the same name as that exists in the backup, you end up with two groups. It would be best if it import checks if the first group that it is importing with the existing group in OpenMeeings and then it does not add this group but skips it and then imports the proceeding groups. In this way rooms and group ids will all be correct ?
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 6:36 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
I've committed a fix that initialized the isAVClient variable as proposed during initialization of the RoomClient.
@George: Can you rerun your test with revision later then 1339514?
Thanks,
Sebastian
2012/5/17 seba.wagner@gmail.com <se...@gmail.com>
Hi Maxim,
change Boolean to boolean => That is not so easy.
The default value would be "false".
Every user has two RoomCLient objects (one time true and one time isAVClient = false) as we have two NetConnections open per user as soon as he enters the conference room (one NetConnection per SWF).
isAVClient is only true as soon as the user has choosen device settings and started to stream audio/video.
A user that has not yet choosen device settings has isAVClient=false and would be listed in the list of current users duplicated and will receive sync events.
If a user disconnects before he was able to choose device settings everybody else in the conference room will have duplicated messages in the activityList about "user leaving".
A user that has not yet choosen device settings will get every sync event duplicated (as he has two RoomClient object that both have isAVClient = false), for example about whiteboard sync events (while he does not need any of those)
What we could try is to pass a parameter directly in the connect method/constructor of the RTMP-Connection, so that the isAVClient is correctly initialized with either true or false.
Sebastian
2012/5/17 Maxim Solodovnik <so...@gmail.com>
I guess this is caused by RoomClient.getIsAVClient() == null
and ScopeApplicationAdapter expects "false"
Not sure how to resolve this
I guess we should change these Booolean to be boolean (just true or false)
On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <se...@gmail.com> wrote:
Quote from your log: *File explorer item import complete, clearing temp files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in the client UI could not be closed because the publicSID could not be found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into my test build of revision 1338946 using the UI, however the import never completes, it just stays on the screen showing that it is “converting document”. The log shows that Users and Rooms are imported successfully, but the process errors along the way. The error “Could not Find RoomClient on List publicSID” seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - sourceDirRec PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758 org.openmeetings.app.remote.red5.ScopeApplicationAdapter [http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID: c9f57fe7c52c63aec0aa7902a67bd29a
at org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [javaee-api-5.1.2.om.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) [red5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34 org.openmeetings.app.quartz.scheduler.MeetingReminderJob [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert – Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL" folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM -out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der -outform DER
wget http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
wget http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <St...@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the certificates module and import it that way, after importing via IE it can now use firefox too.
I’m just knocking up the steps I took to get it to work and will mail it back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root folder via the browser and it will now connect, so anyone using a self-signed cert will need to add this to all machines they plan on running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I’ve created the self-signed certificate, this is working fine in apache and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine, I’ll keep on trying to see what’s going wrong, not much from the logs etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root certificate):
http://www.tc.umn.edu/~brams006/selfsign.html <http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html <http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret -destkeystore keystore -destalias red5 -srckeystore certificate.pfx -srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings via SSL, for example the people asking for the RTMPSClient feature in the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake - rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={}, liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
Re: Problem: Import process never completes
Posted by Maxim Solodovnik <so...@gmail.com>.
The issue seems to be fixed
please try revision 1340061
On Fri, May 18, 2012 at 3:42 PM, Maxim Solodovnik <so...@gmail.com>wrote:
> Thanks for that report
> I'll double check and try to fix ASAP
>
>
> On Fri, May 18, 2012 at 3:40 PM, George Kirkham <gk...@co2crc.com.au>wrote:
>
>> Maxim,****
>>
>> ** **
>>
>> I tried the “./admin.sh -i -file
>> /usr/adm/compile/backup_18_05_2012_15_33_13.zip” command, but the following
>> error happened and stopped the import process. It think there is a bug in
>> the path code as indicated by the “openmeetingsupload” directory
>> hightlighted in green below. This may be why the UI import fails to load
>> the files?****
>>
>> ** **
>>
>> import complete, starting members import****
>>
>> INFO 05-18 16:41:40.916 BackupImportController.java 35310 450
>> org.openmeetings.servlet.outputhandler.BackupImportController [main] -
>> Members import complete, starting copy of files and folders****
>>
>> DEBUG 05-18 16:41:40.916 BackupImportController.java 35310 2443
>> org.openmeetings.servlet.outputhandler.BackupImportController [main] -
>> roomFilesFolder PATH
>> /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_16_41_09/roomFiles
>> ****
>>
>> [ERROR] [main] org.openmeetings.cli.Admin - Restore failed
>> /usr/lib/red5/webapps/openmeetingsupload/profiles/profile_44/_big_GeorgePhotoForSkype.jpg
>> (No such file or directory)****
>>
>> ** **
>>
>> The file “backup_18_05_2012_15_33_13.zip\roomFiles\profiles\profile_2\ _big_GeorgePhotoForSkype.jpg”
>> exists in the backup file.****
>>
>> Thanks,****
>>
>> ** **
>>
>> George Kirkham****
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>> *Sent:* Friday, 18 May 2012 11:52 AM
>> *To:* openmeetings-user@incubator.apache.org
>>
>> *Subject:* Re: Problem: Import process never completes****
>>
>> ** **
>>
>> Hello George,****
>>
>> ** **
>>
>> The import is not checking anything, it just imports.****
>>
>> The only option right now to avoid user/group duplication is to use
>> command line admin:****
>>
>> ** **
>>
>> 1) go to the folder OM is installed****
>>
>> 2) stop OM****
>>
>> 3) run "./admin.sh -b -file backup.zip" (admin.bat -b -file backup.zip)
>> -- this will create backup file in the current folder****
>>
>> 4) run "./admin.sh -i -file backup.zip"****
>>
>> ** **
>>
>> you can check all options by running admin with -h option or without
>> options.****
>>
>> ** **
>>
>> On Fri, May 18, 2012 at 8:09 AM, George Kirkham <gk...@co2crc.com.au>
>> wrote:****
>>
>> Sebastian,****
>>
>> ****
>>
>> The “System Import” does not error now, it completes correctly and the
>> upload dialog closes as expected. However no files are imported from the
>> backup.****
>>
>> ****
>>
>> As the Export feature has the ability to export with files, I had
>> expected the import to also import the exported files?****
>>
>> ****
>>
>> Another issue for me to understand is that how the Export/Import feature
>> should be used.****
>>
>> ****
>>
>> I have an issue of ending up with two admin accounts. My process is as
>> follows: First back up with files the existing database. Then when I create
>> a new server or when I upgrade OpenMeetings, in mysql I drop the database
>> and recreate it, then I run the
>> http://mydomain.com:5080/openmeetings/install process where I select not
>> to create rooms, but this install process creates a new admin user
>> account. Then when I import the OpenMeetings backup file, there are now
>> two admin accounts. It does not matter if the admin account has the same
>> userid and password or not. In the end I delete one. I would recommend
>> that if the first account (i.e. the Administrator account) has the same
>> userid and password as the first account in OpenMeetings, that the import
>> process assumes these are the same and updates any blank fields from in the
>> OpenMeetings account with non-blank fields from the import file. That is
>> when you first run the install, you can leave all fields blank except for
>> the mandatory fields like username, password and email, and then after the
>> install has completed, as the first task, import your “exported” backup.*
>> ***
>>
>> ****
>>
>> ****
>>
>> There is also the issue that the install process creates a “group”, and
>> that if you create a group by the same name as that exists in the backup,
>> you end up with two groups. It would be best if it import checks if the
>> first group that it is importing with the existing group in OpenMeeings and
>> then it does not add this group but skips it and then imports the
>> proceeding groups. In this way rooms and group ids will all be correct ?
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> Thanks,****
>>
>> ****
>>
>> George Kirkham****
>>
>> ****
>>
>> ****
>>
>> *From:* seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
>> *Sent:* Thursday, 17 May 2012 6:36 PM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Re: Problem: Import process never completes****
>>
>> ****
>>
>> I've committed a fix that initialized the isAVClient variable as proposed
>> during initialization of the RoomClient.
>>
>> @George: Can you rerun your test with revision later then 1339514?
>>
>> Thanks,
>> Sebastian****
>>
>> 2012/5/17 seba.wagner@gmail.com <se...@gmail.com>****
>>
>> Hi Maxim,
>>
>> change Boolean to boolean => That is not so easy.
>>
>> The default value would be "false".
>> Every user has two RoomCLient objects (one time true and one time
>> isAVClient = false) as we have two NetConnections open per user as soon as
>> he enters the conference room (one NetConnection per SWF).
>> isAVClient is only true as soon as the user has choosen device settings
>> and started to stream audio/video.
>>
>> A user that has not yet choosen device settings has isAVClient=false and
>> would be listed in the list of current users duplicated and will receive
>> sync events.
>> If a user disconnects before he was able to choose device settings
>> everybody else in the conference room will have duplicated messages in the
>> activityList about "user leaving".
>> A user that has not yet choosen device settings will get every sync event
>> duplicated (as he has two RoomClient object that both have isAVClient =
>> false), for example about whiteboard sync events (while he does not need
>> any of those)
>>
>> What we could try is to pass a parameter directly in the connect
>> method/constructor of the RTMP-Connection, so that the isAVClient is
>> correctly initialized with either true or false.
>>
>> Sebastian****
>>
>> ****
>>
>> 2012/5/17 Maxim Solodovnik <so...@gmail.com>****
>>
>> I guess this is caused by RoomClient.getIsAVClient() == null ****
>>
>> and ScopeApplicationAdapter expects "false"****
>>
>> Not sure how to resolve this****
>>
>> ****
>>
>> I guess we should change these Booolean to be boolean (just true or false)
>> ****
>>
>> ****
>>
>> On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <
>> seba.wagner@gmail.com> wrote:****
>>
>> Quote from your log: *File explorer item import complete, clearing temp
>> files*
>> That means
>>
>> That means the import is actually complete and should be okay.
>> Your exception just means that the method to close the upload window in
>> the client UI could not be closed because the publicSID could not be found
>> in the server session to send the "import-complete" event.
>>
>> Sebastian****
>>
>> ****
>>
>> 2012/5/17 George Kirkham <gk...@co2crc.com.au>****
>>
>> Hi,****
>>
>> ****
>>
>> I attempted to import a full back up of our production environment into
>> my test build of revision 1338946 using the UI, however the import never
>> completes, it just stays on the screen showing that it is “converting
>> document”. The log shows that Users and Rooms are imported successfully,
>> but the process errors along the way. The error “Could not Find
>> RoomClient on List publicSID” seems to crash the import process.****
>>
>> ****
>>
>> I the max_upload_size variable is working well now, thanks for that fix.*
>> ***
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> /usr/lib/red5/log/0.0.0.0_access.2012-05-16.log****
>>
>> ****
>>
>> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
>> /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
>> HTTP/1.1" 200 524****
>>
>> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
>> /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
>> HTTP/1.1" 200 843****
>>
>> 192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80
>> HTTP/1.1" 200 2494623****
>>
>> 192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
>> /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016
>> HTTP/1.1" 200 525****
>>
>> 192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
>> /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
>> ****
>>
>> 192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
>> HTTP/1.1" 200 9144320****
>>
>> 192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
>> HTTP/1.1" 200 2608481****
>>
>> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
>> /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80
>> HTTP/1.1" 200 1682****
>>
>> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/
>> DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80
>> HTTP/1.1" 200 1682****
>>
>> 192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/
>> backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a
>> HTTP/1.1" 200 -****
>>
>> ****
>>
>> <NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
>> point onward>****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> /usr/lib/red5/log/openmeetings.log****
>>
>> ****
>>
>> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
>> org.openmeetings.servlet.outputhandler.BackupImportController
>> [http-0.0.0.0-5080-6] - roomFilesFolder PATH
>> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
>> ****
>>
>> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
>> org.openmeetings.servlet.outputhandler.BackupImportController
>> [http-0.0.0.0-5080-6] - sourceDirRec PATH
>> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
>> ****
>>
>> INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
>> org.openmeetings.servlet.outputhandler.BackupImportController
>> [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp
>> files****
>>
>> ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
>> org.openmeetings.app.remote.red5.ScopeApplicationAdapter
>> [http-0.0.0.0-5080-6] - [sendMessageWithClient] ****
>>
>> java.lang.Exception: Could not Find RoomClient on List publicSID:
>> c9f57fe7c52c63aec0aa7902a67bd29a****
>>
>> at
>> org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707)
>> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>
>> at
>> org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481)
>> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> ~[na:1.6.0_26]****
>>
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> ~[na:1.6.0_26]****
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> ~[na:1.6.0_26]****
>>
>> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
>> ****
>>
>> at
>> org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
>> [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>> [javaee-api-5.1.2.om.jar:na]****
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>> [javaee-api-5.1.2.om.jar:na]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53)
>> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
>> [red5.jar:na]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>
>> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]****
>>
>> DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
>> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
>> MeetingReminderJob.execute****
>>
>> DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
>> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
>> startStamp 2012-05-16 20:30:47.237****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> Thanks,****
>>
>> ****
>>
>> George Kirkham****
>>
>> ****
>>
>> ****
>>
>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>> *Sent:* Wednesday, 16 May 2012 11:03 PM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Re: RTMPS question****
>>
>> ****
>>
>> Sebastian****
>>
>> ****
>>
>> RTMPSClient rev. 4315 seems to be non functional****
>>
>> Should I proceed with update to the later revision of Red5?****
>>
>> ****
>>
>> please NOTE Red5 structure is changed so our build process need to be
>> modified accordingly.****
>>
>> (They seems to change some libs + separate server and client)****
>>
>> ****
>>
>> ****
>>
>> On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
>> wrote:****
>>
>> Thanks a lot Stephen,****
>>
>> ****
>>
>> I've wasted 2 hours fighting with this bug :(****
>>
>> My configuration works as expected in FF.****
>>
>> This is second time I fight with this Chome issue :(****
>>
>> ****
>>
>> ****
>>
>> On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
>> Stephen.Cottham@robertbird.com.au> wrote:****
>>
>> Interesting:****
>>
>> ****
>>
>> http://code.google.com/p/chromium/issues/detail?id=80749****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>> *Sent:* Wednesday, 16 May 2012 12:02 PM****
>>
>>
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* RE: RTMPS question****
>>
>> ****
>>
>> Hey Maxim,****
>>
>> ****
>>
>> Self-Signed and trusted Certs work in IE and FF, neither of them work on
>> Chrome for RTMPS.****
>>
>> ****
>>
>> Cheers****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>> *Sent:* Wednesday, 16 May 2012 11:50 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* RE: RTMPS question****
>>
>> ****
>>
>> Sure will check that out now.****
>>
>> ****
>>
>> In the meantime these are the steps that worked for me:****
>>
>> ****
>>
>> *Created SelfCert – Numerous ways to do this but this worked for me:*****
>>
>> ****
>>
>> Download IIS 6.0 Resource Kit Tools****
>>
>> Install the resource kit ****
>>
>> Created a new dummy website in IIS with ID 13456****
>>
>> From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
>> folder and select "SelfSSL".****
>>
>> Issued command *selfssl.exe /N:cn=om.yourdomain.com /S: 13456*****
>>
>> Then go back to IIS and export the newly created SSL certificate as a PFX
>> file.****
>>
>> ****
>>
>> *Convert PFX into component Cert and Key:*****
>>
>> ****
>>
>> Copy the PFX file to the Open Meeting Server into /usr/adm/cert then
>> issue the following:****
>>
>> ****
>>
>> *openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
>> om.yourdomain.com.keytmp.pem*****
>>
>> *openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
>> om.yourdomain.com.cert.pem*****
>>
>> *openssl rsa -in om.yourdomain.com.keytmp.pem -out
>> om.robertbird.com.key.pem*****
>>
>> ****
>>
>> *Convert PEM files to DER and import into Keystore:*****
>>
>> ****
>>
>> *openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
>> -out key.der -outform DER*****
>>
>> *openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
>> -outform DER*****
>>
>> *wget
>> http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
>> *****
>>
>> *wget
>> http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
>> *****
>>
>> *java ImportKey key.der cert.der*****
>>
>> ****
>>
>> now move it to the conf folder****
>>
>> ****
>>
>> *mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore*****
>>
>> * *****
>>
>> Then import the certificate thru IE and put it into the trusted Root
>> folder, restart and it should be good.****
>>
>> ****
>>
>> Cheers****
>>
>> ****
>>
>> ****
>>
>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>> *Sent:* Wednesday, 16 May 2012 11:44 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* RE: RTMPS question****
>>
>> ****
>>
>> Can you check if it works in Chrome?
>> It seems I was fighting Chrome only.
>> Will check FF later today****
>>
>> On May 16, 2012 5:39 PM, "Stephen Cottham" <
>> Stephen.Cottham@robertbird.com.au> wrote:****
>>
>> I installed it via IE but you can open MMC and then load the certificates
>> module and import it that way, after importing via IE it can now use
>> firefox too.****
>>
>> ****
>>
>> I’m just knocking up the steps I took to get it to work and will mail it
>> back, give us like 10 mins.****
>>
>> ****
>>
>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>> *Sent:* Wednesday, 16 May 2012 11:34 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Re: RTMPS question****
>>
>> ****
>>
>> what browser are you using?****
>>
>> On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
>> Stephen.Cottham@robertbird.com.au> wrote:****
>>
>> Hey Maxim,****
>>
>> ****
>>
>> I got that to work now, I added the Certificate into my trusted Root
>> folder via the browser and it will now connect, so anyone using a
>> self-signed cert will need to add this to all machines they plan on running
>> it with otherwise RMTPS will fail.****
>>
>> ****
>>
>> Cheers****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>> *Sent:* Wednesday, 16 May 2012 11:26 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* RE: RTMPS question****
>>
>> ****
>>
>> Hey Maxim,****
>>
>> ****
>>
>> I’ve created the self-signed certificate, this is working fine in apache
>> and the install process (HTTPS) but fails on RTMPS only.****
>>
>> ****
>>
>> All I get from my logs is the following:****
>>
>> ****
>>
>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>> Exception caught Connection reset by peer****
>>
>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>> Exception caught Broken pipe****
>>
>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>> Exception caught null****
>>
>> ****
>>
>> And ****
>>
>> ****
>>
>> [WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection
>> - Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out
>> 639 ), with id 3 due to long handshake****
>>
>> ****
>>
>> Just to check I put the authorised cert back in and it connects fine,
>> I’ll keep on trying to see what’s going wrong, not much from the logs etc..
>> unfortunately.****
>>
>> ****
>>
>> ****
>>
>> Cheers****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>> *Sent:* Wednesday, 16 May 2012 9:38 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Re: RTMPS question****
>>
>> ****
>>
>> Thanks Stephen,****
>>
>> ****
>>
>> I did use these steps to create certificates (the option with root
>> certificate):****
>>
>> http://www.tc.umn.edu/~brams006/selfsign.html****
>>
>> http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html****
>>
>> ****
>>
>> ****
>>
>> and these 2 commands to convert server certificate to the keystore:****
>>
>> ****
>>
>> openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
>> server.crt -certfile ca.crt****
>>
>> ****
>>
>> keytool -importkeystore -deststorepass secret -destkeypass secret
>> -destkeystore keystore -destalias red5 -srckeystore certificate.pfx
>> -srcstoretype PKCS12 -srcstorepass password -srcalias 1****
>>
>> ****
>>
>> not sure if it helps, since it not completely working.****
>>
>> ****
>>
>> p.s. the certificate generated works well for Apache web server.****
>>
>> ****
>>
>> ****
>>
>> On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
>> Stephen.Cottham@robertbird.com.au> wrote:****
>>
>> Hi Maxim,****
>>
>> ****
>>
>> I have SSL running fine with a legit certificate, at some point today I
>> can create a self-signed and test this for you.****
>>
>> ****
>>
>> Best Regards****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>> *Sent:* Wednesday, 16 May 2012 9:24 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Fwd: RTMPS question****
>>
>> ****
>>
>> Dear All,****
>>
>> ****
>>
>> Is there anybody was able to set up RTMPS with self-signed certificate?**
>> **
>>
>> Or maybe have clue for the issue described below?
>>
>> Thanks in advance :)****
>>
>> ---------- Forwarded message ----------
>> From: *seba.wagner@gmail.com* <se...@gmail.com>
>> Date: Wed, May 16, 2012 at 3:09 PM
>> Subject: Re: RTMPS question
>> To: Maxim Solodovnik <so...@gmail.com>
>> Cc: openmeetings-dev@incubator.apache.org
>>
>>
>> I have no SSL test environment currently. I did not run into this issue.
>>
>> I did only find the corresponding code that throws your issue in the red5
>> sources:
>>
>> http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
>>
>> However there is no advice in the source how to resolve it.
>>
>> Maybe some other users have an idea that successfully run OpenMeetings
>> via SSL, for example the people asking for the RTMPSClient feature in the
>> Screensharing.
>>
>> Sebastian****
>>
>> ****
>>
>> 2012/5/16 Maxim Solodovnik <so...@gmail.com>****
>>
>> Hello Sebastian,****
>>
>> ****
>>
>> I'm currently trying to setup and test RTMPS for Screen sharing.****
>>
>> ****
>>
>> I perform all steps from instruction****
>>
>> But still unable to get RTMPS working****
>>
>> Here is extended log:****
>>
>> ****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
>> Server[1](ssl...) processing the FINISHED state****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
>> Server[1*](SSL) is now secured*****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
>> Server[1](SSL) processing the FINISHED state****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
>> Server[1]*(SSL) is now secured*****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
>> Server[1](SSL): Processing the SSL Data****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
>> Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03
>> 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
>> Server[1](SSL) Processing the received message****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
>> Server[1](SSL): Processing the SSL Data****
>>
>> [DEBUG] [NioProcessor-18]
>> org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a
>> MESSAGE_RECEIVED for session 1****
>>
>> [DEBUG] [NioProcessor-18]
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0****
>>
>> [DEBUG] [NioProcessor-18]
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
>> rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false,
>> lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={},
>> readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={},
>> liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0]
>> buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F
>> 31 20 48 54 54...]****
>>
>> [DEBUG] [NioProcessor-18]
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - *Handshake init too
>> small, buffering. remaining: 183*****
>>
>> [WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection
>> - *Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in:
>> 931 out 3083 ), with id 1 due to long handshake*****
>>
>> ****
>>
>> ****
>>
>> As you can see SSL is secured (no issues)****
>>
>> but then I got:****
>>
>> "Handshake init too small, buffering. remaining: 183"****
>>
>> and****
>>
>> "Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
>> out 3083 ), with id 1 due to long handshake"****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> I'm using self-signed certificate with fake CA (added both to the server
>> and client)****
>>
>> ****
>>
>> client debug is:****
>>
>> "devRtmpConnection/registerMethods() ****
>>
>> error NetConnection.Connect.Failed rtmps://
>> 192.168.72.105:5443/openmeetings/hibernate null false "****
>>
>> ****
>>
>> ****
>>
>> Can you help me with it?****
>>
>> ****
>>
>> --
>> 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.wagner@gmail.com****
>>
>>
>>
>> ****
>>
>> ****
>>
>> --
>> WBR
>> Maxim aka solomax****
>>
>> *Stephen Cottham
>> *Group IT Manager (Associate)
>>
>> Robert Bird Group
>> Level 5, 333 Ann St
>> Brisbane, Queensland, 4000, Australia****
>>
>> *Phone: +6173 319 2777 (AUS)*****
>>
>> *Phone: +44207 592 8000 (UK)*****
>>
>> *Fax: +6173 319 2799*****
>>
>> ****
>>
>> *Mobile: +61400 756 963 (AUS)*****
>>
>> *Mobile: +447900 918 616 (UK)*****
>>
>> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>>
>> <http://www.robertbird.com.au/>
>>
>> This email and any attachments are confidential and may contain legally
>> privileged information or copyright material. Unless expressly stated,
>> confidentiality and/or legal privilege is not intended to be waived by the
>> sending of this email. The contents of this email, including any
>> attachments, are intended solely for the use of the individual or entity to
>> whom they are addressed. If you are not an intended recipient, please
>> contact us immediately by return email and then delete both messages. You
>> may not otherwise read, forward, copy, use or disclose this email or any
>> attachments. Any views expressed in this email are those of the individual
>> sender except where the sender expressly, and with authority, states
>> otherwise. It is your responsibility to check any attachments for viruses
>> or defects before opening or sending them on. None of the sender or its
>> related entities accepts any liability for any consequential damage
>> resulting from this email containing computer viruses. ****
>>
>> ****
>>
>>
>> Disclaimer added by *CodeTwo Exchange Rules*
>> www.codetwo.com****
>>
>> ****
>>
>>
>>
>> ****
>>
>> ****
>>
>> --
>> WBR
>> Maxim aka solomax****
>>
>>
>>
>> ****
>>
>> ****
>>
>> --
>> WBR
>> Maxim aka solomax****
>>
>>
>>
>> ****
>>
>> ****
>>
>> --
>> WBR
>> Maxim aka solomax****
>>
>>
>>
>> ****
>>
>> ****
>>
>> --
>> 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.wagner@gmail.com****
>>
>>
>>
>> ****
>>
>> ****
>>
>> --
>> 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.wagner@gmail.com****
>>
>>
>>
>>
>> --
>> Sebastian Wagner
>> https://twitter.com/#!/dead_lock
>> http://www.openmeetings.de
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> seba.wagner@gmail.com****
>>
>>
>>
>> ****
>>
>> ** **
>>
>> --
>> WBR
>> Maxim aka solomax****
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>
--
WBR
Maxim aka solomax
Re: Problem: Import process never completes
Posted by Maxim Solodovnik <so...@gmail.com>.
Thanks for that report
I'll double check and try to fix ASAP
On Fri, May 18, 2012 at 3:40 PM, George Kirkham <gk...@co2crc.com.au>wrote:
> Maxim,****
>
> ** **
>
> I tried the “./admin.sh -i -file
> /usr/adm/compile/backup_18_05_2012_15_33_13.zip” command, but the following
> error happened and stopped the import process. It think there is a bug in
> the path code as indicated by the “openmeetingsupload” directory
> hightlighted in green below. This may be why the UI import fails to load
> the files?****
>
> ** **
>
> import complete, starting members import****
>
> INFO 05-18 16:41:40.916 BackupImportController.java 35310 450
> org.openmeetings.servlet.outputhandler.BackupImportController [main] -
> Members import complete, starting copy of files and folders****
>
> DEBUG 05-18 16:41:40.916 BackupImportController.java 35310 2443
> org.openmeetings.servlet.outputhandler.BackupImportController [main] -
> roomFilesFolder PATH
> /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_16_41_09/roomFiles
> ****
>
> [ERROR] [main] org.openmeetings.cli.Admin - Restore failed
> /usr/lib/red5/webapps/openmeetingsupload/profiles/profile_44/_big_GeorgePhotoForSkype.jpg
> (No such file or directory)****
>
> ** **
>
> The file “backup_18_05_2012_15_33_13.zip\roomFiles\profiles\profile_2\ _big_GeorgePhotoForSkype.jpg”
> exists in the backup file.****
>
> Thanks,****
>
> ** **
>
> George Kirkham****
>
> ** **
>
> ** **
>
> ** **
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Friday, 18 May 2012 11:52 AM
> *To:* openmeetings-user@incubator.apache.org
>
> *Subject:* Re: Problem: Import process never completes****
>
> ** **
>
> Hello George,****
>
> ** **
>
> The import is not checking anything, it just imports.****
>
> The only option right now to avoid user/group duplication is to use
> command line admin:****
>
> ** **
>
> 1) go to the folder OM is installed****
>
> 2) stop OM****
>
> 3) run "./admin.sh -b -file backup.zip" (admin.bat -b -file backup.zip)
> -- this will create backup file in the current folder****
>
> 4) run "./admin.sh -i -file backup.zip"****
>
> ** **
>
> you can check all options by running admin with -h option or without
> options.****
>
> ** **
>
> On Fri, May 18, 2012 at 8:09 AM, George Kirkham <gk...@co2crc.com.au>
> wrote:****
>
> Sebastian,****
>
> ****
>
> The “System Import” does not error now, it completes correctly and the
> upload dialog closes as expected. However no files are imported from the
> backup.****
>
> ****
>
> As the Export feature has the ability to export with files, I had expected
> the import to also import the exported files?****
>
> ****
>
> Another issue for me to understand is that how the Export/Import feature
> should be used.****
>
> ****
>
> I have an issue of ending up with two admin accounts. My process is as
> follows: First back up with files the existing database. Then when I create
> a new server or when I upgrade OpenMeetings, in mysql I drop the database
> and recreate it, then I run the
> http://mydomain.com:5080/openmeetings/install process where I select not
> to create rooms, but this install process creates a new admin user
> account. Then when I import the OpenMeetings backup file, there are now
> two admin accounts. It does not matter if the admin account has the same
> userid and password or not. In the end I delete one. I would recommend
> that if the first account (i.e. the Administrator account) has the same
> userid and password as the first account in OpenMeetings, that the import
> process assumes these are the same and updates any blank fields from in the
> OpenMeetings account with non-blank fields from the import file. That is
> when you first run the install, you can leave all fields blank except for
> the mandatory fields like username, password and email, and then after the
> install has completed, as the first task, import your “exported” backup.**
> **
>
> ****
>
> ****
>
> There is also the issue that the install process creates a “group”, and
> that if you create a group by the same name as that exists in the backup,
> you end up with two groups. It would be best if it import checks if the
> first group that it is importing with the existing group in OpenMeeings and
> then it does not add this group but skips it and then imports the
> proceeding groups. In this way rooms and group ids will all be correct ?*
> ***
>
> ****
>
> ****
>
> ****
>
> Thanks,****
>
> ****
>
> George Kirkham****
>
> ****
>
> ****
>
> *From:* seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
> *Sent:* Thursday, 17 May 2012 6:36 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: Problem: Import process never completes****
>
> ****
>
> I've committed a fix that initialized the isAVClient variable as proposed
> during initialization of the RoomClient.
>
> @George: Can you rerun your test with revision later then 1339514?
>
> Thanks,
> Sebastian****
>
> 2012/5/17 seba.wagner@gmail.com <se...@gmail.com>****
>
> Hi Maxim,
>
> change Boolean to boolean => That is not so easy.
>
> The default value would be "false".
> Every user has two RoomCLient objects (one time true and one time
> isAVClient = false) as we have two NetConnections open per user as soon as
> he enters the conference room (one NetConnection per SWF).
> isAVClient is only true as soon as the user has choosen device settings
> and started to stream audio/video.
>
> A user that has not yet choosen device settings has isAVClient=false and
> would be listed in the list of current users duplicated and will receive
> sync events.
> If a user disconnects before he was able to choose device settings
> everybody else in the conference room will have duplicated messages in the
> activityList about "user leaving".
> A user that has not yet choosen device settings will get every sync event
> duplicated (as he has two RoomClient object that both have isAVClient =
> false), for example about whiteboard sync events (while he does not need
> any of those)
>
> What we could try is to pass a parameter directly in the connect
> method/constructor of the RTMP-Connection, so that the isAVClient is
> correctly initialized with either true or false.
>
> Sebastian****
>
> ****
>
> 2012/5/17 Maxim Solodovnik <so...@gmail.com>****
>
> I guess this is caused by RoomClient.getIsAVClient() == null ****
>
> and ScopeApplicationAdapter expects "false"****
>
> Not sure how to resolve this****
>
> ****
>
> I guess we should change these Booolean to be boolean (just true or false)
> ****
>
> ****
>
> On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <
> seba.wagner@gmail.com> wrote:****
>
> Quote from your log: *File explorer item import complete, clearing temp
> files*
> That means
>
> That means the import is actually complete and should be okay.
> Your exception just means that the method to close the upload window in
> the client UI could not be closed because the publicSID could not be found
> in the server session to send the "import-complete" event.
>
> Sebastian****
>
> ****
>
> 2012/5/17 George Kirkham <gk...@co2crc.com.au>****
>
> Hi,****
>
> ****
>
> I attempted to import a full back up of our production environment into my
> test build of revision 1338946 using the UI, however the import never
> completes, it just stays on the screen showing that it is “converting
> document”. The log shows that Users and Rooms are imported successfully,
> but the process errors along the way. The error “Could not Find
> RoomClient on List publicSID” seems to crash the import process.****
>
> ****
>
> I the max_upload_size variable is working well now, thanks for that fix.**
> **
>
> ****
>
> ****
>
> ****
>
> /usr/lib/red5/log/0.0.0.0_access.2012-05-16.log****
>
> ****
>
> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
> /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
> HTTP/1.1" 200 524****
>
> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
> /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
> HTTP/1.1" 200 843****
>
> 192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 2494623****
>
> 192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
> /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016
> HTTP/1.1" 200 525****
>
> 192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
> /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
> ****
>
> 192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
> HTTP/1.1" 200 9144320****
>
> 192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
> HTTP/1.1" 200 2608481****
>
> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
> /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 1682****
>
> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/
> DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 1682****
>
> 192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/
> backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a
> HTTP/1.1" 200 -****
>
> ****
>
> <NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
> point onward>****
>
> ****
>
> ****
>
> ****
>
> /usr/lib/red5/log/openmeetings.log****
>
> ****
>
> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - roomFilesFolder PATH
> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
> ****
>
> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - sourceDirRec PATH
> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
> ****
>
> INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp
> files****
>
> ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
> org.openmeetings.app.remote.red5.ScopeApplicationAdapter
> [http-0.0.0.0-5080-6] - [sendMessageWithClient] ****
>
> java.lang.Exception: Could not Find RoomClient on List publicSID:
> c9f57fe7c52c63aec0aa7902a67bd29a****
>
> at
> org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707)
> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at
> org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481)
> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_26]****
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> ~[na:1.6.0_26]****
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> ~[na:1.6.0_26]****
>
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]*
> ***
>
> at
> org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
> [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> [javaee-api-5.1.2.om.jar:na]****
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> [javaee-api-5.1.2.om.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53)
> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
> [red5.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]****
>
> DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
> MeetingReminderJob.execute****
>
> DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
> startStamp 2012-05-16 20:30:47.237****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> Thanks,****
>
> ****
>
> George Kirkham****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:03 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ****
>
> Sebastian****
>
> ****
>
> RTMPSClient rev. 4315 seems to be non functional****
>
> Should I proceed with update to the later revision of Red5?****
>
> ****
>
> please NOTE Red5 structure is changed so our build process need to be
> modified accordingly.****
>
> (They seems to change some libs + separate server and client)****
>
> ****
>
> ****
>
> On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:****
>
> Thanks a lot Stephen,****
>
> ****
>
> I've wasted 2 hours fighting with this bug :(****
>
> My configuration works as expected in FF.****
>
> This is second time I fight with this Chome issue :(****
>
> ****
>
> ****
>
> On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Interesting:****
>
> ****
>
> http://code.google.com/p/chromium/issues/detail?id=80749****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 12:02 PM****
>
>
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Hey Maxim,****
>
> ****
>
> Self-Signed and trusted Certs work in IE and FF, neither of them work on
> Chrome for RTMPS.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 11:50 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Sure will check that out now.****
>
> ****
>
> In the meantime these are the steps that worked for me:****
>
> ****
>
> *Created SelfCert – Numerous ways to do this but this worked for me:*****
>
> ****
>
> Download IIS 6.0 Resource Kit Tools****
>
> Install the resource kit ****
>
> Created a new dummy website in IIS with ID 13456****
>
> From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
> folder and select "SelfSSL".****
>
> Issued command *selfssl.exe /N:cn=om.yourdomain.com /S: 13456*****
>
> Then go back to IIS and export the newly created SSL certificate as a PFX
> file.****
>
> ****
>
> *Convert PFX into component Cert and Key:*****
>
> ****
>
> Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue
> the following:****
>
> ****
>
> *openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
> om.yourdomain.com.keytmp.pem*****
>
> *openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
> om.yourdomain.com.cert.pem*****
>
> *openssl rsa -in om.yourdomain.com.keytmp.pem -out
> om.robertbird.com.key.pem*****
>
> ****
>
> *Convert PEM files to DER and import into Keystore:*****
>
> ****
>
> *openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
> -out key.der -outform DER*****
>
> *openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
> -outform DER*****
>
> *wget
> http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
> *****
>
> *wget
> http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
> *****
>
> *java ImportKey key.der cert.der*****
>
> ****
>
> now move it to the conf folder****
>
> ****
>
> *mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore*****
>
> * *****
>
> Then import the certificate thru IE and put it into the trusted Root
> folder, restart and it should be good.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:44 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Can you check if it works in Chrome?
> It seems I was fighting Chrome only.
> Will check FF later today****
>
> On May 16, 2012 5:39 PM, "Stephen Cottham" <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> I installed it via IE but you can open MMC and then load the certificates
> module and import it that way, after importing via IE it can now use
> firefox too.****
>
> ****
>
> I’m just knocking up the steps I took to get it to work and will mail it
> back, give us like 10 mins.****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:34 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ****
>
> what browser are you using?****
>
> On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hey Maxim,****
>
> ****
>
> I got that to work now, I added the Certificate into my trusted Root
> folder via the browser and it will now connect, so anyone using a
> self-signed cert will need to add this to all machines they plan on running
> it with otherwise RMTPS will fail.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 11:26 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Hey Maxim,****
>
> ****
>
> I’ve created the self-signed certificate, this is working fine in apache
> and the install process (HTTPS) but fails on RTMPS only.****
>
> ****
>
> All I get from my logs is the following:****
>
> ****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught Connection reset by peer****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught Broken pipe****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught null****
>
> ****
>
> And ****
>
> ****
>
> [WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection -
> Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out
> 639 ), with id 3 due to long handshake****
>
> ****
>
> Just to check I put the authorised cert back in and it connects fine, I’ll
> keep on trying to see what’s going wrong, not much from the logs etc..
> unfortunately.****
>
> ****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 9:38 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ****
>
> Thanks Stephen,****
>
> ****
>
> I did use these steps to create certificates (the option with root
> certificate):****
>
> http://www.tc.umn.edu/~brams006/selfsign.html****
>
> http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html****
>
> ****
>
> ****
>
> and these 2 commands to convert server certificate to the keystore:****
>
> ****
>
> openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
> server.crt -certfile ca.crt****
>
> ****
>
> keytool -importkeystore -deststorepass secret -destkeypass secret
> -destkeystore keystore -destalias red5 -srckeystore certificate.pfx
> -srcstoretype PKCS12 -srcstorepass password -srcalias 1****
>
> ****
>
> not sure if it helps, since it not completely working.****
>
> ****
>
> p.s. the certificate generated works well for Apache web server.****
>
> ****
>
> ****
>
> On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hi Maxim,****
>
> ****
>
> I have SSL running fine with a legit certificate, at some point today I
> can create a self-signed and test this for you.****
>
> ****
>
> Best Regards****
>
> ****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 9:24 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Fwd: RTMPS question****
>
> ****
>
> Dear All,****
>
> ****
>
> Is there anybody was able to set up RTMPS with self-signed certificate?***
> *
>
> Or maybe have clue for the issue described below?
>
> Thanks in advance :)****
>
> ---------- Forwarded message ----------
> From: *seba.wagner@gmail.com* <se...@gmail.com>
> Date: Wed, May 16, 2012 at 3:09 PM
> Subject: Re: RTMPS question
> To: Maxim Solodovnik <so...@gmail.com>
> Cc: openmeetings-dev@incubator.apache.org
>
>
> I have no SSL test environment currently. I did not run into this issue.
>
> I did only find the corresponding code that throws your issue in the red5
> sources:
>
> http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
>
> However there is no advice in the source how to resolve it.
>
> Maybe some other users have an idea that successfully run OpenMeetings via
> SSL, for example the people asking for the RTMPSClient feature in the
> Screensharing.
>
> Sebastian****
>
> ****
>
> 2012/5/16 Maxim Solodovnik <so...@gmail.com>****
>
> Hello Sebastian,****
>
> ****
>
> I'm currently trying to setup and test RTMPS for Screen sharing.****
>
> ****
>
> I perform all steps from instruction****
>
> But still unable to get RTMPS working****
>
> Here is extended log:****
>
> ****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](ssl...) processing the FINISHED state****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1*](SSL) is now secured*****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](SSL) processing the FINISHED state****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1]*(SSL) is now secured*****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Processing the SSL Data****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03
> 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](SSL) Processing the received message****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Processing the SSL Data****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter
> - Processing a MESSAGE_RECEIVED for session 1****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
> rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false,
> lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={},
> readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={},
> liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0]
> buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F
> 31 20 48 54 54...]****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - *Handshake init too
> small, buffering. remaining: 183*****
>
> [WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection -
> *Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
> out 3083 ), with id 1 due to long handshake*****
>
> ****
>
> ****
>
> As you can see SSL is secured (no issues)****
>
> but then I got:****
>
> "Handshake init too small, buffering. remaining: 183"****
>
> and****
>
> "Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
> out 3083 ), with id 1 due to long handshake"****
>
> ****
>
> ****
>
> ****
>
> I'm using self-signed certificate with fake CA (added both to the server
> and client)****
>
> ****
>
> client debug is:****
>
> "devRtmpConnection/registerMethods() ****
>
> error NetConnection.Connect.Failed rtmps://
> 192.168.72.105:5443/openmeetings/hibernate null false "****
>
> ****
>
> ****
>
> Can you help me with it?****
>
> ****
>
> --
> 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.wagner@gmail.com****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
> *Stephen Cottham
> *Group IT Manager (Associate)
>
> Robert Bird Group
> Level 5, 333 Ann St
> Brisbane, Queensland, 4000, Australia****
>
> *Phone: +6173 319 2777 (AUS)*****
>
> *Phone: +44207 592 8000 (UK)*****
>
> *Fax: +6173 319 2799*****
>
> ****
>
> *Mobile: +61400 756 963 (AUS)*****
>
> *Mobile: +447900 918 616 (UK)*****
>
> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>
> <http://www.robertbird.com.au/>
>
> This email and any attachments are confidential and may contain legally
> privileged information or copyright material. Unless expressly stated,
> confidentiality and/or legal privilege is not intended to be waived by the
> sending of this email. The contents of this email, including any
> attachments, are intended solely for the use of the individual or entity to
> whom they are addressed. If you are not an intended recipient, please
> contact us immediately by return email and then delete both messages. You
> may not otherwise read, forward, copy, use or disclose this email or any
> attachments. Any views expressed in this email are those of the individual
> sender except where the sender expressly, and with authority, states
> otherwise. It is your responsibility to check any attachments for viruses
> or defects before opening or sending them on. None of the sender or its
> related entities accepts any liability for any consequential damage
> resulting from this email containing computer viruses. ****
>
> ****
>
>
> Disclaimer added by *CodeTwo Exchange Rules*
> www.codetwo.com****
>
> ****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ****
>
> --
> 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.wagner@gmail.com****
>
>
>
> ****
>
> ****
>
> --
> 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.wagner@gmail.com****
>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com****
>
>
>
> ****
>
> ** **
>
> --
> WBR
> Maxim aka solomax****
>
--
WBR
Maxim aka solomax
RE: Problem: Import process never completes
Posted by George Kirkham <gk...@co2crc.com.au>.
Maxim,
I tried the “./admin.sh -i -file /usr/adm/compile/backup_18_05_2012_15_33_13.zip” command, but the following error happened and stopped the import process. It think there is a bug in the path code as indicated by the “openmeetingsupload” directory hightlighted in green below. This may be why the UI import fails to load the files?
import complete, starting members import
INFO 05-18 16:41:40.916 BackupImportController.java 35310 450 org.openmeetings.servlet.outputhandler.BackupImportController [main] - Members import complete, starting copy of files and folders
DEBUG 05-18 16:41:40.916 BackupImportController.java 35310 2443 org.openmeetings.servlet.outputhandler.BackupImportController [main] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_18_05_2012_16_41_09/roomFiles
[ERROR] [main] org.openmeetings.cli.Admin - Restore failed /usr/lib/red5/webapps/openmeetingsupload/profiles/profile_44/_big_GeorgePhotoForSkype.jpg (No such file or directory)
The file “backup_18_05_2012_15_33_13.zip\roomFiles\profiles\profile_2\ _big_GeorgePhotoForSkype.jpg” exists in the backup file.
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Friday, 18 May 2012 11:52 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
Hello George,
The import is not checking anything, it just imports.
The only option right now to avoid user/group duplication is to use command line admin:
1) go to the folder OM is installed
2) stop OM
3) run "./admin.sh -b -file backup.zip" (admin.bat -b -file backup.zip) -- this will create backup file in the current folder
4) run "./admin.sh -i -file backup.zip"
you can check all options by running admin with -h option or without options.
On Fri, May 18, 2012 at 8:09 AM, George Kirkham <gk...@co2crc.com.au> wrote:
Sebastian,
The “System Import” does not error now, it completes correctly and the upload dialog closes as expected. However no files are imported from the backup.
As the Export feature has the ability to export with files, I had expected the import to also import the exported files?
Another issue for me to understand is that how the Export/Import feature should be used.
I have an issue of ending up with two admin accounts. My process is as follows: First back up with files the existing database. Then when I create a new server or when I upgrade OpenMeetings, in mysql I drop the database and recreate it, then I run the http://mydomain.com:5080/openmeetings/install process where I select not to create rooms, but this install process creates a new admin user account. Then when I import the OpenMeetings backup file, there are now two admin accounts. It does not matter if the admin account has the same userid and password or not. In the end I delete one. I would recommend that if the first account (i.e. the Administrator account) has the same userid and password as the first account in OpenMeetings, that the import process assumes these are the same and updates any blank fields from in the OpenMeetings account with non-blank fields from the import file. That is when you first run the install, you can leave all fields blank except for the mandatory fields like username, password and email, and then after the install has completed, as the first task, import your “exported” backup.
There is also the issue that the install process creates a “group”, and that if you create a group by the same name as that exists in the backup, you end up with two groups. It would be best if it import checks if the first group that it is importing with the existing group in OpenMeeings and then it does not add this group but skips it and then imports the proceeding groups. In this way rooms and group ids will all be correct ?
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 6:36 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
I've committed a fix that initialized the isAVClient variable as proposed during initialization of the RoomClient.
@George: Can you rerun your test with revision later then 1339514?
Thanks,
Sebastian
2012/5/17 seba.wagner@gmail.com <se...@gmail.com>
Hi Maxim,
change Boolean to boolean => That is not so easy.
The default value would be "false".
Every user has two RoomCLient objects (one time true and one time isAVClient = false) as we have two NetConnections open per user as soon as he enters the conference room (one NetConnection per SWF).
isAVClient is only true as soon as the user has choosen device settings and started to stream audio/video.
A user that has not yet choosen device settings has isAVClient=false and would be listed in the list of current users duplicated and will receive sync events.
If a user disconnects before he was able to choose device settings everybody else in the conference room will have duplicated messages in the activityList about "user leaving".
A user that has not yet choosen device settings will get every sync event duplicated (as he has two RoomClient object that both have isAVClient = false), for example about whiteboard sync events (while he does not need any of those)
What we could try is to pass a parameter directly in the connect method/constructor of the RTMP-Connection, so that the isAVClient is correctly initialized with either true or false.
Sebastian
2012/5/17 Maxim Solodovnik <so...@gmail.com>
I guess this is caused by RoomClient.getIsAVClient() == null
and ScopeApplicationAdapter expects "false"
Not sure how to resolve this
I guess we should change these Booolean to be boolean (just true or false)
On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <se...@gmail.com> wrote:
Quote from your log: *File explorer item import complete, clearing temp files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in the client UI could not be closed because the publicSID could not be found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into my test build of revision 1338946 using the UI, however the import never completes, it just stays on the screen showing that it is “converting document”. The log shows that Users and Rooms are imported successfully, but the process errors along the way. The error “Could not Find RoomClient on List publicSID” seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - roomFilesFolder PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - sourceDirRec PATH /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457 org.openmeetings.servlet.outputhandler.BackupImportController [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758 org.openmeetings.app.remote.red5.ScopeApplicationAdapter [http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID: c9f57fe7c52c63aec0aa7902a67bd29a
at org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707) ~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585) [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [javaee-api-5.1.2.om.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) [red5.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.32.jar:6.0.32]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34 org.openmeetings.app.quartz.scheduler.MeetingReminderJob [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937 org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com> wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert – Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL" folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM -out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der -outform DER
wget http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
wget http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <St...@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the certificates module and import it that way, after importing via IE it can now use firefox too.
I’m just knocking up the steps I took to get it to work and will mail it back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root folder via the browser and it will now connect, so anyone using a self-signed cert will need to add this to all machines they plan on running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I’ve created the self-signed certificate, this is working fine in apache and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler - Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine, I’ll keep on trying to see what’s going wrong, not much from the logs etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root certificate):
http://www.tc.umn.edu/~brams006/selfsign.html <http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html <http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret -destkeystore keystore -destalias red5 -srckeystore certificate.pfx -srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings via SSL, for example the people asking for the RTMPSClient feature in the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake - rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={}, liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Re: Problem: Import process never completes
Posted by Maxim Solodovnik <so...@gmail.com>.
Hello George,
The import is not checking anything, it just imports.
The only option right now to avoid user/group duplication is to use command
line admin:
1) go to the folder OM is installed
2) stop OM
3) run "./admin.sh -b -file backup.zip" (admin.bat -b -file backup.zip)
-- this will create backup file in the current folder
4) run "./admin.sh -i -file backup.zip"
you can check all options by running admin with -h option or without
options.
On Fri, May 18, 2012 at 8:09 AM, George Kirkham <gk...@co2crc.com.au>wrote:
> Sebastian,****
>
> ** **
>
> The “System Import” does not error now, it completes correctly and the
> upload dialog closes as expected. However no files are imported from the
> backup.****
>
> ** **
>
> As the Export feature has the ability to export with files, I had expected
> the import to also import the exported files?****
>
> ** **
>
> Another issue for me to understand is that how the Export/Import feature
> should be used.****
>
> ** **
>
> I have an issue of ending up with two admin accounts. My process is as
> follows: First back up with files the existing database. Then when I create
> a new server or when I upgrade OpenMeetings, in mysql I drop the database
> and recreate it, then I run the
> http://mydomain.com:5080/openmeetings/install process where I select not
> to create rooms, but this install process creates a new admin user
> account. Then when I import the OpenMeetings backup file, there are now
> two admin accounts. It does not matter if the admin account has the same
> userid and password or not. In the end I delete one. I would recommend
> that if the first account (i.e. the Administrator account) has the same
> userid and password as the first account in OpenMeetings, that the import
> process assumes these are the same and updates any blank fields from in the
> OpenMeetings account with non-blank fields from the import file. That is
> when you first run the install, you can leave all fields blank except for
> the mandatory fields like username, password and email, and then after the
> install has completed, as the first task, import your “exported” backup.**
> **
>
> ** **
>
> ** **
>
> There is also the issue that the install process creates a “group”, and
> that if you create a group by the same name as that exists in the backup,
> you end up with two groups. It would be best if it import checks if the
> first group that it is importing with the existing group in OpenMeeings and
> then it does not add this group but skips it and then imports the
> proceeding groups. In this way rooms and group ids will all be correct ?*
> ***
>
> ** **
>
> ** **
>
> ** **
>
> Thanks,****
>
> ** **
>
> George Kirkham****
>
> ** **
>
> ** **
>
> *From:* seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
> *Sent:* Thursday, 17 May 2012 6:36 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: Problem: Import process never completes****
>
> ** **
>
> I've committed a fix that initialized the isAVClient variable as proposed
> during initialization of the RoomClient.
>
> @George: Can you rerun your test with revision later then 1339514?
>
> Thanks,
> Sebastian****
>
> 2012/5/17 seba.wagner@gmail.com <se...@gmail.com>****
>
> Hi Maxim,
>
> change Boolean to boolean => That is not so easy.
>
> The default value would be "false".
> Every user has two RoomCLient objects (one time true and one time
> isAVClient = false) as we have two NetConnections open per user as soon as
> he enters the conference room (one NetConnection per SWF).
> isAVClient is only true as soon as the user has choosen device settings
> and started to stream audio/video.
>
> A user that has not yet choosen device settings has isAVClient=false and
> would be listed in the list of current users duplicated and will receive
> sync events.
> If a user disconnects before he was able to choose device settings
> everybody else in the conference room will have duplicated messages in the
> activityList about "user leaving".
> A user that has not yet choosen device settings will get every sync event
> duplicated (as he has two RoomClient object that both have isAVClient =
> false), for example about whiteboard sync events (while he does not need
> any of those)
>
> What we could try is to pass a parameter directly in the connect
> method/constructor of the RTMP-Connection, so that the isAVClient is
> correctly initialized with either true or false.
>
> Sebastian****
>
> ** **
>
> 2012/5/17 Maxim Solodovnik <so...@gmail.com>****
>
> I guess this is caused by RoomClient.getIsAVClient() == null ****
>
> and ScopeApplicationAdapter expects "false"****
>
> Not sure how to resolve this****
>
> ** **
>
> I guess we should change these Booolean to be boolean (just true or false)
> ****
>
> ** **
>
> On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <
> seba.wagner@gmail.com> wrote:****
>
> Quote from your log: *File explorer item import complete, clearing temp
> files*
> That means
>
> That means the import is actually complete and should be okay.
> Your exception just means that the method to close the upload window in
> the client UI could not be closed because the publicSID could not be found
> in the server session to send the "import-complete" event.
>
> Sebastian****
>
> ** **
>
> 2012/5/17 George Kirkham <gk...@co2crc.com.au>****
>
> Hi,****
>
> ****
>
> I attempted to import a full back up of our production environment into my
> test build of revision 1338946 using the UI, however the import never
> completes, it just stays on the screen showing that it is “converting
> document”. The log shows that Users and Rooms are imported successfully,
> but the process errors along the way. The error “Could not Find
> RoomClient on List publicSID” seems to crash the import process.****
>
> ****
>
> I the max_upload_size variable is working well now, thanks for that fix.**
> **
>
> ****
>
> ****
>
> ****
>
> /usr/lib/red5/log/0.0.0.0_access.2012-05-16.log****
>
> ****
>
> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
> /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
> HTTP/1.1" 200 524****
>
> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
> /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
> HTTP/1.1" 200 843****
>
> 192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 2494623****
>
> 192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
> /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016
> HTTP/1.1" 200 525****
>
> 192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
> /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
> ****
>
> 192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
> HTTP/1.1" 200 9144320****
>
> 192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
> HTTP/1.1" 200 2608481****
>
> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
> /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 1682****
>
> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/
> DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 1682****
>
> 192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/
> backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a
> HTTP/1.1" 200 -****
>
> ****
>
> <NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
> point onward>****
>
> ****
>
> ****
>
> ****
>
> /usr/lib/red5/log/openmeetings.log****
>
> ****
>
> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - roomFilesFolder PATH
> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
> ****
>
> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - sourceDirRec PATH
> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
> ****
>
> INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp
> files****
>
> ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
> org.openmeetings.app.remote.red5.ScopeApplicationAdapter
> [http-0.0.0.0-5080-6] - [sendMessageWithClient] ****
>
> java.lang.Exception: Could not Find RoomClient on List publicSID:
> c9f57fe7c52c63aec0aa7902a67bd29a****
>
> at
> org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707)
> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at
> org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481)
> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_26]****
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> ~[na:1.6.0_26]****
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> ~[na:1.6.0_26]****
>
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]*
> ***
>
> at
> org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
> [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> [javaee-api-5.1.2.om.jar:na]****
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> [javaee-api-5.1.2.om.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53)
> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
> [red5.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]****
>
> DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
> MeetingReminderJob.execute****
>
> DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
> startStamp 2012-05-16 20:30:47.237****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> Thanks,****
>
> ****
>
> George Kirkham****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:03 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ****
>
> Sebastian****
>
> ****
>
> RTMPSClient rev. 4315 seems to be non functional****
>
> Should I proceed with update to the later revision of Red5?****
>
> ****
>
> please NOTE Red5 structure is changed so our build process need to be
> modified accordingly.****
>
> (They seems to change some libs + separate server and client)****
>
> ****
>
> ****
>
> On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:****
>
> Thanks a lot Stephen,****
>
> ****
>
> I've wasted 2 hours fighting with this bug :(****
>
> My configuration works as expected in FF.****
>
> This is second time I fight with this Chome issue :(****
>
> ****
>
> ****
>
> On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Interesting:****
>
> ****
>
> http://code.google.com/p/chromium/issues/detail?id=80749****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 12:02 PM****
>
>
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Hey Maxim,****
>
> ****
>
> Self-Signed and trusted Certs work in IE and FF, neither of them work on
> Chrome for RTMPS.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 11:50 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Sure will check that out now.****
>
> ****
>
> In the meantime these are the steps that worked for me:****
>
> ****
>
> *Created SelfCert – Numerous ways to do this but this worked for me:*****
>
> ****
>
> Download IIS 6.0 Resource Kit Tools****
>
> Install the resource kit ****
>
> Created a new dummy website in IIS with ID 13456****
>
> From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
> folder and select "SelfSSL".****
>
> Issued command *selfssl.exe /N:cn=om.yourdomain.com /S: 13456*****
>
> Then go back to IIS and export the newly created SSL certificate as a PFX
> file.****
>
> ****
>
> *Convert PFX into component Cert and Key:*****
>
> ****
>
> Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue
> the following:****
>
> ****
>
> *openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
> om.yourdomain.com.keytmp.pem*****
>
> *openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
> om.yourdomain.com.cert.pem*****
>
> *openssl rsa -in om.yourdomain.com.keytmp.pem -out
> om.robertbird.com.key.pem*****
>
> ****
>
> *Convert PEM files to DER and import into Keystore:*****
>
> ****
>
> *openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
> -out key.der -outform DER*****
>
> *openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
> -outform DER*****
>
> *wget
> http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
> *****
>
> *wget
> http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
> *****
>
> *java ImportKey key.der cert.der*****
>
> ****
>
> now move it to the conf folder****
>
> ****
>
> *mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore*****
>
> * *****
>
> Then import the certificate thru IE and put it into the trusted Root
> folder, restart and it should be good.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:44 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Can you check if it works in Chrome?
> It seems I was fighting Chrome only.
> Will check FF later today****
>
> On May 16, 2012 5:39 PM, "Stephen Cottham" <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> I installed it via IE but you can open MMC and then load the certificates
> module and import it that way, after importing via IE it can now use
> firefox too.****
>
> ****
>
> I’m just knocking up the steps I took to get it to work and will mail it
> back, give us like 10 mins.****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:34 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ****
>
> what browser are you using?****
>
> On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hey Maxim,****
>
> ****
>
> I got that to work now, I added the Certificate into my trusted Root
> folder via the browser and it will now connect, so anyone using a
> self-signed cert will need to add this to all machines they plan on running
> it with otherwise RMTPS will fail.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 11:26 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Hey Maxim,****
>
> ****
>
> I’ve created the self-signed certificate, this is working fine in apache
> and the install process (HTTPS) but fails on RTMPS only.****
>
> ****
>
> All I get from my logs is the following:****
>
> ****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught Connection reset by peer****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught Broken pipe****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught null****
>
> ****
>
> And ****
>
> ****
>
> [WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection -
> Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out
> 639 ), with id 3 due to long handshake****
>
> ****
>
> Just to check I put the authorised cert back in and it connects fine, I’ll
> keep on trying to see what’s going wrong, not much from the logs etc..
> unfortunately.****
>
> ****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 9:38 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ****
>
> Thanks Stephen,****
>
> ****
>
> I did use these steps to create certificates (the option with root
> certificate):****
>
> http://www.tc.umn.edu/~brams006/selfsign.html****
>
> http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html****
>
> ****
>
> ****
>
> and these 2 commands to convert server certificate to the keystore:****
>
> ****
>
> openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
> server.crt -certfile ca.crt****
>
> ****
>
> keytool -importkeystore -deststorepass secret -destkeypass secret
> -destkeystore keystore -destalias red5 -srckeystore certificate.pfx
> -srcstoretype PKCS12 -srcstorepass password -srcalias 1****
>
> ****
>
> not sure if it helps, since it not completely working.****
>
> ****
>
> p.s. the certificate generated works well for Apache web server.****
>
> ****
>
> ****
>
> On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hi Maxim,****
>
> ****
>
> I have SSL running fine with a legit certificate, at some point today I
> can create a self-signed and test this for you.****
>
> ****
>
> Best Regards****
>
> ****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 9:24 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Fwd: RTMPS question****
>
> ****
>
> Dear All,****
>
> ****
>
> Is there anybody was able to set up RTMPS with self-signed certificate?***
> *
>
> Or maybe have clue for the issue described below?
>
> Thanks in advance :)****
>
> ---------- Forwarded message ----------
> From: *seba.wagner@gmail.com* <se...@gmail.com>
> Date: Wed, May 16, 2012 at 3:09 PM
> Subject: Re: RTMPS question
> To: Maxim Solodovnik <so...@gmail.com>
> Cc: openmeetings-dev@incubator.apache.org
>
>
> I have no SSL test environment currently. I did not run into this issue.
>
> I did only find the corresponding code that throws your issue in the red5
> sources:
>
> http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
>
> However there is no advice in the source how to resolve it.
>
> Maybe some other users have an idea that successfully run OpenMeetings via
> SSL, for example the people asking for the RTMPSClient feature in the
> Screensharing.
>
> Sebastian****
>
> ****
>
> 2012/5/16 Maxim Solodovnik <so...@gmail.com>****
>
> Hello Sebastian,****
>
> ****
>
> I'm currently trying to setup and test RTMPS for Screen sharing.****
>
> ****
>
> I perform all steps from instruction****
>
> But still unable to get RTMPS working****
>
> Here is extended log:****
>
> ****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](ssl...) processing the FINISHED state****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1*](SSL) is now secured*****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](SSL) processing the FINISHED state****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1]*(SSL) is now secured*****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Processing the SSL Data****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03
> 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](SSL) Processing the received message****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Processing the SSL Data****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter
> - Processing a MESSAGE_RECEIVED for session 1****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
> rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false,
> lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={},
> readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={},
> liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0]
> buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F
> 31 20 48 54 54...]****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - *Handshake init too
> small, buffering. remaining: 183*****
>
> [WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection -
> *Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
> out 3083 ), with id 1 due to long handshake*****
>
> ****
>
> ****
>
> As you can see SSL is secured (no issues)****
>
> but then I got:****
>
> "Handshake init too small, buffering. remaining: 183"****
>
> and****
>
> "Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
> out 3083 ), with id 1 due to long handshake"****
>
> ****
>
> ****
>
> ****
>
> I'm using self-signed certificate with fake CA (added both to the server
> and client)****
>
> ****
>
> client debug is:****
>
> "devRtmpConnection/registerMethods() ****
>
> error NetConnection.Connect.Failed rtmps://
> 192.168.72.105:5443/openmeetings/hibernate null false "****
>
> ****
>
> ****
>
> Can you help me with it?****
>
> ****
>
> --
> 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.wagner@gmail.com****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
> *Stephen Cottham
> *Group IT Manager (Associate)
>
> Robert Bird Group
> Level 5, 333 Ann St
> Brisbane, Queensland, 4000, Australia****
>
> *Phone: +6173 319 2777 (AUS)*****
>
> *Phone: +44207 592 8000 (UK)*****
>
> *Fax: +6173 319 2799*****
>
> ****
>
> *Mobile: +61400 756 963 (AUS)*****
>
> *Mobile: +447900 918 616 (UK)*****
>
> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>
> <http://www.robertbird.com.au/>
>
> This email and any attachments are confidential and may contain legally
> privileged information or copyright material. Unless expressly stated,
> confidentiality and/or legal privilege is not intended to be waived by the
> sending of this email. The contents of this email, including any
> attachments, are intended solely for the use of the individual or entity to
> whom they are addressed. If you are not an intended recipient, please
> contact us immediately by return email and then delete both messages. You
> may not otherwise read, forward, copy, use or disclose this email or any
> attachments. Any views expressed in this email are those of the individual
> sender except where the sender expressly, and with authority, states
> otherwise. It is your responsibility to check any attachments for viruses
> or defects before opening or sending them on. None of the sender or its
> related entities accepts any liability for any consequential damage
> resulting from this email containing computer viruses. ****
>
> ****
>
>
> Disclaimer added by *CodeTwo Exchange Rules*
> www.codetwo.com****
>
> ****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ****
>
> --
> 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.wagner@gmail.com****
>
>
>
> ****
>
> ** **
>
> --
> 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.wagner@gmail.com****
>
>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.openmeetings.de
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wagner@gmail.com****
>
--
WBR
Maxim aka solomax
RE: Problem: Import process never completes
Posted by George Kirkham <gk...@co2crc.com.au>.
Sebastian,
The "System Import" does not error now, it completes correctly and the
upload dialog closes as expected. However no files are imported from the
backup.
As the Export feature has the ability to export with files, I had
expected the import to also import the exported files?
Another issue for me to understand is that how the Export/Import feature
should be used.
I have an issue of ending up with two admin accounts. My process is as
follows: First back up with files the existing database. Then when I
create a new server or when I upgrade OpenMeetings, in mysql I drop the
database and recreate it, then I run the
http://mydomain.com:5080/openmeetings/install process where I select not
to create rooms, but this install process creates a new admin user
account. Then when I import the OpenMeetings backup file, there are now
two admin accounts. It does not matter if the admin account has the
same userid and password or not. In the end I delete one. I would
recommend that if the first account (i.e. the Administrator account) has
the same userid and password as the first account in OpenMeetings, that
the import process assumes these are the same and updates any blank
fields from in the OpenMeetings account with non-blank fields from the
import file. That is when you first run the install, you can leave all
fields blank except for the mandatory fields like username, password and
email, and then after the install has completed, as the first task,
import your "exported" backup.
There is also the issue that the install process creates a "group", and
that if you create a group by the same name as that exists in the
backup, you end up with two groups. It would be best if it import checks
if the first group that it is importing with the existing group in
OpenMeeings and then it does not add this group but skips it and then
imports the proceeding groups. In this way rooms and group ids will all
be correct ?
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 6:36 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
I've committed a fix that initialized the isAVClient variable as
proposed during initialization of the RoomClient.
@George: Can you rerun your test with revision later then 1339514?
Thanks,
Sebastian
2012/5/17 seba.wagner@gmail.com <se...@gmail.com>
Hi Maxim,
change Boolean to boolean => That is not so easy.
The default value would be "false".
Every user has two RoomCLient objects (one time true and one time
isAVClient = false) as we have two NetConnections open per user as soon
as he enters the conference room (one NetConnection per SWF).
isAVClient is only true as soon as the user has choosen device settings
and started to stream audio/video.
A user that has not yet choosen device settings has isAVClient=false and
would be listed in the list of current users duplicated and will receive
sync events.
If a user disconnects before he was able to choose device settings
everybody else in the conference room will have duplicated messages in
the activityList about "user leaving".
A user that has not yet choosen device settings will get every sync
event duplicated (as he has two RoomClient object that both have
isAVClient = false), for example about whiteboard sync events (while he
does not need any of those)
What we could try is to pass a parameter directly in the connect
method/constructor of the RTMP-Connection, so that the isAVClient is
correctly initialized with either true or false.
Sebastian
2012/5/17 Maxim Solodovnik <so...@gmail.com>
I guess this is caused by RoomClient.getIsAVClient() == null
and ScopeApplicationAdapter expects "false"
Not sure how to resolve this
I guess we should change these Booolean to be boolean (just true or
false)
On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:
Quote from your log: *File explorer item import complete, clearing temp
files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in
the client UI could not be closed because the publicSID could not be
found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into
my test build of revision 1338946 using the UI, however the import never
completes, it just stays on the screen showing that it is "converting
document". The log shows that Users and Rooms are imported
successfully, but the process errors along the way. The error "Could not
Find RoomClient on List publicSID" seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200
2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
/openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID
=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=133716128201
6 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
/openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200
666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST
/openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c
63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ez
ip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45
953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - roomFilesFolder PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - sourceDirRec PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - File explorer item import complete, clearing
temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
at
org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWith
ClientByPublicSID(ScopeApplicationAdapter.java:2707)
~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.BackupImportController.service(Ba
ckupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) ~[na:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)
~[na:1.6.0_26]
at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.inv
okeHandlerMethod(HandlerMethodInvoker.java:176)
[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.handle(AnnotationMethodHandlerAdapter.java:424)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:790)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:719)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:669)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet
.java:585)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[javaee-api-5.1.2.om.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(S
ervletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:7
7) [red5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:470) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554
) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98) [catalina-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
9) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
org.openmeetings.app.quartz.scheduler.MeetingReminderJob
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be
modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on
Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert - Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
>From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a
PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then
issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out
om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
-out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
-outform DER
wget
http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData
/data/ImportKey.java
wget
http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData
/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root
folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <
Stephen.Cottham@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the
certificates module and import it that way, after importing via IE it
can now use firefox too.
I'm just knocking up the steps I took to get it to work and will mail it
back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root
folder via the browser and it will now connect, so anyone using a
self-signed cert will need to add this to all machines they plan on
running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I've created the self-signed certificate, this is working fine in apache
and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319
out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine,
I'll keep on trying to see what's going wrong, not much from the logs
etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root
certificate):
http://www.tc.umn.edu/~brams006/selfsign.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret
-destkeystore keystore -destalias red5 -srckeystore certificate.pfx
-srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I
can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the
red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/re
d5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings
via SSL, for example the people asking for the RTMPSClient feature in
the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17
03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18]
org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a
MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
rtmp: RTMP [state=connect, client-mode=false, debug=false,
encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={},
writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={},
writeTimestamps={}, liveTimestamps={}, readChunkSize=128,
writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183
cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too
small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in:
931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server
and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://
192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally
privileged information or copyright material. Unless expressly stated,
confidentiality and/or legal privilege is not intended to be waived by
the sending of this email. The contents of this email, including any
attachments, are intended solely for the use of the individual or entity
to whom they are addressed. If you are not an intended recipient, please
contact us immediately by return email and then delete both messages.
You may not otherwise read, forward, copy, use or disclose this email or
any attachments. Any views expressed in this email are those of the
individual sender except where the sender expressly, and with authority,
states otherwise. It is your responsibility to check any attachments for
viruses or defects before opening or sending them on. None of the sender
or its related entities accepts any liability for any consequential
damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
RE: Problem: Import process never completes
Posted by George Kirkham <gk...@co2crc.com.au>.
Sebastian,
I can test as soon as revision > 1339514 is available. Thanks.
As you will have seen I have created two Jira changes, hoping that you
may get the time to review these;
OPENMEETINGS-275, "User Speaks" icon in Users list does not indicate
when the person is speaking
OPENMEETINGS-276 , Need a way to select "Exclusive Audio" for attendees
who have selected "Audio Only"
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 6:36 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
I've committed a fix that initialized the isAVClient variable as
proposed during initialization of the RoomClient.
@George: Can you rerun your test with revision later then 1339514?
Thanks,
Sebastian
2012/5/17 seba.wagner@gmail.com <se...@gmail.com>
Hi Maxim,
change Boolean to boolean => That is not so easy.
The default value would be "false".
Every user has two RoomCLient objects (one time true and one time
isAVClient = false) as we have two NetConnections open per user as soon
as he enters the conference room (one NetConnection per SWF).
isAVClient is only true as soon as the user has choosen device settings
and started to stream audio/video.
A user that has not yet choosen device settings has isAVClient=false and
would be listed in the list of current users duplicated and will receive
sync events.
If a user disconnects before he was able to choose device settings
everybody else in the conference room will have duplicated messages in
the activityList about "user leaving".
A user that has not yet choosen device settings will get every sync
event duplicated (as he has two RoomClient object that both have
isAVClient = false), for example about whiteboard sync events (while he
does not need any of those)
What we could try is to pass a parameter directly in the connect
method/constructor of the RTMP-Connection, so that the isAVClient is
correctly initialized with either true or false.
Sebastian
2012/5/17 Maxim Solodovnik <so...@gmail.com>
I guess this is caused by RoomClient.getIsAVClient() == null
and ScopeApplicationAdapter expects "false"
Not sure how to resolve this
I guess we should change these Booolean to be boolean (just true or
false)
On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:
Quote from your log: *File explorer item import complete, clearing temp
files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in
the client UI could not be closed because the publicSID could not be
found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into
my test build of revision 1338946 using the UI, however the import never
completes, it just stays on the screen showing that it is "converting
document". The log shows that Users and Rooms are imported
successfully, but the process errors along the way. The error "Could not
Find RoomClient on List publicSID" seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200
2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
/openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID
=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=133716128201
6 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
/openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200
666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST
/openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c
63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ez
ip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45
953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - roomFilesFolder PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - sourceDirRec PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - File explorer item import complete, clearing
temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
at
org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWith
ClientByPublicSID(ScopeApplicationAdapter.java:2707)
~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.BackupImportController.service(Ba
ckupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) ~[na:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)
~[na:1.6.0_26]
at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.inv
okeHandlerMethod(HandlerMethodInvoker.java:176)
[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.handle(AnnotationMethodHandlerAdapter.java:424)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:790)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:719)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:669)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet
.java:585)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[javaee-api-5.1.2.om.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(S
ervletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:7
7) [red5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:470) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554
) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98) [catalina-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
9) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
org.openmeetings.app.quartz.scheduler.MeetingReminderJob
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be
modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on
Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert - Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
>From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a
PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then
issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out
om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
-out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
-outform DER
wget
http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData
/data/ImportKey.java
wget
http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData
/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root
folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <
Stephen.Cottham@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the
certificates module and import it that way, after importing via IE it
can now use firefox too.
I'm just knocking up the steps I took to get it to work and will mail it
back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root
folder via the browser and it will now connect, so anyone using a
self-signed cert will need to add this to all machines they plan on
running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I've created the self-signed certificate, this is working fine in apache
and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319
out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine,
I'll keep on trying to see what's going wrong, not much from the logs
etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root
certificate):
http://www.tc.umn.edu/~brams006/selfsign.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret
-destkeystore keystore -destalias red5 -srckeystore certificate.pfx
-srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I
can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the
red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/re
d5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings
via SSL, for example the people asking for the RTMPSClient feature in
the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17
03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18]
org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a
MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
rtmp: RTMP [state=connect, client-mode=false, debug=false,
encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={},
writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={},
writeTimestamps={}, liveTimestamps={}, readChunkSize=128,
writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183
cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too
small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in:
931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server
and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://
192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally
privileged information or copyright material. Unless expressly stated,
confidentiality and/or legal privilege is not intended to be waived by
the sending of this email. The contents of this email, including any
attachments, are intended solely for the use of the individual or entity
to whom they are addressed. If you are not an intended recipient, please
contact us immediately by return email and then delete both messages.
You may not otherwise read, forward, copy, use or disclose this email or
any attachments. Any views expressed in this email are those of the
individual sender except where the sender expressly, and with authority,
states otherwise. It is your responsibility to check any attachments for
viruses or defects before opening or sending them on. None of the sender
or its related entities accepts any liability for any consequential
damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
Re: Problem: Import process never completes
Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
I've committed a fix that initialized the isAVClient variable as proposed
during initialization of the RoomClient.
@George: Can you rerun your test with revision later then 1339514?
Thanks,
Sebastian
2012/5/17 seba.wagner@gmail.com <se...@gmail.com>
> Hi Maxim,
>
> change Boolean to boolean => That is not so easy.
>
> The default value would be "false".
> Every user has two RoomCLient objects (one time true and one time
> isAVClient = false) as we have two NetConnections open per user as soon as
> he enters the conference room (one NetConnection per SWF).
> isAVClient is only true as soon as the user has choosen device settings
> and started to stream audio/video.
>
> A user that has not yet choosen device settings has isAVClient=false and
> would be listed in the list of current users duplicated and will receive
> sync events.
> If a user disconnects before he was able to choose device settings
> everybody else in the conference room will have duplicated messages in the
> activityList about "user leaving".
> A user that has not yet choosen device settings will get every sync event
> duplicated (as he has two RoomClient object that both have isAVClient =
> false), for example about whiteboard sync events (while he does not need
> any of those)
>
> What we could try is to pass a parameter directly in the connect
> method/constructor of the RTMP-Connection, so that the isAVClient is
> correctly initialized with either true or false.
>
> Sebastian
>
>
> 2012/5/17 Maxim Solodovnik <so...@gmail.com>
>
>> I guess this is caused by RoomClient.getIsAVClient() == null
>> and ScopeApplicationAdapter expects "false"
>> Not sure how to resolve this
>>
>> I guess we should change these Booolean to be boolean (just true or false)
>>
>>
>> On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <
>> seba.wagner@gmail.com> wrote:
>>
>>> Quote from your log: *File explorer item import complete, clearing temp
>>> files*
>>> That means
>>>
>>> That means the import is actually complete and should be okay.
>>> Your exception just means that the method to close the upload window in
>>> the client UI could not be closed because the publicSID could not be found
>>> in the server session to send the "import-complete" event.
>>>
>>> Sebastian
>>>
>>>
>>> 2012/5/17 George Kirkham <gk...@co2crc.com.au>
>>>
>>>> Hi,****
>>>>
>>>> ** **
>>>>
>>>> I attempted to import a full back up of our production environment into
>>>> my test build of revision 1338946 using the UI, however the import never
>>>> completes, it just stays on the screen showing that it is “converting
>>>> document”. The log shows that Users and Rooms are imported successfully,
>>>> but the process errors along the way. The error “Could not Find
>>>> RoomClient on List publicSID” seems to crash the import process.****
>>>>
>>>> ** **
>>>>
>>>> I the max_upload_size variable is working well now, thanks for that fix.
>>>> ****
>>>>
>>>> ** **
>>>>
>>>> ****
>>>>
>>>> ** **
>>>>
>>>> /usr/lib/red5/log/0.0.0.0_access.2012-05-16.log****
>>>>
>>>> ** **
>>>>
>>>> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
>>>> /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
>>>> HTTP/1.1" 200 524****
>>>>
>>>> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
>>>> /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
>>>> HTTP/1.1" 200 843****
>>>>
>>>> 192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
>>>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80
>>>> HTTP/1.1" 200 2494623****
>>>>
>>>> 192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
>>>> /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016
>>>> HTTP/1.1" 200 525****
>>>>
>>>> 192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
>>>> /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
>>>> ****
>>>>
>>>> 192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
>>>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
>>>> HTTP/1.1" 200 9144320****
>>>>
>>>> 192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
>>>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
>>>> HTTP/1.1" 200 2608481****
>>>>
>>>> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
>>>> /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80
>>>> HTTP/1.1" 200 1682****
>>>>
>>>> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/
>>>> DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80
>>>> HTTP/1.1" 200 1682****
>>>>
>>>> 192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/
>>>> backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a
>>>> HTTP/1.1" 200 -****
>>>>
>>>> ** **
>>>>
>>>> <NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
>>>> point onward>****
>>>>
>>>> ** **
>>>>
>>>> ** **
>>>>
>>>> ** **
>>>>
>>>> /usr/lib/red5/log/openmeetings.log****
>>>>
>>>> ** **
>>>>
>>>> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
>>>> org.openmeetings.servlet.outputhandler.BackupImportController
>>>> [http-0.0.0.0-5080-6] - roomFilesFolder PATH
>>>> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
>>>> ****
>>>>
>>>> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
>>>> org.openmeetings.servlet.outputhandler.BackupImportController
>>>> [http-0.0.0.0-5080-6] - sourceDirRec PATH
>>>> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
>>>> ****
>>>>
>>>> INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
>>>> org.openmeetings.servlet.outputhandler.BackupImportController
>>>> [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp
>>>> files****
>>>>
>>>> ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
>>>> org.openmeetings.app.remote.red5.ScopeApplicationAdapter
>>>> [http-0.0.0.0-5080-6] - [sendMessageWithClient] ****
>>>>
>>>> java.lang.Exception: Could not Find RoomClient on List publicSID:
>>>> c9f57fe7c52c63aec0aa7902a67bd29a****
>>>>
>>>> at
>>>> org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707)
>>>> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>>>
>>>> at
>>>> org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481)
>>>> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>>>
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> ~[na:1.6.0_26]****
>>>>
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>> ~[na:1.6.0_26]****
>>>>
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>> ~[na:1.6.0_26]****
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> ~[na:1.6.0_26]****
>>>>
>>>> at
>>>> org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
>>>> [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>>>
>>>> at
>>>> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
>>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]**
>>>> **
>>>>
>>>> at
>>>> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
>>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]**
>>>> **
>>>>
>>>> at
>>>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
>>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]**
>>>> **
>>>>
>>>> at
>>>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
>>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]**
>>>> **
>>>>
>>>> at
>>>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
>>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]**
>>>> **
>>>>
>>>> at
>>>> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
>>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]**
>>>> **
>>>>
>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>>>> [javaee-api-5.1.2.om.jar:na]****
>>>>
>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>> [javaee-api-5.1.2.om.jar:na]****
>>>>
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53)
>>>> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>>>
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
>>>> [red5.jar:na]****
>>>>
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>>>> [catalina-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>>>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>>>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>>>
>>>> at
>>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>>>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>>>
>>>> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]****
>>>>
>>>> DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
>>>> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
>>>> MeetingReminderJob.execute****
>>>>
>>>> DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
>>>> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
>>>> startStamp 2012-05-16 20:30:47.237****
>>>>
>>>> ** **
>>>>
>>>> ** **
>>>>
>>>> ** **
>>>>
>>>> ** **
>>>>
>>>> ** **
>>>>
>>>> Thanks,****
>>>>
>>>> ** **
>>>>
>>>> George Kirkham****
>>>>
>>>> ** **
>>>>
>>>> ** **
>>>>
>>>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>>>> *Sent:* Wednesday, 16 May 2012 11:03 PM
>>>> *To:* openmeetings-user@incubator.apache.org
>>>> *Subject:* Re: RTMPS question****
>>>>
>>>> ** **
>>>>
>>>> Sebastian****
>>>>
>>>> ** **
>>>>
>>>> RTMPSClient rev. 4315 seems to be non functional****
>>>>
>>>> Should I proceed with update to the later revision of Red5?****
>>>>
>>>> ** **
>>>>
>>>> please NOTE Red5 structure is changed so our build process need to be
>>>> modified accordingly.****
>>>>
>>>> (They seems to change some libs + separate server and client)****
>>>>
>>>> ** **
>>>>
>>>> ** **
>>>>
>>>> On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
>>>> wrote:****
>>>>
>>>> Thanks a lot Stephen,****
>>>>
>>>> ** **
>>>>
>>>> I've wasted 2 hours fighting with this bug :(****
>>>>
>>>> My configuration works as expected in FF.****
>>>>
>>>> This is second time I fight with this Chome issue :(****
>>>>
>>>> ** **
>>>>
>>>> ** **
>>>>
>>>> On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
>>>> Stephen.Cottham@robertbird.com.au> wrote:****
>>>>
>>>> Interesting:****
>>>>
>>>> ****
>>>>
>>>> http://code.google.com/p/chromium/issues/detail?id=80749****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>>>> *Sent:* Wednesday, 16 May 2012 12:02 PM****
>>>>
>>>>
>>>> *To:* openmeetings-user@incubator.apache.org
>>>> *Subject:* RE: RTMPS question****
>>>>
>>>> ****
>>>>
>>>> Hey Maxim,****
>>>>
>>>> ****
>>>>
>>>> Self-Signed and trusted Certs work in IE and FF, neither of them work
>>>> on Chrome for RTMPS.****
>>>>
>>>> ****
>>>>
>>>> Cheers****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>>>> *Sent:* Wednesday, 16 May 2012 11:50 AM
>>>> *To:* openmeetings-user@incubator.apache.org
>>>> *Subject:* RE: RTMPS question****
>>>>
>>>> ****
>>>>
>>>> Sure will check that out now.****
>>>>
>>>> ****
>>>>
>>>> In the meantime these are the steps that worked for me:****
>>>>
>>>> ****
>>>>
>>>> *Created SelfCert – Numerous ways to do this but this worked for me:***
>>>> **
>>>>
>>>> ****
>>>>
>>>> Download IIS 6.0 Resource Kit Tools****
>>>>
>>>> Install the resource kit ****
>>>>
>>>> Created a new dummy website in IIS with ID 13456****
>>>>
>>>> From the Windows Start Menu, go to the "\Programs\IIS
>>>> Resources\SelfSSL" folder and select "SelfSSL".****
>>>>
>>>> Issued command *selfssl.exe /N:cn=om.yourdomain.com /S: 13456*****
>>>>
>>>> Then go back to IIS and export the newly created SSL certificate as a
>>>> PFX file.****
>>>>
>>>> ****
>>>>
>>>> *Convert PFX into component Cert and Key:*****
>>>>
>>>> ****
>>>>
>>>> Copy the PFX file to the Open Meeting Server into /usr/adm/cert then
>>>> issue the following:****
>>>>
>>>> ****
>>>>
>>>> *openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
>>>> om.yourdomain.com.keytmp.pem*****
>>>>
>>>> *openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
>>>> om.yourdomain.com.cert.pem*****
>>>>
>>>> *openssl rsa -in om.yourdomain.com.keytmp.pem -out
>>>> om.robertbird.com.key.pem*****
>>>>
>>>> ****
>>>>
>>>> *Convert PEM files to DER and import into Keystore:*****
>>>>
>>>> ****
>>>>
>>>> *openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform
>>>> PEM -out key.der -outform DER*****
>>>>
>>>> *openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
>>>> -outform DER*****
>>>>
>>>> *wget
>>>> http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
>>>> *****
>>>>
>>>> *wget
>>>> http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
>>>> *****
>>>>
>>>> *java ImportKey key.der cert.der*****
>>>>
>>>> ****
>>>>
>>>> now move it to the conf folder****
>>>>
>>>> ****
>>>>
>>>> *mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore*****
>>>>
>>>> * *****
>>>>
>>>> Then import the certificate thru IE and put it into the trusted Root
>>>> folder, restart and it should be good.****
>>>>
>>>> ****
>>>>
>>>> Cheers****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>>>> *Sent:* Wednesday, 16 May 2012 11:44 AM
>>>> *To:* openmeetings-user@incubator.apache.org
>>>> *Subject:* RE: RTMPS question****
>>>>
>>>> ****
>>>>
>>>> Can you check if it works in Chrome?
>>>> It seems I was fighting Chrome only.
>>>> Will check FF later today****
>>>>
>>>> On May 16, 2012 5:39 PM, "Stephen Cottham" <
>>>> Stephen.Cottham@robertbird.com.au> wrote:****
>>>>
>>>> I installed it via IE but you can open MMC and then load the
>>>> certificates module and import it that way, after importing via IE it can
>>>> now use firefox too.****
>>>>
>>>> ****
>>>>
>>>> I’m just knocking up the steps I took to get it to work and will mail
>>>> it back, give us like 10 mins.****
>>>>
>>>> ****
>>>>
>>>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>>>> *Sent:* Wednesday, 16 May 2012 11:34 AM
>>>> *To:* openmeetings-user@incubator.apache.org
>>>> *Subject:* Re: RTMPS question****
>>>>
>>>> ****
>>>>
>>>> what browser are you using?****
>>>>
>>>> On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
>>>> Stephen.Cottham@robertbird.com.au> wrote:****
>>>>
>>>> Hey Maxim,****
>>>>
>>>> ****
>>>>
>>>> I got that to work now, I added the Certificate into my trusted Root
>>>> folder via the browser and it will now connect, so anyone using a
>>>> self-signed cert will need to add this to all machines they plan on running
>>>> it with otherwise RMTPS will fail.****
>>>>
>>>> ****
>>>>
>>>> Cheers****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>>>> *Sent:* Wednesday, 16 May 2012 11:26 AM
>>>> *To:* openmeetings-user@incubator.apache.org
>>>> *Subject:* RE: RTMPS question****
>>>>
>>>> ****
>>>>
>>>> Hey Maxim,****
>>>>
>>>> ****
>>>>
>>>> I’ve created the self-signed certificate, this is working fine in
>>>> apache and the install process (HTTPS) but fails on RTMPS only.****
>>>>
>>>> ****
>>>>
>>>> All I get from my logs is the following:****
>>>>
>>>> ****
>>>>
>>>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>>>> Exception caught Connection reset by peer****
>>>>
>>>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>>>> Exception caught Broken pipe****
>>>>
>>>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>>>> Exception caught null****
>>>>
>>>> ****
>>>>
>>>> And ****
>>>>
>>>> ****
>>>>
>>>> [WARN] [Red5_Scheduler_Worker-4]
>>>> org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from
>>>> 10.17.23.28 : 51487 to null (in: 319 out 639 ), with id 3 due to long
>>>> handshake****
>>>>
>>>> ****
>>>>
>>>> Just to check I put the authorised cert back in and it connects fine,
>>>> I’ll keep on trying to see what’s going wrong, not much from the logs etc..
>>>> unfortunately.****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> Cheers****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>>>> *Sent:* Wednesday, 16 May 2012 9:38 AM
>>>> *To:* openmeetings-user@incubator.apache.org
>>>> *Subject:* Re: RTMPS question****
>>>>
>>>> ****
>>>>
>>>> Thanks Stephen,****
>>>>
>>>> ****
>>>>
>>>> I did use these steps to create certificates (the option with root
>>>> certificate):****
>>>>
>>>> http://www.tc.umn.edu/~brams006/selfsign.html****
>>>>
>>>> http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> and these 2 commands to convert server certificate to the keystore:****
>>>>
>>>> ****
>>>>
>>>> openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
>>>> server.crt -certfile ca.crt****
>>>>
>>>> ****
>>>>
>>>> keytool -importkeystore -deststorepass secret -destkeypass secret
>>>> -destkeystore keystore -destalias red5 -srckeystore certificate.pfx
>>>> -srcstoretype PKCS12 -srcstorepass password -srcalias 1****
>>>>
>>>> ****
>>>>
>>>> not sure if it helps, since it not completely working.****
>>>>
>>>> ****
>>>>
>>>> p.s. the certificate generated works well for Apache web server.****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
>>>> Stephen.Cottham@robertbird.com.au> wrote:****
>>>>
>>>> Hi Maxim,****
>>>>
>>>> ****
>>>>
>>>> I have SSL running fine with a legit certificate, at some point today I
>>>> can create a self-signed and test this for you.****
>>>>
>>>> ****
>>>>
>>>> Best Regards****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>>>> *Sent:* Wednesday, 16 May 2012 9:24 AM
>>>> *To:* openmeetings-user@incubator.apache.org
>>>> *Subject:* Fwd: RTMPS question****
>>>>
>>>> ****
>>>>
>>>> Dear All,****
>>>>
>>>> ****
>>>>
>>>> Is there anybody was able to set up RTMPS with self-signed certificate?
>>>> ****
>>>>
>>>> Or maybe have clue for the issue described below?
>>>>
>>>> Thanks in advance :)****
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: *seba.wagner@gmail.com* <se...@gmail.com>
>>>> Date: Wed, May 16, 2012 at 3:09 PM
>>>> Subject: Re: RTMPS question
>>>> To: Maxim Solodovnik <so...@gmail.com>
>>>> Cc: openmeetings-dev@incubator.apache.org
>>>>
>>>>
>>>> I have no SSL test environment currently. I did not run into this issue.
>>>>
>>>> I did only find the corresponding code that throws your issue in the
>>>> red5 sources:
>>>>
>>>> http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
>>>>
>>>> However there is no advice in the source how to resolve it.
>>>>
>>>> Maybe some other users have an idea that successfully run OpenMeetings
>>>> via SSL, for example the people asking for the RTMPSClient feature in the
>>>> Screensharing.
>>>>
>>>> Sebastian****
>>>>
>>>> ****
>>>>
>>>> 2012/5/16 Maxim Solodovnik <so...@gmail.com>****
>>>>
>>>> Hello Sebastian,****
>>>>
>>>> ****
>>>>
>>>> I'm currently trying to setup and test RTMPS for Screen sharing.****
>>>>
>>>> ****
>>>>
>>>> I perform all steps from instruction****
>>>>
>>>> But still unable to get RTMPS working****
>>>>
>>>> Here is extended log:****
>>>>
>>>> ****
>>>>
>>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
>>>> Session Server[1](ssl...) processing the FINISHED state****
>>>>
>>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
>>>> Session Server[1*](SSL) is now secured*****
>>>>
>>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
>>>> Session Server[1](SSL) processing the FINISHED state****
>>>>
>>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
>>>> Session Server[1]*(SSL) is now secured*****
>>>>
>>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter -
>>>> Session Server[1](SSL): Processing the SSL Data****
>>>>
>>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter -
>>>> Session Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213
>>>> cap=1024: 17 03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]****
>>>>
>>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
>>>> Session Server[1](SSL) Processing the received message****
>>>>
>>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter -
>>>> Session Server[1](SSL): Processing the SSL Data****
>>>>
>>>> [DEBUG] [NioProcessor-18]
>>>> org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a
>>>> MESSAGE_RECEIVED for session 1****
>>>>
>>>> [DEBUG] [NioProcessor-18]
>>>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0****
>>>>
>>>> [DEBUG] [NioProcessor-18]
>>>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
>>>> rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false,
>>>> lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={},
>>>> readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={},
>>>> liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0]
>>>> buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F
>>>> 31 20 48 54 54...]****
>>>>
>>>> [DEBUG] [NioProcessor-18]
>>>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - *Handshake init
>>>> too small, buffering. remaining: 183*****
>>>>
>>>> [WARN] [Red5_Scheduler_Worker-2]
>>>> org.red5.server.net.rtmp.RTMPConnection - *Closing RTMPMinaConnection
>>>> from 192.168.72.100 : 64634 to null (in: 931 out 3083 ), with id 1 due to
>>>> long handshake*****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> As you can see SSL is secured (no issues)****
>>>>
>>>> but then I got:****
>>>>
>>>> "Handshake init too small, buffering. remaining: 183"****
>>>>
>>>> and****
>>>>
>>>> "Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in:
>>>> 931 out 3083 ), with id 1 due to long handshake"****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> I'm using self-signed certificate with fake CA (added both to the
>>>> server and client)****
>>>>
>>>> ****
>>>>
>>>> client debug is:****
>>>>
>>>> "devRtmpConnection/registerMethods() ****
>>>>
>>>> error NetConnection.Connect.Failed rtmps://
>>>> 192.168.72.105:5443/openmeetings/hibernate null false "****
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> Can you help me with it?****
>>>>
>>>> ****
>>>>
>>>> --
>>>> 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.wagner@gmail.com****
>>>>
>>>>
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax****
>>>>
>>>> *Stephen Cottham
>>>> *Group IT Manager (Associate)
>>>>
>>>> Robert Bird Group
>>>> Level 5, 333 Ann St
>>>> Brisbane, Queensland, 4000, Australia****
>>>>
>>>> *Phone: +6173 319 2777 (AUS)*****
>>>>
>>>> *Phone: +44207 592 8000 (UK)*****
>>>>
>>>> *Fax: +6173 319 2799*****
>>>>
>>>> ****
>>>>
>>>> *Mobile: +61400 756 963 (AUS)*****
>>>>
>>>> *Mobile: +447900 918 616 (UK)*****
>>>>
>>>> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>>>>
>>>> <http://www.robertbird.com.au/>
>>>>
>>>> This email and any attachments are confidential and may contain legally
>>>> privileged information or copyright material. Unless expressly stated,
>>>> confidentiality and/or legal privilege is not intended to be waived by the
>>>> sending of this email. The contents of this email, including any
>>>> attachments, are intended solely for the use of the individual or entity to
>>>> whom they are addressed. If you are not an intended recipient, please
>>>> contact us immediately by return email and then delete both messages. You
>>>> may not otherwise read, forward, copy, use or disclose this email or any
>>>> attachments. Any views expressed in this email are those of the individual
>>>> sender except where the sender expressly, and with authority, states
>>>> otherwise. It is your responsibility to check any attachments for viruses
>>>> or defects before opening or sending them on. None of the sender or its
>>>> related entities accepts any liability for any consequential damage
>>>> resulting from this email containing computer viruses. ****
>>>>
>>>> ****
>>>>
>>>>
>>>> Disclaimer added by *CodeTwo Exchange Rules*
>>>> www.codetwo.com****
>>>>
>>>> ****
>>>>
>>>>
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax****
>>>>
>>>>
>>>>
>>>> ****
>>>>
>>>> ****
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax****
>>>>
>>>>
>>>>
>>>> ****
>>>>
>>>> ** **
>>>>
>>>> --
>>>> WBR
>>>> Maxim aka solomax****
>>>>
>>>>
>>>>
>>>> ****
>>>>
>>>> ** **
>>>>
>>>> --
>>>> 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.wagner@gmail.com
>>>
>>
>>
>>
>> --
>> 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.wagner@gmail.com
>
--
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com
Re: Problem: Import process never completes
Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Hi Maxim,
change Boolean to boolean => That is not so easy.
The default value would be "false".
Every user has two RoomCLient objects (one time true and one time
isAVClient = false) as we have two NetConnections open per user as soon as
he enters the conference room (one NetConnection per SWF).
isAVClient is only true as soon as the user has choosen device settings and
started to stream audio/video.
A user that has not yet choosen device settings has isAVClient=false and
would be listed in the list of current users duplicated and will receive
sync events.
If a user disconnects before he was able to choose device settings
everybody else in the conference room will have duplicated messages in the
activityList about "user leaving".
A user that has not yet choosen device settings will get every sync event
duplicated (as he has two RoomClient object that both have isAVClient =
false), for example about whiteboard sync events (while he does not need
any of those)
What we could try is to pass a parameter directly in the connect
method/constructor of the RTMP-Connection, so that the isAVClient is
correctly initialized with either true or false.
Sebastian
2012/5/17 Maxim Solodovnik <so...@gmail.com>
> I guess this is caused by RoomClient.getIsAVClient() == null
> and ScopeApplicationAdapter expects "false"
> Not sure how to resolve this
>
> I guess we should change these Booolean to be boolean (just true or false)
>
>
> On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <
> seba.wagner@gmail.com> wrote:
>
>> Quote from your log: *File explorer item import complete, clearing temp
>> files*
>> That means
>>
>> That means the import is actually complete and should be okay.
>> Your exception just means that the method to close the upload window in
>> the client UI could not be closed because the publicSID could not be found
>> in the server session to send the "import-complete" event.
>>
>> Sebastian
>>
>>
>> 2012/5/17 George Kirkham <gk...@co2crc.com.au>
>>
>>> Hi,****
>>>
>>> ** **
>>>
>>> I attempted to import a full back up of our production environment into
>>> my test build of revision 1338946 using the UI, however the import never
>>> completes, it just stays on the screen showing that it is “converting
>>> document”. The log shows that Users and Rooms are imported successfully,
>>> but the process errors along the way. The error “Could not Find
>>> RoomClient on List publicSID” seems to crash the import process.****
>>>
>>> ** **
>>>
>>> I the max_upload_size variable is working well now, thanks for that fix.
>>> ****
>>>
>>> ** **
>>>
>>> ****
>>>
>>> ** **
>>>
>>> /usr/lib/red5/log/0.0.0.0_access.2012-05-16.log****
>>>
>>> ** **
>>>
>>> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
>>> /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
>>> HTTP/1.1" 200 524****
>>>
>>> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
>>> /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
>>> HTTP/1.1" 200 843****
>>>
>>> 192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
>>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80
>>> HTTP/1.1" 200 2494623****
>>>
>>> 192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
>>> /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016
>>> HTTP/1.1" 200 525****
>>>
>>> 192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
>>> /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
>>> ****
>>>
>>> 192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
>>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
>>> HTTP/1.1" 200 9144320****
>>>
>>> 192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
>>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
>>> HTTP/1.1" 200 2608481****
>>>
>>> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
>>> /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80
>>> HTTP/1.1" 200 1682****
>>>
>>> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/
>>> DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80
>>> HTTP/1.1" 200 1682****
>>>
>>> 192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/
>>> backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a
>>> HTTP/1.1" 200 -****
>>>
>>> ** **
>>>
>>> <NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
>>> point onward>****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> /usr/lib/red5/log/openmeetings.log****
>>>
>>> ** **
>>>
>>> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
>>> org.openmeetings.servlet.outputhandler.BackupImportController
>>> [http-0.0.0.0-5080-6] - roomFilesFolder PATH
>>> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
>>> ****
>>>
>>> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
>>> org.openmeetings.servlet.outputhandler.BackupImportController
>>> [http-0.0.0.0-5080-6] - sourceDirRec PATH
>>> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
>>> ****
>>>
>>> INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
>>> org.openmeetings.servlet.outputhandler.BackupImportController
>>> [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp
>>> files****
>>>
>>> ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
>>> org.openmeetings.app.remote.red5.ScopeApplicationAdapter
>>> [http-0.0.0.0-5080-6] - [sendMessageWithClient] ****
>>>
>>> java.lang.Exception: Could not Find RoomClient on List publicSID:
>>> c9f57fe7c52c63aec0aa7902a67bd29a****
>>>
>>> at
>>> org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707)
>>> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>>
>>> at
>>> org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481)
>>> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> ~[na:1.6.0_26]****
>>>
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> ~[na:1.6.0_26]****
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> ~[na:1.6.0_26]****
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
>>> ****
>>>
>>> at
>>> org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
>>> [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>>
>>> at
>>> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]***
>>> *
>>>
>>> at
>>> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]***
>>> *
>>>
>>> at
>>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]***
>>> *
>>>
>>> at
>>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]***
>>> *
>>>
>>> at
>>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]***
>>> *
>>>
>>> at
>>> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
>>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]***
>>> *
>>>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>>> [javaee-api-5.1.2.om.jar:na]****
>>>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>> [javaee-api-5.1.2.om.jar:na]****
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53)
>>> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
>>> [red5.jar:na]****
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>>> [catalina-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>>
>>> at
>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>>
>>> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]****
>>>
>>> DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
>>> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
>>> MeetingReminderJob.execute****
>>>
>>> DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
>>> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
>>> startStamp 2012-05-16 20:30:47.237****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> Thanks,****
>>>
>>> ** **
>>>
>>> George Kirkham****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>>> *Sent:* Wednesday, 16 May 2012 11:03 PM
>>> *To:* openmeetings-user@incubator.apache.org
>>> *Subject:* Re: RTMPS question****
>>>
>>> ** **
>>>
>>> Sebastian****
>>>
>>> ** **
>>>
>>> RTMPSClient rev. 4315 seems to be non functional****
>>>
>>> Should I proceed with update to the later revision of Red5?****
>>>
>>> ** **
>>>
>>> please NOTE Red5 structure is changed so our build process need to be
>>> modified accordingly.****
>>>
>>> (They seems to change some libs + separate server and client)****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
>>> wrote:****
>>>
>>> Thanks a lot Stephen,****
>>>
>>> ** **
>>>
>>> I've wasted 2 hours fighting with this bug :(****
>>>
>>> My configuration works as expected in FF.****
>>>
>>> This is second time I fight with this Chome issue :(****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
>>> Stephen.Cottham@robertbird.com.au> wrote:****
>>>
>>> Interesting:****
>>>
>>> ****
>>>
>>> http://code.google.com/p/chromium/issues/detail?id=80749****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>>> *Sent:* Wednesday, 16 May 2012 12:02 PM****
>>>
>>>
>>> *To:* openmeetings-user@incubator.apache.org
>>> *Subject:* RE: RTMPS question****
>>>
>>> ****
>>>
>>> Hey Maxim,****
>>>
>>> ****
>>>
>>> Self-Signed and trusted Certs work in IE and FF, neither of them work on
>>> Chrome for RTMPS.****
>>>
>>> ****
>>>
>>> Cheers****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>>> *Sent:* Wednesday, 16 May 2012 11:50 AM
>>> *To:* openmeetings-user@incubator.apache.org
>>> *Subject:* RE: RTMPS question****
>>>
>>> ****
>>>
>>> Sure will check that out now.****
>>>
>>> ****
>>>
>>> In the meantime these are the steps that worked for me:****
>>>
>>> ****
>>>
>>> *Created SelfCert – Numerous ways to do this but this worked for me:****
>>> *
>>>
>>> ****
>>>
>>> Download IIS 6.0 Resource Kit Tools****
>>>
>>> Install the resource kit ****
>>>
>>> Created a new dummy website in IIS with ID 13456****
>>>
>>> From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
>>> folder and select "SelfSSL".****
>>>
>>> Issued command *selfssl.exe /N:cn=om.yourdomain.com /S: 13456*****
>>>
>>> Then go back to IIS and export the newly created SSL certificate as a
>>> PFX file.****
>>>
>>> ****
>>>
>>> *Convert PFX into component Cert and Key:*****
>>>
>>> ****
>>>
>>> Copy the PFX file to the Open Meeting Server into /usr/adm/cert then
>>> issue the following:****
>>>
>>> ****
>>>
>>> *openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
>>> om.yourdomain.com.keytmp.pem*****
>>>
>>> *openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
>>> om.yourdomain.com.cert.pem*****
>>>
>>> *openssl rsa -in om.yourdomain.com.keytmp.pem -out
>>> om.robertbird.com.key.pem*****
>>>
>>> ****
>>>
>>> *Convert PEM files to DER and import into Keystore:*****
>>>
>>> ****
>>>
>>> *openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform
>>> PEM -out key.der -outform DER*****
>>>
>>> *openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
>>> -outform DER*****
>>>
>>> *wget
>>> http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
>>> *****
>>>
>>> *wget
>>> http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
>>> *****
>>>
>>> *java ImportKey key.der cert.der*****
>>>
>>> ****
>>>
>>> now move it to the conf folder****
>>>
>>> ****
>>>
>>> *mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore*****
>>>
>>> * *****
>>>
>>> Then import the certificate thru IE and put it into the trusted Root
>>> folder, restart and it should be good.****
>>>
>>> ****
>>>
>>> Cheers****
>>>
>>> ****
>>>
>>> ****
>>>
>>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>>> *Sent:* Wednesday, 16 May 2012 11:44 AM
>>> *To:* openmeetings-user@incubator.apache.org
>>> *Subject:* RE: RTMPS question****
>>>
>>> ****
>>>
>>> Can you check if it works in Chrome?
>>> It seems I was fighting Chrome only.
>>> Will check FF later today****
>>>
>>> On May 16, 2012 5:39 PM, "Stephen Cottham" <
>>> Stephen.Cottham@robertbird.com.au> wrote:****
>>>
>>> I installed it via IE but you can open MMC and then load the
>>> certificates module and import it that way, after importing via IE it can
>>> now use firefox too.****
>>>
>>> ****
>>>
>>> I’m just knocking up the steps I took to get it to work and will mail it
>>> back, give us like 10 mins.****
>>>
>>> ****
>>>
>>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>>> *Sent:* Wednesday, 16 May 2012 11:34 AM
>>> *To:* openmeetings-user@incubator.apache.org
>>> *Subject:* Re: RTMPS question****
>>>
>>> ****
>>>
>>> what browser are you using?****
>>>
>>> On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
>>> Stephen.Cottham@robertbird.com.au> wrote:****
>>>
>>> Hey Maxim,****
>>>
>>> ****
>>>
>>> I got that to work now, I added the Certificate into my trusted Root
>>> folder via the browser and it will now connect, so anyone using a
>>> self-signed cert will need to add this to all machines they plan on running
>>> it with otherwise RMTPS will fail.****
>>>
>>> ****
>>>
>>> Cheers****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>>> *Sent:* Wednesday, 16 May 2012 11:26 AM
>>> *To:* openmeetings-user@incubator.apache.org
>>> *Subject:* RE: RTMPS question****
>>>
>>> ****
>>>
>>> Hey Maxim,****
>>>
>>> ****
>>>
>>> I’ve created the self-signed certificate, this is working fine in apache
>>> and the install process (HTTPS) but fails on RTMPS only.****
>>>
>>> ****
>>>
>>> All I get from my logs is the following:****
>>>
>>> ****
>>>
>>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>>> Exception caught Connection reset by peer****
>>>
>>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>>> Exception caught Broken pipe****
>>>
>>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>>> Exception caught null****
>>>
>>> ****
>>>
>>> And ****
>>>
>>> ****
>>>
>>> [WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection
>>> - Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out
>>> 639 ), with id 3 due to long handshake****
>>>
>>> ****
>>>
>>> Just to check I put the authorised cert back in and it connects fine,
>>> I’ll keep on trying to see what’s going wrong, not much from the logs etc..
>>> unfortunately.****
>>>
>>> ****
>>>
>>> ****
>>>
>>> Cheers****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>>> *Sent:* Wednesday, 16 May 2012 9:38 AM
>>> *To:* openmeetings-user@incubator.apache.org
>>> *Subject:* Re: RTMPS question****
>>>
>>> ****
>>>
>>> Thanks Stephen,****
>>>
>>> ****
>>>
>>> I did use these steps to create certificates (the option with root
>>> certificate):****
>>>
>>> http://www.tc.umn.edu/~brams006/selfsign.html****
>>>
>>> http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html****
>>>
>>> ****
>>>
>>> ****
>>>
>>> and these 2 commands to convert server certificate to the keystore:****
>>>
>>> ****
>>>
>>> openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
>>> server.crt -certfile ca.crt****
>>>
>>> ****
>>>
>>> keytool -importkeystore -deststorepass secret -destkeypass secret
>>> -destkeystore keystore -destalias red5 -srckeystore certificate.pfx
>>> -srcstoretype PKCS12 -srcstorepass password -srcalias 1****
>>>
>>> ****
>>>
>>> not sure if it helps, since it not completely working.****
>>>
>>> ****
>>>
>>> p.s. the certificate generated works well for Apache web server.****
>>>
>>> ****
>>>
>>> ****
>>>
>>> On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
>>> Stephen.Cottham@robertbird.com.au> wrote:****
>>>
>>> Hi Maxim,****
>>>
>>> ****
>>>
>>> I have SSL running fine with a legit certificate, at some point today I
>>> can create a self-signed and test this for you.****
>>>
>>> ****
>>>
>>> Best Regards****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>>> *Sent:* Wednesday, 16 May 2012 9:24 AM
>>> *To:* openmeetings-user@incubator.apache.org
>>> *Subject:* Fwd: RTMPS question****
>>>
>>> ****
>>>
>>> Dear All,****
>>>
>>> ****
>>>
>>> Is there anybody was able to set up RTMPS with self-signed certificate?*
>>> ***
>>>
>>> Or maybe have clue for the issue described below?
>>>
>>> Thanks in advance :)****
>>>
>>> ---------- Forwarded message ----------
>>> From: *seba.wagner@gmail.com* <se...@gmail.com>
>>> Date: Wed, May 16, 2012 at 3:09 PM
>>> Subject: Re: RTMPS question
>>> To: Maxim Solodovnik <so...@gmail.com>
>>> Cc: openmeetings-dev@incubator.apache.org
>>>
>>>
>>> I have no SSL test environment currently. I did not run into this issue.
>>>
>>> I did only find the corresponding code that throws your issue in the
>>> red5 sources:
>>>
>>> http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
>>>
>>> However there is no advice in the source how to resolve it.
>>>
>>> Maybe some other users have an idea that successfully run OpenMeetings
>>> via SSL, for example the people asking for the RTMPSClient feature in the
>>> Screensharing.
>>>
>>> Sebastian****
>>>
>>> ****
>>>
>>> 2012/5/16 Maxim Solodovnik <so...@gmail.com>****
>>>
>>> Hello Sebastian,****
>>>
>>> ****
>>>
>>> I'm currently trying to setup and test RTMPS for Screen sharing.****
>>>
>>> ****
>>>
>>> I perform all steps from instruction****
>>>
>>> But still unable to get RTMPS working****
>>>
>>> Here is extended log:****
>>>
>>> ****
>>>
>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
>>> Session Server[1](ssl...) processing the FINISHED state****
>>>
>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
>>> Session Server[1*](SSL) is now secured*****
>>>
>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
>>> Session Server[1](SSL) processing the FINISHED state****
>>>
>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
>>> Session Server[1]*(SSL) is now secured*****
>>>
>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
>>> Server[1](SSL): Processing the SSL Data****
>>>
>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
>>> Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03
>>> 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]****
>>>
>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
>>> Session Server[1](SSL) Processing the received message****
>>>
>>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
>>> Server[1](SSL): Processing the SSL Data****
>>>
>>> [DEBUG] [NioProcessor-18]
>>> org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a
>>> MESSAGE_RECEIVED for session 1****
>>>
>>> [DEBUG] [NioProcessor-18]
>>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0****
>>>
>>> [DEBUG] [NioProcessor-18]
>>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
>>> rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false,
>>> lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={},
>>> readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={},
>>> liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0]
>>> buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F
>>> 31 20 48 54 54...]****
>>>
>>> [DEBUG] [NioProcessor-18]
>>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - *Handshake init
>>> too small, buffering. remaining: 183*****
>>>
>>> [WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection
>>> - *Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in:
>>> 931 out 3083 ), with id 1 due to long handshake*****
>>>
>>> ****
>>>
>>> ****
>>>
>>> As you can see SSL is secured (no issues)****
>>>
>>> but then I got:****
>>>
>>> "Handshake init too small, buffering. remaining: 183"****
>>>
>>> and****
>>>
>>> "Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
>>> out 3083 ), with id 1 due to long handshake"****
>>>
>>> ****
>>>
>>> ****
>>>
>>> ****
>>>
>>> I'm using self-signed certificate with fake CA (added both to the server
>>> and client)****
>>>
>>> ****
>>>
>>> client debug is:****
>>>
>>> "devRtmpConnection/registerMethods() ****
>>>
>>> error NetConnection.Connect.Failed rtmps://
>>> 192.168.72.105:5443/openmeetings/hibernate null false "****
>>>
>>> ****
>>>
>>> ****
>>>
>>> Can you help me with it?****
>>>
>>> ****
>>>
>>> --
>>> 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.wagner@gmail.com****
>>>
>>>
>>>
>>> ****
>>>
>>> ****
>>>
>>> --
>>> WBR
>>> Maxim aka solomax****
>>>
>>> *Stephen Cottham
>>> *Group IT Manager (Associate)
>>>
>>> Robert Bird Group
>>> Level 5, 333 Ann St
>>> Brisbane, Queensland, 4000, Australia****
>>>
>>> *Phone: +6173 319 2777 (AUS)*****
>>>
>>> *Phone: +44207 592 8000 (UK)*****
>>>
>>> *Fax: +6173 319 2799*****
>>>
>>> ****
>>>
>>> *Mobile: +61400 756 963 (AUS)*****
>>>
>>> *Mobile: +447900 918 616 (UK)*****
>>>
>>> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>>>
>>> <http://www.robertbird.com.au/>
>>>
>>> This email and any attachments are confidential and may contain legally
>>> privileged information or copyright material. Unless expressly stated,
>>> confidentiality and/or legal privilege is not intended to be waived by the
>>> sending of this email. The contents of this email, including any
>>> attachments, are intended solely for the use of the individual or entity to
>>> whom they are addressed. If you are not an intended recipient, please
>>> contact us immediately by return email and then delete both messages. You
>>> may not otherwise read, forward, copy, use or disclose this email or any
>>> attachments. Any views expressed in this email are those of the individual
>>> sender except where the sender expressly, and with authority, states
>>> otherwise. It is your responsibility to check any attachments for viruses
>>> or defects before opening or sending them on. None of the sender or its
>>> related entities accepts any liability for any consequential damage
>>> resulting from this email containing computer viruses. ****
>>>
>>> ****
>>>
>>>
>>> Disclaimer added by *CodeTwo Exchange Rules*
>>> www.codetwo.com****
>>>
>>> ****
>>>
>>>
>>>
>>> ****
>>>
>>> ****
>>>
>>> --
>>> WBR
>>> Maxim aka solomax****
>>>
>>>
>>>
>>> ****
>>>
>>> ****
>>>
>>> --
>>> WBR
>>> Maxim aka solomax****
>>>
>>>
>>>
>>> ****
>>>
>>> ** **
>>>
>>> --
>>> WBR
>>> Maxim aka solomax****
>>>
>>>
>>>
>>> ****
>>>
>>> ** **
>>>
>>> --
>>> 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.wagner@gmail.com
>>
>
>
>
> --
> 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.wagner@gmail.com
Re: Problem: Import process never completes
Posted by Maxim Solodovnik <so...@gmail.com>.
I guess this is caused by RoomClient.getIsAVClient() == null
and ScopeApplicationAdapter expects "false"
Not sure how to resolve this
I guess we should change these Booolean to be boolean (just true or false)
On Thu, May 17, 2012 at 5:18 AM, seba.wagner@gmail.com <
seba.wagner@gmail.com> wrote:
> Quote from your log: *File explorer item import complete, clearing temp
> files*
> That means
>
> That means the import is actually complete and should be okay.
> Your exception just means that the method to close the upload window in
> the client UI could not be closed because the publicSID could not be found
> in the server session to send the "import-complete" event.
>
> Sebastian
>
>
> 2012/5/17 George Kirkham <gk...@co2crc.com.au>
>
>> Hi,****
>>
>> ** **
>>
>> I attempted to import a full back up of our production environment into
>> my test build of revision 1338946 using the UI, however the import never
>> completes, it just stays on the screen showing that it is “converting
>> document”. The log shows that Users and Rooms are imported successfully,
>> but the process errors along the way. The error “Could not Find
>> RoomClient on List publicSID” seems to crash the import process.****
>>
>> ** **
>>
>> I the max_upload_size variable is working well now, thanks for that fix.*
>> ***
>>
>> ** **
>>
>> ****
>>
>> ** **
>>
>> /usr/lib/red5/log/0.0.0.0_access.2012-05-16.log****
>>
>> ** **
>>
>> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
>> /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
>> HTTP/1.1" 200 524****
>>
>> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
>> /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
>> HTTP/1.1" 200 843****
>>
>> 192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80
>> HTTP/1.1" 200 2494623****
>>
>> 192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
>> /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016
>> HTTP/1.1" 200 525****
>>
>> 192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
>> /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
>> ****
>>
>> 192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
>> HTTP/1.1" 200 9144320****
>>
>> 192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
>> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
>> HTTP/1.1" 200 2608481****
>>
>> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
>> /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80
>> HTTP/1.1" 200 1682****
>>
>> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/
>> DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80
>> HTTP/1.1" 200 1682****
>>
>> 192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/
>> backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a
>> HTTP/1.1" 200 -****
>>
>> ** **
>>
>> <NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
>> point onward>****
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> /usr/lib/red5/log/openmeetings.log****
>>
>> ** **
>>
>> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
>> org.openmeetings.servlet.outputhandler.BackupImportController
>> [http-0.0.0.0-5080-6] - roomFilesFolder PATH
>> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
>> ****
>>
>> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
>> org.openmeetings.servlet.outputhandler.BackupImportController
>> [http-0.0.0.0-5080-6] - sourceDirRec PATH
>> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
>> ****
>>
>> INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
>> org.openmeetings.servlet.outputhandler.BackupImportController
>> [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp
>> files****
>>
>> ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
>> org.openmeetings.app.remote.red5.ScopeApplicationAdapter
>> [http-0.0.0.0-5080-6] - [sendMessageWithClient] ****
>>
>> java.lang.Exception: Could not Find RoomClient on List publicSID:
>> c9f57fe7c52c63aec0aa7902a67bd29a****
>>
>> at
>> org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707)
>> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>
>> at
>> org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481)
>> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> ~[na:1.6.0_26]****
>>
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> ~[na:1.6.0_26]****
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> ~[na:1.6.0_26]****
>>
>> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
>> ****
>>
>> at
>> org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
>> [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at
>> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
>> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>> [javaee-api-5.1.2.om.jar:na]****
>>
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>> [javaee-api-5.1.2.om.jar:na]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53)
>> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
>> [red5.jar:na]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>> [catalina-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>
>> at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>> [tomcat-coyote-6.0.32.jar:6.0.32]****
>>
>> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]****
>>
>> DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
>> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
>> MeetingReminderJob.execute****
>>
>> DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
>> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
>> startStamp 2012-05-16 20:30:47.237****
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> Thanks,****
>>
>> ** **
>>
>> George Kirkham****
>>
>> ** **
>>
>> ** **
>>
>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>> *Sent:* Wednesday, 16 May 2012 11:03 PM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Re: RTMPS question****
>>
>> ** **
>>
>> Sebastian****
>>
>> ** **
>>
>> RTMPSClient rev. 4315 seems to be non functional****
>>
>> Should I proceed with update to the later revision of Red5?****
>>
>> ** **
>>
>> please NOTE Red5 structure is changed so our build process need to be
>> modified accordingly.****
>>
>> (They seems to change some libs + separate server and client)****
>>
>> ** **
>>
>> ** **
>>
>> On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
>> wrote:****
>>
>> Thanks a lot Stephen,****
>>
>> ** **
>>
>> I've wasted 2 hours fighting with this bug :(****
>>
>> My configuration works as expected in FF.****
>>
>> This is second time I fight with this Chome issue :(****
>>
>> ** **
>>
>> ** **
>>
>> On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
>> Stephen.Cottham@robertbird.com.au> wrote:****
>>
>> Interesting:****
>>
>> ****
>>
>> http://code.google.com/p/chromium/issues/detail?id=80749****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>> *Sent:* Wednesday, 16 May 2012 12:02 PM****
>>
>>
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* RE: RTMPS question****
>>
>> ****
>>
>> Hey Maxim,****
>>
>> ****
>>
>> Self-Signed and trusted Certs work in IE and FF, neither of them work on
>> Chrome for RTMPS.****
>>
>> ****
>>
>> Cheers****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>> *Sent:* Wednesday, 16 May 2012 11:50 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* RE: RTMPS question****
>>
>> ****
>>
>> Sure will check that out now.****
>>
>> ****
>>
>> In the meantime these are the steps that worked for me:****
>>
>> ****
>>
>> *Created SelfCert – Numerous ways to do this but this worked for me:*****
>>
>> ****
>>
>> Download IIS 6.0 Resource Kit Tools****
>>
>> Install the resource kit ****
>>
>> Created a new dummy website in IIS with ID 13456****
>>
>> From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
>> folder and select "SelfSSL".****
>>
>> Issued command *selfssl.exe /N:cn=om.yourdomain.com /S: 13456*****
>>
>> Then go back to IIS and export the newly created SSL certificate as a PFX
>> file.****
>>
>> ****
>>
>> *Convert PFX into component Cert and Key:*****
>>
>> ****
>>
>> Copy the PFX file to the Open Meeting Server into /usr/adm/cert then
>> issue the following:****
>>
>> ****
>>
>> *openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
>> om.yourdomain.com.keytmp.pem*****
>>
>> *openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
>> om.yourdomain.com.cert.pem*****
>>
>> *openssl rsa -in om.yourdomain.com.keytmp.pem -out
>> om.robertbird.com.key.pem*****
>>
>> ****
>>
>> *Convert PEM files to DER and import into Keystore:*****
>>
>> ****
>>
>> *openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
>> -out key.der -outform DER*****
>>
>> *openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
>> -outform DER*****
>>
>> *wget
>> http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
>> *****
>>
>> *wget
>> http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
>> *****
>>
>> *java ImportKey key.der cert.der*****
>>
>> ****
>>
>> now move it to the conf folder****
>>
>> ****
>>
>> *mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore*****
>>
>> * *****
>>
>> Then import the certificate thru IE and put it into the trusted Root
>> folder, restart and it should be good.****
>>
>> ****
>>
>> Cheers****
>>
>> ****
>>
>> ****
>>
>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>> *Sent:* Wednesday, 16 May 2012 11:44 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* RE: RTMPS question****
>>
>> ****
>>
>> Can you check if it works in Chrome?
>> It seems I was fighting Chrome only.
>> Will check FF later today****
>>
>> On May 16, 2012 5:39 PM, "Stephen Cottham" <
>> Stephen.Cottham@robertbird.com.au> wrote:****
>>
>> I installed it via IE but you can open MMC and then load the certificates
>> module and import it that way, after importing via IE it can now use
>> firefox too.****
>>
>> ****
>>
>> I’m just knocking up the steps I took to get it to work and will mail it
>> back, give us like 10 mins.****
>>
>> ****
>>
>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>> *Sent:* Wednesday, 16 May 2012 11:34 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Re: RTMPS question****
>>
>> ****
>>
>> what browser are you using?****
>>
>> On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
>> Stephen.Cottham@robertbird.com.au> wrote:****
>>
>> Hey Maxim,****
>>
>> ****
>>
>> I got that to work now, I added the Certificate into my trusted Root
>> folder via the browser and it will now connect, so anyone using a
>> self-signed cert will need to add this to all machines they plan on running
>> it with otherwise RMTPS will fail.****
>>
>> ****
>>
>> Cheers****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
>> *Sent:* Wednesday, 16 May 2012 11:26 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* RE: RTMPS question****
>>
>> ****
>>
>> Hey Maxim,****
>>
>> ****
>>
>> I’ve created the self-signed certificate, this is working fine in apache
>> and the install process (HTTPS) but fails on RTMPS only.****
>>
>> ****
>>
>> All I get from my logs is the following:****
>>
>> ****
>>
>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>> Exception caught Connection reset by peer****
>>
>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>> Exception caught Broken pipe****
>>
>> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
>> Exception caught null****
>>
>> ****
>>
>> And ****
>>
>> ****
>>
>> [WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection
>> - Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out
>> 639 ), with id 3 due to long handshake****
>>
>> ****
>>
>> Just to check I put the authorised cert back in and it connects fine,
>> I’ll keep on trying to see what’s going wrong, not much from the logs etc..
>> unfortunately.****
>>
>> ****
>>
>> ****
>>
>> Cheers****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>> *Sent:* Wednesday, 16 May 2012 9:38 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Re: RTMPS question****
>>
>> ****
>>
>> Thanks Stephen,****
>>
>> ****
>>
>> I did use these steps to create certificates (the option with root
>> certificate):****
>>
>> http://www.tc.umn.edu/~brams006/selfsign.html****
>>
>> http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html****
>>
>> ****
>>
>> ****
>>
>> and these 2 commands to convert server certificate to the keystore:****
>>
>> ****
>>
>> openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
>> server.crt -certfile ca.crt****
>>
>> ****
>>
>> keytool -importkeystore -deststorepass secret -destkeypass secret
>> -destkeystore keystore -destalias red5 -srckeystore certificate.pfx
>> -srcstoretype PKCS12 -srcstorepass password -srcalias 1****
>>
>> ****
>>
>> not sure if it helps, since it not completely working.****
>>
>> ****
>>
>> p.s. the certificate generated works well for Apache web server.****
>>
>> ****
>>
>> ****
>>
>> On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
>> Stephen.Cottham@robertbird.com.au> wrote:****
>>
>> Hi Maxim,****
>>
>> ****
>>
>> I have SSL running fine with a legit certificate, at some point today I
>> can create a self-signed and test this for you.****
>>
>> ****
>>
>> Best Regards****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
>> *Sent:* Wednesday, 16 May 2012 9:24 AM
>> *To:* openmeetings-user@incubator.apache.org
>> *Subject:* Fwd: RTMPS question****
>>
>> ****
>>
>> Dear All,****
>>
>> ****
>>
>> Is there anybody was able to set up RTMPS with self-signed certificate?**
>> **
>>
>> Or maybe have clue for the issue described below?
>>
>> Thanks in advance :)****
>>
>> ---------- Forwarded message ----------
>> From: *seba.wagner@gmail.com* <se...@gmail.com>
>> Date: Wed, May 16, 2012 at 3:09 PM
>> Subject: Re: RTMPS question
>> To: Maxim Solodovnik <so...@gmail.com>
>> Cc: openmeetings-dev@incubator.apache.org
>>
>>
>> I have no SSL test environment currently. I did not run into this issue.
>>
>> I did only find the corresponding code that throws your issue in the red5
>> sources:
>>
>> http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
>>
>> However there is no advice in the source how to resolve it.
>>
>> Maybe some other users have an idea that successfully run OpenMeetings
>> via SSL, for example the people asking for the RTMPSClient feature in the
>> Screensharing.
>>
>> Sebastian****
>>
>> ****
>>
>> 2012/5/16 Maxim Solodovnik <so...@gmail.com>****
>>
>> Hello Sebastian,****
>>
>> ****
>>
>> I'm currently trying to setup and test RTMPS for Screen sharing.****
>>
>> ****
>>
>> I perform all steps from instruction****
>>
>> But still unable to get RTMPS working****
>>
>> Here is extended log:****
>>
>> ****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
>> Server[1](ssl...) processing the FINISHED state****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
>> Server[1*](SSL) is now secured*****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
>> Server[1](SSL) processing the FINISHED state****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
>> Server[1]*(SSL) is now secured*****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
>> Server[1](SSL): Processing the SSL Data****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
>> Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03
>> 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
>> Server[1](SSL) Processing the received message****
>>
>> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
>> Server[1](SSL): Processing the SSL Data****
>>
>> [DEBUG] [NioProcessor-18]
>> org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a
>> MESSAGE_RECEIVED for session 1****
>>
>> [DEBUG] [NioProcessor-18]
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0****
>>
>> [DEBUG] [NioProcessor-18]
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
>> rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false,
>> lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={},
>> readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={},
>> liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0]
>> buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F
>> 31 20 48 54 54...]****
>>
>> [DEBUG] [NioProcessor-18]
>> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - *Handshake init too
>> small, buffering. remaining: 183*****
>>
>> [WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection
>> - *Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in:
>> 931 out 3083 ), with id 1 due to long handshake*****
>>
>> ****
>>
>> ****
>>
>> As you can see SSL is secured (no issues)****
>>
>> but then I got:****
>>
>> "Handshake init too small, buffering. remaining: 183"****
>>
>> and****
>>
>> "Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
>> out 3083 ), with id 1 due to long handshake"****
>>
>> ****
>>
>> ****
>>
>> ****
>>
>> I'm using self-signed certificate with fake CA (added both to the server
>> and client)****
>>
>> ****
>>
>> client debug is:****
>>
>> "devRtmpConnection/registerMethods() ****
>>
>> error NetConnection.Connect.Failed rtmps://
>> 192.168.72.105:5443/openmeetings/hibernate null false "****
>>
>> ****
>>
>> ****
>>
>> Can you help me with it?****
>>
>> ****
>>
>> --
>> 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.wagner@gmail.com****
>>
>>
>>
>> ****
>>
>> ****
>>
>> --
>> WBR
>> Maxim aka solomax****
>>
>> *Stephen Cottham
>> *Group IT Manager (Associate)
>>
>> Robert Bird Group
>> Level 5, 333 Ann St
>> Brisbane, Queensland, 4000, Australia****
>>
>> *Phone: +6173 319 2777 (AUS)*****
>>
>> *Phone: +44207 592 8000 (UK)*****
>>
>> *Fax: +6173 319 2799*****
>>
>> ****
>>
>> *Mobile: +61400 756 963 (AUS)*****
>>
>> *Mobile: +447900 918 616 (UK)*****
>>
>> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>>
>> <http://www.robertbird.com.au/>
>>
>> This email and any attachments are confidential and may contain legally
>> privileged information or copyright material. Unless expressly stated,
>> confidentiality and/or legal privilege is not intended to be waived by the
>> sending of this email. The contents of this email, including any
>> attachments, are intended solely for the use of the individual or entity to
>> whom they are addressed. If you are not an intended recipient, please
>> contact us immediately by return email and then delete both messages. You
>> may not otherwise read, forward, copy, use or disclose this email or any
>> attachments. Any views expressed in this email are those of the individual
>> sender except where the sender expressly, and with authority, states
>> otherwise. It is your responsibility to check any attachments for viruses
>> or defects before opening or sending them on. None of the sender or its
>> related entities accepts any liability for any consequential damage
>> resulting from this email containing computer viruses. ****
>>
>> ****
>>
>>
>> Disclaimer added by *CodeTwo Exchange Rules*
>> www.codetwo.com****
>>
>> ****
>>
>>
>>
>> ****
>>
>> ****
>>
>> --
>> WBR
>> Maxim aka solomax****
>>
>>
>>
>> ****
>>
>> ****
>>
>> --
>> WBR
>> Maxim aka solomax****
>>
>>
>>
>> ****
>>
>> ** **
>>
>> --
>> WBR
>> Maxim aka solomax****
>>
>>
>>
>> ****
>>
>> ** **
>>
>> --
>> 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.wagner@gmail.com
>
--
WBR
Maxim aka solomax
RE: Problem: Import process never completes for both Backup Import and for Image upload.
Posted by George Kirkham <gk...@co2crc.com.au>.
Sebastian,
I have just tested Image upload for a user, and this worked fine.
I am putting my issue down to corrupt data in my production
installation.
Then next time I move code to production, I will manually re-enter all
users (there are not that many of them). Files can be re-uploaded as
required.
Thanks,
George Kirkham
IT Manager
Cooperative Research Centre For Greenhouse Gas Technologies (CO2CRC)
NFF House, 14 - 16 Brisbane Avenue, Barton, ACT, 2600, Australia
T: (02) 6120 1600
F: (02) 6273 7181
E: gkirkham@co2crc.com.au,
W: www.co2crc.com.au
From: George Kirkham [mailto:gkirkham@co2crc.com.au]
Sent: Thursday, 17 May 2012 8:29 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: Problem: Import process never completes for both Backup
Import and for Image upload.
Sebastian,
Then why would "the upload window in the client UI could not be closed
because the publicSID not be found in the server session to send the
"import-complete" event" ?
This issue is also happening in the "Upload new image" routine, please
see log entries for two "Upload new image" actions.
I will rebuild my OpenMeetings server and test the image once again, two
see if the issue happens in a clean build. Could it that there is some
corrupt data in my Production import ? Does uploading a new image work
for you?
ERROR 05-17 08:13:25.904 ScopeApplicationAdapter.java 53177045 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-2] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
And under another UserID
DEBUG 05-17 08:21:04.901 ProcessHelper.java 53636042 101
org.openmeetings.app.documents.GenerateSWF [http-0.0.0.0-5080-2] -
exitVal: 0
ERROR 05-17 08:21:04.904 ScopeApplicationAdapter.java 53636045 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-2] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
at
org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWith
ClientByPublicSID(ScopeApplicationAdapter.java:2707)
~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.UploadController.sendMessage(Uplo
adController.java:163) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.UploadController.handleFormUpload
(UploadController.java:147) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) ~[na:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)
~[na:1.6.0_26]
at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.inv
okeHandlerMethod(HandlerMethodInvoker.java:176)
[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.handle(AnnotationMethodHandlerAdapter.java:424)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:790)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:719)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:669)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet
.java:585)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[javaee-api-5.1.2.om.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(S
ervletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:7
7) [red5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:470) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554
) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98) [catalina-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
9) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-17 08:21:45.956 DownloadHandler.java 53677097 125
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-2] -
query =
fileName=_profile_GeorgePhotoForSkype.jpg&moduleName=userprofile&parentP
ath=&room_id=&sid=95d1393bce783fd45953882b477e3a7a&r=1337206886060
DEBUG 05-17 08:21:45.957 DownloadHandler.java 53677098 126
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-2] -
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 8:19 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
Quote from your log: *File explorer item import complete, clearing temp
files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in
the client UI could not be closed because the publicSID could not be
found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into
my test build of revision 1338946 using the UI, however the import never
completes, it just stays on the screen showing that it is "converting
document". The log shows that Users and Rooms are imported
successfully, but the process errors along the way. The error "Could not
Find RoomClient on List publicSID" seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200
2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
/openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID
=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=133716128201
6 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
/openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200
666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST
/openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c
63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ez
ip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45
953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - roomFilesFolder PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - sourceDirRec PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - File explorer item import complete, clearing
temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
at
org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWith
ClientByPublicSID(ScopeApplicationAdapter.java:2707)
~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.BackupImportController.service(Ba
ckupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) ~[na:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)
~[na:1.6.0_26]
at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.inv
okeHandlerMethod(HandlerMethodInvoker.java:176)
[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.handle(AnnotationMethodHandlerAdapter.java:424)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:790)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:719)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:669)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet
.java:585)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[javaee-api-5.1.2.om.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(S
ervletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:7
7) [red5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:470) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554
) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98) [catalina-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
9) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
org.openmeetings.app.quartz.scheduler.MeetingReminderJob
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be
modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on
Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert - Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
>From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a
PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then
issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out
om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
-out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
-outform DER
wget
http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData
/data/ImportKey.java
wget
http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData
/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root
folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <
Stephen.Cottham@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the
certificates module and import it that way, after importing via IE it
can now use firefox too.
I'm just knocking up the steps I took to get it to work and will mail it
back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root
folder via the browser and it will now connect, so anyone using a
self-signed cert will need to add this to all machines they plan on
running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I've created the self-signed certificate, this is working fine in apache
and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319
out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine,
I'll keep on trying to see what's going wrong, not much from the logs
etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root
certificate):
http://www.tc.umn.edu/~brams006/selfsign.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret
-destkeystore keystore -destalias red5 -srckeystore certificate.pfx
-srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I
can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the
red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/re
d5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings
via SSL, for example the people asking for the RTMPSClient feature in
the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17
03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18]
org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a
MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
rtmp: RTMP [state=connect, client-mode=false, debug=false,
encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={},
writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={},
writeTimestamps={}, liveTimestamps={}, readChunkSize=128,
writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183
cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too
small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in:
931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server
and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://
192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally
privileged information or copyright material. Unless expressly stated,
confidentiality and/or legal privilege is not intended to be waived by
the sending of this email. The contents of this email, including any
attachments, are intended solely for the use of the individual or entity
to whom they are addressed. If you are not an intended recipient, please
contact us immediately by return email and then delete both messages.
You may not otherwise read, forward, copy, use or disclose this email or
any attachments. Any views expressed in this email are those of the
individual sender except where the sender expressly, and with authority,
states otherwise. It is your responsibility to check any attachments for
viruses or defects before opening or sending them on. None of the sender
or its related entities accepts any liability for any consequential
damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
RE: Problem: Import process never completes for both Backup Import and for Image upload.
Posted by George Kirkham <gk...@co2crc.com.au>.
Sebastian,
Then why would "the upload window in the client UI could not be closed
because the publicSID not be found in the server session to send the
"import-complete" event" ?
This issue is also happening in the "Upload new image" routine, please
see log entries for two "Upload new image" actions.
I will rebuild my OpenMeetings server and test the image once again, two
see if the issue happens in a clean build. Could it that there is some
corrupt data in my Production import ? Does uploading a new image work
for you?
ERROR 05-17 08:13:25.904 ScopeApplicationAdapter.java 53177045 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-2] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
And under another UserID
DEBUG 05-17 08:21:04.901 ProcessHelper.java 53636042 101
org.openmeetings.app.documents.GenerateSWF [http-0.0.0.0-5080-2] -
exitVal: 0
ERROR 05-17 08:21:04.904 ScopeApplicationAdapter.java 53636045 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-2] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
at
org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWith
ClientByPublicSID(ScopeApplicationAdapter.java:2707)
~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.UploadController.sendMessage(Uplo
adController.java:163) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.UploadController.handleFormUpload
(UploadController.java:147) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) ~[na:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)
~[na:1.6.0_26]
at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.inv
okeHandlerMethod(HandlerMethodInvoker.java:176)
[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.handle(AnnotationMethodHandlerAdapter.java:424)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:790)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:719)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:669)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet
.java:585)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[javaee-api-5.1.2.om.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(S
ervletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:7
7) [red5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:470) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554
) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98) [catalina-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
9) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-17 08:21:45.956 DownloadHandler.java 53677097 125
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-2] -
query =
fileName=_profile_GeorgePhotoForSkype.jpg&moduleName=userprofile&parentP
ath=&room_id=&sid=95d1393bce783fd45953882b477e3a7a&r=1337206886060
DEBUG 05-17 08:21:45.957 DownloadHandler.java 53677098 126
org.openmeetings.servlet.outputhandler.DownloadHandler
[http-0.0.0.0-5080-2] -
Thanks,
George Kirkham
From: seba.wagner@gmail.com [mailto:seba.wagner@gmail.com]
Sent: Thursday, 17 May 2012 8:19 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: Problem: Import process never completes
Quote from your log: *File explorer item import complete, clearing temp
files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in
the client UI could not be closed because the publicSID could not be
found in the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
Hi,
I attempted to import a full back up of our production environment into
my test build of revision 1338946 using the UI, however the import never
completes, it just stays on the screen showing that it is "converting
document". The log shows that Users and Rooms are imported
successfully, but the process errors along the way. The error "Could not
Find RoomClient on List publicSID" seems to crash the import process.
I the max_upload_size variable is working well now, thanks for that fix.
/usr/lib/red5/log/0.0.0.0_access.2012-05-16.log
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
HTTP/1.1" 200 524
192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
/openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
HTTP/1.1" 200 843
192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1" 200
2494623
192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
/openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID
=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=133716128201
6 HTTP/1.1" 200 525
192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
/openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200
666
192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 9144320
192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
/openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%
2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82
ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerIte
mId=1 HTTP/1.1" 200 2608481
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
/openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&
room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80 HTTP/1.1"
200 1682
192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST
/openmeetings/backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c
63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ez
ip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45
953882b477e3a7a HTTP/1.1" 200 -
<NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
point onward>
/usr/lib/red5/log/openmeetings.log
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - roomFilesFolder PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/roomFiles
DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - sourceDirRec PATH
/usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29
_59/recordingFiles
INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
org.openmeetings.servlet.outputhandler.BackupImportController
[http-0.0.0.0-5080-6] - File explorer item import complete, clearing
temp files
ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
org.openmeetings.app.remote.red5.ScopeApplicationAdapter
[http-0.0.0.0-5080-6] - [sendMessageWithClient]
java.lang.Exception: Could not Find RoomClient on List publicSID:
c9f57fe7c52c63aec0aa7902a67bd29a
at
org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWith
ClientByPublicSID(ScopeApplicationAdapter.java:2707)
~[openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.openmeetings.servlet.outputhandler.BackupImportController.service(Ba
ckupImportController.java:481) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) ~[na:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) ~[na:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)
~[na:1.6.0_26]
at
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.inv
okeHandlerMethod(HandlerMethodInvoker.java:176)
[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAd
apter.handle(AnnotationMethodHandlerAdapter.java:424)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:790)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:719)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:669)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet
.java:585)
[org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[javaee-api-5.1.2.om.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[javaee-api-5.1.2.om.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(S
ervletRequestExFilter.java:53) [openmeetings-2.0.0-SNAPSHOT.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:7
7) [red5.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:470) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554
) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109) [catalina-6.0.32.jar:6.0.32]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98) [catalina-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
9) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32]
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
[tomcat-coyote-6.0.32.jar:6.0.32]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
org.openmeetings.app.quartz.scheduler.MeetingReminderJob
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- MeetingReminderJob.execute
DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
[org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8]
- startStamp 2012-05-16 20:30:47.237
Thanks,
George Kirkham
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:03 PM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Sebastian
RTMPSClient rev. 4315 seems to be non functional
Should I proceed with update to the later revision of Red5?
please NOTE Red5 structure is changed so our build process need to be
modified accordingly.
(They seems to change some libs + separate server and client)
On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
wrote:
Thanks a lot Stephen,
I've wasted 2 hours fighting with this bug :(
My configuration works as expected in FF.
This is second time I fight with this Chome issue :(
On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Interesting:
http://code.google.com/p/chromium/issues/detail?id=80749
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 12:02 PM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
Self-Signed and trusted Certs work in IE and FF, neither of them work on
Chrome for RTMPS.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:50 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Sure will check that out now.
In the meantime these are the steps that worked for me:
Created SelfCert - Numerous ways to do this but this worked for me:
Download IIS 6.0 Resource Kit Tools
Install the resource kit
Created a new dummy website in IIS with ID 13456
>From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
folder and select "SelfSSL".
Issued command selfssl.exe /N:cn=om.yourdomain.com /S: 13456
Then go back to IIS and export the newly created SSL certificate as a
PFX file.
Convert PFX into component Cert and Key:
Copy the PFX file to the Open Meeting Server into /usr/adm/cert then
issue the following:
openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
om.yourdomain.com.keytmp.pem
openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
om.yourdomain.com.cert.pem
openssl rsa -in om.yourdomain.com.keytmp.pem -out
om.robertbird.com.key.pem
Convert PEM files to DER and import into Keystore:
openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
-out key.der -outform DER
openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
-outform DER
wget
http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData
/data/ImportKey.java
wget
http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData
/data/ImportKey.class
java ImportKey key.der cert.der
now move it to the conf folder
mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore
Then import the certificate thru IE and put it into the trusted Root
folder, restart and it should be good.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:44 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Can you check if it works in Chrome?
It seems I was fighting Chrome only.
Will check FF later today
On May 16, 2012 5:39 PM, "Stephen Cottham" <
Stephen.Cottham@robertbird.com.au> wrote:
I installed it via IE but you can open MMC and then load the
certificates module and import it that way, after importing via IE it
can now use firefox too.
I'm just knocking up the steps I took to get it to work and will mail it
back, give us like 10 mins.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 11:34 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
what browser are you using?
On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hey Maxim,
I got that to work now, I added the Certificate into my trusted Root
folder via the browser and it will now connect, so anyone using a
self-signed cert will need to add this to all machines they plan on
running it with otherwise RMTPS will fail.
Cheers
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: Wednesday, 16 May 2012 11:26 AM
To: openmeetings-user@incubator.apache.org
Subject: RE: RTMPS question
Hey Maxim,
I've created the self-signed certificate, this is working fine in apache
and the install process (HTTPS) but fails on RTMPS only.
All I get from my logs is the following:
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Connection reset by peer
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught Broken pipe
[WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
Exception caught null
And
[WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319
out 639 ), with id 3 due to long handshake
Just to check I put the authorised cert back in and it connects fine,
I'll keep on trying to see what's going wrong, not much from the logs
etc.. unfortunately.
Cheers
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:38 AM
To: openmeetings-user@incubator.apache.org
Subject: Re: RTMPS question
Thanks Stephen,
I did use these steps to create certificates (the option with root
certificate):
http://www.tc.umn.edu/~brams006/selfsign.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign.html>
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html
<http://www.tc.umn.edu/%7Ebrams006/selfsign_ubuntu.html>
and these 2 commands to convert server certificate to the keystore:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
server.crt -certfile ca.crt
keytool -importkeystore -deststorepass secret -destkeypass secret
-destkeystore keystore -destalias red5 -srckeystore certificate.pfx
-srcstoretype PKCS12 -srcstorepass password -srcalias 1
not sure if it helps, since it not completely working.
p.s. the certificate generated works well for Apache web server.
On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
Hi Maxim,
I have SSL running fine with a legit certificate, at some point today I
can create a self-signed and test this for you.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Wednesday, 16 May 2012 9:24 AM
To: openmeetings-user@incubator.apache.org
Subject: Fwd: RTMPS question
Dear All,
Is there anybody was able to set up RTMPS with self-signed certificate?
Or maybe have clue for the issue described below?
Thanks in advance :)
---------- Forwarded message ----------
From: seba.wagner@gmail.com <se...@gmail.com>
Date: Wed, May 16, 2012 at 3:09 PM
Subject: Re: RTMPS question
To: Maxim Solodovnik <so...@gmail.com>
Cc: openmeetings-dev@incubator.apache.org
I have no SSL test environment currently. I did not run into this issue.
I did only find the corresponding code that throws your issue in the
red5 sources:
http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/re
d5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
However there is no advice in the source how to resolve it.
Maybe some other users have an idea that successfully run OpenMeetings
via SSL, for example the people asking for the RTMPSClient feature in
the Screensharing.
Sebastian
2012/5/16 Maxim Solodovnik <so...@gmail.com>
Hello Sebastian,
I'm currently trying to setup and test RTMPS for Screen sharing.
I perform all steps from instruction
But still unable to get RTMPS working
Here is extended log:
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](ssl...) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) processing the FINISHED state
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) is now secured
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17
03 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler -
Session Server[1](SSL) Processing the received message
[DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
Server[1](SSL): Processing the SSL Data
[DEBUG] [NioProcessor-18]
org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a
MESSAGE_RECEIVED for session 1
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
rtmp: RTMP [state=connect, client-mode=false, debug=false,
encrypted=false, lastReadChannel=0, lastWriteChannel=0, readHeaders={},
writeHeaders={}, readPacketHeaders={}, readPackets={}, writePackets={},
writeTimestamps={}, liveTimestamps={}, readChunkSize=128,
writeChunkSize=128, encoding=AMF0] buffer: HeapBuffer[pos=0 lim=183
cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F 31 20 48 54 54...]
[DEBUG] [NioProcessor-18]
org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Handshake init too
small, buffering. remaining: 183
[WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection
- Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in:
931 out 3083 ), with id 1 due to long handshake
As you can see SSL is secured (no issues)
but then I got:
"Handshake init too small, buffering. remaining: 183"
and
"Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
out 3083 ), with id 1 due to long handshake"
I'm using self-signed certificate with fake CA (added both to the server
and client)
client debug is:
"devRtmpConnection/registerMethods()
error NetConnection.Connect.Failed rtmps://
192.168.72.105:5443/openmeetings/hibernate null false "
Can you help me with it?
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 <tel:%2B6173%20319%202777> (AUS)
Phone: +44207 592 8000 <tel:%2B44207%20592%208000> (UK)
Fax: +6173 319 2799 <tel:%2B6173%20319%202799>
Mobile: +61400 756 963 <tel:%2B61400%20756%20963> (AUS)
Mobile: +447900 918 616 <tel:%2B447900%20918%20616> (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally
privileged information or copyright material. Unless expressly stated,
confidentiality and/or legal privilege is not intended to be waived by
the sending of this email. The contents of this email, including any
attachments, are intended solely for the use of the individual or entity
to whom they are addressed. If you are not an intended recipient, please
contact us immediately by return email and then delete both messages.
You may not otherwise read, forward, copy, use or disclose this email or
any attachments. Any views expressed in this email are those of the
individual sender except where the sender expressly, and with authority,
states otherwise. It is your responsibility to check any attachments for
viruses or defects before opening or sending them on. None of the sender
or its related entities accepts any liability for any consequential
damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
--
Sebastian Wagner
https://twitter.com/#!/dead_lock <https://twitter.com/#%21/dead_lock>
http://www.openmeetings.de <http://www.openmeetings.de>
http://www.webbase-design.de <http://www.webbase-design.de>
http://www.wagner-sebastian.com <http://www.wagner-sebastian.com>
seba.wagner@gmail.com <ma...@gmail.com>
Re: Problem: Import process never completes
Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Quote from your log: *File explorer item import complete, clearing temp
files*
That means
That means the import is actually complete and should be okay.
Your exception just means that the method to close the upload window in the
client UI could not be closed because the publicSID could not be found in
the server session to send the "import-complete" event.
Sebastian
2012/5/17 George Kirkham <gk...@co2crc.com.au>
> Hi,****
>
> ** **
>
> I attempted to import a full back up of our production environment into my
> test build of revision 1338946 using the UI, however the import never
> completes, it just stays on the screen showing that it is “converting
> document”. The log shows that Users and Rooms are imported successfully,
> but the process errors along the way. The error “Could not Find
> RoomClient on List publicSID” seems to crash the import process.****
>
> ** **
>
> I the max_upload_size variable is working well now, thanks for that fix.**
> **
>
> ** **
>
> ****
>
> ** **
>
> /usr/lib/red5/log/0.0.0.0_access.2012-05-16.log****
>
> ** **
>
> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
> /openmeetings/public/themes/basic-theme/whiteboard/text_signature.png
> HTTP/1.1" 200 524****
>
> 192.168.0.25 - - [16/May/2012:19:40:36 +1000] "GET
> /openmeetings/public/themes/basic-theme/general/cancel_icon_small.png
> HTTP/1.1" 200 843****
>
> 192.168.0.25 - - [16/May/2012:19:41:26 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eswf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 2494623****
>
> 192.168.0.25 - - [16/May/2012:19:41:39 +1000] "GET
> /openmeetings/services/FileService/getFileExplorerByRoomSelfInternal?SID=370aba740be4296ca50c1360a017fc80&roomId=2&%5F%5Flzbc%5F%5F=1337161282016
> HTTP/1.1" 200 525****
>
> 192.168.0.25 - - [16/May/2012:19:42:58 +1000] "GET
> /openmeetings/public/themes/basic-theme/general/error.png HTTP/1.1" 200 666
> ****
>
> 192.168.0.25 - - [16/May/2012:19:43:24 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Eppt&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
> HTTP/1.1" 200 9144320****
>
> 192.168.0.25 - - [16/May/2012:19:43:42 +1000] "GET
> /openmeetings/DownloadHandler?fileName=6f5c8d2afd04f5a68a2171f53b7f82ab%2Epdf&moduleName=videoconf1&parentPath=%2F6f5c8d2afd04f5a68a2171f53b7f82ab%2F&room_id=files&sid=95d1393bce783fd45953882b477e3a7a&fileExplorerItemId=1
> HTTP/1.1" 200 2608481****
>
> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET
> /openmeetings/DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=2&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 1682****
>
> 192.168.0.25 - - [16/May/2012:19:44:29 +1000] "GET /openmeetings/
> DownloadHandler?fileName=CHAT&moduleName=chat&parentPath=&room_id=&remoteUserid=1&sid=370aba740be4296ca50c1360a017fc80
> HTTP/1.1" 200 1682****
>
> 192.168.0.25 - - [16/May/2012:20:30:00 +1000] "POST /openmeetings/
> backup.upload?moduleName=videoconf1&publicSID=c9f57fe7c52c63aec0aa7902a67bd29a&filename=backup%5F13%5F05%5F2012%5F17%5F47%5F57%2Ezip&parentFolderId=0&room_id=2&secondid=0&isOwner=0&sid=95d1393bce783fd45953882b477e3a7a
> HTTP/1.1" 200 -****
>
> ** **
>
> <NB: No further entries in the 0.0.0.0_access.2012-05-16.log from this
> point onward>****
>
> ** **
>
> ** **
>
> ** **
>
> /usr/lib/red5/log/openmeetings.log****
>
> ** **
>
> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2443
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - roomFilesFolder PATH
> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/roomFiles
> ****
>
> DEBUG 05-16 20:30:00.168 BackupImportController.java 10971309 2560
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - sourceDirRec PATH
> /usr/lib/red5/webapps/openmeetings/upload/import/import_16_05_2012_20_29_59/recordingFiles
> ****
>
> INFO 05-16 20:30:00.168 BackupImportController.java 10971309 457
> org.openmeetings.servlet.outputhandler.BackupImportController
> [http-0.0.0.0-5080-6] - File explorer item import complete, clearing temp
> files****
>
> ERROR 05-16 20:30:00.171 ScopeApplicationAdapter.java 10971312 2758
> org.openmeetings.app.remote.red5.ScopeApplicationAdapter
> [http-0.0.0.0-5080-6] - [sendMessageWithClient] ****
>
> java.lang.Exception: Could not Find RoomClient on List publicSID:
> c9f57fe7c52c63aec0aa7902a67bd29a****
>
> at
> org.openmeetings.app.remote.red5.ScopeApplicationAdapter.sendMessageWithClientByPublicSID(ScopeApplicationAdapter.java:2707)
> ~[openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at
> org.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:481)
> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_26]****
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> ~[na:1.6.0_26]****
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> ~[na:1.6.0_26]****
>
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]*
> ***
>
> at
> org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
> [spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
> [org.springframework.web.servlet-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]****
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> [javaee-api-5.1.2.om.jar:na]****
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> [javaee-api-5.1.2.om.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53)
> [openmeetings-2.0.0-SNAPSHOT.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
> [red5.jar:na]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> [catalina-6.0.32.jar:6.0.32]****
>
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> [tomcat-coyote-6.0.32.jar:6.0.32]****
>
> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]****
>
> DEBUG 05-16 20:30:47.235 MeetingReminderJob.java 11018376 34
> org.openmeetings.app.quartz.scheduler.MeetingReminderJob
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
> MeetingReminderJob.execute****
>
> DEBUG 05-16 20:30:47.237 AppointmentDaoImpl.java 11018378 937
> org.openmeetings.app.data.calendar.daos.AppointmentDaoImpl
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] -
> startStamp 2012-05-16 20:30:47.237****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> Thanks,****
>
> ** **
>
> George Kirkham****
>
> ** **
>
> ** **
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:03 PM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ** **
>
> Sebastian****
>
> ** **
>
> RTMPSClient rev. 4315 seems to be non functional****
>
> Should I proceed with update to the later revision of Red5?****
>
> ** **
>
> please NOTE Red5 structure is changed so our build process need to be
> modified accordingly.****
>
> (They seems to change some libs + separate server and client)****
>
> ** **
>
> ** **
>
> On Wed, May 16, 2012 at 7:35 PM, Maxim Solodovnik <so...@gmail.com>
> wrote:****
>
> Thanks a lot Stephen,****
>
> ** **
>
> I've wasted 2 hours fighting with this bug :(****
>
> My configuration works as expected in FF.****
>
> This is second time I fight with this Chome issue :(****
>
> ** **
>
> ** **
>
> On Wed, May 16, 2012 at 6:11 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Interesting:****
>
> ****
>
> http://code.google.com/p/chromium/issues/detail?id=80749****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 12:02 PM****
>
>
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Hey Maxim,****
>
> ****
>
> Self-Signed and trusted Certs work in IE and FF, neither of them work on
> Chrome for RTMPS.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 11:50 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Sure will check that out now.****
>
> ****
>
> In the meantime these are the steps that worked for me:****
>
> ****
>
> *Created SelfCert – Numerous ways to do this but this worked for me:*****
>
> ****
>
> Download IIS 6.0 Resource Kit Tools****
>
> Install the resource kit ****
>
> Created a new dummy website in IIS with ID 13456****
>
> From the Windows Start Menu, go to the "\Programs\IIS Resources\SelfSSL"
> folder and select "SelfSSL".****
>
> Issued command *selfssl.exe /N:cn=om.yourdomain.com /S: 13456*****
>
> Then go back to IIS and export the newly created SSL certificate as a PFX
> file.****
>
> ****
>
> *Convert PFX into component Cert and Key:*****
>
> ****
>
> Copy the PFX file to the Open Meeting Server into /usr/adm/cert then issue
> the following:****
>
> ****
>
> *openssl pkcs12 -in om.yourdomain.com.pfx -nocerts -out
> om.yourdomain.com.keytmp.pem*****
>
> *openssl pkcs12 -in om.yourdomain.com.pfx -clcerts -nokeys -out
> om.yourdomain.com.cert.pem*****
>
> *openssl rsa -in om.yourdomain.com.keytmp.pem -out
> om.robertbird.com.key.pem*****
>
> ****
>
> *Convert PEM files to DER and import into Keystore:*****
>
> ****
>
> *openssl pkcs8 -topk8 -nocrypt -in om.robertbird.com.key.pem -inform PEM
> -out key.der -outform DER*****
>
> *openssl x509 -in om.yourdomain.com.cert.pem -inform PEM -out cert.der
> -outform DER*****
>
> *wget
> http://www.agentbob.info/agentbob/80/version/default/part/AttachmentData/data/ImportKey.java
> *****
>
> *wget
> http://www.agentbob.info/agentbob/81/version/default/part/AttachmentData/data/ImportKey.class
> *****
>
> *java ImportKey key.der cert.der*****
>
> ****
>
> now move it to the conf folder****
>
> ****
>
> *mv /root/keystore.ImportKey /usr/lib/red5/conf/keystore*****
>
> * *****
>
> Then import the certificate thru IE and put it into the trusted Root
> folder, restart and it should be good.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:44 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Can you check if it works in Chrome?
> It seems I was fighting Chrome only.
> Will check FF later today****
>
> On May 16, 2012 5:39 PM, "Stephen Cottham" <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> I installed it via IE but you can open MMC and then load the certificates
> module and import it that way, after importing via IE it can now use
> firefox too.****
>
> ****
>
> I’m just knocking up the steps I took to get it to work and will mail it
> back, give us like 10 mins.****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 11:34 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ****
>
> what browser are you using?****
>
> On Wed, May 16, 2012 at 5:30 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hey Maxim,****
>
> ****
>
> I got that to work now, I added the Certificate into my trusted Root
> folder via the browser and it will now connect, so anyone using a
> self-signed cert will need to add this to all machines they plan on running
> it with otherwise RMTPS will fail.****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> *From:* Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
> *Sent:* Wednesday, 16 May 2012 11:26 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* RE: RTMPS question****
>
> ****
>
> Hey Maxim,****
>
> ****
>
> I’ve created the self-signed certificate, this is working fine in apache
> and the install process (HTTPS) but fails on RTMPS only.****
>
> ****
>
> All I get from my logs is the following:****
>
> ****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught Connection reset by peer****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught Broken pipe****
>
> [WARN] [NioProcessor-19] org.red5.server.net.rtmps.RTMPSMinaIoHandler -
> Exception caught null****
>
> ****
>
> And ****
>
> ****
>
> [WARN] [Red5_Scheduler_Worker-4] org.red5.server.net.rtmp.RTMPConnection -
> Closing RTMPMinaConnection from 10.17.23.28 : 51487 to null (in: 319 out
> 639 ), with id 3 due to long handshake****
>
> ****
>
> Just to check I put the authorised cert back in and it connects fine, I’ll
> keep on trying to see what’s going wrong, not much from the logs etc..
> unfortunately.****
>
> ****
>
> ****
>
> Cheers****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 9:38 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: RTMPS question****
>
> ****
>
> Thanks Stephen,****
>
> ****
>
> I did use these steps to create certificates (the option with root
> certificate):****
>
> http://www.tc.umn.edu/~brams006/selfsign.html****
>
> http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html****
>
> ****
>
> ****
>
> and these 2 commands to convert server certificate to the keystore:****
>
> ****
>
> openssl pkcs12 -export -out certificate.pfx -inkey server.key -in
> server.crt -certfile ca.crt****
>
> ****
>
> keytool -importkeystore -deststorepass secret -destkeypass secret
> -destkeystore keystore -destalias red5 -srckeystore certificate.pfx
> -srcstoretype PKCS12 -srcstorepass password -srcalias 1****
>
> ****
>
> not sure if it helps, since it not completely working.****
>
> ****
>
> p.s. the certificate generated works well for Apache web server.****
>
> ****
>
> ****
>
> On Wed, May 16, 2012 at 3:29 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hi Maxim,****
>
> ****
>
> I have SSL running fine with a legit certificate, at some point today I
> can create a self-signed and test this for you.****
>
> ****
>
> Best Regards****
>
> ****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Wednesday, 16 May 2012 9:24 AM
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Fwd: RTMPS question****
>
> ****
>
> Dear All,****
>
> ****
>
> Is there anybody was able to set up RTMPS with self-signed certificate?***
> *
>
> Or maybe have clue for the issue described below?
>
> Thanks in advance :)****
>
> ---------- Forwarded message ----------
> From: *seba.wagner@gmail.com* <se...@gmail.com>
> Date: Wed, May 16, 2012 at 3:09 PM
> Subject: Re: RTMPS question
> To: Maxim Solodovnik <so...@gmail.com>
> Cc: openmeetings-dev@incubator.apache.org
>
>
> I have no SSL test environment currently. I did not run into this issue.
>
> I did only find the corresponding code that throws your issue in the red5
> sources:
>
> http://code.google.com/p/red5/source/browse/java/server/trunk/src/org/red5/server/net/rtmp/codec/RTMPProtocolDecoder.java#212
>
> However there is no advice in the source how to resolve it.
>
> Maybe some other users have an idea that successfully run OpenMeetings via
> SSL, for example the people asking for the RTMPSClient feature in the
> Screensharing.
>
> Sebastian****
>
> ****
>
> 2012/5/16 Maxim Solodovnik <so...@gmail.com>****
>
> Hello Sebastian,****
>
> ****
>
> I'm currently trying to setup and test RTMPS for Screen sharing.****
>
> ****
>
> I perform all steps from instruction****
>
> But still unable to get RTMPS working****
>
> Here is extended log:****
>
> ****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](ssl...) processing the FINISHED state****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1*](SSL) is now secured*****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](SSL) processing the FINISHED state****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1]*(SSL) is now secured*****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Processing the SSL Data****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Message received : HeapBuffer[pos=0 lim=213 cap=1024: 17 03
> 01 00 D0 67 A1 06 4E 8C EB EB 42 D8 D7 A2...]****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslHandler - Session
> Server[1](SSL) Processing the received message****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.ssl.SslFilter - Session
> Server[1](SSL): Processing the SSL Data****
>
> [DEBUG] [NioProcessor-18] org.apache.mina.filter.codec.ProtocolCodecFilter
> - Processing a MESSAGE_RECEIVED for session 1****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Start: 0****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - decodeHandshake -
> rtmp: RTMP [state=connect, client-mode=false, debug=false, encrypted=false,
> lastReadChannel=0, lastWriteChannel=0, readHeaders={}, writeHeaders={},
> readPacketHeaders={}, readPackets={}, writePackets={}, writeTimestamps={},
> liveTimestamps={}, readChunkSize=128, writeChunkSize=128, encoding=AMF0]
> buffer: HeapBuffer[pos=0 lim=183 cap=1536: 50 4F 53 54 20 2F 6F 70 65 6E 2F
> 31 20 48 54 54...]****
>
> [DEBUG] [NioProcessor-18]
> org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - *Handshake init too
> small, buffering. remaining: 183*****
>
> [WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection -
> *Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
> out 3083 ), with id 1 due to long handshake*****
>
> ****
>
> ****
>
> As you can see SSL is secured (no issues)****
>
> but then I got:****
>
> "Handshake init too small, buffering. remaining: 183"****
>
> and****
>
> "Closing RTMPMinaConnection from 192.168.72.100 : 64634 to null (in: 931
> out 3083 ), with id 1 due to long handshake"****
>
> ****
>
> ****
>
> ****
>
> I'm using self-signed certificate with fake CA (added both to the server
> and client)****
>
> ****
>
> client debug is:****
>
> "devRtmpConnection/registerMethods() ****
>
> error NetConnection.Connect.Failed rtmps://
> 192.168.72.105:5443/openmeetings/hibernate null false "****
>
> ****
>
> ****
>
> Can you help me with it?****
>
> ****
>
> --
> 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.wagner@gmail.com****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
> *Stephen Cottham
> *Group IT Manager (Associate)
>
> Robert Bird Group
> Level 5, 333 Ann St
> Brisbane, Queensland, 4000, Australia****
>
> *Phone: +6173 319 2777 (AUS)*****
>
> *Phone: +44207 592 8000 (UK)*****
>
> *Fax: +6173 319 2799*****
>
> ****
>
> *Mobile: +61400 756 963 (AUS)*****
>
> *Mobile: +447900 918 616 (UK)*****
>
> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>
> <http://www.robertbird.com.au/>
>
> This email and any attachments are confidential and may contain legally
> privileged information or copyright material. Unless expressly stated,
> confidentiality and/or legal privilege is not intended to be waived by the
> sending of this email. The contents of this email, including any
> attachments, are intended solely for the use of the individual or entity to
> whom they are addressed. If you are not an intended recipient, please
> contact us immediately by return email and then delete both messages. You
> may not otherwise read, forward, copy, use or disclose this email or any
> attachments. Any views expressed in this email are those of the individual
> sender except where the sender expressly, and with authority, states
> otherwise. It is your responsibility to check any attachments for viruses
> or defects before opening or sending them on. None of the sender or its
> related entities accepts any liability for any consequential damage
> resulting from this email containing computer viruses. ****
>
> ****
>
>
> Disclaimer added by *CodeTwo Exchange Rules*
> www.codetwo.com****
>
> ****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ** **
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ** **
>
> --
> 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.wagner@gmail.com