Skip to content

Instantly share code, notes, and snippets.

View nuzayats's full-sized avatar
🏠
Working from home

Kohei Nozaki nuzayats

🏠
Working from home
View GitHub Profile
=SUPERVISOR REPORT==== 16-May-2016::23:41:09 ===
Supervisor: {<0.25527.833>,rabbit_channel_sup_sup}
Context: shutdown_error
Reason: shutdown
Offender: [{nb_children,1},
{name,channel_sup},
{mfargs,{rabbit_channel_sup,start_link,[]}},
{restart_type,temporary},
{shutdown,infinity},
{child_type,supervisor}]
=ERROR REPORT==== 16-May-2016::23:56:04 ===
Channel error on connection <0.30556.1140> (10.0.51.103:42756 -> 10.0.30.203:5672, vhost: '/', user: 'guest'), channel 2562:
operation queue.declare caused a channel exception not_found: "no queue 'QUEUE_NAME_REPLACED' in vhost '/'"
=INFO REPORT==== 16-May-2016::23:56:04 ===
Mirrored queue 'QUEUE_NAME_REPLACED' in vhost '/': Adding mirror on node 'rabbit@ip-10-0-30-83': <7914.16363.479>
=ERROR REPORT==== 16-May-2016::23:56:06 ===
Channel error on connection <0.14069.0> (10.0.17.158:44440 -> 10.0.30.203:5672, vhost: '/', user: 'guest'), channel 9571:
operation queue.declare caused a channel exception not_found: "no queue 'QUEUE_NAME_REPLACED' in vhost '/'"
@nuzayats
nuzayats / gist:9aaddf84d11986e0dc84f979545a28e0
Last active April 29, 2016 10:09
Catapult Integration test fails
$ mvn clean install -Pit,server-remote
Picked up _JAVA_OPTIONS: -Dfile.encoding=UTF-8
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] catapult-parent
[INFO] catapult-base
[INFO] catapult-service-github-api
[INFO] catapult-service-openshift-api
@nuzayats
nuzayats / gist:557da322e4bf272b24ee67069f84fe27
Created April 21, 2016 15:04
sasl log of one called slave
=CRASH REPORT==== 21-Apr-2016::11:41:42 ===
crasher:
initial call: rabbit_mgmt_external_stats:init/1
pid: <0.12919.7617>
registered_name: rabbit_mgmt_external_stats
exception exit: {badarg,
[{lists,member,
[{{resource_limit,memory,'rabbit@ip-10-0-63-228'},
[]},
=INFO REPORT==== 21-Apr-2016::13:04:23 ===
Mirrored-queue (queue 'tas...992' in vhost '/'): Slave <'rabbit@ip-yy-y-yy-yyy'.1.13879.0> saw deaths of mirrors <'rabbit@ip-xx-x-xx-xxx'.3.30353.209>
=INFO REPORT==== 21-Apr-2016::13:04:23 ===
Mirrored-queue (queue 'tas...992' in vhost '/'): Promoting slave <'rabbit@ip-yy-y-yy-yyy'.1.13879.0> to master
=ERROR REPORT==== 21-Apr-2016::13:34:12 ===
** Generic server <0.25699.0> terminating
** Last message in was {mnesia_locker,'rabbit@ip-xx-x-xx-xxx',granted}
** When Server state == {state,<0.25697.0>,<0.25698.0>,rabbit_mgmt_sup,
@nuzayats
nuzayats / gist:ab19bb22c2071086d7c0
Created February 11, 2016 11:23
james log when relaying an email which contains two recipients. should deliver to kyle@example.org as well.
INFO | jvm 1 | 2016/02/11 17:45:37 | INFO 17:45:37,261 | james.imapserver | ID=1066211418 Connection established from 120.75.120.31
INFO | jvm 1 | 2016/02/11 17:45:45 | INFO 17:45:45,112 | james.smtpserver | Id='947522711' User='' Connection established from 120.75.120.31
INFO | jvm 1 | 2016/02/11 17:45:45 | INFO 17:45:45,466 | james.smtpserver | Id='947522711' User='kyle@example.org' Successfully spooled mail Mail1455180345460-b0c7ee8a-37b5-42c9-8a76-8db5ef94ef33 from kyle@example.org on p784b781f.tksmnt01.ap.so-net.ne.jp/120.75.120.31 for [kyle@example.jp, kyle@example.org]
INFO | jvm 1 | 2016/02/11 17:45:45 | INFO 17:45:45,490 | james.smtpserver | Id='947522711' User='kyle@example.org' Connection closed for 120.75.120.31
INFO | jvm 1 | 2016/02/11 17:45:45 | INFO 17:45:45,540 | james.mailetcontext | Local delivered mail Mail1455180345460-b0c7ee8a-37b5-42c9-8a76-8db5ef94ef33-!840585-!228865 sucessfully from kyle@example.org to kyle-copy@example.org in folder INBOX
INFO | jvm 1
@nuzayats
nuzayats / gist:b6f2b94fe90ee187df9c
Created February 11, 2016 11:22
Thunderbird SMTP log in sending a mail which contains two recipients
2016-02-11 08:45:45.088208 UTC - 2019831808[100638700]: SMTP Connecting to: www.example.org
2016-02-11 08:45:45.289020 UTC - 2019831808[100638700]: SMTP entering state: 0
2016-02-11 08:45:45.289058 UTC - 2019831808[100638700]: SMTP Response: 220 www.example.org JAMES SMTP Server Server (JAMES SMTP Server ) ready
2016-02-11 08:45:45.289072 UTC - 2019831808[100638700]: SMTP entering state: 14
2016-02-11 08:45:45.289117 UTC - 2019831808[100638700]: SMTP Send: EHLO kyle-no-MacBook.local
2016-02-11 08:45:45.321755 UTC - 2019831808[100638700]: SMTP entering state: 0
2016-02-11 08:45:45.321774 UTC - 2019831808[100638700]: SMTP Response: 250-www.example.org Hello kyle-no-MacBook.local [120.75.120.31])
2016-02-11 08:45:45.321782 UTC - 2019831808[100638700]: SMTP entering state: 0
2016-02-11 08:45:45.321785 UTC - 2019831808[100638700]: SMTP Response: 250-AUTH LOGIN PLAIN
2016-02-11 08:45:45.321791 UTC - 2019831808[100638700]: SMTP entering state: 0
@nuzayats
nuzayats / gist:e32bb695572ec322ae31
Created February 6, 2016 01:55
activity log at FTP plugin ConcurrentModificationException
10:43:11 AM [AWT-EventQueue-0] [debug] FtpVFS: FtpVFS.createVFSSession(sftp://me@example.org:22/~/, org.gjt.sp.jedit.browser.BrowserView[,0,0,0x0,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.border.EmptyBorder@4bc4e002,flags=9,maximumSize=,minimumSize=,preferredSize=])
10:43:11 AM [AWT-EventQueue-0] [debug] String: sftp://me@example.org:22/~/
10:43:11 AM [jEdit Worker #0] [debug] ConnectionManager: Thread[jEdit Worker #0,6,jEdit Workers]: Connecting to sftp://example.org:22
10:43:11 AM [jEdit Worker #0] [debug] SFtpConnection: info.privateKey=/Users/kyle/.ssh/id_rsa
10:43:11 AM [jEdit Worker #0] [debug] SFtpConnection: Attempting public key authentication
10:43:11 AM [jEdit Worker #0] [debug] SFtpConnection: Using key: /Users/kyle/.ssh/id_rsa
10:43:11 AM [AWT-EventQueue-0] [debug] EditBus: ViewUpdate[what=VIEW_ACTIVATED,source=org.gjt.sp.jedit.View[active]]
10:43:11 AM [AWT-EventQueue-0] [debug] jEdit: checkBufferStatus for all buffers
10:43:11 AM [AWT-EventQueue-0] [d
package some;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.OutputKeys;