17/01/2012

Permalink 23:13:15, Catégories: Ubuntu, 45 mots   French (FR) , fabou3377

Installation NetExtender sous Ubuntu 11.10x64

Créer les liens symboliques suivant dans le répetoire lib

 
ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/libssl.so.6 
ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/libcrypto.so.6 

Mettre les droits sur le group dip
sudo adduser yourUserName dip

Vous devez être identifié pour poster un commentaire.

12/03/2011

Permalink 18:25:36, Catégories: Ubuntu, 60 mots   French (FR) , fabou3377

SSH - Autorisation par clé automatique

1.Authentification par un système de clés publique/privé

Générer la clé

ssh-keygen -t dsa

Autoriser les logins

ssh-copy-id -i ~/.ssh/id_dsa.pub <username>@<ipaddress>

ou si le port est différent du port standard 22

ssh-copy-id -i ~/.ssh/id_dsa.pub "<username>@<ipaddress> -p <num_port>"

Vous devez être identifié pour poster un commentaire.

11/02/2011

Permalink 22:36:07, Catégories: Java, Récapitulatif Java, Glassfish, 644 mots   French (FR) , fabou3377

[Java] Installer Glassfish v3 sous Ubuntu Lucid 10.04 LTS avec modjk

Un chtit coup d'install de ce magnifique serveur notre distribution préférée

» Lire la suite!

Vous devez être identifié pour poster un commentaire.

26/11/2010

Permalink 19:50:26, Catégories: Ubuntu, 66 mots   French (FR) , fabou3377

Lenteur Firefox recherche sous Ubuntu 10.10

1.Introduction

Le but est de diminuer le temps de recherche de firefox sous ubuntu.. Aller à l'url about:config
et modifier les paramètre ci-dessous

 
- network.http.pipelining > Make it True 
 
- network.http.pipelining.maxrequests > Make it 8 or 10 
 
- network.http.proxy.pipelining > Make it True 
 
- network.dns.disableIPv6 > Make it True 

Vous devez être identifié pour poster un commentaire.

11/09/2010

Permalink 10:25:57, Catégories: Glassfish, 59 mots   French (FR) , fabou3377

Setup Liferay Mysql Glassfish

1.Introduction

Migration du portal vers MySQL

Créer dans le répertoire /domain/domain1/applications/j2ee-module/liferay-portal/WEB-INF/classes/ le fichier portal-ext.properties

 
jdbc.default.driverClassName=com.mysql.jdbc.Driver 
jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false 
jdbc.default.username=lportal 
jdbc.default.password=lportalpassword  

Vous devez être identifié pour poster un commentaire.

10/09/2010

Permalink 22:01:13, Catégories: Java, Maven, 142 mots   French (FR) , fabou3377

Acces HTTPS à un repository Maven

1.Introduction

Comment accéder à un repository maven HTTPS

» Lire la suite!

Vous devez être identifié pour poster un commentaire.

18/07/2010

Permalink 11:12:00, Catégories: Java, Netbeans, Récapitulatif Java, Maven, 348 mots   French (FR) , fabou3377

[Java] Un environnement de développement Java proche de la perfection...

1.Introudction

Combien de fois ai-je entendu que le fait de compiler, déployer des applications Java était bien plus compliqué que des langages scriptés comme PHP. C'est vrai, cependant rien n'empêche le développeur JAVA web d'utiliser de nouveaux programmes lui facilitant la vie...Dans cette article, j'aimerais vous présenter quelques "nouveaux" plugins

» Lire la suite!

Vous devez être identifié pour poster un commentaire.

24/05/2010

Permalink 16:21:56, Catégories: Java, Spring, 846 mots   French (FR) , fabou3377

Accès MySql via Spring et jndi, tomcat

1.Configuration

Placer le jar de mysql dans le répertoire lib de tomcat

2.Dossier META-INF, context.xml de l'application
 
<?xml version="1.0" encoding="UTF-8"?> 
<Context antiJARLocking="true" path="/myApp"> 
  <!-- Specify a JDBC datasource --> 
  <Resource name="jdbc/dbmyapp" auth="Container" type="javax.sql.DataSource" 
  username="user" password="password" driverClassName="com.mysql.jdbc.Driver" 
  url="jdbc:mysql://localhost:3306/database?autoReconnect=true" 
  validationQuery="select 1" maxActive="10" maxIdle="4" /> 
   
  <!-- To work with the authentification --> 
  <Realm className="org.apache.catalina.realm.DataSourceRealm" 
  dataSourceName="jdbc/database" 
  localDataSource="true" 
  roleNameCol="LB_ROLENAME" 
  userCredCol="LB_PASSWORD" 
  userNameCol="LB_USERNAME" 
  userRoleTable="T_ROLE" 
  userTable="T_USER"/> 
</Context> 

3. applicationContext.xml
 
