Hi there,
Here the fix to remove: According this: "java.lang.NoClassDefFoundError: Could
not initialize class sun.awt.X11GraphicsEnvironment" in the openmeetings.log
sudo nano -c /opt/red5401/red5.sh
line 77
before:
exec "$JAVA" -Dred5.root="${RED5_HOME}" $JAVA_OPTS -cp "${RED5_CLASSPATH}"
"$RED5_MAINCLASS" $RED5_OPTS
after
exec "$JAVA" -Djava.awt.headless=true -Dred5.root="${RED5_HOME}" $JAVA_OPTS -cp
"${RED5_CLASSPATH}" "$RED5_MAINCLASS" $RED5_OPTS
add: -Djava.awt.headless=true
sudo /etc/init.d/red5-ubdeb2 restart
hope it help !
-----Message d'origine-----
De : Maxim Solodovnik [mailto:[email protected]]
Envoyé : 11 décembre 2017 10:40
À : Openmeetings user-list
Objet : Re: 4.0.1 (error in LOG) undefined/openmeetings/screenshare
According: "java.net.MalformedURLException: no protocol:
undefined/openmeetings/screenshare"
This seems to affect nothing, just polluting the logs ....
Will fix as soon as I'll be able to reproduce :((((
According this: "java.lang.NoClassDefFoundError: Could not initialize class
sun.awt.X11GraphicsEnvironment"
It seems you have with NO awt module
Could you please search mailing lists? we had such issue recently
On Mon, Dec 11, 2017 at 10:24 PM, Chamberland, Martin
<[email protected]> wrote:
> We just clean install the new 4.0.1 this morning and we can see this
> in the openmeetings.log
>
>
>
> ERROR 12-11 10:21:09.343 o.a.o.w.r.VideoSettings:97 [0.0-5443-exec-7]
> - Error while constructing video settings parameters
>
> java.net.MalformedURLException: no protocol:
> undefined/openmeetings/screenshare
>
> at java.net.URL.<init>(URL.java:593)
>
> at java.net.URL.<init>(URL.java:490)
>
> at java.net.URL.<init>(URL.java:439)
>
> at
> org.apache.openmeetings.web.room.VideoSettings.getInitJson(VideoSettin
> gs.java:84)
>
> at
> org.apache.openmeetings.web.room.RoomPanel$1.respond(RoomPanel.java:13
> 8)
>
> at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractD
> efaultAjaxBehavior.java:598)
>
> at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.internal
> Invoke(ListenerRequestHandler.java:306)
>
> at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(L
> istenerRequestHandler.java:280)
>
>
>
> First time we have that error.
>
> The message appear when a user enter a room.
>
>
>
> We also can see that other error when entering the OpenMeetings web
> interface and leave (QUIT)
>
>
>
> ERROR 12-11 10:23:43.726 o.a.c.c.C.[.[.0.0.0.[.[default]:182
> [0.0-5443-exec-2] - Servlet.service() for servlet [default] in context
> with path [/openmeetings] threw exception [Filter execution threw an
> exception] with root cause
>
> java.lang.NoClassDefFoundError: Could not initialize class
> sun.awt.X11GraphicsEnvironment
>
> at java.lang.Class.forName0(Native Method)
>
> at java.lang.Class.forName(Class.java:264)
>
>
>
>
>
> thank’s to help
--
WBR
Maxim aka solomax