Remove All Installed Gems
To remove all installed gems that are removable, simply use the following statement: for x in `gem list –no-versions`; do gem uninstall $x -a -x -I; done
Remove All Installed Gems Read More »
To remove all installed gems that are removable, simply use the following statement: for x in `gem list –no-versions`; do gem uninstall $x -a -x -I; done
Remove All Installed Gems Read More »
Update 26.8.2013: Described steps also work with Wildfly Alpha 4. Tested the described configuration with urn:jboss:domain:resource-adapters:1.1 + mdb part in the standalone.xml and the latest rar. —- Working with an external ActiveMQ broker has become quite easy since my last attempts in the beginning of JBoss AS7. Here a short howto how to get it running
ActiveMQ with JBoss 7.2.0.Alpha1 / EAP 6.1.0.Alpha1 Read More »
Here a short example for a security-domain that has to be configured in the urn:jboss:domain:security subsystem: <security-domain name=”mysecuritydomain” cache-type=”default”> <authentication> <login-module code=”org.jboss.security.auth.spi.DatabaseServerLoginModule” flag=”required”> <module-option name=”dsJndiName” value=”java:jboss/datasources/ExampleDS” /> <module-option name=”principalsQuery” value=”select u.password from users u where u.name=?” /> <module-option name=”rolesQuery” value=”select r.name as rolename, ‘Roles’ as rolegroup from users u, roles r, users_roles ur where ur.user_id=u.id
JBoss Login Configuration Read More »
Every time I download a new jboss I have to add the needed jdbc module manually. And every time I have to look how the module.xml has to look like. So I decided to write a simple script that creates a module for PostgreSQL. with some configuration, it should be capable of creating every jdbc
JBoss JDBC Module Creator Read More »
I never used the quick search field and there is no possibility to remove it from within eclipse as the request to be able to disable it seems to have very low priority in the dev team. I’m watching the bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=362420 from the very beginning and now someone posted the hint to remove it
Remove Eclipse Search Field / Quick Search Read More »
15:56:06.436 ERROR: [Agent.cpp:171] JDWP error in VM_INIT: TransportException [510/201] binding to port failed (error code: -212) This exceptions can be thrown if your debug-port is already in use.
JBoss “binding to port failed” error code: -212 Read More »
I tried to configure basic authentication under an apache 2.4.4 and could not find out why my password didn’t match. Just got the following line in the log though my password was correct: […] [auth_basic:error] [pid …:tid …] [client ::…] AH01617: user ___: authentication failure for “/asd/”: Password Mismatch, referer: http://localhost/ So I found the
Bug in htpasswd.exe Read More »
I got the following error during eclipse startup: eclipse.buildId=M20130204-1200 java.version=1.7.0_21 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product Error Tue Jun 04 16:59:24 CEST 2013 An internal error occurred during: “Updating indexes”. java.lang.OutOfMemoryError: Java heap space at org.apache.maven.index.updater.IndexDataReader.readUTF(IndexDataReader.java:144) at org.apache.maven.index.updater.IndexDataReader.readField(IndexDataReader.java:134) at
m2e Java heap space Read More »
JBoss EAP6 is the enterprise application platform of the JBoss application server. Till 7.1.1 there was a open source build available. But after that JBoss changed the distribution of binary builds. They do NOT deliver any freely available binary builds except you agree that you are only using them for development. If you want to
JBoss EAP – Open Source? Read More »
If you want to set the actual timestamp to a field in HQL just use current_timestamp() instead of setting it in your code via a param.
HQL current time like NOW() in PostgreSQL Read More »