Skip to content

Instantly share code, notes, and snippets.

@smithh032772
smithh032772 / 20131201_thread_dump.txt
Created December 1, 2013 22:34
2013-12-01 Atmosphere threads (count=290) in thread dump
2013-12-01 17:28:09
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode):
"Atmosphere-Shared-AsyncOp-151" - Thread t@5231
java.lang.Thread.State: WAITING
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <6a259bd7> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
@smithh032772
smithh032772 / 2013-11-08.tomcat7-stderr.log
Last active December 27, 2015 19:59
[TomEE 1.6.0, Tomcat7.0.47, MyFaces 2.1.13] SocketTimeoutException thrown by ResourceHandlerImpl handleResourceRequest
<snip>
Nov 08, 2013 4:05:43 PM pf.ApplicationScopeBean login
INFO: sessionId = brian2E1FBBBD79C1AFDEEC8452E965CA8BE9
Nov 08, 2013 4:05:43 PM jsf.users.pf_UsersController loginUser
INFO: brian (Android) logged in at 11/08/2013 04:05 PM
</snip>
Nov 08, 2013 4:06:05 PM org.apache.myfaces.application.ResourceHandlerImpl handleResourceRequest
SEVERE: Error trying to load resource jquery/jquery-plugins.js with library primefaces :null
ClientAbortException: java.net.SocketTimeoutException
@smithh032772
smithh032772 / catalina.2013-11-04.log
Created November 5, 2013 04:34
2013-11-04 exception caused by ha-jdbc during multi-table update
Nov 04, 2013 11:19:23 PM net.sf.hajdbc.logging.slf4j.SLF4JLogger log
SEVERE: A result [java.sql.SQLIntegrityConstraintViolationException: INSERT on table 'ORDERS' caused a violation of foreign key constraint 'ORDERS_FK_ORDER_DETAILS' for key (6818). The statement has been rolled back.] of an operation on database db2 in cluster net.sf.hajdbc.sql.DatabaseClusterImpl@b464829 did not match the expected result [1]
Nov 04, 2013 11:19:23 PM org.apache.openejb.core.transaction.EjbTransactionUtil handleSystemException
SEVERE: EjbTransactionUtil.handleSystemException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: INSERT on table 'ORDERS' caused a violation of foreign key constraint 'ORDERS_FK_ORDER_DETAILS' for key (6818). The statement has been rolled back.
Error Code: 20000
Call: INSERT INTO ORDERS (BALANCE, CANCELLED, CANCELLED_DATE, CHANGED_DT, CONFIR
@smithh032772
smithh032772 / log1.txt
Last active December 27, 2015 06:09
2013-11-02 ha-jdbc exceptions
Nov 02, 2013 10:43:05 AM net.sf.hajdbc.logging.slf4j.SLF4JLogger log
INFO: Initializing HA-JDBC 2.1.0-beta-3 from C:\apache-tomee-plus-1.6.0-SNAPSHOT\lib\ha-jdbc-null.xml
[EL Info]: 2013-11-02 10:43:05.212--ServerSession(1305157858)--EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461
Nov 02, 2013 10:43:05 AM org.apache.tomcat.jdbc.pool.ConnectionPool init
SEVERE: Unable to create initial connections of pool.
java.sql.SQLException
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:254)
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)
@smithh032772
smithh032772 / tomcat7-stderr.2013-10-28.log
Created October 29, 2013 14:21
2013-10-29 RuntimeException from ejbTimeout on ..., ConcurrentAccessTimeoutException: Unable to get write lock on ...
Oct 29, 2013 1:17:11 AM utils.mail.EmailHandler initialize
INFO: Exception caught:* BYE System Error bt10if20597568pad.173
Oct 29, 2013 1:17:11 AM utils.mail.EmailRequestBean downloadEmailRequests
INFO: Error loading emails from Inbox; * BYE System Error bt10if20597568pad.173
Oct 29, 2013 1:18:03 AM utils.mail.EmailRequestBean downloadEmailRequests
INFO: Success loading emails from Inbox after losing internet connection earlier
Oct 29, 2013 1:22:21 AM utils.mail.EmailHandler initialize
INFO: Exception caught:Connection timed out: connect
Oct 29, 2013 1:22:21 AM utils.mail.EmailRequestBean downloadEmailRequests
INFO: Error loading emails from Inbox; Connection timed out: connect
@smithh032772
smithh032772 / catalina.2013-10-21.log
Last active December 26, 2015 04:09
2013-Oct-21 TomEE+ 1.6.0 snapshot log file (at startup) when retested Atmosphere issue 1349; WARNING still occurs
Using CATALINA_BASE: "C:\apache-tomee-plus-1.6.0-SNAPSHOT"
Using CATALINA_HOME: "C:\apache-tomee-plus-1.6.0-SNAPSHOT"
Using CATALINA_TMPDIR: "C:\apache-tomee-plus-1.6.0-SNAPSHOT\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.7.0_45"
Using CLASSPATH: "C:\apache-tomee-plus-1.6.0-SNAPSHOT\bin\bootstrap.jar;C:\apache-tomee-plus-1.6.0-SNAPSHOT\bin\tomcat-juli.jar"
Oct 21, 2013 5:08:37 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_45\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Pinnacle\Shared Files\;C:\Program Files (x86)\Pinnacle\Shared Files\Filter\;C:\Windows\idmu\common;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0_40\bin;.
Oct 21, 2013 5:08:38 PM org.apache.coyote.AbstractProtocol init
@smithh032772
smithh032772 / tomcat7-stderr.log
Created September 4, 2013 12:08
NullPointerException at org.atmosphere.cpr.SessionSupport.sessionDestroyed(SessionSupport.java:44)
Sep 03, 2013 8:41:40 PM jsf.users.pf_UsersController sessionTimeout
INFO: brian (Android) session ended at 09/03/2013 08:41 PM
Sep 03, 2013 8:41:45 PM pf.ApplicationScopeBean login
INFO: sessionId = brianAC2B1077A5A35BE28FDEAB172184F074
Sep 03, 2013 8:41:45 PM jsf.users.pf_UsersController loginUser
INFO: brian (Android) logged in at 09/03/2013 08:41 PM
Sep 03, 2013 10:06:19 PM org.atmosphere.cpr.SessionSupport sessionDestroyed
WARNING:
java.lang.NullPointerException
at org.atmosphere.cpr.SessionSupport.sessionDestroyed(SessionSupport.java:44)
@smithh032772
smithh032772 / pf_AddForNOnMobileShowMore.xhtml
Created September 2, 2013 20:01
ADD (show-all) xhtml page; very lengthy form
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.org/ui"
xmlns:pe="http://primefaces.org/ui/extensions"
xmlns:o="http://omnifaces.org/ui"
xmlns:of="http://omnifaces.org/functions">
@smithh032772
smithh032772 / GrowlBean.java
Created July 11, 2013 16:31
2013-07-11 Glassfish 4.0 and PrimeFaces Push (PrimeFaces 4.0 snapshot 2013-07-10)
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.primepush.facesmessage;
import java.io.Serializable;
import javax.inject.Named;
import javax.enterprise.context.RequestScoped;
@smithh032772
smithh032772 / localhost_access_log.txt
Created July 8, 2013 19:14
"CONNECT ..." in tomcat 7 localhost_access_log.txt
Searching for: "CONNECT
localhost_access_log.2013-02-03.txt(368): 98.143.37.90 - - [03/Feb/2013:16:16:54 -0500] "CONNECT www.chase.com:443 HTTP/1.0" 400 -
localhost_access_log.2013-02-05.txt(901): 98.143.37.90 - - [05/Feb/2013:16:32:26 -0500] "CONNECT www.mint.com:443 HTTP/1.0" 400 -
localhost_access_log.2013-02-06.txt(1305): 98.143.37.90 - - [06/Feb/2013:16:18:40 -0500] "CONNECT www.chase.com:443 HTTP/1.0" 400 -
localhost_access_log.2013-02-08.txt(206): 98.143.37.90 - - [08/Feb/2013:07:38:36 -0500] "CONNECT www.chase.com:443 HTTP/1.0" 400 -
localhost_access_log.2013-02-11.txt(1001): 98.143.37.90 - - [11/Feb/2013:16:34:00 -0500] "CONNECT www.mint.com:443 HTTP/1.0" 400 -
localhost_access_log.2013-02-12.txt(429): 98.143.37.90 - - [12/Feb/2013:09:54:46 -0500] "CONNECT www.mint.com:443 HTTP/1.0" 400 -
localhost_access_log.2013-02-13.txt(1106): 98.143.37.90 - - [13/Feb/2013:17:25:39 -0500] "CONNECT www.chase.com:443 HTTP/1.0" 400 -
localhost_access_log.2013-02-14.txt(40): 98.143.37.90 - - [14/Feb/2013:01:14:15 -0