This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR [2014-02-24 18:38:43,079] org.springframework.web.context.ContextLoader: Context initialization failed | |
! org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pipe.plug.principal.service.impl.PrincipalDetailsServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: pipe.plug.user.service.UserService pipe.plug.principal.principalmodifier.impl.PrincipalDetailsServiceImpl.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.springframework.security.crypto.password.PasswordEncoder pipe.plug.user.service.impl.UserServiceImpl.passwordEncoder; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying be |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package pipe.web.common.config; | |
import org.springframework.beans.BeansException; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.beans.factory.config.BeanPostProcessor; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.annotation.Import; | |
import org.springframework.scheduling.TaskScheduler; | |
import org.springframework.scheduling.config.IntervalTask; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package match.activity.plug.dao; | |
import com.github.springtestdbunit.annotation.DatabaseSetup; | |
import com.github.springtestdbunit.annotation.DbUnitConfiguration; | |
import com.google.common.collect.ImmutableMap; | |
import com.jolbox.bonecp.BoneCPConfig; | |
import com.jolbox.bonecp.BoneCPDataSource; | |
import magnet.support.mail.queue.config.EnableMailQueue; | |
import magnet.support.mail.queue.config.MailQueueConfigurer; | |
import magnet.support.mail.queue.entity.MailQueueEntity; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apple-MacBook-Pro:logs nurettin.yilmaz$ awk '/^(\S+) \S+ \S+ \[([^\]]+)\] "([A-Z]+)[^"]*" \d+ \d+ "[^"]*" "([^"]*)"$/m {print $6 "\n" $7 "\n" $8 "\n" $9}' example.log | |
"GET | |
/etiket/penis-e%C4%9Frili%C4%9Fi-d%C3%BCzeltme-ameliyat%C4%B1 | |
HTTP/1.1" | |
200 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk '/^(\S+) \S+ \S+ \[([^\]]+)\] "([A-Z]+)[^"]*" \d+ \d+ "[^"]*" "([^"]*)"$/m ($6 == "\"GET") && ($9 == 200) && !($7 ~ /^\/_analytics/) && !($7 ~ /^\/arama/) && !($7 ~ /^\/programlar\?q/) && !($7 ~ /^\/uzmanlar\?search/) && !($7 ~ /^\/app\/vplayer\/getsibling.tv/) {print $7}' access.log | uniq > access_log_filtered.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54.236.252.200 uzmantv.com - [28/Feb/2014:23:55:03 +0200] "GET /embed/uzman-embed-v2.swf?v=ZTT0Q0rnbCb&no=862&jingle=saglik.mp4&referer=d0VrdMvBsnS&tit=K%C4%B1zl%C4%B1k%20zar%C4%B1%20y%C4%B1rt%C4%B1ld%C4%B1%C4%9F%C4%B1nda%20ac%C4%B1%20verir%20mi?&urltit=kizlik-zari-yirtildiginda-aci-verir-mi&subject=KIZLIK%20ZARI%20HAKKINDA%20MERAK%20ED%C4%B0LENLER&surltit=kizlik-zari-hakkinda-merak-edilenler&ext=flv HTTP/1.1" 200 91439 "http://www.sagliklica.com/admin/cinsel-yasam-ve-cinsel-saglik/kizlik-zari-nasil-bozulur-resimli-anlatim-video-kizlik-nasil-bozulur-uygulamali-anlatim.html" "Mozilla/5.0 (Series40; Nokia501s/10.0.15; Profile/MIDP-2.1 Configuration/CLDC-1.1) Gecko/20100401 S40OviBrowser/3.0.0.0.75" "BIGipServercom.uzmantv.www.pool.http=453708298.20480.0000; TS2b1e4d=1ae00adf8fd9bb1c0ae20bc34ba947e373ca2aab3f2a19d05311057cc416f74d9f7ddfc8" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package magnet.support.mail.queue.builder; | |
import com.google.common.collect.Maps; | |
import magnet.support.mail.queue.entity.MailQueueEntity; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.util.Assert; | |
import java.util.Date; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public SearchResult<Integer> searchRelatedVideos(int videoId, int length) { | |
Cache<String, SearchResult<Integer>> cache = cacheFactory.getMemcachedMagnetCache("relatedvideo-cache"); | |
String key = "related/" + videoId + "/" + length; | |
SearchResult<Integer> result = cache.get(key); | |
if(result != null && result.getSize() != 0) { | |
logger.debug("Related videos found in cache for video : " + videoId); | |
return result; | |
} | |
VideoInfo video = videoInfoService.getVideoInfo(videoId); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARN [2014-03-17 15:22:32,362] com.google.code.ssm.transcoders.JsonTranscoder: Error deserializing cached data CachedObjectWrapper [cachedData={CachedData flags=264 data=[123, 34, 118, 34, 58, 123, 34, 99, 111, 109, 46, 103, 111, 111, 103, 108, 101, 46, 99, 111, 109, 109, 111, 110, 46, 99, 111, 108, 108, 101, 99, 116, 46, 76, 105, 115, 116, 115, 36, 84, 114, 97, 110, 115, 102, 111, 114, 109, 105, 110, 103, 82, 97, 110, 100, 111, 109, 65, 99, 99, 101, 115, 115, 76, 105, 115, 116, 34, 58, 91, 123, 34, 112, 105, 112, 101, 46, 112, 108, 117, 103, 46, 118, 105, 100, 101, 111, 46, 98, 101, 97, 110, 46, 86, 105, 100, 101, 111, 73, 110, 102, 111, 34, 58, 123, 34, 73, 68, 34, 58, 49, 48, 53, 51, 55, 57, 57, 125, 125, 44, 123, 34, 112, 105, 112, 101, 46, 112, 108, 117, 103, 46, 118, 105, 100, 101, 111, 46, 98, 101, 97, 110, 46, 86, 105, 100, 101, 111, 73, 110, 102, 111, 34, 58, 123, 34, 73, 68, 34, 58, 49, 48, 52, 56, 57, 53, 54, 125, 125, 44, 123, 34, 112, 105, 112, 101, 46, 112, 108, 117, 103, 46, 118, 105, 100, 101 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http | |
.sessionManagement() | |
.sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED) | |
.and() | |
.servletApi() | |
.and() | |
.formLogin() | |
.loginPage("/giris") | |
.successHandler(simpleUrlAuthenticationHandler) | |
.failureHandler(simpleUrlAuthenticationHandler) |