Skip to content

Instantly share code, notes, and snippets.

View OndraZizka's full-sized avatar
🍊

Ondrej Zizka OndraZizka

🍊
View GitHub Profile
Unexpected RuntimeException
WicketMessage: close tag not found for tag: <a href="#" wicket:id="chooseTimeSpan">. Component: [MarkupContainer [Component id = chooseTimeSpan]]
[markup = file:/mnt/ssd1/_projekty/GoogleCode-ondrazizka/svn-whole/trunk/bots/JawaBot/branches/2.0/web/target/classes/org/jboss/jawabot/web/_pg/HomePage.html
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd" xml:lang="cz" lang="cz">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="Author" content="Ondra Žižka, ozizka at redhat.com"/>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xml-maven-plugin</artifactId>
<executions combine.children="append">
<execution>
<id>ts.config-as.ip</id>
<phase>process-test-resources</phase>
<goals><goal>transform</goal></goals>
<inherited>true</inherited>
<configuration>
@OndraZizka
OndraZizka / gist:1933976
Created February 28, 2012 17:53
InContainer mgmt ops?
/*
* JBoss, Home of Professional Open Source
* Copyright (c) 2012, Red Hat Middleware LLC, and individual contributors
* as indicated by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
@OndraZizka
OndraZizka / gist:1974973
Created March 4, 2012 21:54
Ubuntu ifconfig
ondra@lenovo:~/work/AS7/ozizka-git$ ifconfig
eth0 Link encap:Ethernet HWaddr f0:de:f1:7b:e9:6c
inet6 addr: fe80::f2de:f1ff:fe7b:e96c/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:149774 errors:0 dropped:0 overruns:0 frame:0
TX packets:148650 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:151582839 (151.5 MB) TX bytes:34840246 (34.8 MB)
Interrupt:20 Memory:f2600000-f2620000
<xmcast >ff01::1</xmcast> <!-- ff01::1 is IPv6 Node-Local scope mcast addr. -->
<xmcast.jgroupsDiag>ff01::2</xmcast.jgroupsDiag>
<xmcast.modcluster >ff01::3</xmcast.modcluster>
</properties>
</profile>
<!-- Ugly workaround for MANTRUN-172 :/ See AS7-3993. -->
<profile>
<id>ts.ipv6.dummy.mcast</id>
<activation><property><name>mcast</name></property></activation>
<properties> <mcast >${mcast}</mcast> </properties>
@OndraZizka
OndraZizka / gist:1996825
Created March 7, 2012 22:44
Source opener
#!/bin/bash
function usage {
echo
echo " Usage: testsuite/tools/showSrc.sh <part-of-file-name>"
echo
}
#!/bin/bash
function usage {
echo
echo " Usage: testsuite/tools/showSrc.sh <part-of-file-name>"
echo
}
* @EJB(name="ejb/myejb") org.acme.MyEjb myejb
* <p/>
* If the 'name' attribute is specified, the {@link JavaEEBeanLocator} will
* search in the JNDI registry for an EJB named 'java:comp/env/&lt;name&gt;'
* (in the example: 'java:comp/env/ejb/myejb')
* <p/>
* If the 'name' attribute is not specified the {@link JavaEEBeanLocator}
* will search in the JNDI registry for an EJB named
* 'java:comp/env/&lt;complete-class-name-of-the-ejb&gt;' (in the example:
* 'java:comp/env/com.acme.MyEjb)
@OndraZizka
OndraZizka / gist:2028302
Created March 13, 2012 11:41
Deployment
12:49:54,244 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "javaee-inject-example-ear-1.5.4.ear"
12:49:54,627 INFO [org.jboss.as.server.deployment] (MSC service thread 1-16) JBAS015876: Starting deployment of "javaee-inject-example-war-1.5.4.war"
12:49:54,627 INFO [org.jboss.as.server.deployment] (MSC service thread 1-10) JBAS015876: Starting deployment of "javaee-inject-example-ejb-1.5.4.jar"
12:49:54,932 INFO [org.jboss.as.jpa] (MSC service thread 1-8) JBAS011401: Read persistence.xml for defaultPersistenceUnit
12:49:55,096 INFO [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-14) JNDI bindings for session bean named ContactDaoBean in deployment unit subdeployment "javaee-inject-example-ejb-1.5.4.jar" of deployment "javaee-inject-example-ear-1.5.4.ear" are as follows:
java:global/javaee-inject-example-ear-1.5.4/javaee-inject-example-ejb-1.5.4/ContactDaoBean!org.wicketstuff.javaee.example.d
12:50:51,050 ERROR [org.apache.wicket.DefaultExceptionMapper] (http--127.0.0.1-8080-1) Unexpected error occurred: org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public org.wicketstuff.javaee.example.pages.ListContacts()'. Might be it doesn't exist, may be it is not visible (public).
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:196) [wicket-core-1.5.4.jar:1.5.4]
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:68) [wicket-core-1.5.4.jar:1.5.4]
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:101) [wicket-core-1.5.4.jar:1.5.4]
at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:47) [wicket-core-1.5.4.jar:1.5.4]
at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:107) [wicket-core-1.5.4.jar:1.5.4]
at org.apache.wicket.request.handler.PageProvider.resolvePageInstance(PageProv