You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by "Chamberland, Martin" <Ma...@fadq.qc.ca> on 2017/12/11 15:24:27 UTC

4.0.1 (error in LOG) undefined/openmeetings/screenshare

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(VideoSettings.java:84)
        at org.apache.openmeetings.web.room.RoomPanel$1.respond(RoomPanel.java:138)
        at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:598)
        at org.apache.wicket.core.request.handler.ListenerRequestHandler.internalInvoke(ListenerRequestHandler.java:306)
        at org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(ListenerRequestHandler.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

Re: 4.0.1 (error in LOG) undefined/openmeetings/screenshare

Posted by Maxim Solodovnik <so...@gmail.com>.
Yep :)
Thanks for sharing :)

WBR, Maxim
(from mobile, sorry for the typos)

On Mon, Dec 11, 2017, 23:13 Chamberland, Martin <
Martin.Chamberland@fadq.qc.ca> wrote:

> 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:solomax666@gmail.com]
> 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 <
> Martin.Chamberland@fadq.qc.ca> 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
>

RE: 4.0.1 (error in LOG) undefined/openmeetings/screenshare

Posted by "Chamberland, Martin" <Ma...@fadq.qc.ca>.
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:solomax666@gmail.com] 
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 <Ma...@fadq.qc.ca> 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

Re: 4.0.1 (error in LOG) undefined/openmeetings/screenshare

Posted by Maxim Solodovnik <so...@gmail.com>.
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
<Ma...@fadq.qc.ca> 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(VideoSettings.java:84)
>
>         at
> org.apache.openmeetings.web.room.RoomPanel$1.respond(RoomPanel.java:138)
>
>         at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:598)
>
>         at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.internalInvoke(ListenerRequestHandler.java:306)
>
>         at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(ListenerRequestHandler.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