This file contains 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
<project name="brutal" default="merge-all" basedir="./"> | |
<property name="webapp.dir" value="src/main/webapp" /> | |
<property name="css.dir" value="${webapp.dir}/css" /> | |
<property name="js.dir" value="${webapp.dir}/js" /> | |
<property name="js.deps.dir" value="${js.dir}/deps/" /> | |
<target name="merge-all"> | |
<antcall target="merge-css" /> | |
<antcall target="merge-js" /> |
This file contains 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
17:27:09 WARN [WebAppContext ] Failed startup of context o.e.j.w.WebAppContext{/,file:/home/csokol/caelum/workspace/brutal/src/main/webapp/} | |
org.jboss.weld.exceptions.IllegalProductException: WELD-000052 Cannot return null from a non-dependent producer method: Producer for Producer Method [ServletContext] with qualifiers [@Any @Default] declared as [[UnbackedAnnotatedMethod] @Produces @ApplicationScoped public br.com.caelum.vraptor4.ioc.cdi.ServletContextFactory.getInstance()] declared on Managed Bean [class br.com.caelum.vraptor4.ioc.cdi.ServletContextFactory] with qualifiers [@Any @Default] | |
at org.jboss.weld.bean.AbstractProducerBean.checkReturnValue(AbstractProducerBean.java:142) | |
at org.jboss.weld.bean.AbstractProducerBean.create(AbstractProducerBean.java:190) | |
at org.jboss.weld.context.AbstractContext.get(AbstractContext.java:103) | |
at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:93) | |
at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.j |
This file contains 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
19:30:23 INFO [ParseCommitJob ] Processing artifact pom.xml | |
19:30:23 INFO [ParseCommitJob ] Processing artifact src/main/java/br/com/caelum/vraptor/simplemail/DefaultMailer.java | |
19:30:24 INFO [ParseCommitJob ] Processing artifact src/main/java/br/com/caelum/vraptor/simplemail/Mailer.java | |
19:30:24 INFO [ParseCommitJob ] Processing artifact src/main/resources/META-INF/br.com.caelum.vraptor.packages | |
19:30:25 INFO [ParseCommitJob ] Processing commit 320820039a6574edc93bf995dff708d94b1d55b8 from project 90789990412148689b342025b9df039b | |
19:30:25 ERROR [JobRunner ] job runner failed... starting it again | |
java.lang.NullPointerException | |
at com.codesheriff.metrics.bugs.BugDetector.existsIn(BugDetector.java:67) | |
at com.codesheriff.metrics.bugs.BugDetector.calculate(BugDetector.java:49) | |
at com.codesheriff.job.ParseCommitJob.calculateCommitMetrics(ParseCommitJob.java:103) |
This file contains 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
<!-- hibernate deps --> | |
<dependency> | |
<groupId>br.com.caelum.vraptor</groupId> | |
<artifactId>vraptor-plugin-hibernate4</artifactId> | |
<version>1.0.3-SNAPSHOT</version> | |
<exclusions> | |
<exclusion> | |
<groupId>org.hibernate</groupId> | |
<artifactId>hibernate</artifactId> | |
</exclusion> |
This file contains 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
exception raised, check root cause for details: org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected end of subtree [select a from com.codesheriff.model.Artifact a where a.id in ()] | |
Caused by: | |
br.com.caelum.vraptor.InterceptionException: exception raised, check root cause for details: org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected end of subtree [select a from com.codesheriff.model.Artifact a where a.id in ()] | |
at br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor.intercept(ExecuteMethodInterceptor.java:96) | |
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54) | |
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:54) | |
at br.com.caelum.vraptor.core.LazyInterceptorHandler.execute(LazyInterceptorHandler.java:61) |
This file contains 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 class DefaultRouterTest { | |
//... | |
@Test | |
public void testName() throws Exception { | |
registerRulesFor(MyController.class); | |
ObjenesisInstanceCreator objenesisInstanceCreator = new ObjenesisInstanceCreator(); | |
JavassistProxifier proxifier = new JavassistProxifier(objenesisInstanceCreator); | |
MyController proxy = proxifier.proxify(MyController.class, null); | |
Class<? extends MyController> type = proxy.getClass(); |
This file contains 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
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="true" | |
monitoring="autodetect" dynamicConfig="true"> | |
<defaultCache eternal="false" | |
timeToIdleSeconds="240" timeToLiveSeconds="240" diskSpoolBufferSizeMB="30" | |
diskExpiryThreadIntervalSeconds="120" memoryStoreEvictionPolicy="LRU" statistics="false"> | |
</defaultCache> | |
</ehcache> |
This file contains 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
/usr/sbin/ab -c 5 -n 1000 http://localhost:9090/ > benchmark/vraptor4/vraptor4-1.txt | |
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking localhost (be patient) | |
Server Software: Jetty(8.1.0.v20120127) |
This file contains 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
/usr/sbin/ab -c 5 -n 1000 http://localhost:9080/ > benchmark/vraptor3/vraptor3-1.txt | |
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking localhost (be patient) | |
Server Software: Jetty(8.1.0.v20120127) |
This file contains 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
ubuntu@ip-10-118-39-69:~ $ cat /etc/nginx/sites-available/guj.com.br | |
upstream jetties { | |
server 127.0.0.1:8080; | |
} | |
upstream brutal { | |
server 127.0.0.1:9080; | |
server 127.0.0.1:9090; | |
} |