<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CUYGRH45fip7ImA9WhRbEE0.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005</id><updated>2012-01-31T10:45:25.026+01:00</updated><category term="trucchi" /><category term="tools" /><category term="data mining" /><category term="javascript" /><category term="joomla" /><category term="aggregatori" /><category term="mind map" /><category term="gwt" /><category term="web marketing" /><category term="skype" /><category term="advertising" /><category term="tomcat" /><category term="open source" /><category term="pubblicità" /><category term="realtà virtuale" /><category term="cabaret" /><category term="jdeveloper" /><category term="intelligenza artificiale" /><category term="document sharing" /><category term="aste al ribasso" /><category term="sviluppo web" /><category term="web tv" /><category term="web mapping" /><category term="windows" /><category term="knowledge sharing" /><category term="criptazione" /><category term="sicurezza" /><category term="motori di ricerca" /><category term="vaadin" /><category term="social network" /><category term="linux" /><category term="facebook" /><category term="virtualizzazione" /><category term="gratuito" /><category term="sharing" /><category term="cartografia" /><category term="java" /><category term="comico" /><category term="ajax" /><category term="borland" /><category term="tutorial" /><category term="jsp" /><category term="programmazione" /><category term="smartphone" /><category term="navigatori" /><category term="content filtering" /><category term="freeware" /><category term="data base" /><category term="c++builder" /><category term="widgets" /><category term="networking" /><category term="pdf" /><category term="netbeans" /><category term="gps" /><category term="wi-fi" /><category term="wireless" /><category term="vcl" /><category term="cellulari" /><category term="remote desktop" /><category term="file sharing" /><category term="project management" /><category term="mapguide" /><category term="iPad" /><category term="grafica web" /><category term="mappe mentali" /><category term="samsung omnia" /><category term="ide" /><category term="google" /><category term="ingegneria del software" /><title>Carmelo Saffioti's Blog</title><subtitle type="html">Software engineering, programmazione, intelligenza artificiale, open source, e non solo...</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://carmelosaffioti.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>286</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/carmelosaffioti" /><feedburner:info uri="carmelosaffioti" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CUYGRH44fip7ImA9WhRbEE0.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-2930458749669007453</id><published>2012-01-31T10:45:00.002+01:00</published><updated>2012-01-31T10:45:25.036+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-31T10:45:25.036+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="gwt" /><category scheme="http://www.blogger.com/atom/ns#" term="sviluppo web" /><title>Colore sfondo ContentPanel in ExtGWT</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/2930458749669007453/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2012/01/colore-sfondo-contentpanel-in-extgwt.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/2930458749669007453?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/2930458749669007453?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/n5jh7SRdEWk/colore-sfondo-contentpanel-in-extgwt.html" title="Colore sfondo ContentPanel in ExtGWT" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">La documentazione presente per ExtGWT scarseggia, per capire come cambiare il colore dello sfondo di un ContentPanel c'è voluto mezz'ora, anche a causa di post che si contraddicevano...

Ad ogni modo, ecco come impostare il colore dello sfondo del ContentPanel:

panel.setBodyStyle("backgroundColor: #colore_qui;");
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/BNmMApmCZGFdFy4AxDMIZqCpJNY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BNmMApmCZGFdFy4AxDMIZqCpJNY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/BNmMApmCZGFdFy4AxDMIZqCpJNY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/BNmMApmCZGFdFy4AxDMIZqCpJNY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/n5jh7SRdEWk" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2012/01/colore-sfondo-contentpanel-in-extgwt.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YARno6eyp7ImA9WhRUF0k.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-9116572204619654936</id><published>2012-01-28T11:05:00.001+01:00</published><updated>2012-01-28T11:05:47.413+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-28T11:05:47.413+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="vaadin" /><category scheme="http://www.blogger.com/atom/ns#" term="sviluppo web" /><title>Compressione contenuti Vaadin</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/9116572204619654936/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2012/01/compressione-contenuti-vaadin.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/9116572204619654936?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/9116572204619654936?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/afXYhBZjfHw/compressione-contenuti-vaadin.html" title="Compressione contenuti Vaadin" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Di solito è una buona cosa comprimere con gzip tutto il traffico http in chiaro di Vaadin, per la velocità e in modo da minimizzare la quantità di dati trasferiti. Per farlo bisogna configurare il server, ed è un concetto applicabile in generale e non solo per Vaadin.

