Details
-
Test
-
Status: Resolved
-
Minor
-
Resolution: Information Provided
-
5.0.0-M3
-
None
-
None
Description
OS:cetnos7.7+docker19.03
tomcat version:9.0.31,ghostscript-9.51,ImageMagick7.0.10.1,sox-14.4.2.tar.bz2
kurento in docker:
docker run -d --name kms -p 8888:8888 --mount type=bind,source=/opt/apache-openmeetings-5.0.0-M3/webapps/openmeetings/data,target=/opt/apache-openmeetings-5.0.0-M3/webapps/openmeetings/data kurento/kurento-media-server
+stun/turn server(behind NAT)
docker(kms)—>turnserver(3478 to internet )&openmeeting5.0.0M3 --->FireWall—>internet--FireWall--->client
I copied tomcat9.0.31 to Related directories,and ran,and many functions can be implemented,
a few probrelems:below:
very Small files can be uploaded,like txtfile,doc file...,big files even like pptx can not be uploaded,it seemed that the probrelm came from Fileup1.4.jar.
log:
[root@localhost logs]# tailf catalina.out
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly
at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:1033)
at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:931)
at java.base/java.io.InputStream.read(InputStream.java:205)
at org.apache.commons.fileupload.util.Streams.copy(Streams.java:98)
at org.apache.commons.fileupload.util.Streams.copy(Streams.java:68)
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:346)
... 40 common frames omitted
DEBUG 03-15 14:02:06.073 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-7] - Sending WebSocket PING
DEBUG 03-15 14:02:36.152 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-1] - Sending WebSocket PING
DEBUG 03-15 14:02:44.208 o.a.o.w.a.ClientManager:191 [nio-5443-exec-2] - Removing online room client: f364bd83-3d10-4a9b-b072-3d30adb70f5f, room: 4
DEBUG 03-15 14:02:44.213 o.a.o.c.r.KStream:272 [nio-5443-exec-2] - PARTICIPANT 3044b2c6-aa3a-49e5-9131-09cb7ebe7aaf: Releasing listeners
DEBUG 03-15 14:02:44.232 o.a.o.c.r.KStream:272 [nio-5443-exec-2] - PARTICIPANT 54ab23df-86cd-404f-b2dc-c2a933426db1: Releasing listeners
DEBUG 03-15 14:02:44.239 o.a.o.c.r.KurentoHandler:221 [nio-5443-exec-2] - Searching for room 4
DEBUG 03-15 14:02:44.240 o.a.o.c.r.KurentoHandler:235 [nio-5443-exec-2] - Room 4 found!
DEBUG 03-15 14:02:44.240 o.a.o.c.r.KurentoHandler:221 [nio-5443-exec-2] - Searching for room 4
DEBUG 03-15 14:02:44.241 o.a.o.c.r.KurentoHandler:235 [nio-5443-exec-2] - Room 4 found!
INFO 03-15 14:02:44.248 o.a.o.c.r.StreamProcessor:298 [nio-5443-exec-2] - No more screen streams in the room, stopping sharing
DEBUG 03-15 14:02:44.274 o.a.o.d.d.l.ConferenceLogDao:52 [nio-5443-exec-2] - [add]: org.apache.openmeetings.db.entity.log.ConferenceLog@2c27bd02
DEBUG 03-15 14:02:44.307 o.a.o.w.c.MainPanel:398 [nio-5443-exec-2] - updateContents:: npanels IS null ? false, client IS null ? false
DEBUG 03-15 14:02:44.308 o.a.o.w.a.ClientManager:191 [nio-5443-exec-2] - Removing online room client: f364bd83-3d10-4a9b-b072-3d30adb70f5f, room: null
DEBUG 03-15 14:03:15.730 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-1] - Sending WebSocket PING
DEBUG 03-15 14:03:46.797 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-6] - Sending WebSocket PING
DEBUG 03-15 14:04:17.855 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-4] - Sending WebSocket PING
DEBUG 03-15 14:04:48.917 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-3] - Sending WebSocket PING
DEBUG 03-15 14:05:19.982 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-5] - Sending WebSocket PING
DEBUG 03-15 14:05:51.044 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-7] - Sending WebSocket PING
DEBUG 03-15 14:06:22.116 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-8] - Sending WebSocket PING
DEBUG 03-15 14:06:53.180 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-9] - Sending WebSocket PING
DEBUG 03-15 14:07:24.245 o.a.o.w.c.OmWebSocketPanel:63 [io-5443-exec-10] - Sending WebSocket PING
DEBUG 03-15 14:07:55.313 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-2] - Sending WebSocket PING
DEBUG 03-15 14:08:26.376 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-1] - Sending WebSocket PING
DEBUG 03-15 14:08:57.441 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-6] - Sending WebSocket PING
DEBUG 03-15 14:09:28.510 o.a.o.s.q.s.ReminderJob:93 Bean#0_Worker-5 - Rss disabled by Admin
DEBUG 03-15 14:09:28.513 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-4] - Sending WebSocket PING
DEBUG 03-15 14:09:59.586 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-3] - Sending WebSocket PING
recording log:
018ea.webm
DEBUG 03-15 14:23:50.411 o.a.o.c.r.KurentoHandler:388 [ventExec-e2-t18] - Kurento::ObjectCreated -> [RemoteObject: type=RecorderEndpoint remoteRef=11d3fd00-35a3-44af-bd5e-71ff82bff62b_kurento.MediaPipeline/33a26c27-f76f-4e8e-a550-0a243666cce8_kurento.RecorderEndpoint]
DEBUG 03-15 14:23:50.421 o.a.o.c.r.KStream:213 [nio-5443-exec-1] - startRecord outMedia OK ? false
DEBUG 03-15 14:23:50.421 o.a.o.c.r.KStream:213 [nio-5443-exec-1] - startRecord outMedia OK ? true
INFO 03-15 14:23:50.421 o.a.o.u.OmFileHelper:234 [nio-5443-exec-1] - Configured to record to file:///opt/apache-openmeetings-5.0.0-M3/webapps/openmeetings/data/streams/4/rec_48_f2538a5a-3aaf-4470-9a6e-17e5697215fc.webm
INFO 03-15 14:23:50.426 o.a.o.c.r.KStream:241 [ventExec-e2-t18] - Recording started successfully
DEBUG 03-15 14:23:50.427 o.a.o.c.r.KurentoHandler:388 [ventExec-e2-t14] - Kurento::ObjectCreated -> [RemoteObject: type=RecorderEndpoint remoteRef=11d3fd00-35a3-44af-bd5e-71ff82bff62b_kurento.MediaPipeline/1f208d8e-2c31-48d5-ba1c-7d89de6d202e_kurento.RecorderEndpoint]
DEBUG 03-15 14:23:50.474 o.a.o.c.r.KRoom:189 [nio-5443-exec-1] - ##REC:: recording in room 4 is started 48 ::
INFO 03-15 14:23:50.476 o.a.o.c.r.KStream:241 [ventExec-e2-t14] - Recording started successfully
DEBUG 03-15 14:23:50.488 o.a.o.d.d.r.PollDao:104 [Thread-226] - :: hasPoll :: 4
DEBUG 03-15 14:23:50.540 o.a.o.d.d.r.PollDao:98 [Thread-226] - :: getArchived :: 4
DEBUG 03-15 14:23:50.547 o.a.o.c.r.KurentoHandler:221 [Thread-226] - Searching for room 4
DEBUG 03-15 14:23:50.547 o.a.o.c.r.KurentoHandler:235 [Thread-226] - Room 4 found!
DEBUG 03-15 14:23:50.548 o.a.o.c.r.KurentoHandler:221 [Thread-226] - Searching for room 4
DEBUG 03-15 14:23:50.548 o.a.o.c.r.KurentoHandler:235 [Thread-226] - Room 4 found!
DEBUG 03-15 14:23:50.575 o.a.o.d.d.r.PollDao:104 [Thread-228] - :: hasPoll :: 4
DEBUG 03-15 14:23:50.577 o.a.o.d.d.r.PollDao:98 [Thread-228] - :: getArchived :: 4
DEBUG 03-15 14:23:50.577 o.a.o.c.r.KurentoHandler:221 [Thread-228] - Searching for room 4
DEBUG 03-15 14:23:50.578 o.a.o.c.r.KurentoHandler:235 [Thread-228] - Room 4 found!
DEBUG 03-15 14:23:50.578 o.a.o.c.r.KurentoHandler:221 [Thread-228] - Searching for room 4
DEBUG 03-15 14:23:50.578 o.a.o.c.r.KurentoHandler:235 [Thread-228] - Room 4 found!
DEBUG 03-15 14:23:50.598 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-1] - Incoming message from user with ID '1': {"type":"kurento","id":"onIceCandidate","candidate":{"candidate":"candidate:0 1 UDP 2122187007 192.168.3.125 63304 typ host","sdpMid":"0","sdpMLineIndex":0,"usernameFragment":"8eab5480"},"uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210","luid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:50.613 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-1] - Incoming message from user with ID '1': {"type":"kurento","id":"onIceCandidate","candidate":{"candidate":"candidate:3 1 UDP 2122252543 192.168.56.1 63305 typ host","sdpMid":"0","sdpMLineIndex":0,"usernameFragment":"8eab5480"},"uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210","luid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:50.626 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-1] - Incoming message from user with ID '1': {"type":"kurento","id":"onIceCandidate","candidate":{"candidate":"candidate:6 1 TCP 2105458943 192.168.3.125 9 typ host tcptype active","sdpMid":"0","sdpMLineIndex":0,"usernameFragment":"8eab5480"},"uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210","luid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:50.638 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-1] - Incoming message from user with ID '1': {"type":"kurento","id":"onIceCandidate","candidate":{"candidate":"candidate:7 1 TCP 2105524479 192.168.56.1 9 typ host tcptype active","sdpMid":"0","sdpMLineIndex":0,"usernameFragment":"8eab5480"},"uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210","luid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:50.650 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-1] - Incoming message from user with ID '1': {"type":"kurento","id":"onIceCandidate","candidate":{"candidate":"candidate:0 2 UDP 2122187006 192.168.3.125 63306 typ host","sdpMid":"0","sdpMLineIndex":0,"usernameFragment":"8eab5480"},"uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210","luid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:50.664 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-1] - Incoming message from user with ID '1': {"type":"kurento","id":"onIceCandidate","candidate":{"candidate":"candidate:3 2 UDP 2122252542 192.168.56.1 63307 typ host","sdpMid":"0","sdpMLineIndex":0,"usernameFragment":"8eab5480"},"uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210","luid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:50.716 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-1] - Incoming message from user with ID '1': {"type":"kurento","id":"onIceCandidate","candidate":{"candidate":"candidate:6 2 TCP 2105458942 192.168.3.125 9 typ host tcptype active","sdpMid":"0","sdpMLineIndex":0,"usernameFragment":"8eab5480"},"uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210","luid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:50.727 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-1] - Incoming message from user with ID '1': {"type":"kurento","id":"onIceCandidate","candidate":{"candidate":"candidate:7 2 TCP 2105524478 192.168.56.1 9 typ host tcptype active","sdpMid":"0","sdpMLineIndex":0,"usernameFragment":"8eab5480"},"uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210","luid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:50.738 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-1] - Incoming message from user with ID '1': {"type":"kurento","id":"onIceCandidate","candidate":{"candidate":"candidate:2 1 UDP 1685987071 113.128.135.66 28421 typ srflx raddr 192.168.3.125 rport 63304","sdpMid":"0","sdpMLineIndex":0,"usernameFragment":"8eab5480"},"uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210","luid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:50.748 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-1] - Incoming message from user with ID '1': {"type":"kurento","id":"onIceCandidate","candidate":{"candidate":"candidate:2 2 UDP 1685987070 113.128.135.66 28425 typ srflx raddr 192.168.3.125 rport 63306","sdpMid":"0","sdpMLineIndex":0,"usernameFragment":"8eab5480"},"uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210","luid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:51.801 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-6] - Incoming message from user with ID '1': {"type":"kurento","id":"wannaShare","shareType":"screen","fps":"10","width":"800","height":"600"}
DEBUG 03-15 14:23:51.802 o.a.o.c.r.KurentoHandler:221 [nio-5443-exec-6] - Searching for room 4
DEBUG 03-15 14:23:51.802 o.a.o.c.r.KurentoHandler:235 [nio-5443-exec-6] - Room 4 found!
DEBUG 03-15 14:23:51.803 o.a.o.c.r.KurentoHandler:221 [nio-5443-exec-6] - Searching for room 4
DEBUG 03-15 14:23:51.803 o.a.o.c.r.KurentoHandler:235 [nio-5443-exec-6] - Room 4 found!
DEBUG 03-15 14:23:51.827 o.a.o.d.d.r.PollDao:104 [Thread-230] - :: hasPoll :: 4
DEBUG 03-15 14:23:51.829 o.a.o.d.d.r.PollDao:98 [Thread-230] - :: getArchived :: 4
DEBUG 03-15 14:23:51.829 o.a.o.c.r.KurentoHandler:221 [Thread-230] - Searching for room 4
DEBUG 03-15 14:23:51.830 o.a.o.c.r.KurentoHandler:235 [Thread-230] - Room 4 found!
DEBUG 03-15 14:23:51.830 o.a.o.c.r.KurentoHandler:221 [Thread-230] - Searching for room 4
DEBUG 03-15 14:23:51.830 o.a.o.c.r.KurentoHandler:235 [Thread-230] - Room 4 found!
DEBUG 03-15 14:23:53.427 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-4] - Incoming message from user with ID '1': {"type":"kurento","id":"pauseSharing","uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:53.428 o.a.o.c.r.KurentoHandler:221 [nio-5443-exec-4] - Searching for room 4
DEBUG 03-15 14:23:53.428 o.a.o.c.r.KurentoHandler:235 [nio-5443-exec-4] - Room 4 found!
DEBUG 03-15 14:23:53.428 o.a.o.c.r.KurentoHandler:221 [nio-5443-exec-4] - Searching for room 4
DEBUG 03-15 14:23:53.428 o.a.o.c.r.KurentoHandler:235 [nio-5443-exec-4] - Room 4 found!
DEBUG 03-15 14:23:53.431 o.a.o.c.r.KStream:272 [nio-5443-exec-4] - PARTICIPANT a916b1bb-418a-4cb6-be3e-79b004ecd210: Releasing listeners
DEBUG 03-15 14:23:54.064 o.a.o.c.r.StreamProcessor:87 [nio-5443-exec-3] - Incoming message from user with ID '1': {"type":"kurento","id":"stopRecord","uid":"a916b1bb-418a-4cb6-be3e-79b004ecd210"}
DEBUG 03-15 14:23:54.065 o.a.o.c.r.KurentoHandler:221 [nio-5443-exec-3] - Searching for room 4
DEBUG 03-15 14:23:54.065 o.a.o.c.r.KurentoHandler:235 [nio-5443-exec-3] - Room 4 found!
DEBUG 03-15 14:23:54.065 o.a.o.c.r.KRoom:195 [nio-5443-exec-3] - ##REC:: recording in room 4 is stopping 48 ::
DEBUG 03-15 14:23:54.102 o.a.o.c.c.RecordingConverter:52 [taskExecutor-2] - recording 48
DEBUG 03-15 14:23:54.105 o.a.o.c.r.KRoom:220 [nio-5443-exec-3] - ##REC:: recording in room 4 is stopped ::
ERROR 03-15 14:23:54.109 o.a.o.c.c.RecordingConverter:111 [taskExecutor-2] - [startConversion]
org.apache.openmeetings.core.converter.ConversionException: screenMetaData is Null recordingId 48
at org.apache.openmeetings.core.converter.RecordingConverter.startConversion(RecordingConverter.java:59)
at org.apache.openmeetings.core.remote.StreamProcessor.lambda$startConvertion$9(StreamProcessor.java:447)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
DEBUG 03-15 14:23:54.124 o.a.o.d.d.r.PollDao:104 [Thread-236] - :: hasPoll :: 4
DEBUG 03-15 14:23:54.128 o.a.o.d.d.r.PollDao:98 [Thread-236] - :: getArchived :: 4
DEBUG 03-15 14:23:54.134 o.a.o.c.r.KurentoHandler:221 [Thread-236] - Searching for room 4
DEBUG 03-15 14:23:54.134 o.a.o.c.r.KurentoHandler:235 [Thread-236] - Room 4 found!
DEBUG 03-15 14:24:10.072 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-5] - Sending WebSocket PING
DEBUG 03-15 14:24:40.146 o.a.o.w.c.OmWebSocketPanel:63 [nio-5443-exec-8] - Sending WebSocket PING
======
How could i Solve the problem myself ,rebuild from OM source files?or do In other ways?
Attachments
Attachments
Issue Links
- is duplicated by
-
OPENMEETINGS-2183 How to upgrade the newer tomcat version 9.0.31
- Closed