Skip to content

Instantly share code, notes, and snippets.

View zlu's full-sized avatar
💭
I may be slow to respond.

Zhao Lu zlu

💭
I may be slow to respond.
View GitHub Profile
2011-06-16 10:53:53.208 DEBUG [SocketAcceptorIoProcessor-0.0] #XMPP#: (i)<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="127.0.0.1" version="1.0" xml:lang="en"> #[tropo][null][xmpps_v48rdx56b1cp][[email protected], 127.0.0.1][127.0.0.1:49420][127.0.0.1:5222][xmpp][N/A]
2011-06-16 10:53:53.210 DEBUG [XMPPService-t-3] #XMPP#: Invoke application:tropo ozone
2011-06-16 10:53:53.211 DEBUG [XMPPService-t-3] #XMPP#: Forwarding Request #[tropo][null][xmpps_v48rdx56b1cp][[email protected], 127.0.0.1][127.0.0.1:49420][127.0.0.1:5222][xmpp][null]
2011-06-16 10:53:53.213 DEBUG [XMPPService-t-3] #XMPP#: (o)<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" xmlns:db="jabber:server:dialback" version="1.0" from="127.0.0.1" id="xmpps_v48rdx56b1cp" xml:lang="en"> #[tropo][null][xmpps_v48rdx56b1cp][[email protected], 127.0.0.1][127.0.0.1:49420][127.0.0.1:5222][xmpp][N/A]
2011-06-16 10:53:53.213 DEBUG [XMPPService-t-3] #XMPP#: Send message to: 127.0.0.1:49420 b
2011-06-16 10:53:53.208 DEBUG [SocketAcceptorIoProcessor-0.0] #XMPP#: (i)<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="127.0.0.1" version="1.0" xml:lang="en"> #[tropo][null][xmpps_v48rdx56b1cp][[email protected], 127.0.0.1][127.0.0.1:49420][127.0.0.1:5222][xmpp][N/A]
2011-06-16 10:53:53.210 DEBUG [XMPPService-t-3] #XMPP#: Invoke application:tropo ozone
2011-06-16 10:53:53.211 DEBUG [XMPPService-t-3] #XMPP#: Forwarding Request #[tropo][null][xmpps_v48rdx56b1cp][[email protected], 127.0.0.1][127.0.0.1:49420][127.0.0.1:5222][xmpp][null]
2011-06-16 10:53:53.213 DEBUG [XMPPService-t-3] #XMPP#: (o)<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" xmlns:db="jabber:server:dialback" version="1.0" from="127.0.0.1" id="xmpps_v48rdx56b1cp" xml:lang="en"> #[tropo][null][xmpps_v48rdx56b1cp][[email protected], 127.0.0.1][127.0.0.1:49420][127.0.0.1:5222][xmpp][N/A]
2011-06-16 10:53:53.213 DEBUG [XMPPService-t-3] #XMPP#: Send message to: 127.0.0.1:49420 b
#!/usr/bin/ruby
# Start as (-D for debug):
# ./blather_ozone.rb -D
$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
require 'rubygems'
require 'blather/client'
require File.join(File.expand_path('../../lib', __FILE__), 'connfu')
2011-06-04 00:04:58.129 DEBUG [SocketAcceptorIoProcessor-0.2] #XMPP#: Creating xmpp session with app: ApplicationImpl[_symbolicName=tropo2-0, _state=STARTED] #[N/A][N/A][N/A][?, 127.0.0.1][127.0.0.1:53822][127.0.0.1:5222][xmpp][N/A]
2011-06-04 00:04:58.133 DEBUG [SocketAcceptorIoProcessor-0.2] #XMPP#: Created session: XMPPSessionImpl: _id=xmpps_15q43a2hbj6s4, _direction=RECEIVEStream, _sessionType=CLIENT, _remotJID=null, _state=INITIAL, _remoteAddr=/127.0.0.1, _remotePort=53822, _localPort=5222, _localJID=127.0.0.1, _application=ApplicationImpl[_symbolicName=tropo2-0, _state=STARTED] #[N/A][N/A][N/A][?, 127.0.0.1][127.0.0.1:53822][127.0.0.1:5222][xmpp][N/A]
2011-06-04 00:04:58.134 DEBUG [SocketAcceptorIoProcessor-0.2] #XMPP#: (i)<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="127.0.0.1" version="1.0" xml:lang="en"> #[tropo2][null][xmpps_15q43a2hbj6s4][?, 127.0.0.1][127.0.0.1:53822][127.0.0.1:5222][xmpp][N/A]
2011-06-04 00:04:58.136 DEBUG [XMPPService-t-40] #XMPP#: (o)<
2011-06-03 08:19:54.458 INFO [WrapperSimpleAppMain] #LAUNCHER#: Environment properties: /Applications/prism/conf/sipenv.properties
2011-06-03 08:19:54.659 DEBUG [WrapperSimpleAppMain] #KERNEL#: OS Name: Mac OS X
2011-06-03 08:19:54.659 DEBUG [WrapperSimpleAppMain] #KERNEL#: OS Architecture: i386
2011-06-03 08:19:54.659 DEBUG [WrapperSimpleAppMain] #KERNEL#: OS Version: 10.7
2011-06-03 08:19:54.660 DEBUG [WrapperSimpleAppMain] #KERNEL#: JDK Version: 1.6.0_25
2011-06-03 08:19:54.660 DEBUG [WrapperSimpleAppMain] #KERNEL#: JDK Vendor: Apple Inc.
2011-06-03 08:19:54.661 DEBUG [WrapperSimpleAppMain] #KERNEL#: System ClassPath: /Applications/prism/lib/jars/common-api.jar:/Applications/prism/lib/jars/common.jar:/Applications/prism/lib/jars/dom4j-1.6.1.jar:/Applications/prism/lib/jars/kernel-launcher.jar:/Applications/prism/lib/jars/kernel-utils.jar:/Applications/prism/lib/jars/log4j-1.2.15.jar:/Applications/prism/lib/jars/server-launcher.jar:/Applications/prism/lib/jars/server-tools.jar:/Applications/prism/lib/jars/
2011-06-02 00:15:48.915 ERROR [XMPPService-t-4] #XMPP#: The Servlet[ozone] throws exception: @T: javax.servlet.ServletException: Servlet execution threw an exception.\n at com.micromethod.sipmethod.server.container.impl.xmpp.XmppServletWrapper.forward(XmppServletWrapper.java:235)\n at com.micromethod.sipmethod.server.container.impl.ApplicationSupport.invokeXMPP(ApplicationSupport.java:376)\n at com.micromethod.sipmethod.server.container.impl.ApplicationImpl.handleXMPP(ApplicationImpl.java:1242)\n at com.micromethod.sipmethod.server.xmpp.session.XmppSessionImpl.invokeApp(XmppSessionImpl.java:979)\n at com.micromethod.sipmethod.server.xmpp.session.XmppSessionImpl._recv(XmppSessionImpl.java:966)\n at com.micromethod.sipmethod.server.xmpp.interceptor.XmppInterceptorChainImpl.invokeNextPreApplication(XmppInterceptorChainImpl.java:58)\n at com.micromethod.sipmethod.server.xmpp.interceptor.resourcebinding.ResourceBindInterceptor.preApplication(ResourceBindInterceptor.java:52)\n at com.micromethod.sipmethod.server.x
#!/usr/bin/ruby
# Start as (-D for debug):
# ./blather_ozone.rb -D
$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
require 'rubygems'
require 'blather/client'
require File.join(File.expand_path('../../lib', __FILE__), 'connfu')
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
require 'rubygems'
require File.join(File.expand_path('../../lib', __FILE__), 'connfu')
Connfu.setup "usera@localhost", "1"
class AnswerExample
#!/usr/bin/env ruby
$:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
require 'rubygems'
require File.join(File.expand_path('../../lib', __FILE__), 'connfu')
connection = Connfu.setup "usera@localhost", "1"
class AnswerExample
@zlu
zlu / sipmethod-log-answer-no-to-field
Created May 10, 2011 17:17
sipmethod.log when answer doesn't specify correct to field in iq
2011-05-10 07:29:39.674 INFO [WrapperSimpleAppMain] #LAUNCHER#: Environment properties: /Applications/prism/conf/sipenv.properties
2011-05-10 07:29:40.390 DEBUG [WrapperSimpleAppMain] #KERNEL#: OS Name: Mac OS X
2011-05-10 07:29:40.391 DEBUG [WrapperSimpleAppMain] #KERNEL#: OS Architecture: i386
2011-05-10 07:29:40.391 DEBUG [WrapperSimpleAppMain] #KERNEL#: OS Version: 10.7
2011-05-10 07:29:40.391 DEBUG [WrapperSimpleAppMain] #KERNEL#: JDK Version: 1.6.0_24
2011-05-10 07:29:40.392 DEBUG [WrapperSimpleAppMain] #KERNEL#: JDK Vendor: Apple Inc.
2011-05-10 07:29:40.459 DEBUG [WrapperSimpleAppMain] #KERNEL#: System ClassPath: /Applications/prism/lib/jars/common-api.jar:/Applications/prism/lib/jars/common.jar:/Applications/prism/lib/jars/dom4j-1.6.1.jar:/Applications/prism/lib/jars/kernel-launcher.jar:/Applications/prism/lib/jars/kernel-utils.jar:/Applications/prism/lib/jars/log4j-1.2.15.jar:/Applications/prism/lib/jars/server-launcher.jar:/Applications/prism/lib/jars/server-tools.jar:/Applications/prism/lib/jars/