Entries list

(4)

SFTP (SSH File Transfer Protocol)

SFTP (SSH File Transfer Protocol), n'est pas FTP exécuté sur SSH, mais plutôt un nouveau protocole conçu dès le départ par le groupe de travail IETF SECSH. Il est parfois confondu avec Simple File Transfer Protocol.

STFP est un protocole de communication fonctionnant au-dessus de SSH à ne pas confondre avec File Transfer Protocol over SSL, abrégé FTPS.

Lire la suite

JBoss6 serve external file static content docBase vhost

There are no more "virtual directories" in JBoss 6. Apparently this went out with JBoss 5. The only availables options or solutions I've found are :

  • Way 1 : using 2 war, one for your project, one other to publish static files (under another
  • Way 2 : symlink (to a simple file system or on a war folder with inside a blank /WEB-INF)

Using ExternalDirectories doesn't work with JBoss 6

<Host name="localhost" ...>
        <!-- ADD static images DIRECTORY -->
        <Context path="/images" 
                docBase="/home/myuser/images"
                reloadable="true">
        </Context>
        <!-- The rest of your Host entity -->
</Host>

This Context deployement result :

ERROR [AbstractKernelController] Error installing to Start: name=WebServer state=Create: org.jboss.xb.binding.JBossXBException: Failed to parse source: xml_stream@163,112

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: DefaultContext not found as a child of Host in unordered_sequence: Listener* Valve* Alias* Realm? attributes?

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Context not found as a child of Host in unordered_sequence: Listener* Valve* Alias* Realm? attributes?

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Context not found as a child of Context in unordered_sequence: Valve* Parameters* Loader? Overlay* InstanceListener* WrapperListener* Listener* SessionCookie? WrapperLifecycle* Manager? Realm? attributes? Resources?

DEPLOYMENTS IN ERROR:
 Deployment "WebServer" is in error due to the following reason(s): **ERROR**, org.jboss.xb.binding.JBossXBRuntimeException: DefaultContext not found as a child of Host in unordered_sequence: Listener* Valve* Alias* Realm? attributes?
 Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.web:service=WebServer' **

Lire la suite

Comparatif ordinateur portable

C'est bientôt noël, malgré la récession et le pouvoir d'achat, certains ont heureusement encore les moyens d'investir dans les ordinateurs portables (Notebook). Voici donc un comparatif 2012 / 2011 / 2010 / 2009 / 2008 des portables sur le marché.

Lire la suite