Glassfish V3 tidak akan mulai

2

Saya menginstal NetBeans 6.8 dan mencoba menjalankan server GlasshFish V3. Saya bekerja di bawah Windows Vista 32 Bits. Pertama, itu tidak akan berjalan. Kemudian saya memodifikasi

c:\Windows\System32\drivers\etc\hosts

file dan masukkan baris berikut ke dalamnya:

127.0.0.1       localhost

Dan ketika saya menjalankan Server GlasshFish V3, tidak ada kesalahan yang ditampilkan tetapi hanya "INFO" yang ditampilkan:

    3 avr. 2010 19:23:19 com.sun.enterprise.glassfish.bootstrap.ASMain main
INFO: Launching GlassFish on Felix platform
Welcome to Felix
================
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: Starting Grizzly Framework 1.9.18-k - Sat Apr 03 19:23:24 CEST 2010
INFO: Starting Grizzly Framework 1.9.18-k - Sat Apr 03 19:23:25 CEST 2010
INFO: Grizzly Framework 1.9.18-k started in: 423ms listening on port 35127
INFO: GlassFish v3 (74.2) startup time : Felix(4456ms) startup services(1709ms) total(6165ms)
INFO: Grizzly Framework 1.9.18-k started in: 459ms listening on port 35116
INFO: Grizzly Framework 1.9.18-k started in: 428ms listening on port 35155
INFO: Grizzly Framework 1.9.18-k started in: 470ms listening on port 35160
INFO: Grizzly Framework 1.9.18-k started in: 513ms listening on port 35159
INFO: javassist.util.proxy.ProxyFactory.classLoaderProvider = org.glassfish.weld.WeldActivator$GlassFishClassLoaderProvider@5be8f4
INFO: Hibernate Validator bean-validator-3.0-JBoss-4.0.2
INFO: Binding RMI port to *:35165
INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://PC-de-Charlotte:35165/jndi/rmi://PC-de-Charlotte:35165/jmxrmi
INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: Grizzly Framework 1.9.18-k started in: 150ms listening on port 35159
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program Files\sges-v3\glassfish\modules\autostart, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\CHARLO~1\AppData\Local\Temp\fileinstall-330907148519261411, felix.fileinstall.filter = null}
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Users\Charlotte\.netbeans\6.8\GlassFish_v3\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\CHARLO~1\AppData\Local\Temp\fileinstall-2938963288421854459, felix.fileinstall.filter = null}
INFO: Grizzly Framework 1.9.18-k started in: 95ms listening on port 35160
INFO: Updating configuration from org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: Installed C:\Program Files\sges-v3\glassfish\modules\autostart\org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Users\Charlotte\.netbeans\6.8\GlassFish_v3\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\CHARLO~1\AppData\Local\Temp\fileinstall-6474085409014899009, felix.fileinstall.filter = null}

Dan tidak ada pesan seperti "Gelas mulai"! Jadi, ketika saya mencoba mengakses antarmuka web admin:

localhost:4848 or localhost:8080 or localhost:8181

, Tidak berhasil.

Apa yang harus saya lakukan?

Terima kasih banyak, Salam.

Zakaria
sumber

Jawaban:

1

Di Netbeans klik kanan Glassfish Server yang memiliki masalah, dan pilih

View Domain Server log

Buka jendela baris perintah dan navigasikan ke direktori "bin" dari instalasi Glassfish di mana executable "asadmin" Anda berada. Pada jendela jenis perintah

asadmin start-domain --verbose

Dan tunggu server untuk memulai, sementara server mulai melihat panel Output di jendela Glassfish IDE. Setelah semuanya dimulai, coba mulai ulang dari Netbeans IDE . Lihatlah jendela command-line dan seharusnya ada pesan yang menyatakan bahwa DAS telah dihentikan .

Tutup jendela baris perintah. Jika restart gagal, coba undeploying semua aplikasi sebelum restart dari Netbeans.

Luis Daniel Mesa Velasquez
sumber