You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by fou fe <fo...@live.fr> on 2018/11/12 13:22:28 UTC

warning in guacamole 1.0.0

Hi

In guacamole 1.0.0  everything work like a charm but  I have this warning in catalina.out.


12:48:15.186 [http-nio-8080-exec-10] INFO  o.a.g.r.auth.AuthenticationService - User "XXXX" successfully authenticated from XXX.XX.XX.XX.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.ibatis.reflection.Reflector (file:/etc/guacamole/extensions/guacamole-auth-jdbc-mysql-1.0.0.jar) to method java.util.HashMap.hash(java.lang.Object)
WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.Reflector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

 Do you have any idea to fix this warning ?

Re: warning in guacamole 1.0.0

Posted by Mike Jumper <mj...@apache.org>.
On Mon, Nov 12, 2018, 05:22 fou fe <fouhane@live.fr wrote:

> Hi
>
> In guacamole 1.0.0  everything work like a charm but  I have this warning
> in catalina.out.
>
>
> 12:48:15.186 [http-nio-8080-exec-10] INFO
>  o.a.g.r.auth.AuthenticationService - User "XXXX" successfully
> authenticated from XXX.XX.XX.XX.
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by
> org.apache.ibatis.reflection.Reflector
> (file:/etc/guacamole/extensions/guacamole-auth-jdbc-mysql-1.0.0.jar) to
> method java.util.HashMap.hash(java.lang.Object)
> WARNING: Please consider reporting this to the maintainers of
> org.apache.ibatis.reflection.
>

This is an outstanding bug in MyBatis (the database mapping library we use)
due to changes in JDK 9:

https://github.com/mybatis/mybatis-3/issues/1156


>  Do you have any idea to fix this warning ?
>

I don't believe there is a way to fix this warning except to eventually
upgrade the database auth to a version of MyBatis which fixes the warning.

No such version of MyBatis is yet released.

- Mike