export MAVEN_OPTS=-Xss2m
to avoid having a stackoverflow exception. Annoying...
solution found here
March
7 years ago
export MAVEN_OPTS=-Xss2m
to avoid having a stackoverflow exception. Annoying...
solution found here
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>convert-to-asci</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<mainClass>edu.ucdavis.fiehnlab.alchemy.core.process.util.ConvertMZXmlToAscii</mainClass>
<packageName>edu.ucdavis.fiehnlab.alchemy.core.process.util</packageName>
<addClasspath>true</addClasspath>
</manifest>
</archive>
<descriptors>
<descriptor>src/main/descriptor/jar.xml</descriptor>
</descriptors>
<finalName>ConvertMzXmlToASCII-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
<execution>
<id>alchemy-converter-zip</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/descriptor/zip.xml</descriptor>
</descriptors>
<attach>true</attach>
<finalName>alchemy-converter-${project.version}</finalName>
</configuration>
</execution>
</executions>
</plugin>
The important part is to set the appendAssembyId to false, otherwise you get all kinds of annoying exceptions....
We have a danish server with a danish keyboard connected, which starts a vmware player instance. This instance has an english keyboard setup and an english keyboard layout. Now we are remotely connecting to this using a TeamViewer instance, with a US keyboard.What is happening all the key maps are completely random and neither english or danish. The solution
in the configuration of the virtual machine, we need to explicitly set the hardware keyboard model to a danish model and the mapping to an english mapping to make it all work correctly using a remote session.
for file in *.txt
do
newname=$(echo $file | tr ' ' _)
mv "$file" $newname
done
sh-3.2# du -shcx /*
11G /Applications
8.4G /Developer
5.7G /Library
0B /Network
2.8G /System
4.0K /User Guides And Information
28G /Users
4.0K /Volumes
4.1M /bin
0B /cores
4.5K /dev
4.0K /etc
1.0K /home
0B /lost+found
15M /mach_kernel
1.0K /net
49M /opt
8.6G /private
2.3M /sbin
4.0K /tmp
1.4G /usr
4.0K /var
65G total
sh-3.2# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/disk0s2 238Gi 181Gi 57Gi 77% /
devfs 182Ki 182Ki 0Bi 100% /dev
map -hosts 0Bi 0Bi 0Bi 100% /net
map auto_home 0Bi 0Bi 0Bi 100% /home
Filesystem Size Used Avail Capacity Mounted on
/dev/disk0s2 238Gi 68Gi 170Gi 29% /
devfs 181Ki 181Ki 0Bi 100% /dev
map -hosts 0Bi 0Bi 0Bi 100% /net
map auto_home 0Bi 0Bi 0Bi 100% /home
rocks list host interface
rocks set host interface mac HOSTNAME iface=eth1 mac=00:00:00:00:00:02
please be a aware that you also have to remove the mac address definition in the following file:
/etc/sysconfig/networking/devices/ifcfg-eth*
you should be able to just uncomment the mac address line, without any ill effects and this will simplify this process next time.
and possible in the dhcpd.conf file
vim /etc/dhcpd.conf
in case you modify the eth0 interface. To ensure that the dhcpd configuration still works as supposed to.