Skip to content

Instantly share code, notes, and snippets.

View alesj's full-sized avatar
🎯
Focusing

Aleš Justin alesj

🎯
Focusing
View GitHub Profile
^CSkywalker:datanucleus-appengine-read-only alesj$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Google AppEngine DataNucleus plugin 2.1.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.3:tree (default-cli) @ datanucleus-appengine ---
[INFO] com.google.appengine.orm:datanucleus-appengine:jar:2.1.2-SNAPSHOT
[INFO] +- com.google.appengine:appengine-api-1.0-sdk:jar:1.7.1:compile
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -Didea.launcher.port=7533 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 11.app/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA 11.app/plugins/testng/lib/testng.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/deploy.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/dt.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/javaws.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jconsole.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/management-agent.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/plugin.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/sa-jdi.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/alt-rt.jar:/System/Library/Java/JavaVirtualMac
Caused by: java.lang.Exception: {"JBAS014671: Failed services" => {"jboss.capedwarf.cache-lifecycle.default.capedwarf-test" => "org.jboss.msc.service.StartException in service jboss.capedwarf.cache-lifecycle.default.capedwarf-test: Failed to start service
Caused by: org.hibernate.search.SearchException: HSEARCH000103: Unable to initialize IndexManager default_capedwarf-test__com.google.appengine.api.datastore.Entity
Caused by: org.hibernate.search.SearchException: Could not initialize index
Caused by: java.io.IOException: Read past EOF"}}
protected <T> Future<T> wrap(final Transaction transaction, final Callable<T> callable, final Runnable pre, final Function<T, Void> post) {
if (pre != null) {
pre.run();
}
final javax.transaction.Transaction tx = (transaction != null) ? JBossTransaction.suspendTx() : null;
try {
final Future<T> wrap = wrap(new Callable<T>() {
public T call() throws Exception {
if (tx != null) {
JBossTransaction.resumeTx(tx);
Skywalker:deployments alesj$ unzip -c _DEFAULT___DEFAULT__ROOT.war WEB-INF/web.xml
Archive: _DEFAULT___DEFAULT__ROOT.war
inflating: WEB-INF/web.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" metadata-complete="false" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<servlet>
<servlet-name>mapreduce</servlet-name>
<servlet-class>
com.google.appengine.tools.mapreduce.MapReduceServlet
Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: Failover execution failed
at org.jboss.capedwarf.common.infinispan.InfinispanUtils.submit(InfinispanUtils.java:84)
at org.jboss.capedwarf.datastore.query.EagerStatsQueryHandle$EagerListener.onPut(EagerStatsQueryHandle.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:200)
... 148 more
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: Failover execution failed
21:39:21,723 ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (Incoming-5,null) ISPN000136: Execution error: org.infinispan.CacheException: Caught exception [java.lang.IllegalStateException] while invoking method [public void org.jboss.capedwarf.datastore.query.EagerStatsQueryHandle$EagerListener.onPut(org.infinispan.notifications.cachelistener.event.CacheEntryModifiedEvent)] on listener instance: org.jboss.capedwarf.datastore.query.EagerStatsQueryHandle$EagerListener@1f4d990
at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation$1.run(AbstractListenerImpl.java:205)
at org.infinispan.util.concurrent.WithinThreadExecutor.execute(WithinThreadExecutor.java:44)
at org.infinispan.notifications.AbstractListenerImpl$ListenerInvocation.invoke(AbstractListenerImpl.java:221)
at org.infinispan.notifications.cachelistener.CacheNotifierImpl.notifyCacheEntryModified(CacheNotifierImpl.java:160)
at org.infinispan.commands.write.PutKeyValueCommand.perform(PutKeyValueCommand.java:115)
at
Skywalker:bin alesj$ rm -rf ../standalone/data*
Skywalker:bin alesj$ ./standalone.sh -c standalone-capedwarf.xml -b 192.168.30.235
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /Users/alesj/projects/capedwarf/testsuite/build-as/target/jboss-as-7.2.0.Alpha1-SNAPSHOT
JAVA: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java
Skywalker:blue alesj$ jstack 57705
2012-11-19 21:30:16
Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.12-b01-434 mixed mode):
"AWT-Shutdown" prio=5 tid=7f8c3500f000 nid=0x11be1d000 in Object.wait() [11be1c000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:265)
- locked <7e7e86120> (a java.lang.Object)
23:08:32,651 ERROR [org.hornetq.core.server] (Thread-1 (HornetQ-scheduled-threads-4589493)) HQ114054: Failed to broadcast connector configs: java.io.IOException: Network is unreachable
at java.net.PlainDatagramSocketImpl.send(Native Method) [classes.jar:1.6.0_37]
at java.net.DatagramSocket.send(DatagramSocket.java:625) [classes.jar:1.6.0_37]
at org.hornetq.api.core.UDPBroadcastGroupConfiguration$UDPBroadcastEndpoint.broadcast(UDPBroadcastGroupConfiguration.java:135) [hornetq-core-2.3.0.BETA1.jar:]
at org.hornetq.core.server.cluster.impl.BroadcastGroupImpl.broadcastConnectors(BroadcastGroupImpl.java:216) [hornetq-core-2.3.0.BETA1.jar:]
at org.hornetq.core.server.cluster.impl.BroadcastGroupImpl.run(BroadcastGroupImpl.java:228) [hornetq-core-2.3.0.BETA1.jar:]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) [classes.jar:1.6.0_37]
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [classes.jar:1.6.0_37]
at java.util.concurrent.FutureTask.runAndReset(Fut