Installazione CF10 (64 bit) su Ubunut 12.04 (64bit)

"ivan_ionut_sv" <[email protected]> Fri, 04 Oct 2013 14:08:35 -0000
Newsgroups gmane.comp.cms.cold-fusion.devel.italian
Message-ID <[email protected]>
Buongiorno a tutti,
ho installato coldfusion 10 su ubuntu 12.04. Finita l'installazione (e avviato il server cf) provo ad accedere all'interfaccia di amministrazione (http://x.x.x.x:8500/CFIDE/administrator/index.cfm) ma mi da errore. 

Ho controllato il file di errori (/opt/coldfusion10/cfusion/logs/coldfusion-out.log) dove ho trovato:

Oct 3, 2013 22:50:23 PM Information [pool-2-thread-1] - Starting logging...
Oct 3, 2013 22:50:23 PM Information [pool-2-thread-1] - Starting license...
Oct 3, 2013 22:50:26 PM Information [pool-2-thread-1] - Developer Edition enabled
Oct 3, 2013 22:50:26 PM Fatal [pool-2-thread-1] -
Oct 3, 2013 22:50:26 PM Error [pool-2-thread-1] - Unable to initialise License service: coldfusion.server.ServiceException
Oct 3, 2013 22:50:26 PM Information [pool-2-thread-1] - Starting crypto...
Oct 3, 2013 22:50:26 PM Error [pool-2-thread-1] - Unable to initialise Cryptograpic service: java.lang.NullPointerException
Oct 3, 2013 22:50:26 PM Information [pool-2-thread-1] - Starting security...
Oct 3, 2013 22:50:26 PM Error [pool-2-thread-1] - Unable to initialise Security service: java.lang.ExceptionInInitializerError
Oct 3, 2013 22:50:26 PM Information [pool-2-thread-1] - Starting scheduler...
Oct 3, 2013 22:50:26 PM Information [pool-2-thread-1] - Starting WatchService...
Oct 3, 2013 22:50:26 PM Error [pool-2-thread-1] - Unable to initialise WatchService service: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Securit$
Oct 3, 2013 22:50:26 PM Information [pool-2-thread-1] - Starting debugging...
Oct 3, 2013 22:50:27 PM Error [pool-2-thread-1] - Unable to initialise Debugging service: java.lang.ExceptionInInitializerError
Oct 3, 2013 22:50:27 PM Information [pool-2-thread-1] - Starting sql...
Oct 3, 2013 22:50:27 PM Error [pool-2-thread-1] - Unable to initialise SQL service: coldfusion.server.ServiceException
Oct 3, 2013 22:50:27 PM Information [pool-2-thread-1] - Starting mail...
Oct 3, 2013 22:50:27 PM Error [pool-2-thread-1] - Unable to initialise Mail service: coldfusion.server.ServiceException
Oct 3, 2013 22:50:27 PM Information [pool-2-thread-1] - Starting runtime...
Oct 3, 2013 22:50:27 PM Error [pool-2-thread-1] - Unable to initialise Runtime service: coldfusion.server.ServiceException
Oct 3, 2013 22:50:27 PM Information [pool-2-thread-1] - Starting cron...
Oct 3, 2013 22:50:27 PM Error [pool-2-thread-1] - The Runtime service is not available.
Oct 3, 2013 22:50:28 PM Information [pool-2-thread-1] - Starting registry...
Oct 3, 2013 22:50:28 PM Information [pool-2-thread-1] - Starting client...
Oct 3, 2013 22:50:28 PM Error [pool-2-thread-1] - Unable to initialise Client Storage service: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Runti$
Oct 3, 2013 22:50:28 PM Information [pool-2-thread-1] - Starting xmlrpc...
Oct 3, 2013 22:50:29 PM Information [pool-2-thread-1] - Starting jaxrs...
Oct 3, 2013 22:50:29 PM Information [pool-2-thread-1] - Starting graphing...
Oct 3, 2013 22:50:29 PM Error [pool-2-thread-1] - Unable to initialise Graphing service: java.lang.ExceptionInInitializerError
Oct 3, 2013 22:50:29 PM Information [pool-2-thread-1] - Starting solr...
Oct 3, 2013 22:50:29 PM Information [pool-2-thread-1] - Starting archive...
Oct 3, 2013 22:50:29 PM Error [pool-2-thread-1] - Unable to initialise Archive/Deploy service: java.lang.NoClassDefFoundError: Could not initialize class coldfusion.fe$
Oct 3, 2013 22:50:29 PM Information [pool-2-thread-1] - Starting document...
Oct 3, 2013 22:50:29 PM Information [pool-2-thread-1] - Starting eventgateway...
Oct 3, 2013 22:50:29 PM Error [pool-2-thread-1] - Unable to initialise Event service: coldfusion.server.ServiceException
Oct 3, 2013 22:50:30 PM Information [pool-2-thread-1] - Starting FlexAssembler...
Oct 3, 2013 22:50:30 PM Error [pool-2-thread-1] - Unable to initialise FlexAssembler service: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Runtim$
Oct 3, 2013 22:50:30 PM Information [pool-2-thread-1] - Starting .NET...
Oct 3, 2013 22:50:30 PM Error [pool-2-thread-1] - Unable to initialise .NET service: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Runtime service$
Oct 3, 2013 22:50:30 PM Information [pool-2-thread-1] - Starting Monitoring...
Oct 3, 2013 22:50:30 PM Error [pool-2-thread-1] - Unable to initialise Monitoring service: java.lang.NoClassDefFoundError: Could not initialize class coldfusion.featur$
Oct 3, 2013 22:50:30 PM Information [pool-2-thread-1] - Starting WebSocket...
Oct 3, 2013 22:50:30 PM Information [pool-2-thread-1] - WebSocket server listens on port: 8575
Oct 3, 2013 22:50:31 PM Warning [Thread-10] - Graphing service is unavailable
Oct 3, 2013 22:50:31 PM Error [Thread-12] - The Runtime service is not available.
Oct 3, 2013 22:50:31 PM Information [pool-2-thread-1] - ColdFusion started
Oct 3, 2013 22:50:31 PM Information [pool-2-thread-1] - ColdFusion: application services are now available






Ho cercato su google, e qualcuno scriveva che è un problema del file  /etc/hosts ( http://www.giancarlogomez.com/2013/07/help-coldfusion-not-working-in-sky.html )
Il mio file hosts è corretto: 


# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain localhost
37.187.xxx.xxx         xxxxxxx.kimsufi.com   ksxxxxxxx
xxxx:xxx:x:xxxx::1     xxxxxxx.kimsufi.com   ksxxxxxxx

# The following lines are desirable for IPv6 capable hosts
#(added automatically by netbase upgrade)

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts







Poi ho provato questo script: http://blogs.coldfusion.com/post.cfm/coldfusion-server-starting-with-unable-to-initialise-service-exception
e sembra che riesce a risolvere l'hostname

/opt/coldfusion10/jre/bin/java -jar /temp/LocalhostTest.jar
JDK Version being used -->1.6.0_29
getLocalHost():
               -->xxxxxxx.kimsufi.com/37.187.xxx.xxx
www.google.com.getHostName() -->173.194.78.103




Tengo a precisare che il server è stato appena installato (quindi è pulito). Ho fatto la stessa prova anche su una macchina virtuale (su ubuntu e anche su una debian 7.1), e ho riscontro l'identico errore!


Qualcuno sa di cosa si tratta?

Grazie,
Ivan



------------------------------------