Could not initialize class org.red5.server.net.rtmp.RTMPHandshake

151 views
Skip to first unread message

smguenther

unread,
Aug 1, 2011, 10:16:37 AM8/1/11
to OpenMeetings User
Hello,

we have an OpenMeetings installation 1.6.2.r3675, which suddenly
doesn't display the login screen anymore.

During the start of red5 there aren't any error messages. But as soon
as we call IP:5080/openmeetings we get the following errors messages
in red5.log:

2011-08-01 16:10:44,841 [http-0.0.0.0-5080-1] INFO o.a.c.c.C.[.[.
0.0.0.[/openmeetings] - Velocity [debug] ResourceManager : found
usual_template.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

2011-08-01 16:10:52,315 [Red5_Scheduler_Worker-7] WARN
o.r.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from 1
92.168.0.11 : 33965 to null (in: 1537 out 0 ), with id 15379373 due to
long handshake
2011-08-01 16:10:52,575 [http-8088-exec-3] ERROR o.a.c.c.C.[.[0.0.0.0].
[/].[rtmpt] - Servlet.service() for servlet rtmpt threw exception
java.lang.NoClassDefFoundError: Could not initialize class
org.red5.server.net.rtmp.RTMPHandshake
at
org.red5.server.net.rtmpt.RTMPTHandler.rawBufferRecieved(RTMPTHandler.java:
104) [red5.jar:na]
at
org.red5.server.net.rtmpt.RTMPTHandler.messageReceived(RTMPTHandler.java:
124) [red5.jar:na]
at
org.red5.server.net.rtmpt.RTMPTServlet.handleSend(RTMPTServlet.java:
375) [red5.jar:na]
at
org.red5.server.net.rtmpt.RTMPTServlet.service(RTMPTServlet.java:457)
[red5.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
717) [javaee-api-5.1.1.jar:5.1.1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290) [catalina-6.0.24.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206) [catalina-6.0.24.jar:na]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233) [catalina-6.0.24.jar:na]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191) [catalina-6.0.24.jar:na]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:
465) [catalina-6.0.24.jar:na]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127) [catalina-6.0.24.jar:na]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102) [catalina-6.0.24.jar:na]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109) [catalina-6.0.24.jar:na]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
298) [catalina-6.0.24.jar:na]
at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:
883) [tomcat-coyote-6.0.24.jar:na]
at org.apache.coyote.http11.Http11NioProtocol
$Http11ConnectionHandler.process(Http11NioProtocol.java:721) [tomcat-
coyote-6.0.24.jar:na]
at org.apache.tomcat.util.net.NioEndpoint
$SocketProcessor.run(NioEndpoint.java:2258) [tomcat-
coyote-6.0.24.jar:na]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1110) [na:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0_20]
at java.lang.Thread.run(Thread.java:636) [na:1.6.0_20]

2011-08-01 16:10:52,782 [http-8088-exec-2] ERROR o.a.c.c.C.[.[0.0.0.0].
[/].[rtmpt] - Servlet.service() for servlet rtmpt threw exception

Does anyone know what might cause this problem?

Thanks for any hints/suggestions,

Stefan

seba....@gmail.com

unread,
Aug 1, 2011, 10:33:38 AM8/1/11
to openmeet...@googlegroups.com
If you restart the service, is the error gone?
How many connections did the server process before the Error came up?

Sebastian

2011/8/1 smguenther <stefan.mich...@googlemail.com>

--
You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
To post to this group, send email to openmeet...@googlegroups.com.
To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.




--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
seba....@gmail.com

smguenther

unread,
Aug 1, 2011, 3:55:33 PM8/1/11
to OpenMeetings User
Hi,

On 1 Aug., 16:33, "seba.wag...@gmail.com" <seba.wag...@gmail.com>
wrote:
> If you restart the service, is the error gone?
>
well, when I restart the service, it will come up again, but as soon
as I call the URL, red5.log contains the error.

> How many connections did the server process before the Error came up?
>
It is always the first connection.

Stefan

seba....@gmail.com

unread,
Aug 1, 2011, 4:04:36 PM8/1/11
to openmeet...@googlegroups.com
are you sure that there are no other exception log statements in the logfile?


2011/8/1 smguenther <stefan.mich...@googlemail.com>

Stefan

--
You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
To post to this group, send email to openmeet...@googlegroups.com.
To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.

smguenther

unread,
Aug 1, 2011, 5:12:54 PM8/1/11
to OpenMeetings User


On 1 Aug., 22:04, "seba.wag...@gmail.com" <seba.wag...@gmail.com>
wrote:
> are you sure that there are no other exception log statements in the
> logfile?
>
Maybe you like to have a look at the logs?

http://www.in-put.de/openmeetings-log.zip (6.8 KB)

Thanks,

Stefan

seba....@gmail.com

unread,
Aug 2, 2011, 5:06:39 AM8/2/11
to openmeet...@googlegroups.com
Your server did not even startup yet. You try to connect to the server before it even has completed the startup.
The log message when the service startup is completed look like:

DEBUG 04-27 10:26:40.640 EmoticonsManager.java 4281 53
org.openmeetings.app.remo
te.red5.EmoticonsManager [Launcher:/openmeetings] - ##### loadEmot
completed

I don't know why the process hangs in your case, maybe the connection to the database is still trying to connect to and is waiting for a timeout.

Sebastian

2011/8/1 smguenther <stefan.mich...@googlemail.com>

Stefan

--
You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
To post to this group, send email to openmeet...@googlegroups.com.
To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.

smguenther

unread,
Aug 3, 2011, 3:17:44 AM8/3/11
to openmeet...@googlegroups.com
I solved it!

The java version was updated from /usr/lib/jvm/java-6-sun-1.6.0.24 to /usr/lib/jvm/java-6-sun-1.6.0.26

JAVA_HOME in /etc/profile and /etc/init.d/red5 still contained the old directory.

Thanks for your help,

Stefan
Reply all
Reply to author
Forward
0 new messages