Skip to content

Instantly share code, notes, and snippets.

19:05:39,891 INFO main ontext.ContextLoader: 187 - Root WebApplicationContext: initialization started
19:05:39,996 INFO main ebApplicationContext: 456 - Refreshing Root WebApplicationContext: startup date [Mon Jun 13 19:05:39 UTC 2011]; root of context hierarchy
19:05:40,115 INFO main BeanDefinitionReader: 315 - Loading XML bean definitions from class path resource [spring-context.xml]
19:05:41,339 INFO main BeanDefinitionReader: 315 - Loading XML bean definitions from class path resource [spring-security.xml]
19:05:41,670 INFO main icationConfigBuilder: 338 - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page.
19:05:41,677 INFO main BeanDefinitionParser: 187 - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factory
19:05:32,376 INFO main ontext.ContextLoader: 187 - Root WebApplicationContext: initialization started
19:05:32,463 INFO main ebApplicationContext: 456 - Refreshing Root WebApplicationContext: startup date [Mon Jun 13 19:05:32 UTC 2011]; root of context hierarchy
19:05:32,585 INFO main BeanDefinitionReader: 315 - Loading XML bean definitions from class path resource [spring-context.xml]
19:05:33,770 INFO main BeanDefinitionReader: 315 - Loading XML bean definitions from class path resource [spring-security.xml]
19:05:34,099 INFO main icationConfigBuilder: 338 - No login page configured. The default internal one will be used. Use the 'login-page' attribute to set the URL of the login page.
19:05:34,106 INFO main BeanDefinitionParser: 187 - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factory
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Tracermedia :: RoundTable 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.tracermedia.com/artifactory/libs-snapshots/org/ringojs/stick/0.2.0-SNAPSHOT/maven-metadata.xml
Downloading: https://repo.tracermedia.com/artifactory/libs-releases/org/ringojs/stick/0.2.0-SNAPSHOT/maven-metadata.xml
Downloaded: https://repo.tracermedia.com/artifactory/libs-snapshots/org/ringojs/stick/0.2.0-SNAPSHOT/maven-metadata.xml (307 B at 0.3 KB/sec)
Downloading: https://repo.tracermedia.com/artifactory/libs-releases/com/tracermedia/ringojs-ext/0.1.2-SNAPSHOT/maven-metadata.xml
Downloading: https://repo.tracermedia.com/artifactory/libs-snapshots/com/tracermedia/ringojs-ext/0.1.2-SNAPSHOT/maven-metadata.xml
package com.tracermedia.gcf1001.webcam;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import uk.co.caprica.vlcj.player.MediaPlayer;
import uk.co.caprica.vlcj.player.MediaPlayerFactory;
import uk.co.caprica.vlcj.player.events.VideoOutputEventListener;
import uk.co.caprica.vlcj.player.headless.HeadlessMediaPlayer;
public class WebcamCaptureTest {
"C:\Program Files\Java\jdk1.6.0_26\bin\java" -Djna.library.path=D:\Projects\Personal\GCFTech\libs\vlcj\win32 -Didea.launcher.port=7533 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 10.5.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.6.0_26\jre\lib\alt-rt.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\alt-string.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.6.0_26\jre\lib\
public class RESTUserDetailsService implements UserDetailsService {
private static final Logger LOG = LoggerFactory.getLogger(RESTUserDetailsService.class);
private Client _esClient;
public RESTUserDetailsService() {
}
public void destroy() {
@oravecz
oravecz / gist:1152708
Created August 17, 2011 21:38
Test cases for RingoJS - scriptName and pathInfo
/**
* From the JSGI specification: (http://wiki.commonjs.org/wiki/JSGI/Level0/A/Draft2)
*
* The remainder of the request URL's "path", designating the virtual "location" of the Request's
* target within the Application. This may be an empty string, if the request URL targets the
* Application root and does not have a trailing slash. Restriction: if non-empty `pathInfo` MUST
* start with "/" and MUST NOT be decoded.
*
* Note: We can't simulate context path in the request, so this test may not be complete.
*/
James-Cooks-MacBook-Pro:coelodonta jcook$ ringo main.js
0 [main] INFO .Users.jcook.Projects.ThirdParty.coelodonta.model - Post is type function
9 [main] INFO .Users.jcook.Projects.ThirdParty.coelodonta.model - Comment is type function
561 [main] INFO org.eclipse.jetty.util.log - jetty-7.4.1.v20110513
618 [main] INFO org.eclipse.jetty.util.log - started o.e.j.s.ServletContextHandler{/,null}
642 [main] INFO org.eclipse.jetty.util.log - Started SelectChannelConnector@0.0.0.0:8080 STARTING
643 [main] INFO ringo.httpserver - Server on http://localhost:8080 started.
12969 [qtp1472770637-25] INFO .Users.jcook.Projects.ThirdParty.coelodonta.model - Getting information about possible element title
12970 [qtp1472770637-25] INFO .Users.jcook.Projects.ThirdParty.coelodonta.model - Getting information about possible element link
12970 [qtp1472770637-25] INFO .Users.jcook.Projects.ThirdParty.coelodonta.model - Getting information about possible element id
0 [main] INFO .Users.jcook.Projects.ThirdParty.coelodonta.model - Post is type function
8 [main] INFO .Users.jcook.Projects.ThirdParty.coelodonta.model - Comment is type function
562 [main] INFO org.eclipse.jetty.util.log - jetty-7.4.1.v20110513
620 [main] INFO org.eclipse.jetty.util.log - started o.e.j.s.ServletContextHandler{/,null}
638 [main] INFO org.eclipse.jetty.util.log - Started SelectChannelConnector@0.0.0.0:8080 STARTING
641 [main] INFO ringo.httpserver - Server on http://localhost:8080 started.
4672 [qtp690611689-23] INFO .Users.jcook.Projects.ThirdParty.coelodonta.model - Getting information about possible element title
4673 [qtp690611689-23] INFO .Users.jcook.Projects.ThirdParty.coelodonta.model - Getting information about possible element link
4673 [qtp690611689-23] INFO .Users.jcook.Projects.ThirdParty.coelodonta.model - Getting information about possible element id
4674 [qtp690611689-23] INFO .Users.jcook.Projects.ThirdParty.coelodonta.model - Getting information
jcook$ curl -XPOST 'http://127.0.0.1:9311/_bulk' -d'
{ "index" : { "_index" : "test", "_type" : "type1", "_id" : "1" } }
{ "k" : 1 }
'
{"took":1698,"items":[{"index":{"_index":"test","_type":"type1","_id":"1","_version":1,"ok":true}}]}