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
First: http://giordanomaestro.blogspot.com.br/2015/02/install-jdbc-driver-on-wildfly.html | |
Second: http://blog.squins.com/2014/12/adding-a-mysql-jndi-datasource-to-jboss-wildfly-via-cli/ |
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
$(document).ready(function () { | |
var inputDateCurrentId = ''; | |
$("a[id$='idEndDt\\:\\:glyph']").click(function(evt) { | |
inputDateCurrentId = 'idEndDt'; | |
}); | |
$("a[id$='idStartDt\\:\\:glyph']").click(function(evt) { | |
inputDateCurrentId = 'idStartDt'; |
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
ALTER DATABASE app DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" | |
version="2.0" xmlns="http://java.sun.com/xml/ns/persistence"> | |
<persistence-unit name="order-old" transaction-type="RESOURCE_LOCAL"> | |
<class>model.Order</class> | |
<class>model.OrderLine</class> | |
<class>model.Customer</class> | |
<properties> | |
<!-- Change this to access your own database. --> |
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
Using maven ant plugin for weblogic deployment. First, configure your pom.xml as below. Try the following maven command to execute the plugin goal: | |
mvn clean package antrun:run | |
Configuration: | |
<build> | |
<finalName>artifactName</finalName> | |
<plugins> |
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
create database link dblink11g connect to 'remote_user' identified by 'remote_user_pass' | |
using '(description = (address = (protocol = tcp) (host = 'remote_host')(port = 'remote_port')) (connect_data = (sid = 'remote_sid')))'; |
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
<profile> | |
<id>sonar</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
</activation> | |
<properties> | |
<!-- Example for MySQL--> | |
<sonar.jdbc.url> | |
jdbc:mysql://localhost:3306/sonarqube?useUnicode=true&characterEncoding=utf8 | |
</sonar.jdbc.url> |
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
executar /mid11117/Oracle_SOA1/common/bin/wlst.sh | |
sca_removeSharedData('http://192.168.57.49:8001', 'CustomerRelationship', 'weblogic', 'weblogic1') | |
sca_removeSharedData('http://192.168.57.49:8001', 'EBO', 'weblogic', 'weblogic1') | |
sca_removeSharedData('http://192.168.57.49:8001', 'Finance', 'weblogic', 'weblogic1') | |
sca_removeSharedData('http://192.168.57.49:8001', 'NaturaAPC', 'weblogic', 'weblogic1') |
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
<?xml version = '1.0' encoding = 'US-ASCII'?> | |
<deployment-plan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd" | |
xmlns="http://xmlns.oracle.com/weblogic/deployment-plan"> | |
<application-name>ApcCustom</application-name> | |
<variable-definition> | |
<variable> | |
<name>param</name> | |
<value>novo parametro</value> | |
</variable> |
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
<p:ajaxStatus onstart="statusDialog.show();" onsuccess="statusDialog.hide();"/> | |
<p:dialog modal="true" widgetVar="statusDialog" showHeader="false" style="background: white;" | |
draggable="false" closable="false" resizable="false"> | |
<div align="center"> | |
<h:outputText value="#{mensagens['resultadoBuscaProdutoSES.carregando']}" /><br/><br/> | |
<p:graphicImage value="/resources/images/ajax-loader.gif" /> | |
</div> | |
</p:dialog> |