RE: Server Out Of Memory

2017-08-07 Thread James Fraser
Evening

So I setup a dump for the next time it happened however it failed with 
permissions on the folder I used.

First error

21:10:19.472 [http-nio-8080-exec-6] ERROR o.a.g.rest.RESTExceptionWrapper - 
Unexpected internal error:
### Error querying database.  Cause: 
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in 
your SQL syntax; check the manual that corresponds to your MySQL server version 
for the right syntax to use near 'AND user_id = 19
AND permission = 'READ';

SELECT primary_co' at line 15
### The error may exist in 
org/apache/guacamole/auth/jdbc/connection/ConnectionMapper.xml
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: SELECT guacamole_connection.connection_id, 
connection_name, parent_id, protocol, 
max_connections, max_connections_per_user, 
proxy_hostname, proxy_port, proxy_encryption_method 
FROM guacamole_connection JOIN guacamole_connection_permission ON 
guacamole_connection_permission.connection_id = 
guacamole_connection.connection_id WHERE 
guacamole_connection.connection_id IN   AND user_id = ? 
AND permission = 'READ';  SELECT primary_connection_id, 
guacamole_sharing_profile.sharing_profile_id FROM 
guacamole_sharing_profile JOIN guacamole_sharing_profile_permission ON 
guacamole_sharing_profile_permission.sharing_profile_id = 
guacamole_sharing_profile.sharing_profile_id WHERE 
primary_connection_id IN   AND user_id = ? 
AND permission = 'READ';
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have 
an error in your SQL syntax; check the manual that corresponds to your MySQL 
server version for the right syntax to use near 'AND user_id = 19
AND permission = 'READ';

Second Error


java.lang.OutOfMemoryError: Java heap space
Dumping heap to /home/NOTREALUSER/java_pid15204.hprof ...
Unable to create /home/NOTREALUSER/java_pid15204.hprof: Permission denied
Aug 07, 2017 9:05:07 PM org.apache.tomcat.util.net.NioEndpoint$SocketProcessor 
doRun
SEVERE:
java.lang.OutOfMemoryError: Java heap space
at sun.util.resources.TimeZoneNames.getContents(TimeZoneNames.java:285)
at 
sun.util.resources.OpenListResourceBundle.loadLookup(OpenListResourceBundle.java:137)
at 
sun.util.resources.OpenListResourceBundle.loadLookupTablesIfNecessary(OpenListResourceBundle.java:128)
at 
sun.util.resources.OpenListResourceBundle.handleKeySet(OpenListResourceBundle.java:96)
at java.util.ResourceBundle.containsKey(ResourceBundle.java:1807)
at 
sun.util.locale.provider.LocaleResources.getTimeZoneNames(LocaleResources.java:263)
at 
sun.util.locale.provider.TimeZoneNameProviderImpl.getDisplayNameArray(TimeZoneNameProviderImpl.java:124)
at 
sun.util.locale.provider.TimeZoneNameProviderImpl.getDisplayName(TimeZoneNameProviderImpl.java:99)
at 
sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getName(TimeZoneNameUtility.java:240)
at 
sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getObject(TimeZoneNameUtility.java:198)
at 
sun.util.locale.provider.TimeZoneNameUtility$TimeZoneNameGetter.getObject(TimeZoneNameUtility.java:184)
at 
sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl(LocaleServiceProviderPool.java:281)
at 
sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObject(LocaleServiceProviderPool.java:265)
at 
sun.util.locale.provider.TimeZoneNameUtility.retrieveDisplayNamesImpl(TimeZoneNameUtility.java:166)
at 
sun.util.locale.provider.TimeZoneNameUtility.retrieveDisplayName(TimeZoneNameUtility.java:137)
at java.util.TimeZone.getDisplayName(TimeZone.java:400)
at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:1271)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:966)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:936)
at java.text.DateFormat.format(DateFormat.java:345)
at 
org.apache.tomcat.util.http.FastHttpDateFormat.getCurrentDate(FastHttpDateFormat.java:117)
at 
org.apache.coyote.http11.AbstractHttp11Processor.prepareResponse(AbstractHttp11Processor.java:1534)
at 
org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:739)
at org.apache.coyote.Response.action(Response.java:179)
at org.apache.coyote.Response.sendHeaders(Response.java:350)
at 
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:335)
at 
org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317)
at 
org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110)

Re: guacamole server 0.9.12-incubating does not compile after upgrading debian jessie to debian stretch

2017-08-07 Thread danielos
Thanks Mike, I'll do.

-Daniel



--
View this message in context: 
http://apache-guacamole-incubating-users.2363388.n4.nabble.com/guacamole-server-0-9-12-incubating-does-not-compile-after-upgrading-debian-jessie-to-debian-stretch-tp1440p1488.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at 
Nabble.com.