<?xml version="1.0" encoding="UTF-8"?> 
<beans xmlns="http://www.springframework.org/schema/beans" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:aop="http://www.springframework.org/schema/aop" 
  xmlns:context="http://www.springframework.org/schema/context" 
  xmlns:flow="http://www.springframework.org/schema/webflow-config" 
  xmlns:jms="http://www.springframework.org/schema/jms" 
  xmlns:jee="http://www.springframework.org/schema/jee" 
  xmlns:lang="http://www.springframework.org/schema/lang" 
  xmlns:osgi="http://www.springframework.org/schema/osgi" 
  xmlns:tx="http://www.springframework.org/schema/tx" 
  xmlns:util="http://www.springframework.org/schema/util" 
  xmlns:p="http://www.springframework.org/schema/p" 
  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd 
  http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd 
  http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd 
  http://www.springframework.org/schema/webflow-config http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.0.xsd 
  http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms-2.5.xsd 
  http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd 
  http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd 
  http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd 
  http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd 
  http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd"> 
  <!--bean id="propertyConfigurer" 
  class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" 
  p:location="/WEB-INF/jdbc.properties" /> 
 
  <bean id="dataSource" 
  class="org.springframework.jdbc.datasource.DriverManagerDataSource" 
  p:driverClassName="${jdbc.driverClassName}" 
  p:url="${jdbc.url}" 
  p:username="${jdbc.username}" 
  p:password="${jdbc.password}" /--> 
 
 
  <!-- JPA --> 
 
  <tx:annotation-driven /> 
   
  <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> 
  <property name="dataSource" ref="dataSource" /> 
  <property name="jpaVendorAdapter"> 
  <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"> 
  <property name="showSql" value="true" /> <!-- Prints used SQL to stdout --> 
  <property name="generateDdl" value="true" /> <!-- Generates tables. -->  
  <!-- <property name="databasePlatform" value="org.hibernate.dialect.MySQL5Dialect" />--> 
  <property name="databasePlatform" value="org.hibernate.dialect.MySQLInnoDBDialect" /> 
  </bean> 
  </property> 
  </bean> 
  <!-- 
  <bean id="dataSource" class="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource" destroy-method="close"> 
  <property name="url" value="jdbc:mysql://localhost:3306/database" /> 
  <property name="user" value="username" /> 
  <property name="password" value="123456" /> 
  </bean> 
  --> 
  <!-- ###### JNDI Lookup ###### --> 
  <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean" lazy-init="true"> 
  <property name="jndiName" value="java:comp/env/jdbc/dbmyapp" /> 
  </bean> 
 
 
 
  <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"> 
  <property name="entityManagerFactory" ref="entityManagerFactory"/> 
  <property name="dataSource" ref="dataSource"/> 
  </bean> 
 
 
   
  <context:annotation-config/> 
  <bean id="basicDao" class="ch.devit.dao.service.BasicDao" /> 
 
 
  <bean id="surveyService" class="ch.devit.dao.service.SurveyService" 
  p:basicDao-ref="basicDao"/> 
 
  <bean id="surveyController" class="ch.devit.controller.SurveyController" 
  p:userService-ref="surveyService" scope="prototype" /> 
   
</beans> 
 

Vous devez être identifié pour poster un commentaire.

05/04/2010

Permalink 15:19:03, Catégories: Java, Web, Apache, Zkoss, 366 mots   French (FR) , fabou3377

[Java] Présentation du framework RIA Zkoss

Zkoss, un framework RIA pure Java qui demande à être connu

» Lire la suite!

Vous devez être identifié pour poster un commentaire.

04/04/2010

Permalink 15:12:59, Catégories: Java, Zkoss, 162 mots   French (FR) , fabou3377

Zkoss avec Xhtml

1. Introduction

Voici un exemple de fichier pour le framework Zkoss, lorsque que l'on désire utilisé des éléments XHTML

 
<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<zk xmlns="http://www.zkoss.org/2005/zul" 
  xmlns:h="http://www.w3.org/1999/xhtml" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd http://www.w3.org/1999/xhtml 
  http://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd"> 
 
  <h:link rel="stylesheet" href="/css/style.css" /> 
  <h:div id="global">  
  <window title="My First window" border="normal" width="200px"> 
 
  </window> 
  </h:div> 
</zk> 
 
 

Vous devez être identifié pour poster un commentaire.

21/02/2010

Permalink 12:13:43, Catégories: Windows, Windows 7, Windows 7, 67 mots   French (FR) , fabou3377

[Windows] FixMbr sous Windows 7

1. Réinstaller le MBR sous Windows 7

Démarrez votre PC à l'aide du CD Windows 7, puis choisissez votre langue, et cliquer sur réparer Windows, puis sur invite de commande

Déplacez vous dans lecteur DVD (dans notre f: )

f:

Puis placez-vous dans le répertoire boot

cd boot

Puis lancez la commande suivante

bootsect /nt60 all /mbr /force

Rédémarrez votre pc, le tour est joué

Vous devez être identifié pour poster un commentaire.

25/01/2010

Permalink 21:43:22, Catégories: Java, Récapitulatif Java, JSF, IceFaces, 283 mots   French (FR) , fabou3377

[Java] Ajouter dynamiquement des composants avec IceFaces

1.Introudction

Petite démonstration de la création dynamique de composants avec JSF plus précisement Icefaces... Qui a dit que java c'était lourd et compliqué? ;)

» Lire la suite!

Vous devez être identifié pour poster un commentaire.

« Page Précédente 1 2 3 Page suivante »

Liste des blogs

Brutus - Le Blog de Fabrice Bourqui

Le blog de Fabrice Bourqui dit Brutus. Ingénieur en microtechnique de formation, développeur à temps partiel, je vous livre quelques astuces principalement sur les technologies Java et l'OS linux... Merci de votre visite.

Le blog de Fabou dit le Burk ou Brutus

Catégories


Rechercher

<  Janvier 2012  >
Lun Mar Mer Jeu Ven Sam Dim
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          

Syndiquez ce blog XML

Articles :

Commentaires :

 
 
 
 
Partenaires

Hébergement Web