Quando la compressione gzip è abilitata, il server comprime i dati inviati al browser, spesso con conseguente riduzione notevole 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/s3GRf0oM3XkV8Gvw1rTLfbLFhFo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s3GRf0oM3XkV8Gvw1rTLfbLFhFo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/s3GRf0oM3XkV8Gvw1rTLfbLFhFo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s3GRf0oM3XkV8Gvw1rTLfbLFhFo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/afXYhBZjfHw" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2012/01/compressione-contenuti-vaadin.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QGQno-fCp7ImA9WhRUFUo.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-95451276653653160</id><published>2012-01-26T13:02:00.000+01:00</published><updated>2012-01-26T13:02:03.454+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-26T13:02:03.454+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="data base" /><title>Escape SQL strings in Java</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/95451276653653160/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2012/01/escape-sql-strings-in-java.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/95451276653653160?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/95451276653653160?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/2GgD-byJ2FI/escape-sql-strings-in-java.html" title="Escape SQL strings in Java" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Capita spesso di dover elaborare stringhe di testo per eliminare i caratteri speciali. Per questo scopo possiamo avvalerci della classe StringEscapeUtils di Apache Commons.

Ecco un esempio:

import org.apache.commons.lang.StringEscapeUtils;public class StringUtilsEscapeExampleV1 {  public static void main(String args[]) {    String unescapedJava = "Are you for real?";    System.err.println(
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WhwgwErYlqLNjf4HVwPXhM5byfI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WhwgwErYlqLNjf4HVwPXhM5byfI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WhwgwErYlqLNjf4HVwPXhM5byfI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WhwgwErYlqLNjf4HVwPXhM5byfI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/2GgD-byJ2FI" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2012/01/escape-sql-strings-in-java.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQCRHY_fip7ImA9WhRUFU0.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-3296040421032920304</id><published>2012-01-25T17:19:00.001+01:00</published><updated>2012-01-25T17:19:25.846+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-25T17:19:25.846+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="vaadin" /><title>Aggiungere elementi ad una Table in Vaadin</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/3296040421032920304/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2012/01/aggiungere-elementi-ad-una-table-in.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/3296040421032920304?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/3296040421032920304?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/oD5bRRzv4l8/aggiungere-elementi-ad-una-table-in.html" title="Aggiungere elementi ad una Table in Vaadin" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">
Vediamo come aggiungere elementi ad una Table in Vaadin


Innanzitutto bisogna definire i campi della tabella:


table.addContainerProperty("field1", String.class, null);

table.addContainerProperty("field2", Integer.class, null);




Poi, per aggiungere elementi alla tabella, possiamo specificarne il numero di riga:

table.addItem(new Object[] { field1TextField.getValue(), 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/z5CaRbkOOotvCAJEiQxdnUuWAPc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/z5CaRbkOOotvCAJEiQxdnUuWAPc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/z5CaRbkOOotvCAJEiQxdnUuWAPc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/z5CaRbkOOotvCAJEiQxdnUuWAPc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/oD5bRRzv4l8" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2012/01/aggiungere-elementi-ad-una-table-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQBR38yeSp7ImA9WhRVGU0.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-505679911435399962</id><published>2012-01-18T17:15:00.004+01:00</published><updated>2012-01-18T17:15:56.191+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-18T17:15:56.191+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><category scheme="http://www.blogger.com/atom/ns#" term="sviluppo web" /><title>Modifica titolo pagina "Categorie" in Virtuemart</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/505679911435399962/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2012/01/modifica-titolo-pagina-categorie-in.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/505679911435399962?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/505679911435399962?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/5AWY8T2Yybk/modifica-titolo-pagina-categorie-in.html" title="Modifica titolo pagina &quot;Categorie&quot; in Virtuemart" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Per modificare il titolo della pagina "Categorie" di Virtuemart bisogna modificare il file /administrator/components/com_virtuemart/languages/common/italian.php
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2rZn2KwzSIzCl6xIoMV5oZIQjus/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2rZn2KwzSIzCl6xIoMV5oZIQjus/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2rZn2KwzSIzCl6xIoMV5oZIQjus/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2rZn2KwzSIzCl6xIoMV5oZIQjus/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/5AWY8T2Yybk" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2012/01/modifica-titolo-pagina-categorie-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8HRHc7cSp7ImA9WhRVEU0.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-4036540171762777155</id><published>2012-01-09T11:21:00.002+01:00</published><updated>2012-01-09T11:27:15.909+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-09T11:27:15.909+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="vaadin" /><category scheme="http://www.blogger.com/atom/ns#" term="sviluppo web" /><title>Vaadin Table getValue vs getItem</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/4036540171762777155/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2012/01/vaadin-table-getvalue-vs-getitem.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/4036540171762777155?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/4036540171762777155?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/v6EwGXYRCdM/vaadin-table-getvalue-vs-getitem.html" title="Vaadin Table getValue vs getItem" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">

In Vaadin ci sono due modi per ottenere informazioni da una riga selezionata su una tabella al suo click:

Metodo1
table.addListener(new ItemClickListener () {
 @Override
 public void itemClick(ItemClickEvent event) {
  Item item = table.getItem(event.getItemId());
  Object myObjectProperty = item.getItemProperty("myProperty").getValue();
 }
});

Metodo2
table.addListener(new ItemClickListener 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0AGJKSAPJq9u2SJF_tHRE-xkZS8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0AGJKSAPJq9u2SJF_tHRE-xkZS8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0AGJKSAPJq9u2SJF_tHRE-xkZS8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0AGJKSAPJq9u2SJF_tHRE-xkZS8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/v6EwGXYRCdM" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2012/01/vaadin-table-getvalue-vs-getitem.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMNQ38zfip7ImA9WhRWF0s.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-2092981091951471035</id><published>2012-01-05T11:48:00.000+01:00</published><updated>2012-01-05T11:48:12.186+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-05T11:48:12.186+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="vaadin" /><category scheme="http://www.blogger.com/atom/ns#" term="sviluppo web" /><title>Vaadin Checkbox Listener</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/2092981091951471035/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2012/01/vaadin-checkbox-listener.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/2092981091951471035?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/2092981091951471035?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/RhOGLnQvNk0/vaadin-checkbox-listener.html" title="Vaadin Checkbox Listener" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Utilizzando il componente Checkbox di Vaadin ho avuto qualche problema con i listener quando il componente Checkbox lo utilizzavo anche come campo di una tabella.

Ho dovuto sostituire il listener:


checkbox.addListener(new Property.ValueChangeListener() {
      public void valueChange(ValueChangeEvent event) {
       //esegui codice
      }
  });


con il listerer:


checkbox.addListener(new 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hoH0fSvPRJ2Dr-yjro2h-MVhCu8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hoH0fSvPRJ2Dr-yjro2h-MVhCu8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hoH0fSvPRJ2Dr-yjro2h-MVhCu8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hoH0fSvPRJ2Dr-yjro2h-MVhCu8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/RhOGLnQvNk0" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2012/01/vaadin-checkbox-listener.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMDRnY-fCp7ImA9WhRXFk4.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-6999305192616318915</id><published>2011-12-23T12:07:00.001+01:00</published><updated>2011-12-23T12:07:57.854+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-23T12:07:57.854+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="data base" /><title>Accesso negato alla view in MySQL</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/6999305192616318915/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/12/accesso-negato-alla-view-in-mysql.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/6999305192616318915?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/6999305192616318915?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/wompkY2jBQ0/accesso-negato-alla-view-in-mysql.html" title="Accesso negato alla view in MySQL" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Alcune volte mi è capitato di avere problemi nell'accesso a delle view in MySQL con alcuni utenti. Ho scoperto che il problema era dovuto al definer della view, che era DEFINER=`root`@`localhost`.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/EINFIEMr4ij-cvnCWBguCMucQJg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EINFIEMr4ij-cvnCWBguCMucQJg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/EINFIEMr4ij-cvnCWBguCMucQJg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EINFIEMr4ij-cvnCWBguCMucQJg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/wompkY2jBQ0" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/12/accesso-negato-alla-view-in-mysql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ABSHg6fyp7ImA9WhRXFUg.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-4906077940216142333</id><published>2011-12-22T12:02:00.001+01:00</published><updated>2011-12-22T12:02:39.617+01:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-22T12:02:39.617+01:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="sviluppo web" /><title>Custom Themes in Vaadin</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/4906077940216142333/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/12/custom-themes-in-vaadin.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/4906077940216142333?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/4906077940216142333?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/_ou91A953rw/custom-themes-in-vaadin.html" title="Custom Themes in Vaadin" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Per creare temi customizzati in Vaadin è possibile farlo in modo semplice con Eclipse seguendo questa guida https://vaadin.com/book/-/page/themes.eclipse.html. In seguito bisogna editare il file styles.css presente nella cartella WebContent/VAADIN/themes.
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vcrrsu1ong62KpUMsHbZq2iDBcA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vcrrsu1ong62KpUMsHbZq2iDBcA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vcrrsu1ong62KpUMsHbZq2iDBcA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vcrrsu1ong62KpUMsHbZq2iDBcA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/_ou91A953rw" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/12/custom-themes-in-vaadin.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMMRXk5fip7ImA9WhdbFkQ.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-1693856569834785358</id><published>2011-10-15T19:08:00.000+02:00</published><updated>2011-10-15T19:08:04.726+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-15T19:08:04.726+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Gnome Schedule - GUI per Crontab</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/1693856569834785358/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/10/gnome-schedule-gui-per-crontab.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/1693856569834785358?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/1693856569834785358?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/QRljP9lovdQ/gnome-schedule-gui-per-crontab.html" title="Gnome Schedule - GUI per Crontab" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Ecco una comoda e pratica interfaccia grafica per Crontab: Gnome Schedule.


Per installarlo:
sudo apt-get install gnome-schedule


Per eseguirlo come utente loggato, andare su:
System-&amp;gt; Preferences-&amp;gt; Scheduled tasks

Per eseguirlo come root:

gksu gnome-schedule



Buon utilizzo!
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Yl-lMY5nJK4D9r79ha4gIU7_yJQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Yl-lMY5nJK4D9r79ha4gIU7_yJQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Yl-lMY5nJK4D9r79ha4gIU7_yJQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Yl-lMY5nJK4D9r79ha4gIU7_yJQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/QRljP9lovdQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/10/gnome-schedule-gui-per-crontab.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkABSXkyfCp7ImA9WhdUEUQ.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-3908405667630997825</id><published>2011-09-28T10:32:00.002+02:00</published><updated>2011-09-28T10:32:38.794+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-28T10:32:38.794+02:00</app:edited><title>Directory Listing con .htaccess</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/3908405667630997825/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/09/directory-listing-con-htaccess.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/3908405667630997825?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/3908405667630997825?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/shXTMJXqZ6Q/directory-listing-con-htaccess.html" title="Directory Listing con .htaccess" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Per abilitare/disabilitare il directory listing di una determinata directory possiamo editare il file .htaccess aggiungendo una riga di codice...

Per disabilitarlo:
Options -Indexes

Per abilitarlo:
Options +Indexes
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2x9u3f6OjF7H1ZEvFEnuR0u-qo4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2x9u3f6OjF7H1ZEvFEnuR0u-qo4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2x9u3f6OjF7H1ZEvFEnuR0u-qo4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2x9u3f6OjF7H1ZEvFEnuR0u-qo4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/shXTMJXqZ6Q" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/09/directory-listing-con-htaccess.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkINRn07fip7ImA9WhdWEkk.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-3687065029471455900</id><published>2011-09-05T18:36:00.001+02:00</published><updated>2011-09-05T18:36:37.306+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-05T18:36:37.306+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><category scheme="http://www.blogger.com/atom/ns#" term="gwt" /><category scheme="http://www.blogger.com/atom/ns#" term="sviluppo web" /><title>Passaggio di parametri in GWT</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/3687065029471455900/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/09/passaggio-di-parametri-in-gwt.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/3687065029471455900?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/3687065029471455900?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/aJRsfNMWj7Y/passaggio-di-parametri-in-gwt.html" title="Passaggio di parametri in GWT" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Lavorando allo sviluppo di applicazioni web GWT ho avuto necessità di passare parametri all'avvio dell'applicazione. La soluzione è semplice, basta utilizzare il seguente comando, il quale farà automaticamente il parsing dei parametri:

String value = com.google.gwt.user.client.Window.Location.getParameter("parametro");
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/L5GRWCN1bydPfyHC7QFLAhjbsOg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L5GRWCN1bydPfyHC7QFLAhjbsOg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/L5GRWCN1bydPfyHC7QFLAhjbsOg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/L5GRWCN1bydPfyHC7QFLAhjbsOg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/aJRsfNMWj7Y" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/09/passaggio-di-parametri-in-gwt.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cCRHg_fCp7ImA9WhdXGUw.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-3434063896700915614</id><published>2011-09-02T00:11:00.000+02:00</published><updated>2011-09-02T00:11:05.644+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-02T00:11:05.644+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="data base" /><title>MySQL Database Replication</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/3434063896700915614/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/09/mysql-database-replication.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/3434063896700915614?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/3434063896700915614?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/-iHHfDLdJiw/mysql-database-replication.html" title="MySQL Database Replication" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Un ottimo tutorial sulle repliche col DBMS MySQL

http://www.howtoforge.com/mysql_database_replication
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qlLXmUcoMZYuewQ7wrQTmtKo1LY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qlLXmUcoMZYuewQ7wrQTmtKo1LY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qlLXmUcoMZYuewQ7wrQTmtKo1LY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qlLXmUcoMZYuewQ7wrQTmtKo1LY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/-iHHfDLdJiw" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/09/mysql-database-replication.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8DR34-fyp7ImA9WhdXGUw.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-1632820859043161135</id><published>2011-09-02T00:07:00.000+02:00</published><updated>2011-09-02T00:07:56.057+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-02T00:07:56.057+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sviluppo web" /><category scheme="http://www.blogger.com/atom/ns#" term="sicurezza" /><category scheme="http://www.blogger.com/atom/ns#" term="tomcat" /><title>SSL con Tomcat</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/1632820859043161135/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/09/ssl-con-tomcat.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/1632820859043161135?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/1632820859043161135?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/-NlX6e4no7M/ssl-con-tomcat.html" title="SSL con Tomcat" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Vediamo come abilitare SSL in Tomcat...

Creazione del certificato:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA -keystore \path\to\my\keystore

Dopo aver creato il certificato va modificato il file server.xml nella directory conf di Tomcat, va decommentata la parte relativa al connettore ssl che dovrebbe essere simile a:


&amp;lt;-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --&amp;gt;

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/A0ioCQGD1TtSelmw_0N1BNclU_k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A0ioCQGD1TtSelmw_0N1BNclU_k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/A0ioCQGD1TtSelmw_0N1BNclU_k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/A0ioCQGD1TtSelmw_0N1BNclU_k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/-NlX6e4no7M" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/09/ssl-con-tomcat.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAFQHs4fCp7ImA9WhdXGUw.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-4575963039020508886</id><published>2011-09-02T00:05:00.000+02:00</published><updated>2011-09-02T00:05:11.534+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-02T00:05:11.534+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ide" /><category scheme="http://www.blogger.com/atom/ns#" term="programmazione" /><category scheme="http://www.blogger.com/atom/ns#" term="trucchi" /><title>PermGen space error in Eclipse</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/4575963039020508886/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/09/permgen-space-error-in-eclipse.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/4575963039020508886?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/4575963039020508886?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/nNbXUqewSwE/permgen-space-error-in-eclipse.html" title="PermGen space error in Eclipse" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Alcune volte, dopo aver installato dei plugin in Eclipse 3.x, mi sono imbattuto in questo errore: PermGen space error.

Per risolverlo ho dovuto modificare il file eclipse.ini nel seguente modo:

- eliminate le righe:
--launcher.XXMaxPermSize
256m

- aggiunta la riga -XX:MaxPermSize=128m, in modo da avere a fine file:
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=128m

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UZh2Fgm5_rYL1WITmIdWBRD_Jko/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UZh2Fgm5_rYL1WITmIdWBRD_Jko/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UZh2Fgm5_rYL1WITmIdWBRD_Jko/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UZh2Fgm5_rYL1WITmIdWBRD_Jko/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/nNbXUqewSwE" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/09/permgen-space-error-in-eclipse.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcFSXk5eSp7ImA9WhdRE0s.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-9105274285075763246</id><published>2011-08-03T11:16:00.000+02:00</published><updated>2011-08-03T11:16:58.721+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-03T11:16:58.721+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="sviluppo web" /><title>Configurare Apache2 con Tomcat6 su Ubuntu</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/9105274285075763246/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/08/configurare-apache2-con-tomcat6-su.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/9105274285075763246?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/9105274285075763246?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/_tGD1wnPhBc/configurare-apache2-con-tomcat6-su.html" title="Configurare Apache2 con Tomcat6 su Ubuntu" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Vediamo come configurare Apache2 con Tomcat6 su Ubuntu,  utilizzando il connector JK.

- creare un file worker.properties nella cartella di apache
sudo nano /etc/apache2/workers.properties

e incolliamo quanto segue:
workers.tomcat_home=/usr/local/tomcat6
workers.java_home=/usr/lib/jvm/java-6-openjdk/jre/bin/java
ps=/
worker.list=ajp13
worker.ajp13.host=localhost
worker.ajp13.port=8009

&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZCpHzYvqGnKk7bJVycBHVU7k5b0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZCpHzYvqGnKk7bJVycBHVU7k5b0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZCpHzYvqGnKk7bJVycBHVU7k5b0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZCpHzYvqGnKk7bJVycBHVU7k5b0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/_tGD1wnPhBc" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/08/configurare-apache2-con-tomcat6-su.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0ADQHw6fCp7ImA9WhZaFEg.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-5028219028326389038</id><published>2011-06-30T18:35:00.001+02:00</published><updated>2011-06-30T18:36:11.214+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-30T18:36:11.214+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="gwt" /><title>Starting Jetty on port 8888 java.lang.ClassNotFoundException con GWT</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/5028219028326389038/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/06/starting-jetty-on-port-8888.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/5028219028326389038?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/5028219028326389038?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/8JaM8Sf_OFI/starting-jetty-on-port-8888.html" title="Starting Jetty on port 8888 java.lang.ClassNotFoundException con GWT" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Ho perso alcune ore per risolvere questo rognoso problema con GWT, che mi si è presentato di colpo...

L'errore che avveniva a runtime in hosted mode era del tipo:

Starting Jetty on port 8888
[WARN] EXCEPTION 
java.lang.ClassNotFoundException: com.package.servlet.MiaClasse
at java.lang.ClassLoader.findClass(ClassLoader.java:359)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_eQPNCDj7RCsV6HoodbW1udQWVw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_eQPNCDj7RCsV6HoodbW1udQWVw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_eQPNCDj7RCsV6HoodbW1udQWVw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_eQPNCDj7RCsV6HoodbW1udQWVw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/8JaM8Sf_OFI" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/06/starting-jetty-on-port-8888.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEHSX06fip7ImA9WhZUGUg.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-8964401148634631228</id><published>2011-06-13T10:27:00.000+02:00</published><updated>2011-06-13T10:27:18.316+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-13T10:27:18.316+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="data base" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Abilitare l'accesso remoto a MySQL in Ubuntu</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/8964401148634631228/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/06/abilitare-laccesso-remoto-mysql-in.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/8964401148634631228?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/8964401148634631228?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/6_AkcfT1FhM/abilitare-laccesso-remoto-mysql-in.html" title="Abilitare l'accesso remoto a MySQL in Ubuntu" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Il server MySQL di default è configurato in modo da permettere accessi solamente da localhost. Per abilitare l'accesso anche da remoto bisogna editare il file /etc/mysql/my.cnf nel seguente modo:

Trovare la riga "bind-address = 127.0.0.1" e commentarla con #
Riavviare il server MySQL col comando: sudo service mysql restart
A questo punto riuscirete a connettervi anche da remoto
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zSw-5x5xDbi__Ug1CkU2Sk2cKcA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zSw-5x5xDbi__Ug1CkU2Sk2cKcA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zSw-5x5xDbi__Ug1CkU2Sk2cKcA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zSw-5x5xDbi__Ug1CkU2Sk2cKcA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/6_AkcfT1FhM" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/06/abilitare-laccesso-remoto-mysql-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAFQns8eCp7ImA9WhZXFE0.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-493354760903753228</id><published>2011-05-03T09:45:00.000+02:00</published><updated>2011-05-03T09:45:13.570+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-03T09:45:13.570+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="trucchi" /><category scheme="http://www.blogger.com/atom/ns#" term="windows" /><title>Velocizzare l’avvio di Windows XP</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/493354760903753228/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/05/velocizzare-lavvio-di-windows-xp.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/493354760903753228?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/493354760903753228?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/EcLs5R3MB_Y/velocizzare-lavvio-di-windows-xp.html" title="Velocizzare l’avvio di Windows XP" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Ecco un'ottima guida di Microsoft per velocizzare l'avvio di Windows XP

http://www.microsoft.com/italy/pmi/comefare/tecnologia/avvioveloce/default.mspx
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Y16n2131i4BYQBscqo3rhQOTb6Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y16n2131i4BYQBscqo3rhQOTb6Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Y16n2131i4BYQBscqo3rhQOTb6Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Y16n2131i4BYQBscqo3rhQOTb6Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/EcLs5R3MB_Y" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/05/velocizzare-lavvio-di-windows-xp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYBQ348eSp7ImA9WhZXE04.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-2050965419132930636</id><published>2011-05-02T13:02:00.000+02:00</published><updated>2011-05-02T13:02:32.071+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-02T13:02:32.071+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="joomla" /><title>SH404SEF senza index.php nell'URL</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/2050965419132930636/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/05/sh404sef-senza-indexphp-nellurl.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/2050965419132930636?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/2050965419132930636?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/91BX2r2yYcg/sh404sef-senza-indexphp-nellurl.html" title="SH404SEF senza index.php nell'URL" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">In Joomla, con SH404SEF per non avere index.php nell'URL, bisogna attivare il modrewrite. Per farlo seguire questa procedura:

- Abilitare la visualizzazione estesa
- Entrare nel pannello di configurazione
- Nella sezione Avanzato, in Configurazione avanzata del componente, accertarsi che la "modalità rescrivibile" sia impostata a "Con .htaccess (mod_rewrite)"
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/T__9gs2VmNcuPmlmNsAnZo2Vykw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T__9gs2VmNcuPmlmNsAnZo2Vykw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/T__9gs2VmNcuPmlmNsAnZo2Vykw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/T__9gs2VmNcuPmlmNsAnZo2Vykw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/91BX2r2yYcg" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/05/sh404sef-senza-indexphp-nellurl.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkIARng5eip7ImA9WhZXE04.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-6782821532150978995</id><published>2011-05-02T12:02:00.000+02:00</published><updated>2011-05-02T12:02:27.622+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-02T12:02:27.622+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Installare uno stack LAMP su Ubuntu 10.10 con un click</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/6782821532150978995/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/05/installare-uno-stack-lamp-su-ubuntu.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/6782821532150978995?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/6782821532150978995?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/lBm-vS_gDng/installare-uno-stack-lamp-su-ubuntu.html" title="Installare uno stack LAMP su Ubuntu 10.10 con un click" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Su Ubuntu si potrebbe installare tutto manualmente, ma esiste una comoda alternativa per installare lo stack LAMP (Linux Apache Mysql Php) in un solo click.

- La prima cosa da fare è installare tasksel col comando: sudo apt-get install tasksel

- Una volta completata l’installazione digitare: sudo tasksel

- Per verificare che Apache funzioni aprire il browser e digitare: localhost. Se comparirà
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0ef1ThlCucerWPwAgTBoOJ5u9_k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0ef1ThlCucerWPwAgTBoOJ5u9_k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0ef1ThlCucerWPwAgTBoOJ5u9_k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0ef1ThlCucerWPwAgTBoOJ5u9_k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/lBm-vS_gDng" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/05/installare-uno-stack-lamp-su-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUAER3w_eCp7ImA9WhZXEEU.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-6702440678738569301</id><published>2011-04-29T16:35:00.000+02:00</published><updated>2011-04-29T16:35:06.240+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-29T16:35:06.240+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="virtualizzazione" /><title>Chiusura delle macchine Guest in VMware Server su Ubuntu</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/6702440678738569301/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/04/chiusura-delle-macchine-guest-in-vmware.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/6702440678738569301?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/6702440678738569301?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/uO64oWyACcs/chiusura-delle-macchine-guest-in-vmware.html" title="Chiusura delle macchine Guest in VMware Server su Ubuntu" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">In WMware Server, dopo aver impostato Virtual Machines Startup/Shutdown Settings, le macchine virtuali linux Guests eseguono lo startup ma lo shutdown non viene eseguito correttamente. Ecco il fix:

- Installare VMware Tools sui Guest

- Nei Guest, bisogna creare la directory la directory /etc/vmwre-tools/scripts/poweroff-vm-default.d e metterci dentro una script di shutdown:

# Crea le directory
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xpzE_ruHGRImYXJPb6oOytCqRpw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xpzE_ruHGRImYXJPb6oOytCqRpw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xpzE_ruHGRImYXJPb6oOytCqRpw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xpzE_ruHGRImYXJPb6oOytCqRpw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/uO64oWyACcs" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/04/chiusura-delle-macchine-guest-in-vmware.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEDR3k5eyp7ImA9WhZXEEU.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-3083124971693653301</id><published>2011-04-29T16:14:00.001+02:00</published><updated>2011-04-29T16:17:56.723+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-29T16:17:56.723+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="virtualizzazione" /><title>Installare VMware Server su Ubuntu 10.10</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/3083124971693653301/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/04/installare-vmware-server-su-ubuntu-1010.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/3083124971693653301?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/3083124971693653301?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/N2V3bxcO1dQ/installare-vmware-server-su-ubuntu-1010.html" title="Installare VMware Server su Ubuntu 10.10" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">VMware Server è un software open source e free per la virtualizzazione di molteplici macchine virtuali su una medesima macchina fisica. L'ho trovato una buona soluzione nei casi in cui VMware ESXi non è compatibile con la macchina fisica host. Il pacchetto di installazione per Linux ha un bug che non permette di eseguire correttamente l'installazione...

Per installare VMware Server 2 su Ubuntu 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rGWk7rkO-xJ3KgQq4mnfDxPgrQ8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rGWk7rkO-xJ3KgQq4mnfDxPgrQ8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rGWk7rkO-xJ3KgQq4mnfDxPgrQ8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rGWk7rkO-xJ3KgQq4mnfDxPgrQ8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/N2V3bxcO1dQ" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/04/installare-vmware-server-su-ubuntu-1010.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEEQ3w4fyp7ImA9WhZQEk4.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-9163676451731565623</id><published>2011-04-19T18:30:00.000+02:00</published><updated>2011-04-19T18:30:02.237+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-19T18:30:02.237+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="open source" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>ISPConfig - pannello di controllo di hosting</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/9163676451731565623/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/04/ispconfig-pannello-di-controllo-di.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/9163676451731565623?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/9163676451731565623?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/_31rtJoUIBg/ispconfig-pannello-di-controllo-di.html" title="ISPConfig - pannello di controllo di hosting" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">ISPConfig è un pannello di controllo di hosting open source per Linux. ISPConfig è sotto licenza BSD. ISPConfig semplifica i dettagli complicati per impostare i DNS, siti con nome di dominio unico e multiplo,  account e-mail. ISPConfig permette agli utenti di gestire servizi internet, come server web, server FTP, server di basi di dati, server DNS. Permette la configurazione di firewall, 
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jZQ8eG1wsiXOCzI1L_kZHY6P10g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jZQ8eG1wsiXOCzI1L_kZHY6P10g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jZQ8eG1wsiXOCzI1L_kZHY6P10g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jZQ8eG1wsiXOCzI1L_kZHY6P10g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/_31rtJoUIBg" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/04/ispconfig-pannello-di-controllo-di.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcNQn09fSp7ImA9WhZQEk8.&quot;"><id>tag:blogger.com,1999:blog-627025710054326005.post-4243827100564695693</id><published>2011-04-19T17:35:00.002+02:00</published><updated>2011-04-19T17:48:13.365+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-19T17:48:13.365+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>Configurazione della rete in Ubuntu</title><link rel="replies" type="application/atom+xml" href="http://carmelosaffioti.blogspot.com/feeds/4243827100564695693/comments/default" title="Commenti sul post" /><link rel="replies" type="text/html" href="http://carmelosaffioti.blogspot.com/2011/04/configurare-un-ip-statico-su-ubuntu.html#comment-form" title="0 Commenti" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/4243827100564695693?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/627025710054326005/posts/default/4243827100564695693?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/carmelosaffioti/~3/zhSHyyvDaEs/configurare-un-ip-statico-su-ubuntu.html" title="Configurazione della rete in Ubuntu" /><author><name>Carmelo Saffioti</name><uri>http://www.blogger.com/profile/06125150223795307950</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><content type="html">Il networking in Ubuntu/Linux è possibile configurarlo editando il file /etc/network/interfaces. Vediamo alcune configurazioni di esempio.

- Configurazione per un ip dinamico assegnato da un server DHCP

# loopback network interfaceauto loiface lo inet loopback
#primary network interfaceauto eth0
iface eth0 inet dhcp

- Configurazione per un ip statico (corrisponde alla riga address 192.168.1.50
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yEqUgX2qFX5KzK8UYhIC521sox4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yEqUgX2qFX5KzK8UYhIC521sox4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yEqUgX2qFX5KzK8UYhIC521sox4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yEqUgX2qFX5KzK8UYhIC521sox4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/carmelosaffioti/~4/zhSHyyvDaEs" height="1" width="1"/&gt;</content><feedburner:origLink>http://carmelosaffioti.blogspot.com/2011/04/configurare-un-ip-statico-su-ubuntu.html</feedburner:origLink></entry></feed>

