Moderator: julaluk, thiwatip, bigdevil88









HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2 logs.
--------------------------------------------------------------------------------
GlassFish Server Open Source Edition 3.1.2



george66_aya เขียน:HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2 logs.
--------------------------------------------------------------------------------
GlassFish Server Open Source Edition 3.1.2
เจอแบบนี้อะครับ ??

Nan_Y2K เขียน:ใครติดตั้งผ่านแล้วมั่ง
ผมเจอ error แบบนี้ ช่วยที
root@officeserver-server:~/glassfish3/glassfish/bin# asadmin start-domain
Waiting for domain1 to start .................Error starting domain domain1.
The server exited prematurely with exit code 0.
Before it died, it produced the following output:
Launching GlassFish on Felix platform
[#|2012-07-26T12:20:28.824+0700|INFO|glassfish3.1.2|com.sun.enterprise.server.logging.GFFileHandler|_ThreadID=1;_ThreadName=main;|Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2 (build 23)|#]
[#|2012-07-26T12:20:30.987+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=11;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 47ms - bound to [0.0.0.0:4848]|#]
[#|2012-07-26T12:20:30.988+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=12;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 142ms - bound to [0.0.0.0:8181]|#]
[#|2012-07-26T12:20:31.015+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=13;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 23ms - bound to [0.0.0.0:3700]|#]
[#|2012-07-26T12:20:31.035+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=14;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 9ms - bound to [0.0.0.0:7676]|#]
[#|2012-07-26T12:20:31.743+0700|INFO|glassfish3.1.2|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=10;_ThreadName=main;|Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry|#]
[#|2012-07-26T12:20:32.056+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=main;|GlassFish Server Open Source Edition 3.1.2 (23) startup time : Felix (9,396ms), startup services(4,661ms), total(14,057ms)|#]
[#|2012-07-26T12:20:32.058+0700|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=main;|Shutting down v3 due to startup exception : No free port within range: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@46205df9|#]
[#|2012-07-26T12:20:32.248+0700|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=15;_ThreadName=Thread-21;|Server shutdown initiated|#]
[#|2012-07-26T12:20:32.298+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=15;_ThreadName=Thread-21;|Already stopped, so just returning|#]
Command start-domain failed.
root@officeserver-server:~/glassfish3/glassfish/bin#

Nan_Y2K เขียน:Nan_Y2K เขียน:ใครติดตั้งผ่านแล้วมั่ง
ผมเจอ error แบบนี้ ช่วยที
root@officeserver-server:~/glassfish3/glassfish/bin# asadmin start-domain
Waiting for domain1 to start .................Error starting domain domain1.
The server exited prematurely with exit code 0.
Before it died, it produced the following output:
Launching GlassFish on Felix platform
[#|2012-07-26T12:20:28.824+0700|INFO|glassfish3.1.2|com.sun.enterprise.server.logging.GFFileHandler|_ThreadID=1;_ThreadName=main;|Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2 (build 23)|#]
[#|2012-07-26T12:20:30.987+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=11;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 47ms - bound to [0.0.0.0:4848]|#]
[#|2012-07-26T12:20:30.988+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=12;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 142ms - bound to [0.0.0.0:8181]|#]
[#|2012-07-26T12:20:31.015+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=13;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 23ms - bound to [0.0.0.0:3700]|#]
[#|2012-07-26T12:20:31.035+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=14;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 9ms - bound to [0.0.0.0:7676]|#]
[#|2012-07-26T12:20:31.743+0700|INFO|glassfish3.1.2|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=10;_ThreadName=main;|Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry|#]
[#|2012-07-26T12:20:32.056+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=main;|GlassFish Server Open Source Edition 3.1.2 (23) startup time : Felix (9,396ms), startup services(4,661ms), total(14,057ms)|#]
[#|2012-07-26T12:20:32.058+0700|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=main;|Shutting down v3 due to startup exception : No free port within range: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@46205df9|#]
[#|2012-07-26T12:20:32.248+0700|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=15;_ThreadName=Thread-21;|Server shutdown initiated|#]
[#|2012-07-26T12:20:32.298+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=15;_ThreadName=Thread-21;|Already stopped, so just returning|#]
Command start-domain failed.
root@officeserver-server:~/glassfish3/glassfish/bin#
แล้วแบบข้างบนนี้อ่ะฉ่อย
root@officeserver-server:~/glassfish3/glassfish/bin# asadmin start-domain
Waiting for domain1 to start .................Error starting domain domain1.
The server exited prematurely with exit code 0.
Before it died, it produced the following output:
แบบนี้เห็นพวกฝรั่งก็โพสกันเยอะมากนะ




choyjung เขียน:Nan_Y2K เขียน:Nan_Y2K เขียน:ใครติดตั้งผ่านแล้วมั่ง
ผมเจอ error แบบนี้ ช่วยที
root@officeserver-server:~/glassfish3/glassfish/bin# asadmin start-domain
Waiting for domain1 to start .................Error starting domain domain1.
The server exited prematurely with exit code 0.
Before it died, it produced the following output:
Launching GlassFish on Felix platform
[#|2012-07-26T12:20:28.824+0700|INFO|glassfish3.1.2|com.sun.enterprise.server.logging.GFFileHandler|_ThreadID=1;_ThreadName=main;|Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2 (build 23)|#]
[#|2012-07-26T12:20:30.987+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=11;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 47ms - bound to [0.0.0.0:4848]|#]
[#|2012-07-26T12:20:30.988+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=12;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 142ms - bound to [0.0.0.0:8181]|#]
[#|2012-07-26T12:20:31.015+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=13;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 23ms - bound to [0.0.0.0:3700]|#]
[#|2012-07-26T12:20:31.035+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=14;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework 1.9.46 started in: 9ms - bound to [0.0.0.0:7676]|#]
[#|2012-07-26T12:20:31.743+0700|INFO|glassfish3.1.2|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=10;_ThreadName=main;|Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry|#]
[#|2012-07-26T12:20:32.056+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=main;|GlassFish Server Open Source Edition 3.1.2 (23) startup time : Felix (9,396ms), startup services(4,661ms), total(14,057ms)|#]
[#|2012-07-26T12:20:32.058+0700|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=10;_ThreadName=main;|Shutting down v3 due to startup exception : No free port within range: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@46205df9|#]
[#|2012-07-26T12:20:32.248+0700|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=15;_ThreadName=Thread-21;|Server shutdown initiated|#]
[#|2012-07-26T12:20:32.298+0700|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=15;_ThreadName=Thread-21;|Already stopped, so just returning|#]
Command start-domain failed.
root@officeserver-server:~/glassfish3/glassfish/bin#
แล้วแบบข้างบนนี้อ่ะฉ่อย
root@officeserver-server:~/glassfish3/glassfish/bin# asadmin start-domain
Waiting for domain1 to start .................Error starting domain domain1.
The server exited prematurely with exit code 0.
Before it died, it produced the following output:
แบบนี้เห็นพวกฝรั่งก็โพสกันเยอะมากนะ
ลองพิมพ์เพื่อดูโพรเซส java ดูครับ ปัญหาที่เจอส่วนใหญ่ port มันจะชนกับ jboss หรือ tomcat นะครับ
บางครั้งก็เป็นการรันโพรเซสซ้ำ
พี่แนนลงโปรแกรมอะไรไว้บ้างครับ ทดลองลงกับเครื่องเปล่าๆ หรือ virtual machine ก่อนก็ได้ครับ

peternb เขียน:ขอสอบถามผู้รู้หน่อยนะครับ
ผมพบปัญหาในการติดตั้ง glassfish3 ครับ
1. ต้องใช้คำสั่งอะไร ในการ set path_java ครับ ผมอ่านคู่มือ glassfish3_install.pdf แล้วยัง งง อยู่ครับใน ข้อที่ 4 ครับ
2. ข้อที่ 5 ทำได้นะครับ แต่ สั่ง asadmin start-domaim ไม่ได้ครับ ขึ้นแบบนี้ครับ
root@umphang:~/glassfish3/glassfish/bin# asadmin start-domain
No command 'asadmin' found, did you mean:
Command 'amadmin' from package 'amanda-server' (universe)
asadmin: command not found
root@umphang:~/glassfish3/glassfish/bin#
ต้องแก้ไขยังไงบ้างครับ
ขอบคุณครับ
สมยศ
โรงพยาบาลอุ้มผาง จ.ตาก


ย้อนกลับไปยัง เรื่องของ HospitalOS
กำลังดูบอร์ดนี้: ไม่มีสมาชิก และ บุคคลทั่วไป 2 ท่าน