Sunday, August 30, 2015

Arquillian exceptions: Caused by: java.lang.IllegalArgumentException: DeployableContainer must be specified


>PROBLEM

  Caused by: java.lang.IllegalArgumentException: DeployableContainer must be specified
 
  or
 
  org.jboss.arquillian.container.test.impl.client.deployment.ValidationException: DeploymentScenario contains a target (_DEFAULT_) not matching any defined Container in the registry.
  Please include at least 1 Deployable Container on your Classpath.
  add a container adapter to the classpath.


>SOLUTION

Go to http://arquillian.org/guides/getting_started/ at "Add a Container Adapter" topic.


Friday, August 21, 2015

"couldn't make stderr distinct from stdout" when running Cygwin commands


>SOLUTION

Check you envvars.

Originally the Path had Git's bin before cygwin64.
  Path=..;C:\Git\bin;C:\cygwin64\bin

Switching places:
  Path=..;C:\cygwin64\bin;C:\Git\bin
in order to read cygwin's library first.

In such case, you may get issues with git. So test it after your have changed the Path.

If it happens to get problems with Git, it's necessary to point git's executables manually or using a script to set the local envvar during git's execution context.

Another solution could be adopting one or another.

>ENV

Windows 7-10

Saturday, August 8, 2015

apache2 vs. php5 (lump) - install failure on debian 7 (wheezy)


If you get one of the messages below, probably you need to upgrade your installation.
Check the commands at the end.

-------------------------------------------------------------------------------------------------------
>failure messages

apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: 
Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/x86_64-linux-gnu/libk5crypto.so.3: symbol krb5int_buf_len, version krb5support_0_MIT not defined in file libkrb5support.so.0 with link time reference

--- --
[FAIL] Starting web server: apache2 failed!
[warn] The apache2 configtest failed. ... (warning).
Output of config test was:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/php5.load: No such file or directory

-- --
Action 'configtest' failed.
The Apache error log may have more information.


-------------------------------------------------------------------------------------------------------
>commands

If you have MySQL already installed, you just need to install apache, php and phpmydmin.
If not, install MySQL first.

To install apache and php5, run the following commands as root (su or sudo).

apt-get ugrade
apt-get update
apt-get install apache2
apt-get install php5
apt-get install libapache-mod-php5


virtualbox6: debian: netbeans install issues: "dpkg: warning: 'ldconfig' not found in PATH or not executable" and "pkg-deb: error: archive 'apache-netbeans_....deb' uses unknown compression for member 'control.tar.zst', giving up"

  >PROBLEMS/SOLUTIONS You desire to install  Netbeans  on a Debian O.S. using the VirtualBox v.6 because the VirtualBox v.7 fails on your...