Chiedersi se è importante (affidabilità saggia) scegliere Redhat o Windows 2003 Server? Assumi le stesse abilità in entrambi. GrazieGlassFish su Windows vs RedHat
risposta
Penso che troverete la maggior parte delle persone sosterrà Redhat su Windows per l'affidabilità. Glassfish stesso dovrebbe funzionare lo stesso su entrambi.
Probabilmente si dovrebbe chiedere questo su Server Fault
Se si seleziona la sorgente di pesci vetro, in particolare ./appserv-commons/src/java/com/sun/enterprise/util/io/FileUtils.java, ti guarda tutte le contorsioni che Glassfish attraversa per eliminare/rinominare file e directory su Windows.
Questo è un problema di Windows, con le sue limitazioni sull'eliminazione e sulla ridenominazione di file aperti.
Ci sono tutti i tipi di trucchi, inclusa la richiesta di un GC dalla JVM più volte nella speranza di chiudere il flusso di file, la ridenominazione "pseudo", i loop di sospensione.
Alcuni esempi:
/**
*Attempts to delete files that could not be deleted earlier and were not overwritten.
*<p>
*On Windows, the method requests garbage collection which may unlock locked
*files. (The JarFile finalizer closes the file.)
/*
*On Windows, as long as not all leftover files have been cleaned and we have not
*run the max. number of retries, try again to trigger gc and delete
*each remaining leftover file.
*/
/**
* Windows has BIG issues renaming a directory that is open somnewhere -- e.g. if
* a DOS box is opened anywhere in that directory.
* This method will try to do a "virtual renaming" if there are problems
* I.e. it attempts to do a simple rename, if that fails it will copy everything under
* the original directory to the renamed directory. Then it will delete everything
* under the original directory that the OS will allow it to.
In pratica questo a volte si traduce in borked implementazioni o riassegnazioni su Windows, come alcuni file non possono essere cancellati o spostati e finiscono per essere lasciato alle spalle. Delle 50 istanze di Glassfish che eseguo, non ho mai avuto problemi con Solaris 10 e ho sempre problemi relativi a ciò su Windows.
In breve, qualsiasi * NIX sarà migliore solo per questo motivo, altre considerazioni sull'amministrazione della piattaforma a parte.
- 1. Installa nodejs 4 su redhat
- 2. Impossibile avviare glassfish v3 su windows 7
- 3. Geronimo vs Glassfish
- 4. Dove posso trovare i log di Glassfish su Windows 7?
- 5. LLMNR su Windows vs Zeroconf vs. Bonjour
- 6. Come installare maven2 su RedHat Linux
- 7. installare il client svn su redhat RHEL5
- 8. Installazione di Mercurial su Redhat Linux
- 9. Installare R su RedHat errori su dipendenze che non esistono
- 10. Come scegliere CXF su Metro su Glassfish
- 11. problema ssh su windows 7 (gitbash vs windows cmd)
- 12. Su Linux SUSE o RedHat, come carico Python 2.7
- 13. Windows CE vs Windows Mobile
- 14. mkdir Windows vs Linux
- 15. Avvia automaticamente JavaDB (Derby) su GlassFish
- 16. Errore G ++:/usr/lib/rpm/redhat/redhat-hardened-cc1: Nessun file o directory
- 17. Determinare la versione di Redhat Linux
- 18. Installazione di Maven 3.0.5 in RedHat Linux
- 19. Redhat Linux - cambia il colore della directory
- 20. Windows Service vs Windows Application - Best Practice
- 21. Firmato zero linux vs windows
- 22. L'uso di "r +" in fopen su windows vs linux
- 23. Socket vs named pipe per IPC locale su Windows?
- 24. Utensili di produttività su VS 2010 Express per Windows Phone
- 25. Come installare Boost su Windows 7 con VS
- 26. CefSharp su Windows XP/Server 2003/VS 2010
- 27. Cambia carattere in ggplot2 su Windows vs Mac
- 28. Servizio WCF vs servizio Windows
- 29. Class Library vs (Portable) vs (Universal Windows) vs (Portable iOS, Android, Windows)
- 30. GlassFish 5.0 - Installazione non valida di GlassFish Server