users@glassfish.java.net

Sponaneous Glassfish Crash reporting asenv.bat as missing

From: Chamberlain, Eric <echamberlain_at_ventripoint.com>
Date: Mon, 28 Jul 2008 13:01:20 -0400

This morning, I saw a crash of Glassfish. In the log it reported the following:

property_reader.asenvReadError java.io.FileNotFoundException

..\config\asenv.bat (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at java.io.FileReader.<init>(FileReader.java:41) at com.sun.enterprise.util.ASenvPropertyReader.setSystemProperties(ASenvPropertyReader.java:226) at com.sun.enterprise.server.PEMain.main(PEMain.java:294) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)


The file definitely was not missing as a restart worked just fine. Has anyone else seen this problem?


Eric Chamberlain
VentriPoint, Inc. | www.ventripoint.com | Software Engineer
Helping heart care through innovative diagnostic solutions