Development

Widlfly 8.2.0 – JBAS010153: Node identifier is set to the default value

In the latest version of Wildfly (8.2.0) there is a warning looking like [org.jboss.as.txn] (ServerService Thread Pool — 46) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique. To get rid of this you have to change the standalone.xml file.  Change this part <subsystem xmlns=”urn:jboss:domain:transactions:2.0″> <core-environment> <process-id> <uuid/> […]

Widlfly 8.2.0 – JBAS010153: Node identifier is set to the default value Read More »

Warning: push.default is unset; its implicit value is changing in Git 2.0

Here is what can be found under push.default in the documentation: current – push the current branch to update a branch with the same name on the receiving end. Works in both central and non-central workflows. upstream – push the current branch back to the branch whose changes are usually integrated into the current branch (which

Warning: push.default is unset; its implicit value is changing in Git 2.0 Read More »

Encrypted Database Passwords in JBoss

JBoss provides a simple mechanism to encrypt database passwords with blowfish. So the standalone.xml does not include our database passwords in plaintext anymore. First you have to encrypt your password with org.picketbox.datasource.security.SecureIdentityLoginModule. This class includes a main method so you can run it with a single argument which has to be your plaintext password. The result will look like

Encrypted Database Passwords in JBoss Read More »

Disable Deployment-Scanner in JBoss

Look for the deployment-scanner config in your standalone.xml and configure the scan interval to -1 to allow deployment onyl from shell or at startup. Here is the relevant part: <subsystem xmlns=”urn:jboss:domain:deployment-scanner:1.1″> <deployment-scanner path=”deployments” relative-to=”jboss.server.base.dir” scan-interval=”-1″/> </subsystem> Or with cli: /subsystem=deployment-scanner/scanner=default:write-attribute(name=scan-interval, value=-1)  

Disable Deployment-Scanner in JBoss Read More »

Remove ExampleDS datasource in EAP6

To remove the ExampleDS datasource simply remove the relevant part from your standalone.xml: <datasource jndi-name=”java:jboss/datasources/ExampleDS” pool-name=”ExampleDS” enabled=”true” use-java-context=”true”> <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url> <driver>h2</driver> <security> <user-name>sa</user-name> <password>sa</password> </security> </datasource> Or with cli: /subsystem=datasources/data-source=ExampleDS:remove  

Remove ExampleDS datasource in EAP6 Read More »