forked from spring-guides/gs-spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
C:\log4j-application.log
1368 lines (1368 loc) · 202 KB
/
C:\log4j-application.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2016-11-07 14:55:48 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-07 14:55:52 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 4506 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-07 14:55:52 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-07 14:55:52 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 14:55:52 PST 2016]; root of context hierarchy
2016-11-07 14:55:55 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-07 14:55:55 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 3195 ms
2016-11-07 14:55:56 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-07 14:55:56 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-07 14:55:56 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-07 14:55:56 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-07 14:55:56 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-07 14:55:56 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 14:55:52 PST 2016]; root of context hierarchy
2016-11-07 14:55:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-07 14:55:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-07 14:55:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-07 14:55:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-07 14:55:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-07 14:55:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-07 14:55:57 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-07 14:55:57 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-07 14:55:57 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-07 14:55:57 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-07 14:55:57 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-07 14:55:57 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-07 14:55:57 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-07 14:55:57 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-07 14:55:57 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-07 14:55:57 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-07 14:55:57 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-07 14:55:57 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 14:55:57 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 14:55:57 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 14:55:57 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-07 14:55:58 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-07 14:55:58 INFO Application:57 - Started Application in 16.983 seconds (JVM running for 18.719)
2016-11-07 14:55:58 INFO Application:53 - All users fetched
2016-11-07 14:55:58 INFO Application:56 - Application online
2016-11-07 14:56:36 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-07 14:56:36 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 24 ms
2016-11-07 14:58:18 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 14:55:52 PST 2016]; root of context hierarchy
2016-11-07 14:58:18 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-07 14:58:37 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-07 14:58:42 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 4622 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-07 14:58:42 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-07 14:58:42 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 14:58:42 PST 2016]; root of context hierarchy
2016-11-07 14:58:44 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-07 14:58:44 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 2177 ms
2016-11-07 14:58:44 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-07 14:58:44 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-07 14:58:44 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-07 14:58:44 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-07 14:58:44 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-07 14:58:45 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 14:58:42 PST 2016]; root of context hierarchy
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-07 14:58:45 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-07 14:58:45 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 14:58:45 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 14:58:45 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 14:58:45 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-07 14:58:45 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-07 14:58:45 INFO Application:57 - Started Application in 14.232 seconds (JVM running for 15.222)
2016-11-07 14:58:46 INFO Application:53 - All users fetched
2016-11-07 14:58:46 INFO Application:56 - Application online
2016-11-07 14:58:56 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-07 14:58:56 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 19 ms
2016-11-07 14:58:56 INFO AdController:99 - Ad fetched by location
2016-11-07 14:58:56 INFO AdController:101 - [{"ctr":0,"amountLeft":0,"imageId":0,"clickCount":0,"personId":0,"id":0,"impressions":0,"budget":0}]
2016-11-07 14:58:58 INFO AdController:99 - Ad fetched by location
2016-11-07 14:58:58 INFO AdController:101 - [{"ctr":0,"amountLeft":0,"imageId":0,"clickCount":0,"personId":0,"id":0,"impressions":0,"budget":0}]
2016-11-07 15:00:07 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 14:58:42 PST 2016]; root of context hierarchy
2016-11-07 15:00:07 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-07 15:00:26 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-07 15:00:31 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 4710 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-07 15:00:31 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-07 15:00:31 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 15:00:31 PST 2016]; root of context hierarchy
2016-11-07 15:00:33 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-07 15:00:33 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 2218 ms
2016-11-07 15:00:33 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-07 15:00:33 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-07 15:00:33 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-07 15:00:33 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-07 15:00:33 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-07 15:00:34 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 15:00:31 PST 2016]; root of context hierarchy
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-07 15:00:34 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-07 15:00:34 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 15:00:34 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 15:00:34 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 15:00:35 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-07 15:00:35 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-07 15:00:35 INFO Application:57 - Started Application in 15.069 seconds (JVM running for 16.06)
2016-11-07 15:00:35 INFO Application:53 - All users fetched
2016-11-07 15:00:35 INFO Application:56 - Application online
2016-11-07 15:00:39 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-07 15:00:39 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 23 ms
2016-11-07 15:00:39 INFO AdController:99 - Ad fetched by location
2016-11-07 15:00:39 INFO AdController:101 - [{"ctr":0,"amountLeft":0,"imageId":0,"clickCount":0,"personId":0,"id":0,"impressions":0,"type":"None","budget":0}]
2016-11-07 15:00:45 INFO AdController:99 - Ad fetched by location
2016-11-07 15:00:45 INFO AdController:101 - [{"ctr":0,"amountLeft":0,"imageId":0,"clickCount":0,"personId":0,"id":0,"impressions":0,"type":"None","budget":0}]
2016-11-07 15:00:46 INFO AdController:99 - Ad fetched by location
2016-11-07 15:00:46 INFO AdController:101 - [{"ctr":0,"amountLeft":0,"imageId":0,"clickCount":0,"personId":0,"id":0,"impressions":0,"type":"None","budget":0}]
2016-11-07 19:27:54 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 15:00:31 PST 2016]; root of context hierarchy
2016-11-07 19:27:54 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-07 19:28:14 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-07 19:28:19 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 7602 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-07 19:28:19 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-07 19:28:19 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 19:28:19 PST 2016]; root of context hierarchy
2016-11-07 19:28:21 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-07 19:28:21 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 2093 ms
2016-11-07 19:28:22 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-07 19:28:22 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-07 19:28:22 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-07 19:28:22 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-07 19:28:22 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-07 19:28:22 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 19:28:19 PST 2016]; root of context hierarchy
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-07 19:28:22 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-07 19:28:22 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 19:28:22 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 19:28:22 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 19:28:23 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-07 19:28:23 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-07 19:28:23 INFO Application:57 - Started Application in 14.389 seconds (JVM running for 15.691)
2016-11-07 19:28:23 INFO Application:53 - All users fetched
2016-11-07 19:28:23 INFO Application:56 - Application online
2016-11-07 19:28:36 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-07 19:28:36 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 20 ms
2016-11-07 19:29:28 INFO AdController:42 - Ad inserted
2016-11-07 19:29:28 INFO AdController:46 - Ad Linked with person
2016-11-07 19:29:28 INFO AdController:49 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","imageId":29,"clickCount":0,"impressions":0,"type":"video","amountLeft":20000,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter 4","personId":2,"id":33,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544))","budget":20000}]
2016-11-07 19:31:28 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 19:28:19 PST 2016]; root of context hierarchy
2016-11-07 19:31:28 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-07 19:31:48 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-07 19:31:52 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 7634 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-07 19:31:52 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-07 19:31:52 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 19:31:52 PST 2016]; root of context hierarchy
2016-11-07 19:31:55 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-07 19:31:55 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 2234 ms
2016-11-07 19:31:55 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-07 19:31:55 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-07 19:31:55 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-07 19:31:55 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-07 19:31:55 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-07 19:31:55 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Mon Nov 07 19:31:52 PST 2016]; root of context hierarchy
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-07 19:31:56 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-07 19:31:56 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 19:31:56 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 19:31:56 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-07 19:31:56 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-07 19:31:56 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-07 19:31:56 INFO Application:57 - Started Application in 14.742 seconds (JVM running for 15.961)
2016-11-07 19:31:56 INFO Application:53 - All users fetched
2016-11-07 19:31:56 INFO Application:56 - Application online
2016-11-07 19:32:15 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-07 19:32:15 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 23 ms
2016-11-07 19:32:15 INFO AdController:60 - all ads fetched
2016-11-07 19:32:15 INFO AdController:62 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":0,"imageId":26,"clickCount":0,"impressions":14,"type":"video","amountLeft":19986,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000},{"clickurl":"http://www.stubhub.com/usc-football-tickets/performer/6342/","ctr":66.66666666666667,"country":"USA","xAttribute":0,"imageId":27,"clickCount":14,"impressions":7,"type":"video","amountLeft":11965,"videourl":"https://www.youtube.com/watch?v=UMxCZ_FOBOg","name":"USC Homecoming","personId":0,"id":31,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12000},{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":0,"imageId":28,"clickCount":0,"impressions":0,"type":"video","amountLeft":20000,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter 3","personId":0,"id":32,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544))","budget":20000},{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":29,"clickCount":0,"impressions":0,"type":"video","amountLeft":20000,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter 4","personId":0,"id":33,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544))","budget":20000}]
2016-11-09 16:29:32 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-09 16:29:36 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 5808 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-09 16:29:36 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-09 16:29:36 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 16:29:36 PST 2016]; root of context hierarchy
2016-11-09 16:29:38 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-09 16:29:39 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 2583 ms
2016-11-09 16:29:39 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-09 16:29:39 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-09 16:29:39 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-09 16:29:39 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-09 16:29:39 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-09 16:29:40 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 16:29:36 PST 2016]; root of context hierarchy
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-09 16:29:40 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-09 16:29:40 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 16:29:40 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 16:29:40 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 16:29:41 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-09 16:29:41 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-09 16:29:41 INFO Application:57 - Started Application in 15.857 seconds (JVM running for 18.142)
2016-11-09 16:29:41 INFO Application:53 - All users fetched
2016-11-09 16:29:41 INFO Application:56 - Application online
2016-11-09 16:29:50 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-09 16:29:50 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 39 ms
2016-11-09 16:31:03 INFO AdController:99 - Ad fetched by location
2016-11-09 16:31:03 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":22,"type":"video","amountLeft":19978,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:31:03 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 16:29:36 PST 2016]; root of context hierarchy
2016-11-09 16:31:03 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-09 16:31:25 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-09 16:31:29 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 5828 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-09 16:31:29 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-09 16:31:29 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 16:31:29 PST 2016]; root of context hierarchy
2016-11-09 16:31:31 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-09 16:31:32 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 2308 ms
2016-11-09 16:31:32 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-09 16:31:32 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-09 16:31:32 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-09 16:31:32 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-09 16:31:32 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-09 16:31:32 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 16:31:29 PST 2016]; root of context hierarchy
2016-11-09 16:31:32 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-09 16:31:32 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-09 16:31:32 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-09 16:31:32 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-09 16:31:32 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-09 16:31:32 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-09 16:31:32 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-09 16:31:32 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-09 16:31:32 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-09 16:31:32 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-09 16:31:32 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-09 16:31:33 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-09 16:31:33 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-09 16:31:33 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-09 16:31:33 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-09 16:31:33 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-09 16:31:33 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-09 16:31:33 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 16:31:33 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 16:31:33 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 16:31:33 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-09 16:31:33 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-09 16:31:33 INFO Application:57 - Started Application in 14.867 seconds (JVM running for 15.988)
2016-11-09 16:31:33 INFO Application:53 - All users fetched
2016-11-09 16:31:33 INFO Application:56 - Application online
2016-11-09 16:31:39 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-09 16:31:39 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 28 ms
2016-11-09 16:31:55 INFO AdController:99 - Ad fetched by location
2016-11-09 16:31:55 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":23,"type":"video","amountLeft":19977,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:31:59 INFO AdController:99 - Ad fetched by location
2016-11-09 16:31:59 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":24,"type":"video","amountLeft":19976,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:32:01 INFO AdController:99 - Ad fetched by location
2016-11-09 16:32:01 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":25,"type":"video","amountLeft":19975,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:32:02 INFO AdController:99 - Ad fetched by location
2016-11-09 16:32:02 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":26,"type":"video","amountLeft":19974,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:32:03 INFO AdController:99 - Ad fetched by location
2016-11-09 16:32:03 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":27,"type":"video","amountLeft":19973,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:32:05 INFO AdController:99 - Ad fetched by location
2016-11-09 16:32:05 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":28,"type":"video","amountLeft":19972,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:32:06 INFO AdController:99 - Ad fetched by location
2016-11-09 16:32:06 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":29,"type":"video","amountLeft":19971,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:32:08 INFO AdController:99 - Ad fetched by location
2016-11-09 16:32:08 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":30,"type":"video","amountLeft":19970,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:33:34 INFO AdController:99 - Ad fetched by location
2016-11-09 16:33:34 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":31,"type":"video","amountLeft":19969,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:33:37 INFO AdController:99 - Ad fetched by location
2016-11-09 16:33:37 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":32,"type":"video","amountLeft":19968,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:33:38 INFO AdController:99 - Ad fetched by location
2016-11-09 16:33:38 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":33,"type":"video","amountLeft":19967,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:33:39 INFO AdController:99 - Ad fetched by location
2016-11-09 16:33:39 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":34,"type":"video","amountLeft":19966,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:33:40 INFO AdController:99 - Ad fetched by location
2016-11-09 16:33:40 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":35,"type":"video","amountLeft":19965,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:33:41 INFO AdController:99 - Ad fetched by location
2016-11-09 16:33:41 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":36,"type":"video","amountLeft":19964,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 16:37:28 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 16:31:29 PST 2016]; root of context hierarchy
2016-11-09 16:37:28 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-09 21:37:09 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-09 21:37:13 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 6992 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-09 21:37:13 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-09 21:37:13 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 21:37:13 PST 2016]; root of context hierarchy
2016-11-09 21:37:16 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-09 21:37:16 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 2504 ms
2016-11-09 21:37:16 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-09 21:37:16 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-09 21:37:16 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-09 21:37:16 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-09 21:37:16 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-09 21:37:17 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 21:37:13 PST 2016]; root of context hierarchy
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-09 21:37:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-09 21:37:17 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 21:37:17 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 21:37:17 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 21:37:18 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-09 21:37:18 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-09 21:37:18 INFO Application:57 - Started Application in 15.205 seconds (JVM running for 17.023)
2016-11-09 21:37:18 INFO Application:53 - All users fetched
2016-11-09 21:37:18 INFO Application:56 - Application online
2016-11-09 21:37:57 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-09 21:37:57 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 34 ms
2016-11-09 21:37:57 INFO AdController:99 - Ad fetched by location
2016-11-09 21:37:57 INFO AdController:101 - [{"clickurl":"http://www.stubhub.com/usc-football-tickets/performer/6342/","ctr":63.63636363636363,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":27,"clickCount":14,"impressions":8,"type":"video","amountLeft":11964,"videourl":"https://www.youtube.com/watch?v=UMxCZ_FOBOg","name":"USC Homecoming","personId":0,"id":31,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12000}]
2016-11-09 21:42:18 INFO AdController:99 - Ad fetched by location
2016-11-09 21:42:18 INFO AdController:101 - [{"clickurl":"https://www.easports.com/fifa/the-journey","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":31,"clickCount":0,"impressions":1,"type":"video","amountLeft":7999,"videourl":"https://www.youtube.com/watch?v=P9LHzVEPodg","name":"FIFA 17","personId":0,"id":35,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":8000}]
2016-11-09 21:44:29 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 21:37:13 PST 2016]; root of context hierarchy
2016-11-09 21:44:29 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-09 21:44:50 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-09 21:44:54 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 7258 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-09 21:44:54 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-09 21:44:54 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 21:44:54 PST 2016]; root of context hierarchy
2016-11-09 21:44:57 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-09 21:44:57 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 2834 ms
2016-11-09 21:44:58 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-09 21:44:58 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-09 21:44:58 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-09 21:44:58 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-09 21:44:58 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-09 21:44:58 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 21:44:54 PST 2016]; root of context hierarchy
2016-11-09 21:44:58 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-09 21:44:58 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-09 21:44:58 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-09 21:44:58 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-09 21:44:58 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-09 21:44:58 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-09 21:44:58 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-09 21:44:58 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-09 21:44:58 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-09 21:44:58 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-09 21:44:58 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-09 21:44:59 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-09 21:44:59 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-09 21:44:59 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-09 21:44:59 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-09 21:44:59 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-09 21:44:59 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-09 21:44:59 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 21:44:59 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 21:44:59 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 21:44:59 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-09 21:45:00 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-09 21:45:00 INFO Application:57 - Started Application in 16.198 seconds (JVM running for 17.794)
2016-11-09 21:45:00 INFO Application:53 - All users fetched
2016-11-09 21:45:00 INFO Application:56 - Application online
2016-11-09 21:46:04 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-09 21:46:04 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 26 ms
2016-11-09 21:46:04 INFO AdController:99 - Ad fetched by location
2016-11-09 21:46:04 INFO AdController:101 - [{"clickurl":"http://www.hbo.com/game-of-thrones","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":30,"clickCount":0,"impressions":1,"type":"video","amountLeft":9999,"videourl":"https://www.youtube.com/watch?v=6N4gEJ_ED98","name":"Game of Thrones","personId":0,"id":34,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":10000}]
2016-11-09 21:47:50 INFO AdController:99 - Ad fetched by location
2016-11-09 21:47:50 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 21:44:54 PST 2016]; root of context hierarchy
2016-11-09 21:47:50 INFO AdController:101 - [{"clickurl":"http://www.stubhub.com/usc-football-tickets/performer/6342/","ctr":60.869565217391305,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":27,"clickCount":14,"impressions":9,"type":"video","amountLeft":11963,"videourl":"https://www.youtube.com/watch?v=UMxCZ_FOBOg","name":"USC Homecoming","personId":0,"id":31,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12000}]
2016-11-09 21:47:50 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-09 21:48:09 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-09 21:48:14 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 7340 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-09 21:48:14 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-09 21:48:14 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 21:48:14 PST 2016]; root of context hierarchy
2016-11-09 21:48:16 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-09 21:48:16 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 2199 ms
2016-11-09 21:48:17 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-09 21:48:17 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-09 21:48:17 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-09 21:48:17 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-09 21:48:17 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-09 21:48:17 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 21:48:14 PST 2016]; root of context hierarchy
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-09 21:48:17 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-09 21:48:17 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 21:48:17 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 21:48:17 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 21:48:18 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-09 21:48:18 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-09 21:48:18 INFO Application:57 - Started Application in 14.678 seconds (JVM running for 15.661)
2016-11-09 21:48:18 INFO Application:53 - All users fetched
2016-11-09 21:48:18 INFO Application:56 - Application online
2016-11-09 21:48:28 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-09 21:48:28 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 32 ms
2016-11-09 21:48:34 INFO AdController:99 - Ad fetched by location
2016-11-09 21:48:34 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":37,"type":"video","amountLeft":19963,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 21:50:31 INFO AdController:99 - Ad fetched by location
2016-11-09 21:50:31 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":38,"type":"video","amountLeft":19962,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":20000}]
2016-11-09 21:52:32 INFO AdController:99 - Ad fetched by location
2016-11-09 21:52:32 INFO AdController:101 - [{"clickurl":"https://www.easports.com/fifa/the-journey","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":31,"clickCount":0,"impressions":2,"type":"video","amountLeft":7998,"videourl":"https://www.youtube.com/watch?v=P9LHzVEPodg","name":"FIFA 17","personId":0,"id":35,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":8000}]
2016-11-09 21:53:13 INFO AdController:99 - Ad fetched by location
2016-11-09 21:53:13 INFO AdController:101 - [{"clickurl":"http://www.stubhub.com/usc-football-tickets/performer/6342/","ctr":58.333333333333336,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":27,"clickCount":14,"impressions":10,"type":"video","amountLeft":11962,"videourl":"https://www.youtube.com/watch?v=UMxCZ_FOBOg","name":"USC Homecoming","personId":0,"id":31,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12000}]
2016-11-09 21:53:56 INFO AdController:99 - Ad fetched by location
2016-11-09 21:53:56 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":39,"type":"video","amountLeft":11962,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12001}]
2016-11-09 21:54:05 INFO AdController:99 - Ad fetched by location
2016-11-09 21:54:05 INFO AdController:101 - [{"clickurl":"http://www.stubhub.com/usc-football-tickets/performer/6342/","ctr":56,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":27,"clickCount":14,"impressions":11,"type":"video","amountLeft":11961,"videourl":"https://www.youtube.com/watch?v=UMxCZ_FOBOg","name":"USC Homecoming","personId":0,"id":31,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12000}]
2016-11-09 21:54:22 INFO AdController:99 - Ad fetched by location
2016-11-09 21:54:22 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":40,"type":"video","amountLeft":11961,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12001}]
2016-11-09 21:55:01 INFO AdController:99 - Ad fetched by location
2016-11-09 21:55:01 INFO AdController:101 - [{"clickurl":"https://www.easports.com/fifa/the-journey","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":31,"clickCount":0,"impressions":3,"type":"video","amountLeft":7997,"videourl":"https://www.youtube.com/watch?v=P9LHzVEPodg","name":"FIFA 17","personId":0,"id":35,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":8000}]
2016-11-09 21:55:58 INFO AdController:99 - Ad fetched by location
2016-11-09 21:55:58 INFO AdController:101 - [{"clickurl":"http://www.hbo.com/game-of-thrones","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":30,"clickCount":0,"impressions":2,"type":"video","amountLeft":9998,"videourl":"https://www.youtube.com/watch?v=6N4gEJ_ED98","name":"Game of Thrones","personId":0,"id":34,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":10000}]
2016-11-09 21:59:48 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 21:48:14 PST 2016]; root of context hierarchy
2016-11-09 21:59:48 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-09 22:00:08 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-09 22:00:13 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 7438 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-09 22:00:13 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-09 22:00:13 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 22:00:13 PST 2016]; root of context hierarchy
2016-11-09 22:00:14 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-09 22:00:15 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 1988 ms
2016-11-09 22:00:15 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-09 22:00:15 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-09 22:00:15 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-09 22:00:15 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-09 22:00:15 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-09 22:00:15 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 22:00:13 PST 2016]; root of context hierarchy
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-09 22:00:15 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-09 22:00:16 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:00:16 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:00:16 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:00:16 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-09 22:00:16 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-09 22:00:16 INFO Application:57 - Started Application in 14.164 seconds (JVM running for 15.202)
2016-11-09 22:00:16 INFO Application:53 - All users fetched
2016-11-09 22:00:16 INFO Application:56 - Application online
2016-11-09 22:00:27 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-09 22:00:27 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 17 ms
2016-11-09 22:00:50 INFO AdController:99 - Ad fetched by location
2016-11-09 22:00:50 INFO AdController:101 - [{"clickurl":"http://www.stubhub.com/usc-football-tickets/performer/6342/","ctr":53.84615384615385,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":27,"clickCount":14,"impressions":12,"type":"video","amountLeft":11960,"videourl":"https://www.youtube.com/watch?v=UMxCZ_FOBOg","name":"USC Homecoming","personId":0,"id":31,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12000}]
2016-11-09 22:01:06 INFO AdController:99 - Ad fetched by location
2016-11-09 22:01:06 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":41,"type":"video","amountLeft":11960,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12001}]
2016-11-09 22:01:09 INFO AdController:99 - Ad fetched by location
2016-11-09 22:01:09 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":42,"type":"video","amountLeft":11959,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12001}]
2016-11-09 22:01:10 INFO AdController:99 - Ad fetched by location
2016-11-09 22:01:10 INFO AdController:101 - [{"clickurl":"http://www.stubhub.com/usc-football-tickets/performer/6342/","ctr":51.851851851851855,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":27,"clickCount":14,"impressions":13,"type":"video","amountLeft":11959,"videourl":"https://www.youtube.com/watch?v=UMxCZ_FOBOg","name":"USC Homecoming","personId":0,"id":31,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12000}]
2016-11-09 22:01:11 INFO AdController:99 - Ad fetched by location
2016-11-09 22:01:11 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":43,"type":"video","amountLeft":11958,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12001}]
2016-11-09 22:01:12 INFO AdController:99 - Ad fetched by location
2016-11-09 22:01:12 INFO AdController:101 - [{"clickurl":"http://www.stubhub.com/usc-football-tickets/performer/6342/","ctr":50,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":27,"clickCount":14,"impressions":14,"type":"video","amountLeft":11958,"videourl":"https://www.youtube.com/watch?v=UMxCZ_FOBOg","name":"USC Homecoming","personId":0,"id":31,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12000}]
2016-11-09 22:01:13 INFO AdController:99 - Ad fetched by location
2016-11-09 22:01:13 INFO AdController:101 - [{"clickurl":"http://www.stubhub.com/usc-football-tickets/performer/6342/","ctr":48.275862068965516,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":27,"clickCount":14,"impressions":15,"type":"video","amountLeft":11957,"videourl":"https://www.youtube.com/watch?v=UMxCZ_FOBOg","name":"USC Homecoming","personId":0,"id":31,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12000}]
2016-11-09 22:01:14 INFO AdController:99 - Ad fetched by location
2016-11-09 22:01:14 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":0,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":0,"impressions":44,"type":"video","amountLeft":11957,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12001}]
2016-11-09 22:15:01 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 22:00:13 PST 2016]; root of context hierarchy
2016-11-09 22:15:01 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-09 22:15:20 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-09 22:15:24 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 7675 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-09 22:15:24 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-09 22:15:24 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 22:15:24 PST 2016]; root of context hierarchy
2016-11-09 22:15:26 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-09 22:15:26 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 2027 ms
2016-11-09 22:15:27 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-09 22:15:27 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-09 22:15:27 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-09 22:15:27 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-09 22:15:27 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-09 22:15:27 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@651aed93: startup date [Wed Nov 09 22:15:24 PST 2016]; root of context hierarchy
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-09 22:15:28 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-09 22:15:28 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:15:28 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:15:28 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:15:28 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-09 22:15:28 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-09 22:15:28 INFO Application:57 - Started Application in 14.473 seconds (JVM running for 15.474)
2016-11-09 22:15:28 INFO Application:53 - All users fetched
2016-11-09 22:15:28 INFO Application:56 - Application online
2016-11-09 22:37:03 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-09 22:37:08 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 8013 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-09 22:37:08 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-09 22:37:08 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3d680b5a: startup date [Wed Nov 09 22:37:08 PST 2016]; root of context hierarchy
2016-11-09 22:37:10 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-09 22:37:10 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 1863 ms
2016-11-09 22:37:10 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-09 22:37:10 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-09 22:37:10 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-09 22:37:10 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-09 22:37:10 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-09 22:37:11 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3d680b5a: startup date [Wed Nov 09 22:37:08 PST 2016]; root of context hierarchy
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-09 22:37:11 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-09 22:37:11 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:37:11 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:37:11 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:37:11 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-09 22:37:11 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-09 22:37:11 INFO Application:57 - Started Application in 13.848 seconds (JVM running for 15.04)
2016-11-09 22:37:11 INFO Application:53 - All users fetched
2016-11-09 22:37:11 INFO Application:56 - Application online
2016-11-09 22:38:13 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-09 22:38:13 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 22 ms
2016-11-09 22:38:13 INFO AdDaoImpl:242 - Size of dominated ads : 1
2016-11-09 22:38:13 INFO AdController:99 - Ad fetched by location
2016-11-09 22:38:13 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":7.6923076923076925,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":4,"impressions":48,"type":"video","amountLeft":11945,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12001}]
2016-11-09 22:38:16 INFO AdDaoImpl:242 - Size of dominated ads : 1
2016-11-09 22:38:16 INFO AdController:99 - Ad fetched by location
2016-11-09 22:38:16 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":7.547169811320755,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":4,"impressions":49,"type":"video","amountLeft":11944,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12001}]
2016-11-09 22:38:18 INFO AdDaoImpl:242 - Size of dominated ads : 1
2016-11-09 22:38:18 INFO AdController:99 - Ad fetched by location
2016-11-09 22:38:18 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":7.407407407407407,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":4,"impressions":50,"type":"video","amountLeft":11943,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12001}]
2016-11-09 22:38:27 INFO AdDaoImpl:242 - Size of dominated ads : 1
2016-11-09 22:38:27 INFO AdController:99 - Ad fetched by location
2016-11-09 22:38:27 INFO AdController:101 - [{"clickurl":"https://www.warnerbros.co.uk/franchises/harry-potter","ctr":7.2727272727272725,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":26,"clickCount":4,"impressions":51,"type":"video","amountLeft":11942,"videourl":"https://www.youtube.com/watch?v=2x6eYEKTQLY","name":"Harry Potter","personId":0,"id":30,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12001}]
2016-11-09 22:38:31 INFO AdDaoImpl:242 - Size of dominated ads : 2
2016-11-09 22:38:31 INFO AdController:99 - Ad fetched by location
2016-11-09 22:38:31 INFO AdController:101 - [{"clickurl":"http://www.stubhub.com/usc-football-tickets/performer/6342/","ctr":51.282051282051285,"country":"USA","xAttribute":5.126340693095699E-5,"imageId":27,"clickCount":20,"impressions":19,"type":"video","amountLeft":11941,"videourl":"https://www.youtube.com/watch?v=UMxCZ_FOBOg","name":"USC Homecoming","personId":0,"id":31,"fence":"((-118.2915974,34.0183228),(-118.2915974,34.0183228),(-118.2823277,34.0184295),(-118.2800317,34.0219687),(-118.2881641,34.0254544),(-118.2915974,34.0183228))","budget":12000}]
2016-11-09 22:38:35 ERROR AdDaoImpl:336 - Error getting ad by name
org.postgresql.util.PSQLException: ResultSet not positioned properly, perhaps you need to call next.
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.checkResultSet(AbstractJdbc2ResultSet.java:2976)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getInt(AbstractJdbc2ResultSet.java:2165)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getInt(AbstractJdbc2ResultSet.java:2664)
at service.response.ResultWrapper.getAd(ResultWrapper.java:21)
at service.db.impl.AdDaoImpl.nearestNeighbor(AdDaoImpl.java:334)
at service.db.impl.AdDaoImpl.getAdByLocation(AdDaoImpl.java:271)
at service.controllers.AdController.getAd(AdController.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:89)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
2016-11-09 22:38:35 INFO AdController:99 - Ad fetched by location
2016-11-09 22:38:35 INFO AdController:101 - []
2016-11-09 22:38:58 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3d680b5a: startup date [Wed Nov 09 22:37:08 PST 2016]; root of context hierarchy
2016-11-09 22:38:58 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-09 22:39:07 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-09 22:39:12 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 8023 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-09 22:39:12 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-09 22:39:12 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3d680b5a: startup date [Wed Nov 09 22:39:12 PST 2016]; root of context hierarchy
2016-11-09 22:39:13 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)
2016-11-09 22:39:14 INFO ContextLoader:276 - Root WebApplicationContext: initialization completed in 1787 ms
2016-11-09 22:39:14 INFO ServletRegistrationBean:190 - Mapping servlet: 'dispatcherServlet' to [/]
2016-11-09 22:39:14 INFO FilterRegistrationBean:258 - Mapping filter: 'characterEncodingFilter' to: [/*]
2016-11-09 22:39:14 INFO FilterRegistrationBean:258 - Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2016-11-09 22:39:14 INFO FilterRegistrationBean:258 - Mapping filter: 'httpPutFormContentFilter' to: [/*]
2016-11-09 22:39:14 INFO FilterRegistrationBean:258 - Mapping filter: 'requestContextFilter' to: [/*]
2016-11-09 22:39:14 INFO RequestMappingHandlerAdapter:534 - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3d680b5a: startup date [Wed Nov 09 22:39:12 PST 2016]; root of context hierarchy
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/buildad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.buildAd(service.db.model.Ad)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getads],methods=[GET]}" onto public java.lang.String service.controllers.AdController.getAllAds()
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/clickad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.clickAd(service.db.model.Ad)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/impressionad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.impressionAd(service.db.model.Ad)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/getad],methods=[POST]}" onto public java.lang.String service.controllers.AdController.getAd(service.db.model.Location)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/ad/deletead],methods=[POST]}" onto public java.lang.String service.controllers.AdController.deleteAd(service.db.model.PersonAd)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/]}" onto public java.lang.String service.controllers.DummyController.index()
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/{ip}],methods=[GET]}" onto public java.lang.String service.controllers.DummyController.getCall(java.lang.String)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/postSupplier],methods=[POST],produces=[application/json]}" onto public java.lang.String service.controllers.DummyController.redire(org.json.JSONObject)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/post/{id}],methods=[POST]}" onto public java.lang.String service.controllers.DummyController.postCall(java.lang.String,java.lang.String)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/dummy/service]}" onto public java.lang.String service.controllers.DummyController.index1()
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/addperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.addPerson(service.db.model.Person)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getperson],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getPerson(service.db.model.Person)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersonads],methods=[POST]}" onto public java.lang.String service.controllers.PersonController.getAllpersonAds(service.db.model.Person)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/v1/person/getpersons],methods=[GET]}" onto public java.lang.String service.controllers.PersonController.getAllPersons()
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2016-11-09 22:39:14 INFO RequestMappingHandlerMapping:543 - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2016-11-09 22:39:14 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:39:14 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:39:14 INFO SimpleUrlHandlerMapping:354 - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2016-11-09 22:39:15 INFO AnnotationMBeanExporter:431 - Registering beans for JMX exposure on startup
2016-11-09 22:39:15 INFO TomcatEmbeddedServletContainer:185 - Tomcat started on port(s): 8080 (http)
2016-11-09 22:39:15 INFO Application:57 - Started Application in 13.629 seconds (JVM running for 14.849)
2016-11-09 22:39:15 INFO Application:53 - All users fetched
2016-11-09 22:39:15 INFO Application:56 - Application online
2016-11-09 22:39:19 INFO DispatcherServlet:489 - FrameworkServlet 'dispatcherServlet': initialization started
2016-11-09 22:39:19 INFO DispatcherServlet:508 - FrameworkServlet 'dispatcherServlet': initialization completed in 23 ms
2016-11-09 22:39:19 ERROR AdDaoImpl:336 - Error getting ad by name
org.postgresql.util.PSQLException: ResultSet not positioned properly, perhaps you need to call next.
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.checkResultSet(AbstractJdbc2ResultSet.java:2976)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getInt(AbstractJdbc2ResultSet.java:2165)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getInt(AbstractJdbc2ResultSet.java:2664)
at service.response.ResultWrapper.getAd(ResultWrapper.java:21)
at service.db.impl.AdDaoImpl.nearestNeighbor(AdDaoImpl.java:334)
at service.db.impl.AdDaoImpl.getAdByLocation(AdDaoImpl.java:271)
at service.controllers.AdController.getAd(AdController.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:89)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
2016-11-09 22:39:20 INFO AdController:99 - Ad fetched by location
2016-11-09 22:39:20 INFO AdController:101 - []
2016-11-09 22:39:42 ERROR AdDaoImpl:336 - Error getting ad by name
org.postgresql.util.PSQLException: ResultSet not positioned properly, perhaps you need to call next.
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.checkResultSet(AbstractJdbc2ResultSet.java:2976)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getInt(AbstractJdbc2ResultSet.java:2165)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getInt(AbstractJdbc2ResultSet.java:2664)
at service.response.ResultWrapper.getAd(ResultWrapper.java:21)
at service.db.impl.AdDaoImpl.nearestNeighbor(AdDaoImpl.java:334)
at service.db.impl.AdDaoImpl.getAdByLocation(AdDaoImpl.java:271)
at service.controllers.AdController.getAd(AdController.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:89)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
2016-11-09 22:39:42 INFO AdController:99 - Ad fetched by location
2016-11-09 22:39:42 INFO AdController:101 - []
2016-11-09 22:39:47 ERROR AdDaoImpl:336 - Error getting ad by name
org.postgresql.util.PSQLException: ResultSet not positioned properly, perhaps you need to call next.
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.checkResultSet(AbstractJdbc2ResultSet.java:2976)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getInt(AbstractJdbc2ResultSet.java:2165)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getInt(AbstractJdbc2ResultSet.java:2664)
at service.response.ResultWrapper.getAd(ResultWrapper.java:21)
at service.db.impl.AdDaoImpl.nearestNeighbor(AdDaoImpl.java:334)
at service.db.impl.AdDaoImpl.getAdByLocation(AdDaoImpl.java:271)
at service.controllers.AdController.getAd(AdController.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:89)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
2016-11-09 22:39:47 INFO AdController:99 - Ad fetched by location
2016-11-09 22:39:47 INFO AdController:101 - []
2016-11-09 22:39:58 ERROR AdDaoImpl:336 - Error getting ad by name
org.postgresql.util.PSQLException: ResultSet not positioned properly, perhaps you need to call next.
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.checkResultSet(AbstractJdbc2ResultSet.java:2976)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getInt(AbstractJdbc2ResultSet.java:2165)
at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getInt(AbstractJdbc2ResultSet.java:2664)
at service.response.ResultWrapper.getAd(ResultWrapper.java:21)
at service.db.impl.AdDaoImpl.nearestNeighbor(AdDaoImpl.java:334)
at service.db.impl.AdDaoImpl.getAdByLocation(AdDaoImpl.java:271)
at service.controllers.AdController.getAd(AdController.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:89)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
2016-11-09 22:39:58 INFO AdController:99 - Ad fetched by location
2016-11-09 22:39:58 INFO AdController:101 - []
2016-11-09 22:40:01 INFO AnnotationConfigEmbeddedWebApplicationContext:982 - Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3d680b5a: startup date [Wed Nov 09 22:39:12 PST 2016]; root of context hierarchy
2016-11-09 22:40:01 INFO AnnotationMBeanExporter:449 - Unregistering JMX-exposed beans on shutdown
2016-11-09 22:40:09 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
2016-11-09 22:40:13 INFO Application:48 - Starting Application on Abhisheks-MacBook-Air.local with PID 8036 (/Users/abhishek/Documents/USC/Projects/geospatial587/target/classes started by abhishek in /Users/abhishek/Documents/USC/Projects/geospatial587)
2016-11-09 22:40:13 INFO Application:661 - No active profile set, falling back to default profiles: default
2016-11-09 22:40:13 INFO AnnotationConfigEmbeddedWebApplicationContext:581 - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3d680b5a: startup date [Wed Nov 09 22:40:13 PST 2016]; root of context hierarchy
2016-11-09 22:40:15 INFO TomcatEmbeddedServletContainer:87 - Tomcat initialized with port(s): 8080 (http)