Running daemon with exec-maven-plugin avoiding `IllegalThreadStateException`

Posting the answer that is discussed in the comments section of the question. This solution worked for me! Thanks Andrew Logvinov cleanupDaemonThreads = false Something like this in the configuration tag <configuration> <mainClass>com.test.Startup</mainClass> <cleanupDaemonThreads>false</cleanupDaemonThreads> </configuration>

JBoss WildFly: Starts but can’t connect?

By default jboss/wildfly binding to localhost, if you want change this, you can execute: standalone.sh -b 0.0.0.0 listen on all IP addresses of the machine (if multihomed) Another alternative is configure in standalone.xml the interfaces section. Change: <interfaces> <interface name=”management”> <inet-address value=”127.0.0.1″/> </interface> <interface name=”public”> <inet-address value=”127.0.0.1″/> </interface> </interfaces> to: <interfaces> <interface name=”management”> <!– Use … Read more

How do I Install JBoss AS / WildFly Server in Eclipse for Java EE

Install the most recent JBoss Tools. Go to Help > Install New Software. Set Work with to the following URL depending on Eclipse version: 4.8+ (Photon): https://download.jboss.org/jbosstools/photon/stable/updates/ 4.7 (Oxygen): http://download.jboss.org/jbosstools/oxygen/stable/updates/ 4.6 (Neon): https://download.jboss.org/jbosstools/neon/stable/updates/ 4.5 (Mars): http://download.jboss.org/jbosstools/mars/stable/updates/ 4.4 (Luna): http://download.jboss.org/jbosstools/updates/stable/luna/ 4.3 (Kepler): http://download.jboss.org/jbosstools/updates/stable/kepler/ 4.2 (Juno): http://download.jboss.org/jbosstools/updates/stable/juno/ 3.7 (Indigo): http://download.jboss.org/jbosstools/updates/stable/indigo/ 3.6 (Helios): http://download.jboss.org/jbosstools/updates/stable/helios/ Press Enter In the … Read more

Optional @PathParam in Jax-RS

The problem was the lack of whitespace before the colon: @Path(“/mypath{param1: (/param1)?}”) should be: @Path(“/mypath{param1 : (/param1)?}”) Apparently it’s a bug, because the specification makes the whitespace around the colon optional. I also found that I’m not the first bitten by this bug.

Jboss AS7 Deployment warning : does not point to a valid jar for a Class-Path reference

This is just a warning that you can in most cases safely ignore. What it tells you is that in your struts-1.2.9.jar has in META-INF/MANIFEST.MF in Class-Path reference to “commons-beanutils.jar” and that this file/jar cannot be referenced. But given that you have commons-beanutils-1.7.0.jar there everything will work fine. To get rid of the warning you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)