Monday, September 21, 2009

'jar-no-fork' was specified in an execution, but not found in the plugin


[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] 'jar-no-fork' was specified in an execution, but not found in the plugin

To install the maven version 2.2.1

Wednesday, September 16, 2009

Eclipse Galileo 3.5

1. Install Eclipse.

Download eclipse-jee-galileo-linux-gtk.tar.gz from:
tar -zxvf eclipse-jee-galileo-linux-gtk.tar.gz

2. Install Subversive.

2.1. Install subversion for Ubuntu
The list of all dependencies for Ubuntu 9.04 is here

for install it use "
gksudo gdebi -i package_name.deb
sudo dpkg -i package_name.deb
2.2. Install subversion for Eclipse

Add update site
Now you can install only Subversive SVN Team Provider.

After restart eclipse go to Window -> Preferences -> Team -> SVN
on the first call to any Subversive functionality the Connector Discovery feature will detect that there are no connectors installed and will launch a dialog which displays the SVN Connectors you need and enables download and installation:

2.3. Use share project.
Click right-button mouse on project and select Team -> Share Project SVN, Next, Next,
Enter user/password, check Save password, Finish

3. Configure JRE, Classpath variables, Formatter and Templates


Classpath variables are configured at
Window -> Preferences -> Java -> Build Path ->
Classpath variable
Click NEW to add maven repo "M2_REPO" variable.



1. How to use maven for eclipse
2. How to debug tomcat with eclipse

Tuesday, September 15, 2009

[SOLVED] to disable Checking file systems

To disable annoying delay for several minutes to boot ubuntu with "Checking file systems"

This is controlled by the last column in /etc/fstab. If that value is non-zero, say 1 or 2, that filesystem will be checked on startup.

How to install and configure VirtualBox 3.0.6 on Ubuntu 9.04

Download VirtualBox
and install it with "gdebi" command.

For example

mv virtualbox-3.0_3.0.6-52128_Ubuntu_jaunty_i386.deb?e=1253006096&h=261692f9fb58b931914cb1dae9141b82 virtualbox-3.0_3.0.6-52128_Ubuntu_jaunty_i386.deb
sudo gdebi virtualbox-3.0_3.0.6-52128_Ubuntu_jaunty_i386.deb

Restart Ubuntu.

Configure a bridge interface for local machine.

root@alexey:~# cat /etc/network/interfaces

auto lo
iface lo inet loopback

iface br0 inet static
auto br0

The constants values for me:
USER = alexey


VBoxTunctl -u USER -t NEW_INT_NAME
apt-get install bridge-utils
brctl addbr br0
brctl addif br0 NEW_INT_NAME

Monday, September 7, 2009

Element soap:address is wrong. The namespace on the "definitions" element, is not a valid SOAP version.

Don't use "?wsdl" postfix within soap:address element!

If you a register client with wrong xml, after trigger wsdl via browser your client throws an exception:

Caused by: org.apache.cxf.binding.soap.SoapFault: "", the namespace on the "definitions" element, is not a valid SOAP version.
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
at org.apache.cxf.endpoint.ClientImpl.onMessage(
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(
at org.apache.cxf.transport.AbstractConduit.close(
at org.apache.cxf.transport.http.HTTPConduit.close(
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
at org.apache.cxf.endpoint.ClientImpl.invoke(
at org.apache.cxf.endpoint.ClientImpl.invoke(
at org.apache.cxf.frontend.ClientProxy.invokeSync(
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(

So, correct use the soap:address element.