Skip to content

Instantly share code, notes, and snippets.

Gilberto Caetano de Andrade gilbertoca

Block or report user

Report or block gilbertoca

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View git-aware-bash-prompt.md
@gilbertoca
gilbertoca / tomee-embedded-hibernate-maven-plugin.xml
Created Oct 20, 2016
tomee-embedded-hibernate-maven-plugin config
View tomee-embedded-hibernate-maven-plugin.xml
<plugin>
<groupId>org.apache.tomee.maven</groupId>
<artifactId>tomee-embedded-maven-plugin</artifactId>
<version>7.0.1</version>
<dependencies>
<dependency>
<groupId>org.apache.tomee</groupId>
<artifactId>openejb-core</artifactId>
<version>7.0.1</version>
<exclusions>
@gilbertoca
gilbertoca / tomee-embedded-eclipselink-mojarra-maven-plugin.xml
Last active Sep 1, 2016
tomee-embedded-eclipselink-mojarra-maven-plugin config
View tomee-embedded-eclipselink-mojarra-maven-plugin.xml
@gilbertoca
gilbertoca / payara-micro.log
Created Jul 11, 2016
payara-micro-4.1.1.162 - [DEP0004:Deployment failed - data-source]
View payara-micro.log
[11:25] gilberto.andrade@BEM-INF007:gace (ticket/33 * u+11) $ java -jar ~/bin/payara-micro-4.1.1.162.jar --deploy target/gace.war
[2016-07-11T11:25:55.332-0300] [Payara Micro 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1468247155332] [levelValue: 800] Grizzly Framework 2.3.24 started in: 43ms - bound to [/0.0.0.0:8080]
[2016-07-11T11:25:55.377-0300] [Payara Micro 4.1] [INFO] [NCLS-CORE-00058] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1468247155377] [levelValue: 800] Network listener https-listener on port 8443 disabled per domain.xml
[2016-07-11T11:25:55.555-0300] [Payara Micro 4.1] [INFO] [SEC-SVCS-00100] [javax.enterprise.security.services] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1468247155555] [levelValue: 800] Authorization Service has successfully initialized.
[2016-07-11T11:25:55.749-0300] [Payara Micro 4.1] [INFO] [] [com.hazelcast.instance.DefaultAddressPicker] [tid: _ThreadID=1 _Thread
@gilbertoca
gilbertoca / wildfly-swarm-plugin:1.0.0.CR2.xml
Created Jul 1, 2016
wildfly-swarm-plugin:1.0.0.CR2 - [pom.xml]
View wildfly-swarm-plugin:1.0.0.CR2.xml
<plugin>
<groupId>org.wildfly.swarm</groupId>
<artifactId>wildfly-swarm-plugin</artifactId>
<version>${wildfly-swarm-plugin.version}</version>
<executions>
<execution>
<id>package</id>
<phase>none</phase>
</execution>
</executions>
@gilbertoca
gilbertoca / wildfly-swarm-plugin:1.0.0.CR2.log
Created Jul 1, 2016
wildfly-swarm-plugin:1.0.0.CR2 - [SHRINKWRAP-93]
View wildfly-swarm-plugin:1.0.0.CR2.log
12:21] gilberto.andrade@BEM-INF007:jsf-sandbox (master * u=) $ java -jar target/jsf-sandbox-swarm.jar
[WARN] logging not available, logging will not be configured
jul 01, 2016 12:21:48 PM org.jboss.msc.service.ServiceContainerImpl <clinit>
INFO: JBoss MSC version 1.2.6.Final
jul 01, 2016 12:21:48 PM org.jboss.as.server.ApplicationServerService start
INFO: WFLYSRV0049: WildFly Core 2.0.10.Final "Kenny" starting
jul 01, 2016 12:21:49 PM org.jboss.as.server.BootstrapListener done
INFO: WFLYSRV0025: WildFly Core 2.0.10.Final "Kenny" started in 1058ms - Started 29 of 33 services (4 services are lazy, passive or on-demand)
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
@gilbertoca
gilbertoca / AuthorizationBean.java
Created Jul 1, 2016
payara-micro-4.1.1.162 - [AuthorizationBean.java]
View AuthorizationBean.java
package br.gov.to.bem.security.view;
import java.io.Serializable;
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
/**
*
@gilbertoca
gilbertoca / web.xml
Last active Jul 1, 2016
payara-micro-4.1.1.162 - [data-source definition in the web file]
View web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<!-- servlet mapping do JSF -->
<servlet>
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
@gilbertoca
gilbertoca / payara-micro.log
Last active Jul 1, 2016
payara-micro-4.1.1.162 - [SEVERE and java.io.NotSerializableException]
View payara-micro.log
[2016-07-01T09:54:56.010-0300] [Payara Micro 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1467377696010] [levelValue: 800] Grizzly Framework 2.3.24 started in: 34ms - bound to [/0.0.0.0:8080]
[2016-07-01T09:54:56.049-0300] [Payara Micro 4.1] [INFO] [NCLS-CORE-00058] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1467377696049] [levelValue: 800] Network listener https-listener on port 8443 disabled per domain.xml
[2016-07-01T09:54:56.215-0300] [Payara Micro 4.1] [INFO] [SEC-SVCS-00100] [javax.enterprise.security.services] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1467377696215] [levelValue: 800] Authorization Service has successfully initialized.
[2016-07-01T09:54:56.322-0300] [Payara Micro 4.1] [INFO] [] [com.hazelcast.instance.DefaultAddressPicker] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1467377696322] [levelValue: 800] [LOCAL] [development] [3.6.2] Prefer IPv4 stack is true.
[2016-07-01T09:5
View mojarra with eclipselink tomee-maven-plugin[WEBPROFIE and PLUS]
You can’t perform that action at this time.