Skip to content

Instantly share code, notes, and snippets.

View porcelli's full-sized avatar

Alex Porcelli porcelli

View GitHub Profile
@porcelli
porcelli / gist:5601511
Created May 17, 2013 19:44
What a log!
16:42:02,484 INFO [org.apache.helix.messaging.handling.HelixTask] (pool-13-thread-8) msg:6dc11ef9-517c-4cac-be0f-06584df1a6e6 handling task completed, results:true, at: 1368819722484, took:6
16:42:02,485 INFO [org.apache.helix.manager.zk.CallbackHandler] (ZkClient-EventThread-126-localhost:2188) 126 START:INVOKE /lock-demo/INSTANCES/nodeOne_11/MESSAGES listener:org.apache.helix.messaging.handling.HelixTaskExecutor
16:42:02,485 INFO [org.apache.helix.manager.zk.CallbackHandler] (ZkClient-EventThread-126-localhost:2188) nodeOne_11 subscribe child change@/lock-demo/INSTANCES/nodeOne_11/MESSAGES
16:42:02,486 INFO [org.apache.helix.messaging.handling.HelixTaskExecutor] (ZkClient-EventThread-126-localhost:2188) No Messages to process
16:42:02,487 INFO [org.apache.helix.manager.zk.CallbackHandler] (ZkClient-EventThread-126-localhost:2188) 126 END:INVOKE /lock-demo/INSTANCES/nodeOne_11/MESSAGES listener:org.apache.helix.messaging.handling.HelixTaskExecutor Took: 2ms
16:42:03,079 INFO [org.infinispan.remoting.tr
12:18:38,877 INFO [stdout] (ajp-/127.0.0.1:8009-5) Creating new SessionsContainer@28788106
12:18:38,881 INFO [stdout] (ajp-/127.0.0.1:8009-5) Put into TraceableMap queueSessions of 28788106: HttpSessionWrapper{, sessionId='e7fd3d34b5c21ed67c2aa3b49f9abd3405294ac75cbb010c9af58136e1f8b', remoteQueueID='16990-125'}
12:18:38,881 INFO [stdout] (ajp-/127.0.0.1:8009-5) java.lang.Exception: Just a stack trace
12:18:38,881 INFO [stdout] (ajp-/127.0.0.1:8009-5) at org.jboss.errai.bus.server.HttpSessionProvider$TraceableMap.put(HttpSessionProvider.java:111)
12:18:38,881 INFO [stdout] (ajp-/127.0.0.1:8009-5) at org.jboss.errai.bus.server.HttpSessionProvider$SessionsContainer.createSession(HttpSessionProvider.java:146)
12:18:38,881 INFO [stdout] (ajp-/127.0.0.1:8009-5) at org.jboss.errai.bus.server.HttpSessionProvider.createOrGetSession(HttpSessionProvider.java:57)
12:18:38,881 INFO [stdout] (ajp-/127.0.0.1:8009-5) at org.jboss.errai.bus.server.HttpSessionProvider.createOrGetSession(HttpSessionProvider.java:43
@porcelli
porcelli / gist:5657601
Created May 27, 2013 15:20
GWT Compile Problems/Errors
jbpm-console-ng
[WARNING] Declared compileSourcesArtifact was not found in project dependencies org.kie.workbench.widgets:kie-wb-decorated-grid-widget:jar
[INFO] Compiling module org.jbpm.console.ng.jBPMShowcase
[INFO] Validating units:
[INFO] Ignored 2 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
This file has been truncated, but you can view the full file.
package org.jboss.errai.ioc.client;
import com.allen_sauer.gwt.dnd.client.AbstractDragController;
import com.allen_sauer.gwt.dnd.client.DragController;
import com.allen_sauer.gwt.dnd.client.FiresDragEvents;
import com.allen_sauer.gwt.dnd.client.PickupDragController;
import com.allen_sauer.gwt.dnd.client.drop.DropController;
import com.github.gwtbootstrap.client.ui.Breadcrumbs;
import com.github.gwtbootstrap.client.ui.Modal;
import com.github.gwtbootstrap.client.ui.base.ComplexWidget;
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
dataDir=/tmp/zookeeper
@porcelli
porcelli / sample.java
Created June 10, 2013 06:45
sample gwt bad code
final FormPanel form = new FormPanel();
form.setEncoding(FormPanel.ENCODING_MULTIPART);
form.setMethod(FormPanel.METHOD_POST);
form.addStyleName("table-center");
form.addStyleName("demo-FormPanel");
VerticalPanel holder = new VerticalPanel();
holder.add(new Label("User ID"));
TextBox userid = new TextBox();
<system-properties>
<property name="org.kie.nio.git.deamon.host" value="your.computer.name.here"/>
</system-properties>
package org.uberfire.client.screens.hellolienzo;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.SimplePanel;
package org.uberfire.client.screens.hellolienzo;
import javax.annotation.PostConstruct;
import javax.enterprise.context.Dependent;
import javax.enterprise.event.Event;
import javax.inject.Inject;
import com.emitrom.lienzo.client.core.event.NodeMouseDownEvent;
import com.emitrom.lienzo.client.core.event.NodeMouseDownHandler;
import com.emitrom.lienzo.client.core.shape.Circle;
[ERROR] error: Bad service configuration file, or exception thrown while constructing Processor object: javax.annotation.processing.Processor: Provider org.uberfire.annotations.processors.WorkbenchScreenProcessor could not be instantiated: java.lang.NoClassDefFoundError: org/apache/log4j/Priority
-----
[INFO] org.uberfire:uberfire-widgets-core-client:jar:0.2.0-SNAPSHOT
[INFO] +- org.uberfire:uberfire-widgets-commons:jar:0.2.0-SNAPSHOT:compile
[INFO] | +- org.uberfire:uberfire-api:jar:0.2.0-SNAPSHOT:compile (version managed from 0.2.0-SNAPSHOT)
[INFO] | | \- org.uberfire:uberfire-security-client:jar:0.2.0-SNAPSHOT:compile (version managed from 0.2.0-SNAPSHOT)
[INFO] | +- com.github.gwtbootstrap:gwt-bootstrap:jar:2.2.1.0:compile (version managed from 2.2.1.0)
[INFO] | \- javax.inject:javax.inject:jar:1:compile (version managed from 1)