Skip to content

Instantly share code, notes, and snippets.

@hakandilek
hakandilek / gist:3968354
Created October 28, 2012 11:14 — forked from hozturk/gist:3968338
report request
{
"request":{
"ReportId":"Test.E02R01" ,
"Profile": {
"Period":"01",
"DataServerType":"1",
"Firm":"001",
"DataServerId":"1"
} ,
"Parameters":[
2013-01-20 14:20:15.569 Mora[12113:c303] ConnectionServiceClient.m(17): request : {"request":{"ReportId":"Mys.E31R01" ,"Profile": {"Period":"01","DataServerType":"Mys","Firm":"001","DataServerId":"PRTEST"} ,"Parameters":[{"Key" : "ID", "Value" : "1"}]} }
2013-01-20 14:20:15.761 Mora[12113:c303] ConnectionServiceClient.m(24): requestId : 10300b23-d6be-4d55-ad0e-213c444a3287
2013-01-20 14:20:15.764 Mora[12113:c303] DataManager.m(97): register key:10300b23-d6be-4d55-ad0e-213c444a3287 listener:<CashListViewController: 0x4cb6c80>
2013-01-20 14:20:15.768 Mora[12113:c303] RequestChecker.m(36): RequestChecker creating...
2013-01-20 14:20:15.770 Mora[12113:c303] RequestChecker.m(54): startChecking:
2013-01-20 14:20:15.777 Mora[12113:c303] ReportRequest.m(46): deallocating ReportRequest...
2013-01-20 14:20:15.781 Mora[12113:c303] ClientProfile.m(29): deallocating ClientProfile...
2013-01-20 14:20:15.778 Mora[12113:dd0b] *** __NSAutoreleaseNoPool(): Object 0x4cbba40 of class NSCFString autoreleased with no pool in place
2013-01-20 14:44:31.127 Mora[12252:c303] ConnectionServiceClient.m(17): request : {"request":{"ReportId":"Mys.E50R01" ,"Profile": {"Period":"01","DataServerType":"Mys","Firm":"001","DataServerId":"PRTEST"} ,"Parameters":[{"Key" : "ID", "Value" : "3"}, {"Key" : "DateFilter", "Value" : "0"}, {"Key" : "FlowType", "Value" : "2"}, {"Key" : "DateOffset", "Value" : "0"}]} }
2013-01-20 14:44:31.532 Mora[12252:c303] ConnectionServiceClient.m(24): requestId : 15b1b616-985b-4a0a-88ad-29725e3afabd
2013-01-20 14:44:31.534 Mora[12252:c303] DataManager.m(97): register key:15b1b616-985b-4a0a-88ad-29725e3afabd listener:<CashFlowViewController: 0x4c47310>
2013-01-20 14:44:31.536 Mora[12252:c303] RequestChecker.m(36): RequestChecker creating...
2013-01-20 14:44:31.537 Mora[12252:c303] RequestChecker.m(54): startChecking:
2013-01-20 14:44:31.541 Mora[12252:c303] ReportRequest.m(46): deallocating ReportRequest...
2013-01-20 14:44:31.544 Mora[12252:c303] ClientProfile.m(29): deallocating ClientProfile...
2013-01-20 14:44:31.541 Mo
@hakandilek
hakandilek / gist:5744889
Created June 9, 2013 19:38
GAE spring-social-facebook oauth
[INFO] Jun 09, 2013 9:31:12 PM org.apache.http.impl.client.DefaultHttpClient tryConnect
[INFO] INFO: I/O exception (java.net.SocketException) caught when connecting to the target host: Operation failure: setSocketOptions: Not yet implemented
[INFO] Jun 09, 2013 9:31:12 PM org.apache.http.impl.client.DefaultHttpClient tryConnect
[INFO] INFO: Retrying connect
[INFO] Jun 09, 2013 9:31:12 PM org.apache.http.impl.client.DefaultHttpClient tryConnect
[INFO] INFO: I/O exception (java.net.SocketException) caught when connecting to the target host: Operation failure: setSocketOptions: Not yet implemented
[INFO] Jun 09, 2013 9:31:12 PM org.apache.http.impl.client.DefaultHttpClient tryConnect
[INFO] INFO: Retrying connect
[INFO] Jun 09, 2013 9:31:12 PM org.apache.http.impl.client.DefaultHttpClient tryConnect
[INFO] INFO: I/O exception (java.net.SocketException) caught when connecting to the target host: Operation failure: setSocketOptions: Not yet implemented
@hakandilek
hakandilek / gist:5990846
Created July 13, 2013 14:11
mssalserver deadlock
2013-07-09 16:30:49.56 spid8s Deadlock encountered .... Printing deadlock information
2013-07-09 16:30:49.56 spid8s Wait-for graph
2013-07-09 16:30:49.56 spid8s
2013-07-09 16:30:49.56 spid8s Node:1
2013-07-09 16:30:49.56 spid8s KEY: 7:72057629167386624 (5e585b32bf37) CleanCnt:2 Mode:X Flags: 0x1
2013-07-09 16:30:49.56 spid8s Grant List 0:
2013-07-09 16:30:49.56 spid8s Owner:0x0000000C4B80D740 Mode: X Flg:0x40 Ref:0 Life:02000000 SPID:93 ECID:0 XactLockInfo: 0x00000009BCBFB990
2013-07-09 16:30:49.56 spid8s SPID: 93 ECID: 0 Statement Type: MERGE Line #: 19
2013-07-09 16:30:49.56 spid8s Input Buf: Language Event: (@0 nvarchar(255),@1 nvarchar(max) ,@2 nvarchar(max) ,@3 nvarchar(max) ,@4 uniqueidentifier,@5 uniqueidentifier,@6 uniqueidentifier,@7 uniqueidentifier,@8 uniqueidentifier,@9 int,@10 int,@11 uniqueidentifier,@12 nvarchar(max) ,@13 bit,@14 decimal(18,4),@1
@hakandilek
hakandilek / gist:5990850
Created July 13, 2013 14:13
mssql server deadlock2
2013-07-09 16:30:57.09 spid8s Deadlock encountered .... Printing deadlock information
2013-07-09 16:30:57.09 spid8s Wait-for graph
2013-07-09 16:30:57.09 spid8s
2013-07-09 16:30:57.09 spid8s Node:1
2013-07-09 16:30:57.09 spid8s KEY: 7:72057629167386624 (6afd4a6f08c4) CleanCnt:5 Mode:U Flags: 0x1
2013-07-09 16:30:57.09 spid8s Grant List 0:
2013-07-09 16:30:57.09 spid8s Owner:0x0000000B328E4200 Mode: U Flg:0x40 Ref:0 Life:00000001 SPID:199 ECID:0 XactLockInfo: 0x0000000CA29A0EC0
2013-07-09 16:30:57.09 spid8s SPID: 199 ECID: 0 Statement Type: MERGE Line #: 19
2013-07-09 16:30:57.09 spid8s Input Buf: Language Event: (@0 nvarchar(255),@1 nvarchar(max) ,@2 nvarchar(max) ,@3 nvarchar(max) ,@4 uniqueidentifier,@5 uniqueidentifier,@6 uniqueidentifier,@7 uniqueidentifier,@8 uniqueidentifier,@9 int,@10 int,@11 uniqueidentifier,@12 nvarchar(max) ,@13 bit,@14 decimal(18,4),@1
-- Connections
select c.session_id,
c.auth_scheme,
c.last_read,
c.last_write,
c.client_net_address,
c.local_tcp_port,
st.text as lastQuery
from sys.dm_exec_connections c
cross apply sys.dm_exec_sql_text(c.most_recent_sql_handle) st
bool success;
try
{
// (A) save context first time
success = true;
}
catch (Exception)
{
success = false; // value is not used in any execution path
throw;
javax.imageio.IIOException: Can't create cache file!
at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at controllers.HttpUtils.uploadFileFromUrl(HttpUtils.java:125)
at controllers.DealController.createOnlineDeal(DealController.java:164)
at controllers.App.dealOnlineCreate(App.java:199)
at Routes$$anonfun$routes$1$$anonfun$applyOrElse$38$$anonfun$apply$112.apply(routes_routing.scala:1021)
at Routes$$anonfun$routes$1$$anonfun$applyOrElse$38$$anonfun$apply$112.apply(routes_routing.scala:1021)
at play.core.Router$HandlerInvoker$$anon$6$$anon$2.invocation(Router.scala:193)
at play.core.Router$Routes$$anon$1.invocation(Router.scala:373)